DHCP S
NOOPING
C
OMMANDS
4-307
ip dhcp snooping information option
This command enables the DHCP Option 82 information relay for the
switch. Use the no form to disable this function.
Syntax
[no] ip dhcp snooping information option
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
• DHCP provides a relay mechanism for sending information about the
switch and its DHCP clients to the DHCP server. Known as DHCP
Option 82, it allows compatible DHCP servers to use the information
when assigning IP addresses, or to set other services or policies for
clients.
• When the DHCP Snooping Information Option is enabled, clients can
be identified by the switch port to which they are connected rather
than just their MAC address. DHCP client-server exchange messages
are then forwarded directly between the server and client without
having to flood them to the entire VLAN.
• DHCP snooping must be enabled on the switch for the DHCP Option 82 information
to be inserted into packets.
Example
This example enables the DHCP Snooping Information Option.
ip dhcp snooping information policy
This command sets the DHCP snooping information option policy for
DHCP client packets that include Option 82 information.
Syntax
Console(config)#ip dhcp snooping information option
Console(config)#