Chapter 4 Service Configuration
Parameter
Description
port
<
portlist
>
Port list.
trunk
<
trunklist
>
Trunk list. Only the trunks with the
server
attribute can be enabled
with the snooping function.
Guidelines
To make the snooping function effective on the specified ports/trunks, globally enable the
snooping function and then enable the snooping function on the specified ports/trunks.
Default
The DHCP snooping function is disabled on ports/trunks.
Example
The following example enables the DHCP snooping function on port 10:
zte(cfg)#set dhcp snooping add port 10
%
DHCP snooping-and-option82 is disabled (0x40000cf0)
zte(cfg)#set dhcp snooping-and-option82 enable
zte(cfg)#set dhcp snooping add port 10
4.25.3 set dhcp port server/cascade/client
Purpose
This command sets the property of a port in the DHCP snooping function.
Command Mode
Global configuration mode
Syntax
set dhcp port
<
portlist
>{
server
|
cascade
|
client
}
Parameters
Parameter
Description
<
portlist
>
Port list.
server
Configures the port to connect to the DHCP sever. It is a trusted
port.
cascade
Configures the port to be cascaded. It is an untrusted port.
client
Configures the port to be directly connected to the DHCP client. It
is an untrusted port.
4-431
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential