ip dhcp snooping information option

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

Syntax Description

This command has no arguments or keywords.

Command Default

By default, the device does not insert and remove option-82 information.

Command Modes

Global configuration mode

Command History

Release
Modification
5.0(2)N2(1)
This command was introduced.

Usage Guidelines

To use this command, you must enable the DHCP snooping feature using the feature dhcp command.

Examples

This example shows how to globally enable DHCP snooping:

switch# configure terminal
switch(config)# ip dhcp snooping information option
switch(config)#
 

Related Commands

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.