Configuration Guide MSTP Configuration
Command
Function
Ruijie(config-if)#
spanning-tree
[
mst
instance-id
]
cost
cost
Configure different priorities for different
instances. The command without the
instance-id
parameter will configure a port
priority for instance 0.
instance-id
: Interface ID in the range of 0
to 64.
cost
: Path cost of the port in the range of 1
to 200,000,000. The default value is
calculated by the media rate of the port
automatically.
Ruijie(config-if)#
end
Return to the privileged EXEC mode.
Ruijie#
show spanning-tree
[
mst
instance-id
]
interface
interface-id
Verify the configuration.
Ruijie#
copy running-config
startup-config
Save the configuration.
To restore the path cost of a port to the default value, execute the
no
spanning-tree mst
cost
command in the interface configuration mode.
Configuring the Default Calculation Method of Path Cost (path cost method)
If the path cost of a port is the default value, the device will calculate the path
cost of this port by port rate. However, IEEE 802.1d and IEEE 802.1t specify
different path cost values for a port rate respectively. The value range of the
802.1d is short (1 to 65535), while the value range of the 802.1t is long (1 to
200,000,000). Administrators should unify the path cost standard of the whole
network. The default mode is long (IEEE 802.1t Mode).
The following table lists the path costs set for different port rates in two
standards.
Port Rate
Interface
IEEE 802.1d
(short)
IEEE 802.1t (long)
10M
Common Port
100
2000000
Aggregate Link
95
1900000
100M
Common Port
19
200000
Aggregate Link
18
190000
1000M
Common Port
4
20000
Aggregate Link
3
19000
To configure the default calculation method of path cost, execute the following
commands in the privileged mode:
Содержание RG-S2900G-E Series
Страница 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Страница 91: ...Configuration Guide Configuring PoE Configuration ...
Страница 133: ...Configuration Guide EEE Configuration ...
Страница 319: ...Configuration Guide QinQ Configuration ...
Страница 408: ......
Страница 409: ...IP Routing Configuration 1 Static Route Configuration ...
Страница 412: ......
Страница 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Страница 621: ...Configuration Guide CPU Protection Configuration udp helper 180 4 dhcp client 180 4 lacp 180 4 ...
Страница 757: ......
Страница 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Страница 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Страница 901: ...Configuration Guide ERSPAN Configuration ...
Страница 902: ...Web based Configuration 1 Web based Configuration ...