CLI Reference DHCP Snooping Configuration Commands
Switch DHCP snooping status: ENABLE
DHCP snooping Verification of hwaddr field status: DISABLE
DHCP snooping database write-delay time: 0 seconds
DHCP snooping option 82 status: ENABLE
DHCP Snooping Support Bootp bind status:ENABLE
Interface Trusted Rate limit (pps)
----------------- ------- ----------------
FastEthernet0/1 yes unlimited
View the configuration information of the
DHCP snooping.
ip dhcp snooping vlan vlan-id information option change-vlan-to vlan
Use this command to enable the option82’s sub-option circuit and change the VLAN in the circuit-id into
the specified VLAN. The no form of this command will disable this function.
[no] ip dhcp snooping vlan vlan-id information option change-vlan-to vlan vlan-id
The specified vlan to change.
Interface configuration mode.
With this command configured, the option82 is added to the DHCP request
packets, the circuit-id in the option82 information is the specified VLAN and
the DHCP server will assign the addresses according to the option82
information.
The following is an example of adding the option82 to the DHCP request
packets and changing the VLAN4094 in the option82’s sub-option circuit-id to
VLAN93:
Ruijie# configure terminal
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# ip dhcp snooping vlan 4094 information option
change-vlan-to vlan 4093
Ruijie(config-if)# end