System information

Publication date: Feb., 2012
Revision A1
- 36 -
CLIReferenceGuide
Copyright @ 2012 by Amer Networks
Chapter 10 DHCPRelayCommandsofCLI
DHCPRelay
ThesectiondescribeshowtoforwardDHCPrequeststoanotherspecific
DHCPserverviaDHCP relay.TheDHCPserversmaybeonanother
network.
Table 9: DHCP Relay Commands
Command
Function
clear
Clear DHCP relay statistics
mode
Configure DHCP relay mode
relay-option
Configure DHCP relay agent information option
server
Configure DHCP relay server
show
Show DHCP relay information
clear:
ThecommandletsyouclearDHCPrelaystatisticswhat
yousetontheswitch.
Syntax:
clear < statistics >
Parameter :
statistics The parameter let you to clear DHCP relay statistics
EXAMPLE:
mode: ThecommandletsyouconfigureDHCPrelaymodeon
theswitch.
Syntax:
mode disable/ enable
Parameter :
disable The parameter means you to disable
DHCP relay mode.
Enable The parameter means you to enable DHCP snooping mode.
NOTE: When enable DHCP relay mode operation, the agent
forward and to transfer DHCP messages between the clients
and the server when they are not on the same subnet domain.
And the DHCP broadcast message won't flood for security
considered.
EXAMPLE:
Switch(dhcp-relay)# clear statistics
Switch(dhcp-relay)#