C613-50631-01 Rev A Command Reference for IE340 Series 3068
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) COMMANDS
IP
DHCP-RELAY SERVER-ADDRESS
Examples: DHCP
for IPv4
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
Examples:
DHCPv6
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
Example:
disabling DHCP
relay
To disable DHCP relay on vlan2, use the commands:
awplus# configure terminal
awplus(config)# interface vlan2
awplus(config-if)# no ip dhcp-relay
Related
commands
service dhcp-relay