Allied Telesis AT-9900 用户手册

下载
页码 232
Software Version 2.8.1
33
Software Version 2.8.1
C613-10477-00 REV B
Command Reference Updates
This section describes each new command and the changed portions of 
modified commands and output screens. For modified commands and output, 
new parameters, options and fields are shown in bold.
create switch trunk
Syntax
CREate SWItch TRunk=trunk [POrt=port-list
[SPeed={10M|100M|1000M|10G}] 
[THRASHAction={LEarndisable|LINKDown|NONE|POrtdisable|V
LANdisable}] [THRASHTimeout={None|1..86400}]
Description
This command creates a trunk group on the switch and optionally adds ports 
to the trunk group and sets port speed. must not be in another trunk group
The thrashaction parameter specifies the action the router or switch takes 
when it detects MAC address thrashing on a trunk. 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 linkdown is specified, the link state is down; if 
portdisable
 is specified, 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. 
If none is specified, the trunk is not automatically re-enabled, but individual 
ports can be re-enabled by using the enable switch port command for 
thrashaction=portdisable
 or linkdisable, and the enable switch port vlan 
command for thrashaction=vlandisable. The default is 1 second.