ip dhcp snooping information option format snmp-ifindex
ip dhcp snooping information option format snmp-ifindex
Use the ip dhcp snooping information option format snmp-ifindex global configuration command to
select the snmp-ifindex alternative option-82 data format. Use the no form of this command to use the
vlan-mod-port option-82 data format.
Syntax Description
This command has no arguments or keywords.
Defaults
DHCP option-82 data insertion uses the vlan-mod-port format.
Command Modes
Global configuration
Command History
Release
12.1(19)EA1
Usage Guidelines
If you have option 82 configured on the switch and you upgrade to Cisco IOS Release 12.1(19)EA1 or
later, the option 82 configuration is not affected. However, when you enable DHCP snooping globally
on the switch by using the ip dhcp snooping global configuration command, the relay agent
information option configuration is disabled. This happens regardless of whether snooping is enabled
on any VLANs. To provide for backward compatibility when using option 82 with DHCP snooping, you
can select the previous option-82 format by using the ip dhcp snooping information option format
snmp-ifindex global configuration command.
You can configure some switches in the network to continue using the previous option 82 format, and
configure DHCP snooping on other switches in the network.
Option-82 information is only inserted on snooped VLANs.
Examples
This example shows how to enable DHCP option 82 data insertion in the snmp-ifindex format:
Switch(config)# ip dhcp snooping information option format snmp-ifindex
You can verify your settings by entering the show ip dhcp snooping privileged EXEC command.
Related Commands
Command
show ip dhcp snooping
show ip dhcp snooping binding
show ip dhcp snooping statistics
Catalyst 3550 Multilayer Switch Command Reference
2-160
ip dhcp snooping information option format snmp-ifindex
no ip dhcp snooping information option format snmp-ifindex
Modification
This command was introduced.
Chapter 2
Description
Displays the DHCP snooping configuration.
Displays the DHCP snooping binding information.
Displays the DHCP snooping statistics in summary or detail
form.
Catalyst 3550 Switch Cisco IOS Commands
OL-8566-02