Command Line Interface
4-326
4
Command Mode
Global Configuration
Command Usage
If MAC address verification is enabled, and the source MAC address in the
Ethernet header of the packet is not same as the client’s hardware address in
the DHCP packet, the packet is dropped.
Example
This example enables MAC address verification.
Related Commands
ip dhcp snooping (4-322)
ip dhcp snooping vlan (4-324)
ip dhcp snooping trust (4-325)
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.
Console(config)#ip dhcp snooping verify mac-address
Console(config)#
Console(config)#ip dhcp snooping information option
Console(config)#
Summary of Contents for 6128PL2
Page 2: ......
Page 8: ...viii ...
Page 26: ...Contents xviii ...
Page 30: ...Tables xxii ...
Page 52: ...Initial Configuration 2 10 2 ...
Page 308: ...Configuring the Switch 3 256 3 ...
Page 473: ...SNMP Commands 4 165 4 ...
Page 644: ...Command Line Interface 4 336 4 ...
Page 648: ...Software Specifications A 4 A ...
Page 663: ......