UMN:CLI
User Manual
V8102
420
place
}
replace)
keep: forwards a DHCP message to DHCP
server without any modification.
replace: deletes the DHCP message
’s option
and adds the snooping option if both of them
are same. However, if they are different each
other,
replace
option just adds the snooping
option.
no ip dhcp snooping opt-
code
<1-254>
Removes the DHCP snooping option for a
given port.
In case there is not a DHCP snooping option for a specific port, DHCP snooping switch
finds the snooping default option. If it exists, DHCP snooping switch sends a DHCP serv-
er DHCP messages (Discover/Request) by replacing their options with the snooping de-
fault option.
To specify a DHCP server default option, use the following command.
Command
Mode
Description
ip dhcp snooping default-option
code
<1-254>
format NAME
Global
Specifies a snooping default option format for a switch.
NAME: DHCP option format name
ip dhcp snooping default-option
code
<1-254>
policy
<
keep
|
replace
>
Configures a policy against DHCP option belonging to
a DHCP message (default: replace)
keep: forwards a DHCP message to DHCP server
without any modification.
replace: deletes the DHCP message
’s option and adds
the snooping default option if both of them are same.
However, if they are different each other,
replace
op-
tion just adds the snooping default option.
no ip dhcp snooping default-
option code
<1-254>
Removes the DHCP snooping default option for a giv-
en port.
9.6.7.12
Displaying DHCP Snooping Configuration
To display DHCP snooping table, use the following command.
Command
Mode
Description
show ip dhcp snooping
Enable
Global
Shows DHCP snooping configuration.
show ip dhcp snooping binding
Shows DHCP snooping binding entries.
show ip dhcp snooping binding
total-cnt interface
{
management
|
vlan VLANS
|
loopback
|
giga-
bitethernet IFPORT
|
tengiga-
bitethernet
IFPORT
|
gpon
IFPORT
|
channelgroup GROUP
}
Shows the total count of DHCP snooping binding en-
tries for the specified interface.