Reference Guide
434 DHCP
The following is an example of some of the CLI commands:
VLAN Settings
To separate ports in a VLAN, enable DHCP snooping on it.
Before you enable DHCP snooping on a VLAN, you must globally enable
DHCP snooping on the device.
When DHCP snooping is disabled for a VLAN, the Binding entries that were
collected for that VLAN are removed from the Binding database.
To enable/disable DHCP snooping on a VLAN:
1
Click
Switching
>
DHCP Snooping
>
VLAN Settings
in the tree view to
display the
VLAN Settings
page.
The list of existing VLANs are displayed in the
VLAN ID
list.
console(config)# ip dhcp snooping
console(config)# ip dhcp snooping information option
allowed-untrusted
console(config)# ip dhcp snooping verify
console(config)# ip dhcp snooping database
console(config)# ip dhcp snooping database frequency 1200
console# show ip dhcp snooping
DHCP snooping is enabled
DHCP snooping database: enabled
Option 82 on untrusted port is allowed
Verification of hwaddr field is enabled
DHCP snooping file update frequency is configured to: 1200
seconds
Interface Trusted
--------- ----------
gi2/1 yes
gi2/2 yes










