1-21
Note that:
z
If you specify the
instance-id
argument to be 0 or do not specify this argument, the
stp cost
command sets the path cost of the port in CIST.
z
Changing the path cost of a port in an MSTI may change the role of the port in the instance and put
it in state transition.
z
Ports with different rates have different default path costs. For details, see
Table 1-8
.
Examples
# Set the path cost of Ethernet 1/0/1 in MSTI 2 to 200.
z
Set the path cost of Ethernet 1/0/1 in MSTI 2 to 200 in Ethernet port view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] stp instance 2 cost 200
z
Set the path cost of Ethernet 1/0/1 in MSTI 2 to 200 in system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp interface Ethernet 1/0/1 instance 2 cost 200
# Set the path cost of Ethernet 1/0/2 to Ethernet 1/0/4 in MSTI 2 to 400 in system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp interface Ethernet 1/0/2 to Ethernet 1/0/4 instance 2 cost 400
stp dot1d-trap
Syntax
stp dot1d-
[
instance instance-id
]
trap
[
newroot
|
topologychange
]
enable
undo stp
[
instance instance-id
]
dot1d-trap
[
newroot
|
topologychange
]
enable
View
System view
Parameters
instance-id
: MSTI ID ranging from 0 to 16. The value of 0 refers to CIST. With this argument specified,
the trap messages sent are only of the MSTI identified by this argument.
newroot
: Sends trap messages conforming to 802.1d standard to the network management device
when the switch becomes the root bridge of an instance.
topologychange
: Sends trap messages conforming to 802.1d standard to the network management
device when the switch detects network topology changes.
Description
Use the
stp dot1d-trap
command to enable a switch to send trap messages conforming to 802.1d
standard when MSTP network topology changes.
Use the
undo stp dot1d-trap
command to disable this function.
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...