Users Guide

Table Of Contents
DHCP source MAC address validation
The switch compares the source MAC address of the DHCP packet to the Client Hardware Address (CHADDR) field in the DHCP packet
and drops the DHCP packet if there is a mismatch.
Restrictions for Source Address Validation
As the SAV feature shares TCAM memory with user ACLs, the maximum number of SAV rules that the system can support depends
on how much TCAM memory is allocated to user ACLs.
Enable source IP address validation
Enable source IP address validation in INTERFACE mode.
ip dhcp snooping source-address-validation ip [vlan vlan-name]
Use the vlan option to optionally specify SAV for one or more VLANs. The range is from 1 to 4093. If you do not specify the vlan
option, SAV is enabled on all VLANs of an interface.
Enable source IP and MAC address validation
Enable source IP and MAC address validation in INTERFACE mode.
ip dhcp snooping source-address-validation ipmac [vlan vlan-name]
Use the VLAN option to optionally specify SAV for one or more VLANs. The range is from 1 to 4093. If you do not specify the vlan
option, SAV is enabled on all VLANs of an interface.
Enable DHCP source MAC address validation
Enable DHCP source MAC address validation in CONFIGURATION mode.
ip dhcp snooping verify mac-address
DHCP commands
default-router address
Assigns a default gateway to clients based on the IP address pool.
Syntax
default-router address [address2...address8]
Parameters
address — Enter an IPv4 or IPv6 address to use as the default gateway for clients on the subnet in A.B.C.D
or A::B format.
address2...address8 — (Optional) Enter up to eight IP addresses, in order of preference.
Default Not configured
Command Mode DHCP-POOL
Usage Information Configure up to eight IP addresses, in order of preference. Use the no version of this command to remove the
configuration.
Example
OS10(conf-dhcp-20.1.1.1)# default-router 20.1.1.100
Supported
Releases
10.2.0E or later
disable
Disables the DHCP server.
Syntax
disable
Parameters None
Default Disabled
202 System management