To enable the insertion and removal of option-82 information for Dynamic Host Configuration Protocol (DHCP) packets, use the ip dhcp snooping information option command. To disable the insertion and removal of option-82 information, use the no form of this command.
ip dhcp snooping information option
no ip dhcp snooping information option
This command has no arguments or keywords.
By default, the device does not insert and remove option-82 information.
Global configuration mode
Release
|
Modification
|
5.0(2)N2(1)
|
This command was introduced.
|
To use this command, you must enable the DHCP snooping feature using the feature dhcp command.
This example shows how to globally enable DHCP snooping:
Command
|
Description
|
---|---|
feature dhcp
|
Enables the DHCP snooping feature on the device.
|
ip dhcp snooping
|
Globally enables DHCP snooping on the device.
|
ip dhcp snooping trust
|
Configures an interface as a trusted source of DHCP messages.
|
ip dhcp snooping vlan
|
Enables DHCP snooping on the specified VLANs.
|
show ip dhcp snooping
|
Displays general information about DHCP snooping.
|
show running-config dhcp
|
Displays DHCP snooping configuration, including IP Source Guard configuration.
|