Purpose
Command or Action
(Optional) Configures the interface as trusted or untrusted. Use the
no
keyword to configure an interface to receive messages from an untrusted
client. The default setting is untrusted.
ip dhcp snooping trust
Example:
Switch(config-if)#
ip dhcp snooping
trust
Step 10
(Optional) Configures the number of DHCP packets per second that an
interface can receive. The range is 1 to 2048. By default, no rate limit
is configured.
ip dhcp snooping limit rate rate
Example:
Switch(config-if)#
ip dhcp snooping
limit rate 100
Step 11
We recommend an untrusted rate limit of not more than 100
packets per second. If you configure rate limiting for trusted
interfaces, you might need to increase the rate limit if the port
is a trunk port assigned to more than one VLAN with DHCP
snooping.
Note
Returns to global configuration mode.
exit
Example:
Switch(config-if)#
exit
Step 12
(Optional) Configures the switch to verify that the source MAC address
in a DHCP packet received on untrusted ports matches the client
ip dhcp snooping verify mac-address
Example:
Switch(config)#
ip dhcp snooping verify
mac-address
Step 13
hardware address in the packet. The default is to verify that the source
MAC address matches the client hardware address in the packet.
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 14
Verifies your entries.
show running-config
Example:
Switch#
show running-config
Step 15
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config
Step 16
startup-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1281
How to Configure DHCP Features
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......