ZyXEL Communications ES-315-F - V3.70 Uživatelská příručka Strana 303

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 363
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 302
GS-4012F/4024 User’s Guide
302 Chapter 44 Configuration Mode Commands
An example using spanning-tree command is shown next.
Enable STP on the switch.
Set the bridge priority of the switch to 0.
Set the Hello Time to 4, Maximum Age to 20 and Forward Delay to 15 on the switch.
Enable STP on port 5 with a path cost of 150.
Set the priority for port 5 to 20.
maximum-age <6-40>
= Specifies the maximum time (in seconds) a switch can wait
without receiving a BPDU before attempting to reconfigure. All
switch ports (except for designated ports) should receive
BPDUs at regular intervals. Any port that ages out STP
information (provided in the last BPDU) becomes the
designated port for the attached LAN. If it is a root port, a new
root port is selected from among the switch ports attached to the
network.
forward-delay <4-
30>
= Specifies the maximum time (in seconds) a switch will wait
before changing states. This delay is required because every
switch must receive information about topology changes before
it starts to forward frames. In addition, each port needs time to
listen for conflicting information that would make it return to a
blocking state; otherwise, temporary data loops might result.
<port-list> path-
cost <1-65535>
= Enables STP on the specified ports.
Specifies the cost of transmitting a frame on to a LAN through
that port. It is assigned according to the speed of the bridge.
<port-list>
priority <0-255>
= Specifies the priority for each port.
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.
<port-list>
treeIndex <1-4>
= Specifies which STP configuration these ports will participate
in. (
mrstp command only).
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
Zobrazit stránku 302
1 2 ... 298 299 300 301 302 303 304 305 306 307 308 ... 362 363

Komentáře k této Příručce

Žádné komentáře