Specifies the interval after which bindings are no longer valid. This
value must be between 60 and 4294967295 seconds.
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to create a dynamic DHCP snooping entry.
Example
This example shows how to configure a DHCP snooping entry with IP address 10.1.1.1 and MAC
address 00-01-02-03-04-05 at VLAN 2 and port eth3/0/10 with an expiry time of 100 seconds.
Switch# ip dhcp snooping binding 00-01-02-03-04-05 vlan 2 10.1.1.1 interface
eth3/0/10 expiry 100
Switch#
This example shows how to disable a DHCP snooping entry with IP address 10.1.1.1 and MAC
address 00-01-02-03-04-05 at VLAN 2 and port eth3/0/10.
Switch# ip dhcp snooping binding 00-01-02-03-04-05 vlan 2 10.1.1.1 interface
eth3/0/10
Switch#
18-8 ip dhcp snooping trust
This command is used to configure a port as a trusted interface for DHCP snooping. Use the no form
of this command to revert to the default setting.
ip dhcp snooping trust
no ip dhcp snooping trust
Parameters
None.
Default
By default, this option is disabled.
Command Mode
Interface Configuration Mode.