Chapter 9
| General Security Measures
DHCPv4 Snooping
– 317 –
untagged packets. Use the no form of this command to add the PVID for
untagged packets at the end of the TR101 field.
Example
This example sets the DHCP Snooping Information circuit-id suboption string.
Console(config)#interface ethernet 1/1
Console(config-if)#ip dhcp snooping information option circuit-id string 4500
Console(config-if)#
ip dhcp snooping
max-number
This command configures the maximum number of DHCP clients which can be
supported per interface. Use the no form to restore the default setting.
Syntax
ip dhcp snooping max-number max-number
no dhcp snooping max-number
max-number - Maximum number of DHCP clients. (Range: 1-32)
Default Setting
16
Command Mode
Interface Configuration (Ethernet, Port Channel)
Example
This example sets the maximum number of DHCP clients supported on port 1 to 2.
Console(config)#interface ethernet 1/1
Console(config-if)#ip dhcp snooping max-number 2
Console(config-if)#
ip dhcp snooping trust This command configures the specified interface as trusted. Use the no form to
restore the default setting.
Syntax
[no] ip dhcp snooping trust
Default Setting
All interfaces are untrusted
Command Mode
Interface Configuration (Ethernet, Port Channel)