C613-50100-01 REV C Command Reference for x930 Series 2718
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) COMMANDS
IP
DHCP-RELAY SERVER-ADDRESS
Examples To enable the DHCP Relay Agent to relay DHCP packets on interface vlan2 to the
DHCP server with the IPv4 address 192.0.2.200, use the commands:
awplus# configure terminal
awplus(config)# service dhcp-relay
awplus(config)# interface vlan2
awplus(config-if)# ip dhcp-relay server-address 192.0.2.200
To remove the DHCP server with the IPv4 address 192.0.2.200 from the list of
servers available to the DHCP Relay Agent on interface vlan2, use the commands:
awplus# configure terminal
awplus(config)# interface vlan2
awplus(config-if)# no ip dhcp-relay server-address 192.0.2.200
To enable the DHCP Relay Agent on your device to relay DHCP packets on interface
vlan10 to the DHCP server with the IPv6 address 2001:0db8:010d::1 on
interface vlan20, use the commands:
awplus# configure terminal
awplus(config)# service dhcp-relay
awplus(config)# interface vlan10
awplus(config-if)# ip dhcp-relay server-address
2001:0db8:010d::1 vlan20
To remove the DHCP server with the IPv6 address 2001:0db8:010d::1 on
interface vlan20 from the list of servers available to the DHCP Relay Agent on
interface vlan10, use the commands:
awplus# configure terminal
awplus(config)# interface vlan10
awplus(config-if)# no ip dhcp-relay server-address
2001:0db8:010d::1 vlan20
To disable DHCP relay on vlan10, use the commands:
awplus# configure terminal
awplus(config)# interface vlan10
awplus(config-if)# no ip dhcp-relay
Related
Commands
service dhcp-relay