ZyXEL Communications XS3800-28 Cli Reference Manual page 308

Hide thumbs Also See for XS3800-28:
Table of Contents

Advertisement

Table 193 spanning-tree Command Summary (continued)
COMMAND
spanning-tree <port-list> edge-
port
no spanning-tree <port-list>
edge-port
spanning-tree <port-list> path-
cost <1-65535>
spanning-tree <port-list>
priority <0-255>
spanning-tree <port-list>
rootguard
no spanning-tree <port-list>
rootguard
spanning-tree help
82.2 Command Examples
This example configures STP in the following ways:
Enables STP on the Switch.
1
Sets the bridge priority of the Switch to 0.
2
Sets the Hello Time to 4, Maximum Age to 20 and Forward Delay to 15.
3
Enables STP on port 5 with a path cost of 150.
4
Sets the priority for port 5 to 20.
5
sysname(config)# spanning-tree
sysname(config)# spanning-tree priority 0
sysname(config)# spanning-tree hello-time 4 maximum-age 20 forward-delay
--> 15
sysname(config)# spanning-tree 5 path-cost 150
sysname(config)# spanning-tree 5 priority 20
Chapter 82 STP and RSTP Commands
DESCRIPTION
Sets the specified ports as edge ports. This allows the port
to transition to a forwarding state immediately without
having to go through the listening and learning states.
Note: An edge port becomes a non-edge port as
soon as it receives a Bridge Protocol Data
Units (BPDU).
Sets the listed ports as non-edge ports.
Specifies the cost of transmitting a frame to a LAN through
the port(s). It is assigned according to the speed of the
bridge.
Sets the priority for the specified ports. Priority decides
which port should be disabled when more than one port
forms a loop in a Switch. Ports with a higher priority numeric
value are disabled first.
Enables root guard on the specified port in order to
prevent the switch(es) attached to the port from
becoming the root bridge.
Disables root guard on a port.
Provides more information about the specified command.
Ethernet Switch CLI Reference Guide
308
M
P
C
13
C
13
C
13
C
13
C
13
C
13
C
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents