Chapter 17: DHCP Snooping Commands
326 Section III: Layer 2 Switching
SET DHCPSNOOPING PORT
Syntax
set dhcpsnooping port=
port_list
|all
[trusted=yes|no|on|off|true|false] [maxlease=
lease
]
[subscriberiid=
subscriber_id
|none]
Parameters
port_list
Specifies a list of ports. To specify multiple ports, use a comma (,)
to separate them. To specify a range of ports, use a hyphen (-).
all
Specifies all the switch ports.
trusted
Specifies the port is either a trusted port or untrusted port.
yes, on, true
The port is a trusted port. This is the default setting.
no, off, false
The port is an untrusted port.
lease
Specifies the maximum number of clients to permit IP packets
through the port. This number includes the number of both
dynamic and static DHCP clients. The range is 0 to 5. When 0 is
specified, any IP packets through the port is denied. The default
value is 1.
subscriber
Specifies the subscriber ID using up to 50 alphanumeric
characters. Use quotes (“”) when including a space. When DHCP
Snooping option 82 is enabled, the subscriber ID is included in the
relay agent information option.
none
The subscriber ID is not included in the relay agent information
option.
Description
Use this command to change port settings for DHCP Snooping.