
set maclock enable
Enterasys G-Series CLI Reference 20-49
Example
This
example
shows
how
to
display
MAC
locking
information
for
the
end
stations
connected
to
all
Gigabit
Ethernet
ports
in
unit/module
2:
G3(su)->show maclock stations ge.2.*
Port Number MAC Address Status State Aging
------------ ----------------- -------------- -------------- -----
ge.2.1 00:a0:c9:39:5c:b4 active first arrival true
ge.2.7 00:a0:c9:39:1f:11 active static false
Table 20
‐
7
provides
an
explanation
of
the
command
output.
set maclock enable
Use
this
command
to
enable
MAC
locking
globally
or
on
one
or
more
ports.
Syntax
set
maclock
enable
[
port
‐
string
]
Parameters
Defaults
If
port
‐
string
is
not
specified,
MAC
locking
will
be
enabled
globally.
Mode
Switch
command,
read
‐
write.
Usage
When
enabled
and
configured,
MAC
locking
defines
which
MAC
addresses,
as
well
as
how
many
MAC
addresses
are
permitted
to
use
specific
port(s).
Table 20-7 show maclock stations Output Details
Output Field
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.
MAC address
MAC address of the end station(s) locked to the port.
Status
Whether the end stations are
active
or
inactive
.
State
Whether the end station locked to the port is a
first arrival
or
static
connection.
Aging
When true, FirstArrival MACs that have aged out of the forwarding database will be
removed for the associated port lock.
Note:
MAC locking needs to be enabled globally and on appropriate ports for it to function.
port
‐
string
(Optional)
Enables
MAC
locking
on
specific
port(s).
For
a
detailed
description
of
possible
port
‐
string
values,
refer
to
“
Port
String
Syntax
Used
in
the
CLI
”
on
page 4
‐
1.
Summary of Contents for G3G170-24
Page 1: ...Enterasys G Series Ethernet Switch CLI Reference Firmware Version 1 00 xx P N 9034358 01...
Page 2: ......
Page 30: ...xxviii...
Page 100: ...set ssl 2 56 Basic Configuration...
Page 132: ...clear lldp port tx tlv 3 32 Discovery Protocol Configuration...
Page 272: ...show spantree nonforwardingreason 6 52 Spanning Tree Configuration...
Page 296: ...set garp timer 7 24 802 1Q VLAN Configuration...
Page 384: ...clear nodealias config 11 34 Logging and Network Management...
Page 438: ...Enabling Router Configuration Modes 14 4 Preparing for Router Mode...
Page 514: ...show ip pimsm staticrp 16 56 IPv4 Routing Protocol Configuration...
Page 524: ...traceroute ipv6 17 10 IPv6 Management...
Page 602: ...show ipv6 ospf virtual link 19 46 OSPFv3 Configuration...