DHCP S
NOOPING
3-249
Command Attributes
• VLAN ID – ID of a configured VLAN. (Range: 1-4094)
• DHCP Snooping Status – Enables or disables DHCP snooping for
the selected VLAN. When DHCP snooping is enabled globally on the
switch, and enabled on the specified VLAN, DHCP packet filtering
will be performed on any untrusted ports within the VLAN.
Web – Click DHCP Snooping, VLAN Configuration.
Figure 3-110. DHCP Snooping VLAN Configuration
CLI – This example first enables DHCP Snooping for VLAN 1.
DHCP Snooping Information Option Configuration
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.
Console(config)#ip dhcp snooping vlan 1 4-304
Console(config)#