To configure the relay function:
-
Configure VLANs and IP
unicast routing.
Note
As in DHCPv4, when you create an IPV6 VLAN
interface, the corresponding disabledV6VlanList has an entry. The VLAN interface entry
is removed whenever the bootpRelayv6 for the respective VLAN is enabled, and vice
versa.
-
Enable the DHCP or BOOTP
relay function using the following commands:
enable
bootprelay {ipv4|ipv6} {vlan[vlan_name] |{vr} vr_name}|all [{vr} vr_name]}
enable
bootprelay {vlan[vlan_name] |{vr} vr_name}|all [{vr} vr_name]}
-
Configure the addresses to which DHCP or BOOTP requests
should be directed using the following command:
configure bootreplay {ipv4} |
{{vlan}vlan_name} [[add
ip_address] | delete [ip_address | all]]] |
ipv6 [[add
ipv6_address] | [delete
ipv6_address | all]]]]] {vr
vrid}
configure bootprelay {ipv4
| ipv6} add ip_address {vr
vrid} Note
Use the configure bootprelay
ipv6 option interface-id
InterfaceIDName
vlan {vlan_name} command to set up a unique interface-id. It can be
MAC-ID, or port-vlan combination. You can also use this command to set up dhcpv6
server/next hop for each VLAN interface, or across VR. A configuration applied to the
VR level is populated to all VLAN V6 interfaces.
-
To delete an entry, use the following command:
configure bootprelay {ipv4
| ipv6} delete [ip_address | all] {vr
vrid}
-
To disable BOOTP relay on one or more VLANs, use the
following command
disable bootprelay {ipv4 |
ipv6} {vlan [vlan_name] | {{vr}
vr_name} | all [{vr}
vr_name]}
disable bootprelay {{vlan}
[vlan_name] | {{vr} vr_name} | all
[{vr} vr_name]}
Note
When
VRRP and
BOOTP/DHCP relay are both enabled on the switch, the relayed BOOTP agent IP address is
the actual switch IP address, not the virtual IP address.