Specifications
2-246
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
ip dhcp snooping information option
ip dhcp snooping informat ion option
To enable DHCP opt ion 82 dat a inser tion, use the ip dhcp snooping in formation option command. To
disable DHCP option 82 data insertion, use the no form of this command.
ip dhcp snoo ping i nforma tion op tion for mat rem ote-id {hostname | string {word}}
no ip dhcp snooping information option format remote-id {hos tn am e | string {word}}
Syntax Description
Defaults D HCP option 82 data inser tion is enabled.
Command Modes Global c onfiguratio n mode
Usage Guidelines I f the hostname is longer than 63 characters it is truncated to 63 characters in the remote ID.
Examples This exampl e shows how to enable DHCP opt ion 82 data insertion:
Switch(config)# ip dhcp snooping information option
Switch(config)#
This example shows how to disable DHCP option 82 data insertion:
Switch(config)# no ip dhcp snooping information option
Switch(config)#
This example shows how to configure t he hostname as the remote ID:
Switch(config)# ip dhcp snooping information option format remote-id hostname
Switch(config)#
The following example shows how to enable DHCP S nooping on VLAN 500 through 5 55 and option 82
remote ID:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# ip dhcp snooping
Switch(config)# ip dhcp snooping vlan 500 555
Switch(config)# ip dhcp snooping information option format remote-id string switch123
Switch(config)# interface GigabitEthernet 5/1
Switch(config-if)# ip dhcp snooping trust
Switch(config-if)# ip dhcp snooping limit rate 100
Switch(config-if)# ip dhcp snooping vlan 555 information option format-type circuit-id
string customer-555
Switch(config-if)# interface FastEthernet 2/1
format Specifies the option 82 information format.
remote-id Specifies the remote ID for option 82.
hostname Specifies the user-configured hostname for the remote ID.
string word Specifies the user-defined string for the remote ID. The word string can be from
1 to 63 characters long with no spaces.