Specifications

show maclock stations
21-48 Security Configuration
show maclock stations
UsethiscommandtodisplayMAClockinginformationaboutendstationsconnectedtothe
switch.
Syntax
show maclock stations [firstarrival | static] [port-string]
Parameters
Defaults
Ifnoparametersarespecified,MAClockinginformationwillbedisplayedforallendstations.
Mode
Switchcommand,readonly.
Example
ThisexampleshowshowtodisplayMAClockinginformationfortheendstationsconnectedtoall
FastEthernetportsinunit2:
C3(su)->show maclock stations fe.2.*
Port Number MAC Address Status State
------------ ----------------- -------------- --------------
fe.2.3 00-10-a4-e5-08-4e active first learned
fe.2.3 08-00-20-7c-e0-db active first learned
fe.2.6 00-60-08-14-4b-15 active first learned
fe.2.6 08-00-20-20-32-4b active first learned
fe.2.9 08-00-20-77-aa-80 active first learned
fe.2.12 00-03-ba-08-4c-f0 active first learned
fe.2.14 00-01-f4-2c-ad-b4 active first learned
Table 217providesanexplanationofthecommandoutput.
Max FirstArrival
Allocated
The maximum end station MAC addresses allowed locked to the port. For details on
setting this value using the set maclock firstarrival command, refer to “set maclock
firstarrival” on page 21-53.
Violating MAC
Address
Most recent MAC address(es) violating the maximum static and first arrival value(s)
set for the port.
Table 21-6 show maclock Output Details
Output What It Displays...
firstarrival (Optional)DisplaysMAClockinginformationaboutendstationsfirst
connectedtoMAClockedports.
static (Optional)DisplaysMAClockinginformationaboutstatic(management
defined)endstationsconnectedtoMAClockedports.
portstring (Optional)Displaysendstationinformationforspecifiedport(s).For a
detaileddescriptionofpossibleportstringvalues,refer
toPortString
SyntaxUsedintheCLIonpage 41.