Вы находитесь на странице: 1из 6

Rapid transition : True

Num of VLANs mapped : 0


Port times : Hello 2s MaxAge 20s FwdDelay 15s MsgAge 0s RemHops 19
BPDU sent : 5763
TCN: 0, Config: 0, RST: 876, MST: 4887
BPDU received : 0
TCN: 0, Config: 0, RST: 0, MST: 0
...

[Comware7]display stp instance 1


-------[MSTI 1 Global Info]-------
Bridge ID : 20480.cc3e-5f73-bacb
RegRoot ID/IRPC : 8192.0023-89d5-a059, 20020
RootPort ID : 128.6
Master bridge : 8192.009c-02d5-3980
Cost to master : 20
TC received : 0

----[Port6(GigabitEthernet1/0/6)][FORWARDING]----
Port protocol : Enabled
Port role : Root Port
Port ID : 128.6
Port cost(Legacy) : Config=auto, Active=20
Desg.bridge/port : 12288.009c-02d5-3980, 128.13
Protection type : Config=none, Active=none
Rapid transition : True
Num of VLANs mapped : 1
Port times : RemHops 19

[Comware7]display stp instance 2


-------[MSTI 2 Global Info]-------
Bridge ID : 8192.cc3e-5f73-bacb
RegRoot ID/IRPC : 8192.cc3e-5f73-bacb, 0
RootPort ID : 0.0
Master bridge : 8192.009c-02d5-3980
Cost to master : 20
TC received : 0

----[Port6(GigabitEthernet1/0/6)][FORWARDING]----
Port protocol : Enabled
Port role : Designated Port
Port ID : 128.6
Port cost(Legacy) : Config=auto, Active=20
Desg.bridge/port : 8192.cc3e-5f73-bacb, 128.6
Protection type : Config=none, Active=none
Rapid transition : True
Num of VLANs mapped : 1
Port times : RemHops 20

----[Port9(GigabitEthernet1/0/9)][FORWARDING]----
Port protocol : Enabled
Port role : Designated Port
Port ID : 128.9
Port cost(Legacy) : Config=auto, Active=200
Desg.bridge/port : 8192.cc3e-5f73-bacb, 128.9
Protection type : Config=none, Active=none
Rapid transition : True
Num of VLANs mapped : 1
Port times : RemHops 20
Cisco(config)#spanning-tree ?
backbonefast Enable BackboneFast Feature
etherchannel Spanning tree etherchannel specific configuration
extend Spanning Tree 802.1t extensions
logging Enable Spanning tree logging
loopguard Spanning tree loopguard options
mode Spanning tree operating mode
mst Multiple spanning tree configuration
pathcost Spanning tree pathcost options
portfast Spanning tree portfast options
transmit STP transmit parameters
uplinkfast Enable UplinkFast Feature
vlan VLAN Switch Spanning Tree

Cisco(config)#spanning-tree mode ?
mst Multiple spanning tree mode
pvst Per-Vlan spanning tree mode
rapid-pvst Per-Vlan rapid spanning tree mode

Cisco(config)#spanning-tree mode mst

Cisco(config)#spanning-tree mst configuration

Cisco(config-mst)#?
abort Exit region configuration mode, aborting changes
exit Exit region configuration mode, applying changes
instance Map vlans to an MST instance
name Set configuration name
no Negate a command or set its defaults
private-vlan Set private-vlan synchronization
revision Set configuration revision number
show Display region configurations

Cisco(config-mst)#name ProVision-Comware-Cisco

Cisco(config-mst)#revision 1

Cisco(config-mst)# instance 1 vlan 220

Cisco(config-mst)# instance 2 vlan 100

Cisco(config-mst)# instance 3 vlan 240

Cisco(config)#spanning-tree mst 0 priority 20480


(note - increments of 4096, default setting is 32768)

Cisco(config)#spanning-tree mst 1 priority 16384


(note - increments of 4096, default setting is 32768)

Cisco(config)#spanning-tree mst 2 priority 12288


(note - increments of 4096, default setting is 32768)

Cisco(config)#spanning-tree mst 3 priority 8192


(note - increments of 4096, default setting is 32768)

Cisco(config)#interface g1/0/9

Cisco(config-if)#spanning-tree ?
bpdufilter Don't send or receive BPDUs on this interface
bpduguard Don't accept BPDUs on this interface
cost Change an interface's spanning tree port path cost
guard Change an interface's spanning tree guard mode
link-type Specify a link type for spanning tree protocol use
mst Multiple spanning tree
port-priority Change an interface's spanning tree port priority
portfast Enable an interface to move directly to forwarding on link up
stack-port Enable stack port
vlan VLAN Switch Spanning Tree

Cisco(config-if)#spanning-tree portfast

Cisco(config-if)#spanning-tree cost 10000

Cisco(config-if)#spanning-tree port-priority 160


(note - increments of 16, default setting is 128)

Cisco(config-if)#spanning-tree mst 1 cost 10000

Cisco(config-if)#spanning-tree mst 1 port-priority 160


(note - increments of 16, default setting is 128)

Cisco#show spanning-tree ?
active Report on active interfaces only
backbonefast Show spanning tree backbonefast status
blockedports Show blocked ports
bridge Status and configuration of this bridge
detail Detailed information
inconsistentports Show inconsistent ports
interface Spanning Tree interface status and configuration
mst Multiple spanning trees
pathcost Show Spanning pathcost options
root Status and configuration of the root bridge
summary Summary of port states
uplinkfast Show spanning tree uplinkfast status
vlan VLAN Switch Spanning Trees
| Output modifiers
<cr>

Cisco#show spanning-tree

MST0
Spanning tree enabled protocol mstp
Root ID Priority 8192
Address 009c.02d5.3980
Cost 0
Port 6 (GigabitEthernet1/0/6)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 20480 (priority 20480 sys-id-ext 0)


Address 0022.91ab.4380
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Interface Role Sts Cost Prio.Nbr Type


------------------- ---- --- --------- -------- --------------------------------
Gi1/0/1 Desg FWD 20000 128.1 P2p
Gi1/0/6 Root FWD 20000 128.6 P2p
Gi1/0/9 Desg FWD 10000 160.9 P2p Edge

MST1
Spanning tree enabled protocol mstp
Root ID Priority 8193
Address 0023.89d5.a059
Cost 40000
Port 6 (GigabitEthernet1/0/6)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 16385 (priority 16384 sys-id-ext 1)
Address 0022.91ab.4380
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Interface Role Sts Cost Prio.Nbr Type


------------------- ---- --- --------- -------- --------------------------------
Gi1/0/6 Root FWD 20000 128.6 P2p

MST2
Spanning tree enabled protocol mstp
Root ID Priority 8194
Address cc3e.5f73.bacb
Cost 40000
Port 6 (GigabitEthernet1/0/6)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 12290 (priority 12288 sys-id-ext 2)


Address 0022.91ab.4380
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Interface Role Sts Cost Prio.Nbr Type


------------------- ---- --- --------- -------- --------------------------------
Gi1/0/6 Root FWD 20000 128.6 P2p
Gi1/0/9 Desg FWD 10000 160.9 P2p Edge

MST3
Spanning tree enabled protocol mstp
Root ID Priority 8195
Address 0022.91ab.4380
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 8195 (priority 8192 sys-id-ext 3)


Address 0022.91ab.4380
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Interface Role Sts Cost Prio.Nbr Type


------------------- ---- --- --------- -------- --------------------------------
Gi1/0/6 Desg FWD 20000 128.6 P2p

Cisco#show spanning-tree mst

##### MST0 vlans mapped: 1-99,101-219,221-239,241-4094


Bridge address 0022.91ab.4380 priority 20480 (20480 sysid 0)
Root address 009c.02d5.3980 priority 8192 (8192 sysid 0)
port Gi1/0/6 path cost 0
Regional Root address 009c.02d5.3980 priority 8192 (8192 sysid 0)
internal cost 20000 rem hops 19
Operational hello time 2 , forward delay 15, max age 20, txholdcount 6
Configured hello time 2 , forward delay 15, max age 20, max hops 20

Interface Role Sts Cost Prio.Nbr Type


---------------- ---- --- --------- -------- --------------------------------
Gi1/0/1 Desg FWD 20000 128.1 P2p
Gi1/0/6 Root FWD 20000 128.6 P2p
Gi1/0/9 Desg FWD 10000 160.9 P2p Edge

##### MST1 vlans mapped: 220


Bridge address 0022.91ab.4380 priority 16385 (16384 sysid 1)
Root address 0023.89d5.a059 priority 8193 (8192 sysid 1)
port Gi1/0/6 cost 40000 rem hops 18

Interface Role Sts Cost Prio.Nbr Type


---------------- ---- --- --------- -------- --------------------------------
Gi1/0/6 Root FWD 20000 128.6 P2p

##### MST2 vlans mapped: 100


Bridge address 0022.91ab.4380 priority 12290 (12288 sysid 2)
Root address cc3e.5f73.bacb priority 8194 (8192 sysid 2)
port Gi1/0/6 cost 40000 rem hops 18

Interface Role Sts Cost Prio.Nbr Type


---------------- ---- --- --------- -------- --------------------------------
Gi1/0/6 Root FWD 20000 128.6 P2p
Gi1/0/9 Desg FWD 10000 160.9 P2p Edge

##### MST3 vlans mapped: 240


Bridge address 0022.91ab.4380 priority 8195 (8192 sysid 3)
Root this switch for MST3

Interface Role Sts Cost Prio.Nbr Type


---------------- ---- --- --------- -------- --------------------------------
Gi1/0/6 Desg FWD 20000 128.6 P2p

Cisco#show spanning-tree mst configuration


Name [ProVision-Comware-Cisco]
Revision 1 Instances configured 4

Instance Vlans mapped


-------- ---------------------------------------------------------------------
0 1-99,101-219,221-239,241-4094
1 220
2 100
3 240
-------------------------------------------------------------------------------

Cisco#show spanning-tree mst 0

##### MST0 vlans mapped: 1-99,101-219,221-239,241-4094


Bridge address 0022.91ab.4380 priority 20480 (20480 sysid 0)
Root address 009c.02d5.3980 priority 8192 (8192 sysid 0)
port Gi1/0/6 path cost 0
Regional Root address 009c.02d5.3980 priority 8192 (8192 sysid 0)
internal cost 20000 rem hops 19
Operational hello time 2 , forward delay 15, max age 20, txholdcount 6
Configured hello time 2 , forward delay 15, max age 20, max hops 20

Interface Role Sts Cost Prio.Nbr Type


---------------- ---- --- --------- -------- --------------------------------
Gi1/0/1 Desg FWD 20000 128.1 P2p
Gi1/0/6 Root FWD 20000 128.6 P2p
Gi1/0/9 Desg FWD 10000 160.9 P2p Edge

Cisco#show spanning-tree mst 1

##### MST1 vlans mapped: 220


Bridge address 0022.91ab.4380 priority 16385 (16384 sysid 1)
Root address 0023.89d5.a059 priority 8193 (8192 sysid 1)
port Gi1/0/6 cost 40000 rem hops 18

Interface Role Sts Cost Prio.Nbr Type


---------------- ---- --- --------- -------- --------------------------------
Gi1/0/6 Root FWD 20000 128.6 P2p

Cisco#show spanning-tree mst 3

##### MST3 vlans mapped: 240


Bridge address 0022.91ab.4380 priority 8195 (8192 sysid 3)
Root this switch for MST3

Interface Role Sts Cost Prio.Nbr Type


---------------- ---- --- --------- -------- --------------------------------
Gi1/0/6 Desg FWD 20000 128.6 P2p

Вам также может понравиться