Dell Command Line Reference Guide for the S4048–ON System 9.14.2.4

PDF

show ip dhcp snooping

Display the contents of the DHCP binding table or display the interfaces configured with IP Source Guard.

Syntax
show ip dhcp snooping [binding | source-address-validation [discard-counters [interface interface]]]
Parameters
Parameters
Description
binding

Display the binding table.

source-address-validation

Display the interfaces configured with IP Source Guard.

discard-counters

(OPTIONAL) Display the number of dropped packets.

interface interface

(OPTIONAL) Specifies an interface to show the discard counters.

Enter any of the following keywords and the interface information:

  • For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port[/subport] information.
  • For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/port information.
  • For a port channel interface, enter the keywords port-channel then a number.
Defaults
None
Command Modes
  • EXEC
  • EXEC Privilege
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000–ON.
9.6(0.0)

Added the discard-counters, interface keywords, and the interface variable.

9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.3.7.0
Introduced on the S4810.
8.3.1.0
Introduced on the E-Series.
7.8.1.0
Introduced on the C-Series and S-Series.
Example

The following example displays the interfaces configured with IP Source Guard:

DellEMC> show ip dhcp snooping source-address-validation 
ip sav access-list on TenGigabitEthernet 1/1 
Total cam count 3 
permit host 0.0.0.0 count (0 packets) 
permit host 10.1.1.252 count (0 packets) 
permit host 10.1.1.253 count (0 packets)
ipmac-vlan sav access-list on TenGigabitEthernet 1/2 
Total cam count 4 
permit host 0.0.0.0 host 00:00:00:00:00:00  count (0 packets) 
permit vlan 10 host 10.1.1.1 host 00:00:00:aa:00:01  count (0 packets) 
permit vlan 10 host 10.1.1.2 host 00:00:00:aa:00:02  count (0 packets) 
permit vlan 20 host 10.2.2.1 host 00:00:00:aa:00:03  count (0 packets) 
permit vlan 20 host 10.2.2.2 host 00:00:00:aa:00:04  count (0 packets)

The following example displays the port channel interfaces configured with IP Source Guard:

DellEMC> show ip dhcp snooping source-address-validation interface portchannel 10
ipmac-vlan sav access-list on Port-channel 10 on stack-unit 1 
Total cam count 5 
permit host 0.0.0.0 host 00:00:00:00:00:00  count (0 packets) 
permit vlan 10 host 1.1.1.1 host 00:00:00:00:01:01  count (0 packets) 
permit vlan 10 host 1.1.1.2 host 00:00:00:00:01:02  count (0 packets) 
permit vlan 10 host 1.1.1.3 host 00:00:00:00:01:03  count (0 packets) 
ipmac-vlan sav access-list on Port-channel 10 on stack-unit 2 
Total cam count 5 
permit host 0.0.0.0 host 00:00:00:00:00:00  count (0 packets) 
permit vlan 10 host 1.1.1.1 host 00:00:00:00:01:01  count (0 packets) 
permit vlan 10 host 1.1.1.2 host 00:00:00:00:01:02  count (0 packets) 
permit vlan 10 host 1.1.1.3 host 00:00:00:00:01:03  count (0 packets) 
ipmac-vlan sav access-list on Port-channel 10 on stack-unit 3 
Total cam count 5 
permit host 0.0.0.0 host 00:00:00:00:00:00  count (0 packets) 
permit vlan 10 host 1.1.1.1 host 00:00:00:00:01:01  count (0 packets) 
permit vlan 10 host 1.1.1.2 host 00:00:00:00:01:02  count (0 packets) 
permit vlan 10 host 1.1.1.3 host 00:00:00:00:01:03  count (0 packets)
NOTE: The output for port-channel interfaces does not display the physical interface.

The following example displays the SAV discard counters on all interfaces:

DellEMC> show ip dhcp snooping source-address-validation discard-counters 
deny access-list on TenGigabitEthernet 1/1 
Total cam count 1
deny count (0 packets) 
deny access-list on TenGigabitEthernet 1/2 
Total cam count 2 
deny vlan 10 count (0 packets) 
deny vlan 20 count (0 packets) 

The following example displays the SAV discard counters on a particular interface:

DellEMC> show ip dhcp snooping source-address-validation discard-counters interface TenGigabitEthernet 1/1
deny access-list on TenGigabitEthernet 1/1 
Total cam count 2 
deny vlan 10 count (0 packets) 
deny vlan 20 count (0 packets)

The following example displays the SAV discard counters on a port channel interface:

DellEMC> show ip dhcp snooping source-address-validation discard-counters interface portchannel 10
deny access-list on Port-channel 10 on stack-unit 1 
Total cam count 1 
deny vlan 10 count (0 packets) 
deny access-list on Port-channel 10 on stack-unit 2 
Total cam count 1 
deny vlan 10 count (0 packets) 
deny access-list on Port-channel 10 on stack-unit 3 
Total cam count 1 
deny vlan 10 count (0 packets)
NOTE: The output for port-channel interfaces does not display the physical interface. If the LAG member interfaces belong to different stack-units, the counters are displayed per stack-unit for that port channel.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\