Allied Telesis AT-9900 用户手册

下载
页码 232
36
Switching Enhancements
Release Note
Software Version 2.8.1
C613-10477-00 REV B
The vlan parameter specifies the VLAN or VLANs for which ports are enabled. 
Specified ports must be a member of the VLAN. If no value or all is specified, 
the specified ports are enabled for all VLANs to which they belong.
Note that when a disabled VLAN is re-enabled on a port, the port 
automatically has ingress filtering disabled, as long as there are no other 
VLANs disabled on the port, and as long as ingress filtering was not previously 
enabled by using the set switch port command. 
Example
To enable the default vlan on port 1, use the command:
ena swi po=1 vlan=1
set lacp
Syntax
SET LACP PRIOrity=priority 
[THRASHAction={LEarndisable|LINkdown|NONE|POrtdisable|V
LANdisable}] [THRASHTimeout={None|1..86400}]
Description
This command modifies the LACP parameters.
The thrashaction parameter specifies the action the router or switch takes 
when it detects MAC address thrashing on any trunk created by LACP. 
Thrashing occurs when one or more ports or trunks repeatedly learn the same 
MAC addresses, for example, as a result of a network loop. The router or 
switch applies the trunk’s thrashaction to all ports in the trunk. 
Take care with the thrashaction parameter because misuse can impair your 
network operation. 
Set the thrashaction parameter to:
none
 to apply no thrash limiting on the trunk.
learndisable
 to disable MAC address learning on all ports in the thrashing 
trunk, until the period specified with the thrashtimeout parameter has 
elapsed. The default is learndisable.
portdisable
 or linkdown to disable all ports in the thrashing trunk until 
either the period specified by the thrashtimeout parameter has elapsed, or 
until the ports or subset of ports in the trunk are re-enabled by the enable 
switch port
  command. If you specify linkdown, the link state is down; if 
you specify portdisable, the link state remains up.
vlandisable
 to block all traffic on the VLAN where the address was 
learned, on all ports in the thrashing trunk, until either the period specified 
by thrashtimeout has elapsed, or until the ports are re-enabled using the 
enable switch port vlan
 command. When thrashaction=vlandisable, there 
is only one timer per trunk, so if multiple VLANs have been disabled on a 
trunk, the timer starts when the last VLAN was disabled. When the timer 
expires, all VLANs are re-enabled on the trunk. When 
thrashaction=vlandisable
, ingress filtering is automatically enabled on all 
ports in the trunk.
The thrashtimeout parameter specifies the time, in seconds, for which the 
switch employs the thrash action specified by the thrashaction parameter. The 
thrashtimeout
 cannot be set to none if thrashaction=learndisable. If 
thrashtimeout=none,
 and thrashaction is then changed to learndisable, then 
the router or switch automatically changes the thrashtimeout to 1 second.