Parameter
port <portlist>
trunk <trunklist>
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
<portlist>
server
cascade
client
SJ-20130731155059-003|2013-11-27 (R1.0)
Description
Port list.
Trunk list. Only the trunks with the server attribute can be enabled
with the snooping function.
Description
Port list.
Configures the port to connect to the DHCP sever. It is a trusted
port.
Configures the port to be cascaded. It is an untrusted port.
Configures the port to be directly connected to the DHCP client. It
is an untrusted port.
4-431
Chapter 4 Service Configuration
ZTE Proprietary and Confidential