Specifications
show maclock
SecureStack C3 Configuration Guide 21-47
show maclock
UsethiscommandtodisplaythestatusofMAClockingononeormoreports.
Syntax
show maclock [port-string]
Parameters
Defaults
Ifport‐stringisnotspecified,MAClockingstatuswillbedisplayedforallports.
Mode
Switchcommand,read‐only.
Example
ThisexampleshowshowtodisplayMAClockinginformationforge.1.1through5:
C3(su)->show maclock ge.1.1-5
MAC locking is globally disabled
Port Port Trap Max Static Max FirstArrival Violating
Number Status Status Allocated Allocated MAC Address
-------- -------- -------- ---------- ---------------- -----------------
ge.1.1 disabled disabled 20 600 00:00:00:00:00:00
ge.1.2 disabled disabled 20 600 00:00:00:00:00:00
ge.1.3 disabled disabled 20 600 00:00:00:00:00:00
ge.1.4 disabled disabled 20 600 00:00:00:00:00:00
ge.1.5 disabled disabled 20 600 00:00:00:00:00:00
Table 21‐6providesanexplanationofthecommandoutput.
port‐string (Optional)DisplaysMAClockingstatusforspecifiedp ort(s).Fora
detaileddescriptionofpossibleport‐stringvalues,referto“PortString
SyntaxUsedintheCLI”onpage 4‐1.
Table 21-6 show maclock Output Details
Output What It Displays...
Port Number Port designation. For a detailed description of possible port-string values, refer to
“Port String Syntax Used in the CLI” on page 4-1.
Port Status Whether MAC locking is enabled or disabled on the port. MAC locking is globally
disabled by default. For details on enabling MAC locking on the switch and on one or
more ports, refer to “set maclock enable” on page 21-49 and “set maclock” on
page 21-50.
Trap Status Whether MAC lock trap messaging is enabled or disabled on the port. For details
on setting this status using the set maclock trap command, refer to “set maclock
trap” on page 21-55.
Max Static Allocated The maximum static MAC addresses allowed locked to the port. For details on
setting this value using the set maclock static command, refer to “set maclock
static” on page 21-52.