User Manual
UMN:CLI
V8102
441
NAME
To set a DHCP snooping option for a specific port, use the following command.
Command
Mode
Description
ipv6 dhcp snooping opt-code
<1-254>
format NAME
Interface
[GE/XE/GP
ON]
Specifies a snooping option format on a port.
opt-code: DHCPv6 option code
NAME: DHCPv6 option format name
ipv6 dhcp snooping opt-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 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 by replacing their options with the snooping default option.
To specify a DHCP server default option, use the following command.
Command
Mode
Description
ipv6 dhcp snooping default-option
code
<1-254>
format NAME
Global
Interface
[GE/XE/GPON]
Specifies a snooping default option format for a
switch. NAME: DHCPv6 option format name
ipv6 dhcp snooping default-option
code
<1-254>
policy
<
keep
|
re-
place
>
Configures a policy against DHCP option belong-
ing 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
option just adds the snooping de-
fault option.
no ipv6 dhcp snooping default-
option code
<1-254>
Removes the DHCP snooping default option for a
given port.
9.7.2.7
Displaying DHCPv6 Snooping Configuration
To display DHCPv6 snooping table, use the following command.
Command
Mode
Description
show ipv6 dhcp snooping
Enable
Global
Shows a DHCPv6 snooping configuration.
show ipv6 dhcp snooping binding
Shows DHCP snooping binding entries for IPv6.