Enterasys Networks D2G124-12P Benutzerhandbuch

Seite von 496
set maclock enable
D-Series CLI Reference 15-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: 
D2(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
 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.
Table 15-52 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 
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 “