show dhcpsnooping statistics
Enterasys B5 CLI Reference 17-13
MAC Address IP Address VLAN Interface Type Lease (min)
----------------- --------------- ---- ----------- ------- -----------
00:02:B3:06:60:80 192.168.10.10 3 ge.1.1 STATIC
00:0F:FE:00:13:04 192.168.20.1 5 ge.1.30 DYNAMIC 1440
show dhcpsnooping statistics
UsethiscommandtodisplayDHCPsnoopingstatisticsforuntrustedports.
Syntax
show dhcpsnooping statistics
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
TheDHCPsnoopingapplicationprocessesincomingDHCPmessagesonenableduntrusted
interfaces.ForDHCPRELEASEandDHCPDECLINEmessages,theapplicationcomparesthe
receiveinterfaceandVLANwiththeclientʹsinterfaceand VLANinthebindingsdatabase.Ifthe
interfacesdonotmatch,theapplicationlogstheevent(iflogging
ofinvalidmessagesisenabled)
anddropsthemessage.IfsourceMACverificationisenabled,forvalidclientmessages,DHCP
snoopingcomparesthesourceMACaddresstotheDHCPclienthardwareaddress.Wherethereis
amismatch,DHCPsnoopinglogsanddropsthepacket.
Thiscommanddisplays,foreachenableduntrusted
interface,thenumberofsourceMAC
verificationfailuresandclientinterfacemismatchesthatoccurredsincethelasttimethese
statisticswerecleared.
SinceDHCPserversshouldnotbeconnectedthroughanuntrustedport,theDHCPsnooping
applicationwilldropincomingDHCPservermessagesonuntrustedinterfacesandincrementa
counterthat
isdisplayedwiththiscommand.
Example
Thisexampleshowstheoutputoftheshowdhcpsnoopingstatisticscommand.
B5(su)->show dhcpsnooping statistics
Interface MAC Verify Client Ifc DHCP Server
Failures Mismatch Msgs Rec'd
----------- ---------- ---------- -----------
ge.1.48 0 0 0
lag.0.1 0 0 0