API Guide

Table Of Contents
Enabling IP+MAC Source Address Validation
IP source address validation (SAV) validates the IP source address of an incoming packet against the DHCP snooping binding table. IP
+MAC SAV ensures that the IP source address and MAC source address are a legitimate pair, rather than validating each attribute
individually. You cannot configure IP+MAC SAV with IP SAV.
1. Allocate at least one FP block to the ipmacacl CAM region.
CONFIGURATION mode
cam-acl l2acl
2. Save the running-config to the startup-config.
EXEC Privilege mode
copy running-config startup-config
3. Reload the system.
EXEC Privilege
reload
4. Enable IP+MAC SAV.
INTERFACE mode
ip dhcp source-address-validation ipmac
5. Enable IP source address validation with VLAN option.
INTERFACE mode
ip dhcp source-address-validation ipmac vlan vlan-id
The system creates an ACL entry for each IP+MAC address pair in the binding table and applies it to the interface.
To display the IP+MAC ACL for an interface for the entire system, use the show ip dhcp snooping source-address-
validation [interface] command in EXEC Privilege mode.
Viewing the Number of SAV Dropped Packets
The following output of the show ip dhcp snooping source-address-validation discard-counters command
displays the number of SAV dropped packets.
Dell>show ip dhcp snooping source-address-validation discard-counters
deny access-list on TenGigabitEthernet 0/0
Total cam count 1
deny count (0 packets)
deny access-list on TenGigabitEthernet 0/1
Total cam count 2
deny vlan 10 count (0 packets)
deny vlan 20 count (0 packets)
The following output of the show ip dhcp snooping source-address-validation discard-counters interface
interface command displays the number of SAV dropped packets on a particular interface.
Dell>show ip dhcp snooping source-address-validation discard-counters interface
TenGigabitEthernet 0/1
deny access-list on TenGigabitEthernet 0/1
Total cam count 2
deny vlan 10 count (0 packets)
deny vlan 20 count (0 packets)
Clearing the Number of SAV Dropped Packets
To clear the number of SAV dropped packets, use the clear ip dhcp snooping source-address-validation discard-
counters command.
Dell>clear ip dhcp snooping source-address-validation discard-counters
Dynamic Host Configuration Protocol (DHCP)
329