Set Maclock Enable; Show Maclock Stations Output Details - Enterasys D2 D2G124-12P Cli Reference Manual

D-series ethernet switches
Table of Contents

Advertisement

Example
This example shows how to display MAC locking information for the end stations connected to all 
Gigabit Ethernet ports in unit/module 2: 
D2(su)->show maclock stations ge.2.*
Port Number
------------ -----------------
ge.2.1
ge.2.7
Table
15‐52 provides an explanation of the command output.
Table 15-52 show maclock stations Output Details
Output Field
Port Number
MAC address
Status
State
Aging

set maclock enable

Use this command to enable MAC locking globally or on one or more ports. 
Syntax
set maclock enable [port‐string]
Parameters
port‐string
Defaults
If port‐string is not specified, MAC locking will be enabled globally.
Mode
Switch command, read‐write.
MAC Address
00:a0:c9:39:5c:b4
00:a0:c9:39:1f:11
What It Displays...
Port designation. For a detailed description of possible port-string values, refer to
"Port String Syntax Used in the
MAC address of the end station(s) locked to the port.
Whether the end stations are active or inactive.
Whether the end station locked to the port is a first arrival or static connection.
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.
(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. 
Status
State
-------------- -------------- -----
active
first arrival
active
static
CLI" on page 4-1.
set maclock enable
Aging
true
false
D-Series CLI Reference 15-49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterasys d2 d2g124-12D2g124-12D2g124-12p

Table of Contents