Switch(config)# no ip dhcp
snooping remote id
Clear Remote ID description.
Switch(config)# no ip dhcp
snooping formatted
Disable the Formatted Option 82 /
DHCPv6 Option 37 Remote Id.
Switch(config)# show ip
dhcp snooping
Show DHCP/DHCPv6 snooping
configuration.
Switch(config)# show ip
dhcp snooping interface
Show each port’s DHCP Snooping
Option 82/Option 37 and trust port
settings.
Switch(config)# show ip
dhcp snooping interface
[port_list]
Show the specified port’s DHCP
Snooping Option 82/Option 37 and trust
port settings.
Switch(config)# show ip
dhcp snooping opt82 circuit
Show each port’s DHCP snooping opt82
Circuit ID.
Switch(config)# show ip
dhcp snooping opt82 circuit
[port_list]
Show the specified port’s DHCP
snooping opt82 Circuit ID.
Switch(config)# show ip
dhcp snooping opt82
current
Show DHCP snooping opt82 Remote ID.
Switch(config)# show ip
dhcp snooping status
Show DHCP/DHCPv6 snooping current
status.
Examples of IP DHCP Snooping
Switch(config)# ip dhcp snooping
Enable DHCP snooping function.
Switch(config)# ip dhcp snooping dhcp-server 9-
10
Configure Port 9 and Port 10 as
DHCP/DHCPv6 server trust ports.
Switch(config)# ip dhcp snooping initiated 10
Specify the time value that packets
might be received to 10 seconds.
Switch(config)# ip dhcp snooping leased 240
Specify packets’ expired time to 240
seconds.
Switch(config)# ip dhcp snooping option
Enable DHCP Option 82 Relay Agent.
Switch(config)# ip dhcp snooping remote id 123
The remote ID is configured as “123”.
4. Use “Interface” command to configure a group of ports’ DHCP Snooping settings.
Switch(config)# interface
[port_list]
Enter several discontinuous port numbers
separated by commas or a range of ports
with a hyphen. For example:1,3 or 2-4
Switch(config-if-PORT-PORT)#
ip dhcp snooping circuit
Enable the selected interfaces’ DHCP
Option 82 / DHCPv6 Option 37 Manual
Circuit Id.
Switch(config-if-PORT-PORT)#
ip dhcp snooping circuit
formatted
Enable the Formatted Option 82 / DHCPv6
Option 37 Circuit Id for the selected
interfaces.
Switch(config-if-PORT-PORT)#
ip dhcp snooping circuit id
Specify the VLAN and port identifier using
a VLAN ID in the range of 1 to 4094.