ZyXEL Communications MSC1024G Series User Manual page 899

Managment switch card
Hide thumbs Also See for MSC1024G Series:
Table of Contents

Advertisement

The following example activates point-to-point link on uplink port 2.
ras> switch port mstp p2plink up2 enable
34.12.8.5 switch port mstp pathcost Command
Syntax:
switch port mstp pathcost <giga-port> <mstid> <cost>
This command sets the path cost of the specified Gigabit Ethernet interface in the spanning
tree. The path cost can be between 0 and 200000000. A smaller number means a lower path
cost. For paths with the same priority, the switch will select the one on lower interface number
first. 0 sets the system automatically determines the path cost based on the line speed.
The following example sets the path cost of uplink interface 1 to 200 in spanning tree 10.
ras> switch port mstp pathcost up1 10 200
34.12.8.6 switch port mstp priority Command
Syntax:
switch port mstp priority <giga-port> |all <mstid> <priority>
This command sets the priority (between 0 and 255 in multiples of 16) of the Gigabit Ethernet
interface in the specified spanning tree. When a loop occurs and two root ports have the same
cost, the port with higher priority (lower numerical value) becomes the root port and the other
port becomes an alternate port. For ports with the same priority, the switch will select the one
on lower interface number first.
The following example sets the port priority of uplink interface 1 to 16 in spanning tree 10.
ras> switch port mstp priority up1 10 16
34.12.8.7 switch port mstp show Command
Syntax:
switch port mstp show <mstid> [<end_mstid>]
This command displays the specified MSTP's settings on each Gigabit Ethernet interface. The
following example displays the port MSTP setting for spanning tree 10.
ras> switch port mstp show 10
[msti 10]
port
en
---- ---- ---- ---------
sub1
-
sub2
-
up1
V
up2
-
MSC1000G/1024G/1224G Series User's Guide
prio pathcost
128
0
128
0
128
16
128
0
Chapter 34 switch Commands
899

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msc1224g seriesMsc1000g series

Table of Contents