C613-50170-01 Rev B
Command Reference for x510 Series
2459
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
D
YNAMIC
H
OST
C
ONFIGURATION
P
ROTOCOL
(DHCP) C
OMMANDS
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