Professional Documents
Culture Documents
31- Introduction
32- MSTP
33- PVST and RSTP
321- Cisco as Core, ProCurve as Edge
322- ProCurve as Core, Cisco as Edge
Introduction
Glossary
MSTP 802.1s
It is supported on most manageable switches except 2500 and 4100 switches
Please refer to switch documentation.
PVST+
By default, Cisco switches run PVST+. PVST is the implementation of STP on
ISL links (Cisco proprietary multi-VLAN encapsulation) while PVST+ runs on
802.1q links .
In PVST+, there is one instance of STP per VLAN and BPDUs use a
proprietary Multicast Mac Address. They are not “understood” by HP
ProCurve switches (except by ProCurve 9300M and 9400M) and are then
flooded as a regular multicast. So, regarding PVST+ BPDUs, HP ProCurve
switches appear as a hub.
However, Native VLAN (untagged VLAN of a tagged link equal to VLAN 1 be
default) is an exception. In Native VLAN, the Cisco switches send standard
STP BPDUs, which are “understood” by HP ProCurve switches. This is how
both platform interact.
Cisco has also introduced Rapid PVST+, a PVST+ implementation that
integrates Rapid STP principles.
Prestandard MSTP
MSTP should not be confused with the prestandard version of MSTP.
MSTP (802.1s)
You must run the latest versions of IOS to get support of MSTP (check on
Cisco web site).
Caution
Support for the IEEE 802.1s standard has been introduced around September
2005 by Cisco in the IOS. One should refer to Cisco web site for IOS support
of compliant MSTP (*). Caution should be taken on not confusing the
prestandard MST and the compliant IEEE 802.1s MST. If configuration of
both modes looks exactly the same, the prestandard does NOT
interoperate with the MSTP on ProCurve as this one complies with IEEE
802.1s standard.
(*) Versions of IOS implementing the Compliant IEEE 802.1s starts with:
12.2(18) for Catalyst 6500, 12.2(25)SG for Catalyst 4500 and 12.2(25)SEC
on Catalyst 35xx, 37xx, and 2970.
If not all your devices support MSTP yet, a progressive migration to MSTP
can be put in place as it interoperates with Standard, Rapid Spanning Tree
modes and with PVST via the Native Vlan.
Note that all STP modes interoperate via the standard spanning-tree mode
also named the Common Spanning-Tree (CST). So whatever is your choice,
you should always carefully define the root and secondary root of the
CST. On Cisco look after priority of STP in the Native Vlan (vlan 1 by
default), on ProCurve look after the “global” priority of STP.
MSTP Configuration
e1 e2
Gi1/1 Procurve-Edge-1
Gi1/1
Gi1/3 Gi1/3
Gi1/2 Gi1/2
Cisco-Core-2
Cisco-Core-1
e1 e2
Procurve-Edge-2
The parameters for the MSTP domain has been defined as followed:
Configuration Name = procurve-cisco (case sensitive)
Configuration Number = 1
Instance 1 = vlans 1, 10, 20
Instance 2 = vlans 30, 40
Configuration of Cisco-Core-1
hostname Core-Cisco-1
All parameters of the MSTP configuration must match on all switches of the
MSTP domain.
spanning-tree mst configuration
name procurve-cisco
revision 1
instance 1 vlan 1, 10, 20
instance 2 vlan 30, 40
VLAN Creation
VLAN 1 exists by default
vlan 10,20,30,40
Uplinks are defined as 802.1q links. They are named “trunks” in Cisco
terminology and “tagged links” in ProCurve terminology. The “nonegogiate”
feature means that we do no use the Dynamic Trunk Protocol to negotiate
the status of the uplink.
IP configuration.
ip routing
The Virtual IP used as Default Gateway for the various VLANs are set using
HSRP (Hot Standby Router Protocol), the Cisco proprietary protocol.
As Cisco-Core-1 is the Root of MST instance 1, we also set it as Master of the
Virtual IP of Vlans 1, 10 & 20. And as it is secondary root for MST instance 2,
we define it as the Backup of Virtual IP in Vlans 30 & 40.
interface Vlan1
ip address 10.1.1.1 255.255.255.0
standby 1 ip 10.1.1.254
standby 1 timers 1 3
standby 1 priority 255
standby 1 preempt
!
interface Vlan10
ip address 10.1.10.1 255.255.255.0
standby 10 ip 10.1.10.254
standby 10 timers 1 3
standby 10 priority 255
standby 10 preempt
!
interface Vlan20
ip address 10.1.20.1 255.255.255.0
standby 20 ip 10.1.20.254
standby 20 timers 1 3
standby 20 priority 255
standby 20 preempt
!
interface Vlan30
ip address 10.1.30.1 255.255.255.0
standby 30 ip 10.1.30.254
standby 30 timers 1 3
!
interface Vlan40
ip address 10.1.40.1 255.255.255.0
standby 40 ip 10.1.40.254
standby 40 timers 1 3
!
end
Core-cisco-2 configuration
hostname Core-Cisco-2
!
Global Configuration is similar to the configuration of Cisco-Core-1
end
ProCurve-Edge-1 Configuration
ProCurve-Edge-1 is a 3500yl.
hostname "ProCurve-Edge-1"
VLAN configuration
MSTP Configuration: Name, Revision and instances match the one of other
switches in MSTP domain
ProCurve-Edge-2 Configuration
hostname "ProCurve-Edge-2"
max-vlans 16
vlan 1
name "DEFAULT_VLAN"
untagged 1-9,18-24
ip address 10.1.1.4 255.255.255.0
no untagged 10-17
exit
vlan 10
name "VLAN10"
untagged 10-11
tagged 1-2
exit
vlan 20
name "VLAN20"
untagged 12-13
no ip address
tagged 1-2
exit
vlan 30
name "VLAN30"
untagged 14-15
no ip address
tagged 1-2
exit
vlan 40
name "VLAN40"
untagged 16-17
no ip address
tagged 1-2
exit
spanning-tree
On Cisco-Core-2
Parameters of MSTP configuration.
Core-Cisco-2#show spanning-tree mst configuration
Name [procurve-cisco]
Revision 1 Instances configured 3
Instance Vlans mapped
-------- -------------------------------------------------------
0 2-9,11-19,21-29,31-39,41-4094
1 1,10,20
2 30,40
-----------------------------------------------------------------
On ProCurve-Edge-1
Parameters of MSTP configuration.
Note that display shows IST instance without any Vlans. In fact the vlans,
including those not yet created, that are not associated with an existing
instance are mapped to the IST instance.
| Prio BPDU
Port Type | Cost rity Edge Pnt-to-Pnt MCheck Hello Time Filter
---- --------- + --------- ----- ---- ----------- ------ ------
1 100/1000T | Auto 128 No Force-True Yes Use Global No
2 100/1000T | Auto 128 No Force-True Yes Use Global No
3 100/1000T | Auto 128 No Force-True Yes Use Global No
4 100/1000T | Auto 128 Yes Force-True Yes Use Global No
5 100/1000T | Auto 128 Yes Force-True Yes Use Global No
Instance ID : 0
Mapped VLANs :
Instance ID : 1
Mapped VLANs : 1,10,20
Switch Priority : 32768
Instance ID : 2
Mapped VLANs : 30,40
Filtered Ports :
Switch MAC Address : 001635-b487c0
Switch Priority : 32768
Max Age : 20
Max Hops : 20
Forward Delay : 15
Procurve-Edge-1
Cisco-1 Cisco-2
In this topology, uplinks are tagged with VLANs 10, 20, 30 and 40 and
untagged for VLAN 1. On Cisco, it is named the Native VLAN.
In PVST+ Cisco-1 is the primary Root for VLANs 1, 10 and 20 and Cisco-2 the
secondary Root.
Cisco-2 is the primary Root for VLANs 30 and 40 and Cisco-1 the secondary
Root.
ProCurve-Edge-1 is an access switch.
Following define PVST+ Spanning-Tree mode, allows PVST+ to run for VLANs
above 1023 an up to 4095.
Conf t
hostname Cisco-1
Spanning-Tree mode pvst
Spanning-Tree extend system-id
Cisco-1 is the primary Root for VLAN 1, 10, 20 and the secondary Root for
VLAN 30,40
Although it is not mandatory, the STP timers have been lowered to speed
convergence time. One should pay attention in using those values as it may
create instability if not applied properly. The following values are acceptable
in a network with a “diameter” of 3, which means that BPDUs will not cross
more than 3 switches before returning to originator Root switch.
Spanning-Tree vlan 1,10,20,30,40 hello-time 1
Spanning-Tree vlan 1,10,20,30,40 forward-time 4
Spanning-Tree vlan 1,10,20,30,40 max-age 6
!
Access ports are configured in PortFast mode
Conf t
hostname Cisco-2
Cisco-2 is the secondary Root for VLANs 1, 10, 20 and primary Root for
VLANs 30,40
Conf
hostname "ProCurve-Edge-1"
Spanning-Tree
Default mode is RSTP (802.1w), other modes are Standard STP (802.1D) and
MSTP (802.1s). Changing mode requires a reboot.
VLANs configuration
vlan 1
ip address 10.1.1.10 255.255.255.0
vlan 10
untagged B1-B4
tagged A15-A16
vlan 20
untagged B5-B9
tagged A15-A16
vlan 30
untagged B10-B14
tagged A15-A16
vlan 40
untagged B15-B19
tagged A15-A16
Display confirms Cisco-1 as the primary Root for VLANs 1, 10, 20 and
secondary Root for VLANs 30 and 40 and all ports are in forwarding mode.
Cisco-1#sh Spanning-Tree
VLAN0001
Spanning-Tree enabled protocol ieee
Root ID Priority 1
Address 0013.c382.a900 (Cisco-1)
This bridge is the root
Hello Time 1 sec Max Age 6 sec Forward Delay 4 sec
VLAN0010
Spanning-Tree enabled protocol ieee
Root ID Priority 10
Address 0013.c382.a900 (Cisco-1)
This bridge is the root
Hello Time 1 sec Max Age 6 sec Forward Delay 4 sec
VLAN0020
(skip…)
VLAN0030
Spanning-Tree enabled protocol ieee
Root ID Priority 30
Address 0013.c392.d200 (Cisco-2)
Cost 4
Port 6 (GigabitEthernet1/0/4)
Hello Time 1 sec Max Age 6 sec Forward Delay 4 sec
VLAN0040
(skip…)
Display confirms Cisco-2 as the primary Root for VLANs 30 and 40 and
secondary Root for VLANs 1, 10 and 20 and all ports are in forwarding mode.
Cisco-2#sh span
VLAN0001
Spanning-Tree enabled protocol ieee
Root ID Priority 1
Address 0013.c382.a900 (Cisco-1)
Cost 4
Port 6 (GigabitEthernet1/0/4)
Hello Time 1 sec Max Age 6 sec Forward Delay 4 sec
VLAN0010
Spanning-Tree enabled protocol ieee
Root ID Priority 10
Address 0013.c382.a900 (Cisco-1)
Cost 4
Port 6 (GigabitEthernet1/0/4)
Hello Time 1 sec Max Age 6 sec Forward Delay 4 sec
VLAN0020
(skip…)
VLAN0030
Spanning-Tree enabled protocol ieee
Root ID Priority 30
Address 0013.c392.d200 (Cisco-2)
This bridge is the root
Hello Time 1 sec Max Age 6 sec Forward Delay 4 sec
VLAN0040
(skip…)
Conclusion
The same test has been run implementing the Rapid PVST mode on the Cisco
cores.
Regarding finale topology, same results have been obtained. However no
significant improvement in speed convergence has resulted.
In other words, HP ProCurve RSTP and Cisco Rapid PVST interacts in Vlan 1
as RSTP or standard STP interacts with PVST, but Rapid STP mechanisms are
not functioning.
In its Rapid PVST mode implementation, Cisco does not use the standard
costs of Rapid STP but rather the cost of standard STP. For example Fast
Ethernet cost is 19 and not 200000.
Sample topology
In this topology, uplinks are tagged for VLANs 10, 20, 30 and 40 and
untagged for VLAN 1.
ProCurve-Core-1 and 2 are defined as Root and secondary Root of RSTP.
Cisco-1 and Cisco-2 use standard PVST+ configuration.
Conf
hostname "ProCurve-Core-1/2"
Uplink ports are defined as Non Edge. Default is Edge and Point-to-Point.
Spanning-Tree priority 0
hostname Cisco-1/2
Spanning-Tree mode pvst
Spanning-Tree extend system-id
On ProCurve-Core-1
On ProCurve-Core-2
Cisco-1#show Spanning-Tree
VLAN0001
Spanning-Tree enabled protocol ieee
Root ID Priority 0
Address 000e.7f06.0100
Cost 4
Port 3 (GigabitEthernet1/0/1)
Hello Time 1 sec Max Age 6 sec Forward Delay 4 sec
VLAN0001
Spanning-Tree enabled protocol ieee
Root ID Priority 0
Address 000e.7f06.0100 (ProCurve-Core-1)
Cost 4
Port 3 (GigabitEthernet1/0/1)
Hello Time 1 sec Max Age 6 sec Forward Delay 4 sec
In VLANs 10, 20, 30 and 40, ProCurve-Core-1 and 2 forward Cisco PVST
BPDUs as any other frames. They are “transparent” to the Cisco switches.
Cisco-1 is the Root switch because of its Mac address.
From Cisco switches, STP Topology in VLANs 10, 20, 30 and 40 appears as
follows:
ProCurve-Core-1# conf
We define the value of path-cost of uplinks as 3.
Status on ProCurve-Core-2
VLAN0001
Spanning-Tree enabled protocol ieee
Root ID Priority 0
Address 000e.7f06.0100 (ProCurve-Core-1)
Cost 4
Port 3 (GigabitEthernet1/0/1)
Hello Time 1 sec Max Age 6 sec Forward Delay 4 sec
VLAN0010
Spanning-Tree enabled protocol ieee
Root ID Priority 32778
Cost 4
Address 0013.c382.a900 (cisco-1)
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
On Cisco-2
Cisco-2#sh span
VLAN0001
Spanning-Tree enabled protocol ieee
Root ID Priority 0
Address 000e.7f06.0100
Cost 4
Port 3 (GigabitEthernet1/0/1)
Hello Time 1 sec Max Age 6 sec Forward Delay 4 sec