2-230
Catalyst 3750 Switch Command Reference
OL-8552-07
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
ip dhcp snooping information option format remote-id
ip dhcp snooping information option format remote-id
Use the
ip dhcp snooping information option format remote-id
global configuration command to
configure the option-82 remote-ID suboption. Use the
no
form of this command to configure the default
remote-ID suboption.
ip dhcp snooping information option format remote-id
[
string
ASCII-string
|
hostname
]
no ip dhcp snooping information option format remote-id
Syntax Description
Defaults
The switch MAC address is the remote ID.
Command Modes
Global configuration
Command History
Usage Guidelines
You must globally enable DHCP snooping by using the
ip dhcp snooping
global configuration
command for any DHCP snooping configuration to take effect.
When the option-82 feature is enabled, the default remote-ID suboption is the switch MAC address. This
command allows you to configure either the switch hostname or a string of up to 63 ASCII characters
(but no spaces) to be the remote ID.
Note
If the hostname exceeds 63 characters, it will be truncated to 63 characters in the remote-ID
configuration.
Examples
This example shows how to configure the option- 82 remote-ID suboption:
Switch(config)#
ip dhcp snooping information option format remote-id hostname
You can verify your settings by entering the
show ip dhcp snooping
user EXEC command.
string
ASCII-string
Specify a remote ID, using from 1 to 63 ASCII characters (no
spaces).
hostname
Specify the switch hostname as the remote ID.
Release
Modification
12.2(25)SEE
This command was introduced.