# Copyright (C) 2016-2017 Cumulus Networks, inc.
#
# All Rights reserved.
#
# This software is subject to the Cumulus Networks End User License Agreement available
# at the following locations:.
#
# Internet: https://cumulusnetworks.com/downloads/eula/latest/view/
#
# Cumulus Linux systems: /usr/share/cumulus/EULA.txt

Scenario
========

  +------------+
  |   DHCP     |
  |  server    |
  |  1.1.1.1   |
  +------------+
        | swp20
        |
        |
        | swp2
  +------------+
  |  switch1   |
  |  relay     |
  +------------+
        | swp1
        |
        |
        |
  +------------+
  |    host    |
  +------------+


net commands for IPv4
=====================
switch1# net add dhcp relay interface swp1
switch1# net add dhcp relay server 1.1.1.1
switch1# net pending
switch1# net commit


net commands for IPv6
=====================
switch1# net add dhcp relay6 downstream swp1
switch1# net add dhcp relay6 upstream swp2
switch1# net pending
switch1# net commit


Verification
============
switch1# net show configuration dhcp

