Professional Documents
Culture Documents
Introduction........................................................................................ 3
Discovery protocols: LLDP & CDP ........................................................... 4
VLAN configuration .............................................................................. 7
Introduction ..................................................................................... 7
VLAN configuration on Cisco Catalyst ................................................... 8
VLAN configuration on HP ProCurve ....................................................10
Checking VLANs status and connectivity ..............................................11
Additional info about VLANs...............................................................14
Link aggregation ................................................................................19
Introduction ....................................................................................19
A Static Trunk/Channel .....................................................................21
LACP Trunk/Channel.........................................................................24
Spanning-Tree ...................................................................................29
Introduction ....................................................................................29
MSTP Configuration ..........................................................................31
Cisco as Core running PVST+, HP ProCurve as Edge running RSTP ..........41
HP ProCurve as Core running RSTP, Cisco as Edge running PVST+ ..........47
IP routing Interoperability....................................................................55
Sample topology ..............................................................................55
RIP configuration .............................................................................55
Other RIP features ...........................................................................58
Introduction
Todays multi-vendor environments present many challenges to
administrators trying to configure dissimilar (proprietary vs. standard)
protocols. In an effort to accommodate the needs for many of our
partners and customers, ProCurve networking has written this guide to
assist in the configuration and deployment of ProCurve and Cisco
environments.
The intent of this document isnt to describe why you should do these
things, nor does it argue what the benefits are. It merely goes
through how to accomplish the necessary configurations to get the
Cisco and ProCurve switches configured so that they will work
together.
Thank you
e1
Gi1/1
e2
Procurve-Edge-1
Gi1/1
Gi1/3
Gi1/3
Gi1/2
Gi1/2
Cisco-Core-2
Cisco-Core-1
e1
e2
Procurve-Edge-2
Discovery configuration
We simply use the default configuration regarding Discovery protocols.
On ProCurve switches: LLDP is enabled in send and receive mode. CDP is
enabled in received mode.
On Cisco: CDP is enabled by default.
Device ID
---------------------Core-Cisco-1
Core-Cisco-2
|
+
|
|
Platform
Capability
---------------------------- ----Cisco IOS Software, C6500... R S
Cisco IOS Software, C6500... R S
LLDP neighbors: the ProCurve switch displays the two Catalyst 6500 as well
because the LLDP display includes the CDP neighbors.
ProCurve-Edge-1# show lldp info remote-device
LLDP Remote Devices Information
LocalPort
--------1
2
|
+
|
|
ChassisId
------------------------Core-Cisco-1
Core-Cisco-2
:
:
:
:
:
:
:
1
local
Core-Cisco-1
local
GigabitEthernet0/1
Cisco IOS Software, C6500 Software (C6500-IPSERVICESK9-
: bridge, router
: bridge, router
2
:
:
:
:
:
:
local
Core-Cisco-2
local
GigabitEthernet0/1
Cisco IOS Software, C6500 Software (C6500-IPSERVICESK9-
: bridge, router
: bridge, router
Local Intrfce
Gig 0/3
Holdtme
171
Capability
R S I
Platform
Port ID
WS-C6500-4 Gig0/3
VLAN configuration
11- Introduction
12- VLAN Configuration on Cisco Catalyst
13- VLAN configuration on HP ProCurve
14- Checking VLANs status and connectivity
15- Additional info about VLANs
a. Native VLAN
b. Configuring a management VLAN other than VLAN 1
c. Changing maximum number of VLANs
d. Configuring ports for IP Phones
e. VTP GVRP
f. Cisco Extended Range of VLANs
Introduction
Glossary
This chapter deals with port based VLANs that Cisco and HP ProCurve both
support. Different names are used to describe similar concepts on both
platforms.
Cisco
HP ProCurve
What is it?
Trunk
Tagged
Access
Untagged
Native VLAN
Sample topology
Edge/Access ports untagged
in VLANs 10,20, 30 & 40
Vlan 20
Vlan 30
Vlan 40
10.1.40.1/24
10.1.30.1/24
10.1.20.1/24
10.1.10.1/24
10.1.1.1/24
Vlan 1
Vlan 10
Cisco-1
Procurve-1
Vlan 20
Vlan 30
Vlan 40
10.1.40.2/24
10.1.30.2/24
10.1.20.2/24
Vlan 1
10.1.10.2/24
10.1.1.2/24
Vlan 10
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
10.1.1.1 255.255.255.0
10.1.10.1 255.255.255.0
10.1.20.1 255.255.255.0
10.1.30.1 255.255.255.0
vlan 40
ip address 10.1.40.1 255.255.255.0
exit
(skip)
Trunking vlans Enabled: 1,10,20,30,40
Pruning vlans Enabled: 2-1001
Capture Mode Disabled
Capture vlans Allowed: ALL
(skip)
Checking access port status
Cisco-1#sh int fa1/0/10 switchport
Name: Fa1/0/10
Switchport: Enabled
Administrative Mode: static access
Operational Mode: up
Administrative Trunking Encapsulation: negotiate
Negotiation of Trunking: Off
Access Mode vlan: 10 (vlan0010)
Trunking Native Mode vlan: 1 (default)
Administrative Native vlan tagging: enabled
(skip)
Testing connectivity
The connectivity is tested in the various VLANs defined on the 802.1q link
Cisco-1#ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/8 ms
Cisco-1#ping 10.1.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms
Cisco-1#ping 10.1.20.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.20.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Cisco-1#ping 10.1.30.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.30.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Cisco-1#ping 10.1.40.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.40.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/8 ms
Name
-----------DEFAULT_vlan
TEST10
vlan20
vlan30
vlan40
|
+
|
|
|
|
|
Status
---------Port-based
Port-based
Port-based
Port-based
Port-based
Voice
----No
No
No
No
No
Jumbo
----No
No
No
No
No
Mode
-------Untagged
Untagged
Untagged
Untagged
Untagged
Untagged
Untagged
Untagged
Untagged
Tagged
Tagged
Tagged
Tagged
Unknown vlan
-----------Learn
Learn
Learn
Learn
Learn
Learn
Learn
Learn
Learn
Learn
Learn
Learn
Learn
Status
---------Down
Down
Down
Down
Down
Down
Down
Down
Down
Up
Down
Down
Down
List of VLANs defined for a given port. Although it is not explicitly shown in
this display, port 45 is tagged in VLAN 10, 20, 30 and 40 and untagged in 1.
Name
-----------DEFAULT_vlan
TEST10
vlan20
vlan30
vlan40
|
+
|
|
|
|
|
Status
---------Port-based
Port-based
Port-based
Port-based
Port-based
Voice
----No
No
No
No
No
Jumbo
----No
No
No
No
No
IP Config
---------Manual
Manual
Manual
Manual
Manual
IP Address
------------10.1.1.1
10.1.10.1
10.1.20.1
10.1.30.1
10.1.40.1
Subnet Mask
--------------255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
Proxy ARP
--------No
No
No
No
No
vlan 30
Tagged 45
exit
vlan 40
Tagged 45
Exit
Checking VLAN
Procurve-1# show vlan 99
Status and Counters - vlan Information - Ports - vlan 99
802.1Q vlan ID : 99
Name : vlan99
Status : Port-based
Voice : No
Jumbo : No
Port Information Mode
Unknown vlan Status
---------------- -------- ------------ ---------45
Untagged Learn
Up
Name
-----------TEST10
vlan20
vlan30
vlan40
vlan99
|
+
|
|
|
|
|
Status
---------Port-based
Port-based
Port-based
Port-based
Port-based
Voice
----No
No
No
No
No
Jumbo
----No
No
No
No
No
On Cisco:
Interface range fa1/0/1 - 12
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,200
switchport mode trunk
switchport trunk native vlan 10
switchport nonegotiate
VTP GVRP
Cisco supports the proprietary protocol VTP (VLAN Trunking Protocol) that
allows propagation of created, deleted or modified VLANs through multiple
Cisco switches. ProCurve switches do not support it.
On the other hand, HP supports the IEEE GVRP standard (GARP VLAN
Registration Protocol) which combines automatic creation of VLANs and
automatic tagging of uplinks. GVRP is supported on some Cisco switches
running the CatOS software and interacts properly with ProCurve switches.
But its that GVRP support as been removed in the IOS for Catalyst switches
Link aggregation
21- Introduction
22- Static Link Aggregation
23- LACP Link Aggregation
HP Active and Cisco passive
Cisco Active and HP passive
HP static LACP and Cisco passive
Introduction
Glossary
Cisco
HP ProCurve
What is it?
Channel-group
Trunk
Port-channel
Trunk port
Int channel 1
Int trk1
Description of an
aggregated link
The logical port
representing an
aggregated link
To enter the
configuration mode of
an aggregated link
interface
negotiation. The other side is said passive (LACP) or auto (PAgP) and
forms a link aggregation automatically.
Static and Dynamic
On most HP ProCurve devices1, static trunks can also be defined as LACP. In
that case, they become active unconditionally AND generate LACP frames to
allow the remote side to form a trunk automatically.
On (no
FEC
protocol) Desirable
FEC
Auto
LACP
Active
LACP
Passive
Static FEC(*)
Static LACP
LACP Active
LACP Passive
Legend N=No, one side at least will not create a trunk; Y=yes trunk is
created on both sides, Y= yes and preferred setup.
(*): requires older version of firmware of ProCurve switches
Refer to ProCurve switch owners manual to determine if FEC is supported on a particular model.
A Static Trunk/Channel
Sample Topology
Cisco
Channel Fa1/0/1 - 4
Trunk 45 - 48
Procurve
Trk1 is a logical port and can be assigned to a Vlan as any other physical
port. An IP address is assigned to Vlan 10 to test connectivity
vlan 10
untagged Trk1
ip address 10.1.10.1 255.255.255.0
exit
| Name
+ -------------------------------|
|
|
|
Type
--------100/1000T
100/1000T
100/1000T
100/1000T
|
+
|
|
|
|
Group
----Trk1
Trk1
Trk1
Trk1
Type
----Trunk
Trunk
Trunk
Trunk
Interfaces are put in the same channel group. On mode means static.
channel-group 1 mode ?
active
Enable LACP unconditionally
auto
Enable PAgP only if a PAgP device is detected
desirable Enable PAgP unconditionally
on
Enable Etherchannel only
passive
Enable LACP only if a LACP device is detected
channel-group 1 mode on
etherchannel 1 summary
down
P - in port-channel
stand-alone s - suspended
Hot-standby (LACP only)
Layer3
S - Layer2
in use
f - failed to allocate aggregator
unsuitable for bundling
waiting to be aggregated
default port
Info is repeated for all ports that are members of the channel
LACP Trunk/Channel
With LACP, one side must be active (send LACP frames) and the other
passive.
Local information:
Port
Fa1/0/1
Flags
SA
State
bndl
LACP port
Priority
32768
Admin
Key
0x1
Partner's information:
LACP port
Port
Flags
Priority Dev ID
Age
Fa1/0/1
SP
0
0011.0a50.0d80
8s
Oper
Key
0x1
Oper
Key
0x0
(Primary aggregator)
Port
Number
0x3
Port
Number
0x2D
Port
State
0x3D
Port
State
0x3C
Fa1/0/4
Fa1/0/4
Test connectivity
Cisco#ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
..!!!
Success rate is 60 percent (3/5), round-trip min/avg/max = 1/1/1
ms
| Name
+ -------------------------------|
|
|
|
Type
--------100/1000T
100/1000T
100/1000T
100/1000T
|
+
|
|
|
|
Group
----Dyn1
Dyn1
Dyn1
Dyn1
Type
----LACP
LACP
LACP
LACP
Note: the trunk group defined on ProCurve is a Dynamic trunk Dyn1 and
belongs to Vlan1.
It cannot be assigned to any other vlans except via GVRP.
To allocate trunk port to Vlans, one should prefer the static trunk, with or
without LACP or FEC protocols.
The trunk group defined on ProCurve is a Dynamic trunk Dyn1 and belongs
to Vlan1.
Cisco-2
Channel
Fa1/0/1 -6
Int Po 1 = 10.1.10.2/24
Trunk A1 - A6
Vlan 10 = 10.1.10.1/24
Procurve-2
In the following example, the trunk is defined with 6 Ports and as a Layer 3
trunk.
HP Static LACP trunk configuration
The following defines a trunk as static LACP. The trunk group trk1 is then assigned to
Vlan 10 in which an IP address is defined.
Conf t
trunk a1-a6 trk1 lacp
vlan 10
untagged trk1
ip address 10.1.10.1/24
exit
ProCurve1# show trunk
Load Balancing
Port | Name
Type
| Group Type
---- + -------------------------------- --------- + ----- ----A1
|
100/1000T | Trk1 LACP
A2
A3
A4
A5
A6
|
|
|
|
|
100/1000T
100/1000T
100/1000T
100/1000T
100/1000T
|
|
|
|
|
Trk1
Trk1
Trk1
Trk1
Trk1
LACP
LACP
LACP
LACP
LACP
LACP
ENABLED
------Active
Active
Active
Active
Active
Active
TRUNK
GROUP
-----Trk1
Trk1
Trk1
Trk1
Trk1
Trk1
PORT
STATUS
-----Up
Up
Up
Up
Up
Up
LACP
PARTNER
------Yes
Yes
Yes
Yes
Yes
Yes
LACP
STATUS
------Success
Success
Success
Success
Success
Success
etherchannel 1 summary
- down
P - in port-channel
- stand-alone s - suspended
- Hot-standby (LACP only)
- Layer3
S - Layer2
- in use
f - failed to allocate aggregator
- unsuitable for bundling
- waiting to be aggregated
- default port
Detailed display shows that a channel is created, LACP is the protocol in use,
info about Local switch and partner.
Cisco1#sh etherchannel 1 detail
Group state = L3
Ports: 6
Maxports = 16
Port-channels: 1 Max Port-channels = 16
Protocol:
LACP
Ports in the group:
------------------Port: Fa1/0/1
-----------Port state
Channel group
Port-channel
Po1
Port index
= Up Mstr In-Bndl
= 1
Mode = Passive
= Po1
GC
=
-
= 0
Protocol =
Load = 0x00
LACP
Local information:
Port
State
Fa1/0/1
State
LACP port
Priority
Admin
Key
Oper
Key
Port
Number
Port
Flags
SP
bndl
32768
0x1
0x1
0x3FB
0x3C
Oper
Key
0xD2
Port
Number
0x1
Port
State
0x3D
Partner's information:
LACP port
Port
Flags
Priority Dev ID
Age
Fa1/0/1
SA
0
000e.7f06.0100 12s
(skip info)
Port-channels in the group:
---------------------------
Port-channel: Po1
(Primary Aggregator)
-----------Age of the Port-channel
= 00d:07h:30m:17s
Logical slot/port
= 10/1
Number of ports = 6
HotStandBy port = null
Passive port list
= Fa1/0/1 Fa1/0/2 Fa1/0/3 Fa1/0/4 Fa1/0/5 Fa1/0/6
Port state
= Port-channel L3-Ag Ag-Inuse
Protocol
=
LACP
Ports in the Port-channel:
Index
Load
Port
EC state
No of bits
------+------+------+------------------+----------0
00
Fa1/0/1 Passive
0
0
00
Fa1/0/2 Passive
0
0
00
Fa1/0/3 Passive
0
0
00
Fa1/0/4 Passive
0
0
00
Fa1/0/5 Passive
0
0
00
Fa1/0/6 Passive
0
Time since last port bundled:
00d:00h:01m:12s
Time since last port Un-bundled: 00d:00h:01m:55s
Fa1/0/6
Fa1/0/6
Spanning-Tree
31- Introduction
32- MSTP
33- PVST and RSTP
321- Cisco as Core, ProCurve as Edge
322- ProCurve as Core, Cisco as Edge
Introduction
Glossary
STP is Spanning-Tree Protocol
The IEEE standard implementation of STP is 802.1D.
RSTP is Rapid Spanning-Tree Protocol defined by the 802.1w IEEE standard.
MSTP is Multiple Spanning-Tree Protocol defined by the 802.1s IEEE
standard.
PVST is Per VLAN Spanning-tree proprietary implementation of STP on Cisco
equipment
PVST+ is the implementation of PVST on 802.1q links.
MSTP Configuration
e1
Gi1/1
e2
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
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.
interface range GigabitEthernet0/1 - 3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
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
Core-cisco-2 configuration
hostname Core-Cisco-2
!
standby 30 preempt
!
interface Vlan40
ip address 10.1.40.2 255.255.255.0
standby 40 ip 10.1.40.254
standby 40 timers 1 3
standby 40 priority 255
standby 40 preempt
end
ProCurve-Edge-1 Configuration
ProCurve-Edge-1 is a 3500yl.
hostname "ProCurve-Edge-1"
VLAN configuration
Uplinks ports are 1 and 2
vlan 1
name "DEFAULT_VLAN"
untagged 1-24
ip address 10.1.1.3 255.255.255.0
exit
vlan 10
name "VLAN10"
untagged 11-15
tagged 1-2
no ip address
exit
vlan 20
name "VLAN20"
untagged 16-20
tagged 1-2
no ip address
exit
vlan 30
name "VLAN30"
untagged 21-25
tagged 1-2
no ip address
exit
vlan 40
name "VLAN40"
untagged 25-30
tagged 1-2
no ip address
exit
MSTP Configuration: Name, Revision and instances match the one of other
switches in MSTP domain
spanning-tree config-name "procurve-cisco"
spanning-tree config-revision 1
ProCurve-Edge-2 Configuration
Configuration is similar to the configuration of ProCurve-Edge-1.
In our example ProCurve-Edge-2 is a 3400. Spanning-tree mode defaults to
RSTP. And we have to turn it on MSTP mode that requires a reboot.
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
spanning-tree protocol-version MSTP
spanning-tree 10-17 edge-port
spanning-tree
spanning-tree
spanning-tree
spanning-tree
config-name "procurve-cisco"
config-revision 1
instance 1 vlan 1 10 20
instance 2 vlan 30 40
On Cisco-Core-1
The following command displays the parameters of MSTP configuration.
Note that Cisco shows all the non assigned VLANs in Instance 0 (=IST
Instance) where ProCurve shows the non assigned AND created Vlans only.
Core-Cisco-1#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
-----------------------------------------------------------------
vlans mapped:
2-9,11-19,21-29,31-39,41-4094
address 0010.0db1.7100 priority
0
(0 sysid 0)
this switch for the CIST
hello time 2 , forward delay 15, max age 20, txholdcount 6
hello time 2 , forward delay 15, max age 20, max hops
20
Interface
---------------Gi1/1
Gi1/2
Gi1/3
Gi1/45
##### MST1
Bridge
Root
Sts
--FWD
FWD
FWD
FWD
Cost
Prio.Nbr Type
--------- -------- -------------------20000
128.1
P2p
20000
128.2
P2p
20000
128.3
P2p
20000
128.45
Edge P2p
vlans mapped:
1,10,20
address 0010.0db1.7100 priority
this switch for MST1
Interface
---------------Gi1/1
Gi1/2
Gi1/3
Gi1/45
##### MST2
Bridge
Root
Role
---Desg
Desg
Desg
Desg
Role
---Desg
Desg
Desg
Desg
Sts
--FWD
FWD
FWD
FWD
Cost
--------20000
20000
20000
20000
Prio.Nbr
-------128.1
128.2
128.3
128.45
vlans mapped:
30,40
address 0010.0db1.7100
address 0010.0db3.1200
port
Gi1/3
Interface
---------------Gi1/1
Gi1/2
Gi1/3
Role
---Desg
Desg
Root
Sts
--FWD
FWD
FWD
Cost
--------20000
20000
20000
(0 sysid 1)
Type
-------------------P2p
P2p
P2p
Edge P2p
priority
priority
cost
Prio.Nbr
-------128.1
128.2
128.3
Type
-------------------P2p
P2p
P2p
On Cisco-Core-2
Parameters of MSTP configuration.
Core-Cisco-2#show spanning-tree mst configuration
Name
[procurve-cisco]
Revision 1
Instances configured 3
vlans mapped:
2-9,11-19,21-29,31-39,41-4094
address 0010.0db3.1200 priority
4096 (4096 sysid 0)
address 0010.0db1.7100 priority
0
(0 sysid 0)
port
Gi1/3
path cost
0
Regional Root address 0010.0db1.7100 priority
0
(0 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
---------------Gi1/1
Gi1/2
Gi1/3
##### MST1
Bridge
Root
Sts
--FWD
FWD
FWD
Cost
--------20000
20000
20000
Prio.Nbr
-------128.1
128.2
128.3
Type
-------------------------P2p
P2p
P2p
vlans mapped:
1,10,20
address 0010.0db3.1200 priority
address 0010.0db1.7100 priority
port
Gi1/3
cost
Interface
---------------Gi1/1
Gi1/2
Gi1/3
##### MST2
Bridge
Root
Role
---Desg
Desg
Root
Role
---Desg
Desg
Root
Sts
--FWD
FWD
FWD
Cost
--------20000
20000
20000
Prio.Nbr
-------128.1
128.2
128.3
vlans mapped:
30,40
address 0010.0db3.1200
this switch for MST2
Interface
---------------Gi1/1
Gi1/2
Gi1/3
Role
---Desg
Desg
Desg
Sts
--FWD
FWD
FWD
Cost
--------20000
20000
20000
Type
-------------------------P2p
P2p
P2p
priority
Prio.Nbr
-------128.1
128.2
128.3
(0 sysid 2)
Type
-------------------------P2p
P2p
P2p
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.
ProCurve-Edge-1# show spanning-tree mst-config
MST Configuration Identifier Information
MST Configuration Name : procurve-cisco
MST Configuration Revision : 1
Mapped VLANs
--------------------------------------------------1,10,20
30,40
Prio
Cost
rity Edge Pnt-to-Pnt MCheck Hello Time
+ --------- ----- ---- ----------- ------ -----Auto
128
No
Force-True Yes
Use Global
Auto
128
No
Force-True Yes
Use Global
Auto
128
No
Force-True Yes
Use Global
Auto
128
Yes Force-True Yes
Use Global
Auto
128
Yes Force-True Yes
Use Global
BPDU
Filter
No
No
No
No
No
: 32768
: 4
: 11 mins
Type
--------100/1000T
100/1000T
Cost
--------20000
20000
:
:
:
:
:
00100d-b17100
0
20000
1
19
Priority
-------128
128
Role
---------Root
Alternate
State
---------Forwarding
Blocking
Designated
Bridge
------------00100d-b17100
00100d-b31200
Switch Priority
: 32768
: 2
: 13 mins
Type
--------100/1000T
100/1000T
Cost
--------20000
20000
:
:
:
:
:
00100d-b17100
0
20000
1
19
Priority
-------128
128
Role
---------Root
Alternate
State
---------Forwarding
Blocking
Designated
Bridge
------------00100d-b17100
00100d-b31200
: 32768
: 4
: 13 mins
Type
--------100/1000T
100/1000T
Cost
--------20000
20000
:
:
:
:
:
00100d-b31200
0
20000
2
19
Priority
-------128
128
Role
---------Alternate
Root
State
---------Blocking
Forwarding
Root
Root
Root
Root
MAC Address
Priority
Path Cost
Port
:
:
:
:
00100d-b31200
4096
0
2
IST
IST
IST
IST
:
:
:
:
00100d-b31200
4096
20000
19
Designated
Bridge
------------00100d-b17100
00100d-b31200
|
Prio
| Designated
Hello
Port Type
| Cost
rity State
| Bridge
Time PtP
---- --------- + --------- ----- ---------- + ------------- ----1 100/1000T | 20000
128
Blocking
| 001635-b487c0 2
Yes
2 100/1000T | 20000
128
Forwarding | 00100d-b31200 2
Yes
Edge
--No
No
OK?
YES
YES
YES
YES
YES
Method
manual
manual
manual
manual
manual
Status
up
up
up
up
up
OK?
YES
YES
YES
YES
YES
Method
manual
manual
manual
manual
manual
Protocol
up
up
up
up
up
Virtual IP
10.1.1.254
10.1.10.254
10.1.20.254
10.1.30.254
10.1.40.254
Status
up
up
up
up
up
Protocol
up
up
up
up
up
Virtual IP
10.1.1.254
10.1.10.254
10.1.20.254
10.1.30.254
10.1.40.254
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.
- 19
- 29
- 39
- 48
hello-time 1
forward-time 4
max-age 6
trunk ports
Priority
1
(priority 0 sys-id-ext 1)
Address
0013.c382.a900
Hello Time
1 sec Max Age 6 sec Forward Delay
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Gi1/0/4
Role
---Desg
Desg
Desg
Sts Cost
--- --------FWD 4
FWD 4
FWD 4
Prio.Nbr
-------128.3
128.4
128.6
Priority
10
(priority 0 sys-id-ext 10)
Address
0013.c382.a900
Hello Time
1 sec Max Age 6 sec Forward Delay
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Gi1/0/4
Role
---Desg
Desg
Desg
Sts Cost
--- --------FWD 4
FWD 4
FWD 4
Prio.Nbr
-------128.3
128.4
128.6
4 sec
Type
-----------------------P2p
P2p
P2p
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
Bridge ID
4 sec
4 sec
4 sec
Type
-----------------------P2p
P2p
P2p
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
Bridge ID
Priority
4126
(priority 4096 sys-id-ext 30)
Address
0013.c382.a900
Hello Time
1 sec Max Age 6 sec Forward Delay
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Role
---Desg
Desg
Sts Cost
--- --------FWD 4
FWD 4
Prio.Nbr
-------128.3
128.4
4 sec
4 sec
Type
-----------------------P2p
P2p
Gi1/0/4
Root FWD
128.6
P2p
VLAN0040
(skip)
Priority
4097
(priority 4096 sys-id-ext 1)
Address
0013.c392.d200
Hello Time
1 sec Max Age 6 sec Forward Delay
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Gi1/0/4
Role
---Desg
Desg
Root
Sts Cost
--- --------FWD 4
FWD 4
FWD 4
Prio.Nbr
-------128.3
128.4
128.6
Priority
4106
(priority 4096 sys-id-ext 10)
Address
0013.c392.d200
Hello Time
1 sec Max Age 6 sec Forward Delay
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Gi1/0/4
Role
---Desg
Desg
Root
Sts Cost
--- --------FWD 4
FWD 4
FWD 4
Prio.Nbr
-------128.3
128.4
128.6
4 sec
Type
-----------------------P2p
P2p
P2p
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
Bridge ID
4 sec
4 sec
4 sec
Type
-----------------------P2p
P2p
P2p
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
Bridge ID
Priority
30
4 sec
Address
0013.c392.d200
Hello Time
1 sec Max Age
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Gi1/0/4
Role
---Desg
Desg
Desg
Sts Cost
--- --------FWD 4
FWD 4
FWD 4
6 sec
Prio.Nbr
-------128.3
128.4
128.6
Forward Delay
4 sec
Type
-----------------------P2p
P2p
P2p
VLAN0040
(skip)
| Cost
Priority Edge Point-to-Point MCheck
+ --------- -------- ---- -------------- -----| 20000
| 20000
| 20000
8
8
8
No
No
Yes
Force-True
Force-True
Force-True
Yes
Yes
Yes
| 20000
Yes
Force-True
Yes
Hello Time : 1
Forward Delay : 4
Port
---A15
A16
Type
--------100/1000T
100/1000T
Cost
--------20000
20000
Priority
-------128
128
State
---------Forwarding
Blocking
|
+
|
|
Designated Bridge
----------------0013c3-82a900
0013c3-92d200
Conclusion
See figure for resulting STP topology.
If Cores of L2 networks are Cisco switches, one should take care of
configuration of PVST+ in VLAN 1 (Native VLAN) as that will dictate the
resulting topology. STP Timers in Native-VLAN will drive convergence time
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.
In the following, only the Spanning-Tree Configuration is shown.
Spanning-Tree
hostname Cisco-1/2
Spanning-Tree mode pvst
Spanning-Tree extend system-id
interface range GigabitEthernet1/0/1 - 4
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20,30,40
switchport mode trunk
Hello Time : 1
Forward Delay : 4
Root
Root
Root
Root
Port
---A14
A15
A16
Type
--------100/1000T
100/1000T
100/1000T
Cost
--------20000
20000
20000
Priority
-------128
128
128
State
---------Forwarding
Forwarding
Forwarding
|
+
|
|
|
Designated Bridge
----------------000e7f-060100
000e7f-060100
000e7f-060100
On ProCurve-Core-2
ProCurve-Core-1 is seen, as expected, as the Root switch.
Note that uplinks A15 and A16 are in blocking state, i.e. theyre not the
designated port of their segment.
The first criterion to elect the Designated port of a segment is the path-cost
of switch to the Root. In this case the Root path-cost of access switches
Hello Time : 1
Forward Delay : 4
Root
Root
Root
Root
Port
---A14
A15
A16
Type
--------100/1000T
100/1000T
100/1000T
Cost
--------20000
20000
20000
Priority
-------128
128
128
State
---------Forwarding
Blocking
Blocking
|
+
|
|
|
Designated Bridge
----------------000e7f-060100
0013c3-82a900
0013c3-92d200
4 sec
Priority
32769 (priority 32768 sys-id-ext 1)
Address
0013.c382.a900
Hello Time
2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Role
---Root
Desg
Sts
--FWD
FWD
Cost
--------4
4
Prio.Nbr
-------128.3
128.4
Type
-------------------------P2p
P2p
4 sec
Priority
32769 (priority 32768 sys-id-ext 1)
Address
0013.c392.d200
Hello Time
2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Role
---Root
Desg
Sts Cost
--- --------FWD 4
FWD 4
Prio.Nbr
-------128.3
128.4
Type
-------------------------P2p
P2p
Priority
32778 (priority 32768 sys-id-ext 10)
Address
0013.c382.a900
Hello Time
2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Role
---Desg
Desg
Sts
--FWD
FWD
Cost
--------4
4
Prio.Nbr
-------128.3
128.4
Type
-------------------------P2p Peer(STP)
P2p
Priority
32778 (priority 32768 sys-id-ext 10)
Address
0013.c392.d200
Hello Time
2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Role
---Root
Desg
Sts
--FWD
FWD
Cost
--------4
4
Prio.Nbr
-------128.3
128.4
Type
-------------------------P2p
P2p
From Cisco switches, STP Topology in VLANs 10, 20, 30 and 40 appears as
follows:
Hello Time : 1
Forward Delay : 4
Port
---A14
A15
A16
Type
--------100/1000T
100/1000T
100/1000T
Cost
--------3
3
3
Priority
-------128
128
128
State
---------Forwarding
Forwarding
Forwarding
|
+
|
|
|
Designated Bridge
----------------000e7f-060100
000e7f-058400
000e7f-058400
4 sec
Priority
32769 (priority 32768 sys-id-ext 1)
Address
0013.c382.a900
Hello Time
2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Role
---Root
Altn
Sts
--FWD
BLK
Cost
--------4
4
Prio.Nbr
-------128.3
128.4
Type
-------------------------P2p
P2p
Priority
32778 (priority 32768 sys-id-ext 10)
Address
0013.c382.a900
Hello Time
2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Role
---Desg
Back
Sts
--FWD
BLK
Cost
--------4
4
Prio.Nbr
-------128.3
128.4
Type
-----------------------P2p Peer(STP)
P2p Peer(STP)
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
Bridge ID
4 sec
Priority
32769 (priority 32768 sys-id-ext 1)
Address
0013.c392.d200
Hello Time
2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface
---------------Gi1/0/1
Gi1/0/2
Role
---Root
Altn
Sts
--FWD
BLK
Cost
--------4
4
Prio.Nbr
-------128.3
128.4
Type
-------------------------P2p
P2p
IP routing Interoperability
Sample topology
The following topology is used to demonstrate L3 configuration and
interoperability between Cisco and HP ProCurve L3 Switches routing protocols
RIP and OSPF.
All links are untagged.
RIP configuration
RIP requires to be defined in the Vlan in which there are one or more RIP
Neighbors. It is not necessary to enable RIP in the other VLANs. When RIP is
enabled, connected networks are automatically redistributed into RIP.
vlan 100
ip rip
exit
Conf t
hostname Cisco
IP addresses
interface Vlan100
ip address 10.1.100.2 255.255.255.0
no shutdown
interface Vlan210
ip address 10.2.10.1 255.255.255.0
no shutdown
interface Vlan220
ip address 10.2.20.1 255.255.255.0
no shutdown
interface Vlan230
ip address 10.2.30.1 255.255.255.0
no shutdown
interface Vlan240
ip address 10.2.40.1 255.255.255.0
Vlan210
Vlan220
Vlan230
Vlan240
Checking RIP
:
:
:
:
:
:
enabled
enabled
1
120
4
0
Dist.
---120
120
120
120
00:00:01,
00:00:01,
00:00:01,
00:00:01,
Vlan100
Vlan100
Vlan100
Vlan100
IP Route Entries
Destination
Gateway
VLAN Type
Sub-Type
Metric
Dist.
------------------ --------------- ---- --------- ---------- ---------- ---0.0.0.0/0
10.2.10.0/24
10.2.20.0/24
10.2.30.0/24
10.2.40.0/24
10.1.100.2
10.1.100.2
10.1.100.2
10.1.100.2
10.1.100.2
100
100
100
100
100
rip
rip
rip
rip
rip
2
2
2
2
2
120
120
120
120
120
Auto-summary
By default, RIP summarizes IP subnets announcement to a classfull
network on a network boundary. For example the subnet 10.1.1.0/24
is announced as 10.0.0.0/8 on the IP interface 192.168.1.1. To disable
this behavior:
ProCurve1(config)#router rip
ProCurve1(rip)#no auto-summary
Cisco1(config)#router rip
Cisco1(config-router)#No auto-summary
RIP Version
On HP ProCurve switches, RIP is in version 2 on all interfaces. On Cisco
RIP is sent in Version 1 and can be received in version 1 and 2.
On HP ProCurve, changing version is done is the IP interface (vlan)
level:
ProCurve1(config)#Vlan 110
ProCurve1(vlan-10)#ip rip v1-only
ProCurve1(vlan-10)#ip rip v2-only
ProCurve1(vlan-10)#ip rip v1-compatible-v2
area 0
area 0
area 0
area 0
area 0
: 64
: 20
|
+
|
|
|
|
|
|
IP Config
---------Disabled
Manual
Manual
Manual
Manual
Manual
IP Address
Subnet Mask
Proxy ARP
--------------- --------------- --------10.1.10.1
10.1.20.1
10.1.30.1
10.1.40.1
10.1.100.1
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
No
No
No
No
No
Gateway
VLAN Type
--------------VLAN110
VLAN120
VLAN130
VLAN140
VLAN100
lo0
---110
120
130
140
100
Sub-Type
Metric
Status
-------enabled
enabled
enabled
enabled
enabled
Area ID
--------------backbone
backbone
backbone
backbone
backbone
State
------DR
DR
DR
DR
BDR
Auth-type
--------none
none
none
none
none
Cost
-----1
1
1
1
1
Priority
-------1
1
1
1
1
manual
manual
manual
manual
manual
manual
up
up
up
up
up
up
down
up
up
up
up
up
--110
110
110
110
Pri
1
State
FULL/BDR
Dead Time
00:00:33
Address
10.1.100.1
Interface
Vlan100
Cost
1
1
1
1
1
State Nbrs
DR
DR
DR
DR
DR
0/0
0/0
0/0
0/0
1/1
00:03:31,
00:03:31,
00:03:31,
00:03:31,
Vlan100
Vlan100
Vlan100
Vlan100
00:04:04,
00:04:04,
00:04:04,
00:04:04,
Vlan100
Vlan100
Vlan100
Vlan100
router eigrp 65
network 10.0.0.0
passive-interface vlan100
OSPF configuration.
Conf t
router ospf 1
router-id 2.2.2.2
network 10.1.100.2 0.0.0.0 area 0
Redistributing EIGRP into OSPF.
The Subnets keyword is required to redistribute subnets of classfull
networks into OSPF. A metric (default 20) and metric type (default type 2 =
non incremented) may be specified as follows:
router ospf 1
redistribute eigrp 65 metric 100 metric-type 1 subnets
Redistributing OSPF into EIGRP.
It is required to specify a metric for the redistribution into EIGRP to be
effective
router eigrp 65
redistribute ospf 1 metric 10000 100 255 1 1500
Note: if on a classfull network border (for example between 10.0.0.0/8 and
192.168.1.0/24) networks are by default automatically summarized within
EIGRP. If this causes connectivity issues, this can be disabled using
router eigrp 65
no auto-summary
Checking redistribution.
To check the redistribution effects, status should be displayed on the routers
that are neighbors of the redistributing router. In our example these are
Cisco-2 and ProCurve-1.
On Cisco-2, in EIGRP OSPF redistributed networks will appear as external
EIGRP networks with an Administrative distance of 170.
C
C
Cisco-2#show ip route
10.0.0.0/24 is subnetted, 6 subnets
D*EX 10.1.10.0 [170/19768] via 10.1.200.1, 00:04:29, vlan200
D*EX 10.1.20.0 [170/19768] via 10.1.200.1, 00:04:29, vlan200
D*EX 10.1.30.0 [170/19768] via 10.1.200.1, 00:04:29, vlan200
D*EX 10.1.100.0 [170/19768] via 10.1.200.1, 00:04:29, vlan200
10.1.200.0 is directly connected, Vlan200
10.3.10.0 is directly connected, Vlan310
10.1.30.0/24
10.1.100.0/24
10.1.200.0/24
10.3.10.0/24
VLAN130
VLAN100
10.1.100.2
10.1.100.2
130
100
100
100
connected
connected
ospf
External1
ospf
External1
0
0
101
101
0
0
110
110
exit
vlan 130
ip address 10.1.30.1 255.255.255.0
exit
vlan 100
ip address 10.1.100.1 255.255.255.0
exit
Area 1 is standard
area 1
Area 2 is stub (filters External LSA). 22 defines the default metric of default
route generated in area 2
area 2 stub 22
Area 3 is totally stubby (filters External LSA and Summary LSA). 33 defines
the default metric of default route generated in area 3
area 3 stub 33 no-summary
area 0
area 1
area 2
area 3
Pri
--1
1
1
1
IP Address
--------------10.1.10.2
10.1.20.2
10.1.30.2
10.1.100.2
NbIfState
--------BDR
BDR
BDR
DR
State
-------FULL
FULL
FULL
FULL
Rxmt QLen
--------0
0
0
0
Events
---------6
6
6
6
Pri
1
State
FULL/DR
Dead Time
00:00:35
Address
10.1.10.1
IP Address/Mask
10.1.10.2/24
Cost
1
Interface
Vlan1
end
Pri
1
State
Dead Time
Address
FULL/DR
00:00:36
10.1.20.1
Vlan120
IP Address/Mask
Cost
State Nbrs
10.1.20.2/24
BDR
1/1
Pri
1
State
FULL/DR
Dead Time
00:00:34
Address
10.1.30.1
IP Address/Mask
10.1.30.2/24
Cost
1
Interface
Vlan130
Enabling OSPF
router ospf 1
router-id 2.2.2.2
Dead Time
00:00:38
Address
10.1.100.1
Interface
Vlan100
2.0.0.4
2.0.0.5
2.0.0.6
1
1
1
FULL/DR
FULL/BDR
FULL/BDR
00:00:33
00:00:38
00:00:31
10.2.10.2
10.2.20.2
10.2.30.2
Vlan210
Vlan220
Vlan230
Cost
1
1
1
1
State
DR
BDR
DR
DR
Nbrs F/C
1/1
1/1
1/1
1/1
Gateway
--------------10.2.10.1
10.2.10.1
10.2.10.1
10.2.10.1
10.2.10.1
10.2.10.1
VLAN
---210
210
210
210
210
210
Type
--------ospf
ospf
ospf
ospf
ospf
ospf
Sub-Type
---------InterArea
InterArea
InterArea
InterArea
InterArea
InterArea
Metric
---------3
3
3
2
2
2
Dist.
----110
110
110
110
110
110
hostname "ProCurve-5"
ip routing
vlan 220
untagged 1-26
ip address 10.2.20.2 255.255.255.0
exit
ip router-id 2.0.0.5
router ospf
area 5 stub 55
exit
vlan 220
ip ospf area 5
exit
Checking OSPF routes: all routes are seen as Inter-Area routes and a default
route is generated by ABR to hide external networks.
ProCurve-5# show ip route ospf
IP Route Entries
Destination
---------------0.0.0.0/0
10.1.10.0/23
10.1.20.0/24
10.1.30.0/24
10.1.100.0/24
10.2.10.0/23
10.2.30.0/24
Gateway
--------------10.2.20.1
10.2.20.1
10.2.20.1
10.2.20.1
10.2.20.1
10.2.20.1
10.2.20.1
VLAN
---220
220
220
220
220
220
220
Type
--------ospf
ospf
ospf
ospf
ospf
ospf
ospf
Sub-Type
---------InterArea
InterArea
InterArea
InterArea
InterArea
InterArea
InterArea
Metric
---------2
3
3
3
2
2
2
Dist.
----110
110
110
110
110
110
110
hostname "ProCurve-6"
ip routing
vlan 230
untagged 1-26
ip address 10.2.30.2 255.255.255.0
exit
ip router-id 2.0.0.6
router ospf
area 6 stub 66
exit
vlan 230
ip ospf area 6
exit
Check with:
ProCurve# show ip ospf int
OSPF Interface Status
IP Address
Status
Area ID
State
Auth-type Cost
Priority
--------------- -------- --------------- ------- --------- ------ --------10.1.100.1
enabled 0.0.0.0
BDR
none
10
1
IP Multicast interoperability
Introduction
The following demonstrate IP Multicast routing using PIM (Protocol
Independent Multicast) in dense and sparse modes.
The configuration uses the following topology shown below as its basis. It is a
typical L3 architecture, where each uplink is a unique broadcast domain and
IP subnet. A Stream server connected to Cisco-1 in subnet 10.1.1.100, sends
a multicast flow to the multicast IP address 225.1.1.1. For our test, a
receiver is connected in 10.1.200.0/24
In the following well configure the network in PIM dense mode then in PIM
sparse mode.
10.1.200.0/24
10.1.1.0/24
Gi1/1
e1
Procurve-1
Gi1/3
Gi1/2
e2
10.1.2.0/24
Gi1/1
Gi1/3
10.1.5.0/24
Gi1/2
Cisco-2
Cisco-1
Gi1/4
10.1.100.0/24
First lets enable ip routing and define VLANs, port assignment and IP
addresses.
ip routing
vlan 10
untagged 1
ip address 10.1.1.2 255.255.255.252
exit
vlan 20
untagged 2
ip address 10.1.2.2 255.255.255.252
exit
For Multicast routing, the initial step is to enable globally IP multicast routing
ip multicast-routing
When a router receives a multicast flow, it checks the flow is received via the
interface that leads to the source via the shortest path. This is called the
reverse path forwarding process for which PIM uses the IP unicast routing
table.
This is why we enable OSPF as well as PIM.
ip router-id 1.0.0.0
router ospf
area backbone
exit
router pim
exit
The ip-addr any within pim-dense mode specifies that this IP Interface
accepts flows from any IP source address. You could restrict what multicast
flows are allowed to enter this interface.
Note: ProCurve switches automatically support PIM state-refresh.
vlan 20
ip ospf 10.1.2.2 area backbone
ip pim-dense
ip-addr any
exit
exit
vlan 200
ip ospf 10.1.200.1 area backbone
ip pim-dense
ip-addr any
exit
exit
Configuration of Cisco-1
hostname Cisco-1
ip routing
router ospf 1
router-id 0.0.0.1
log-adjacency-changes
network 10.0.0.0 0.255.255.255 area 0
Configuration of Cisco-2
Configuration of Cisco-2 is identical to configuration of Cisco-1.
hostname Cisco-2
ip routing
ip multicast-routing
interface GigabitEthernet1/1
no switchport
ip address 10.1.2.1 255.255.255.252
ip PIM state-refresh origination-interval 60
ip PIM dense-mode
interface GigabitEthernet1/3
no switchport
ip address 10.1.5.2 255.255.255.252
ip PIM state-refresh origination-interval 60
ip PIM dense-mode
router ospf 1
router-id 0.0.0.2
log-adjacency-changes
network 10.0.0.0 0.255.255.255 area 0
:
:
:
:
:
enabled
60
60
Enabled
IP Address
--------------10.1.1.2
10.1.2.2
10.1.200.1
Mode
-----------dense
dense
dense
IP Address
--------------10.1.1.1
10.1.2.1
VLAN
---10
20
Up Time (sec)
-----------------2686
2113
If multicast sources are active on the network, the show ip mroute or the
show ip pim mroute should show entries:
ProCurve-1# show ip pim mroute
PIM Route Entries
Group Address
Source Address Metric
Metric Pref
--------------- --------------- ---------- ----------225.1.1.1
10.1.100.100
0
100
Interface
10.1.1.1
10.1.3.1
10.1.5.1
10.1.100.1
GigabitEthernet1/1
GigabitEthernet1/2
GigabitEthernet1/3
GigabitEthernet1/4
Ver/
Mode
v2/D
v2/D
v2/D
v2/D
Nbr
Count
1
0
1
0
Query
Intvl
30
30
30
30
DR
DR
Prior
1
10.1.1.2
1
10.1.3.1
1
10.1.5.2
1
10.1.100.1
Uptime/Expires
Ver
00:54:09/00:01:39 v2
00:44:38/00:01:24 v2
DR
Prio/Mode
N / DR S
1 / DR S
Cisco-1#show ip mroute
IP Multicast Routing Table
Flags: D- Dense, S- Sparse, B- Bidir Group, s- SSM Group, C- Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report, Z - Multicast Tunnel
Y - Joined MDT-data group, y - Sending to MDT-data group
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
In the display above, you can see 225.1.1.1 flow enters Cisco-1 on interface
Gigabit Interface 0/4 (Incoming Interface) and leaves on Gigabit 1/1
(Outgoing Interface and in forward state). Note Gigabit 1/3 is pruned
Cisco-1#show ip igmp groups
IGMP Connected Group Membership
Group Address
Interface
224.0.1.40
GigabitEthernet1/1
Uptime
Expires
Last Reporter
00:53:30 00:02:21 10.1.1.1
Interface
10.1.2.1
GigabitEthernet1/1
Ver/
Mode
v2/D
Nbr
Count
1
Query
Intvl
30
DR
Prior
1
DR
10.1.2.2
10.1.4.1
10.1.5.2
GigabitEthernet1/2
GigabitEthernet1/3
v2/D
v2/D
0
1
30
30
1
1
10.1.4.1
10.1.5.2
Uptime/Expires
Ver
01:02:34/00:01:15 v2
01:03:04/00:01:16 v2
DR
Prio/Mode
N / DR S
1 / S
List IGMP Groups. Except Auto-rp entry, no other IGMP entry can be seen
as no receiver is present.
Cisco-2#show ip igmp groups
IGMP Connected Group Membership
Group Address
Interface
224.0.1.40
GigabitEthernet1/1
Uptime
01:03:32
Expires
00:02:07
Last Reporter
10.1.2.1
IP interfaces are defined in PIM Sparse mode and by default accept all flows
(ip-addr any)
vlan 10
ip ospf 10.1.1.2 area backbone
ip pim-sparse
ip-addr any
exit
exit
vlan 20
ip ospf 10.1.2.2 area backbone
ip pim-sparse
ip-addr any
exit
exit
vlan 200
ip igmp
ip ospf 10.1.200.1 area backbone
ip pim-sparse
ip-addr any
exit
exit
Interfaces are defined as sparse-dense mode which means that router can
run in both modes depending on the environment. Sparse-mode could also
be used in this example.
interface GigabitEthernet0/1
no switchport
ip address 10.1.1.1 255.255.255.252
ip pim sparse-dense-mode
interface GigabitEthernet0/3
no switchport
ip address 10.1.5.1 255.255.255.252
ip pim sparse-dense-mode
interface GigabitEthernet0/4
no switchport
ip address 10.1.100.1 255.255.255.0
ip pim sparse-dense-mode
OSPF is enabled.
router ospf 1
router-id 0.0.0.1
log-adjacency-changes
network 10.0.0.0 0.255.255.255 area 0
The router is defined as bsr-candidate (default priority is 200) and a rpcandidate with priority 200
ip
ip
ip
ip
pim
pim
pim
pim
bsr-candidate GigabitEthernet0/1 0
rp-candidate GigabitEthernet0/3 priority 200
rp-candidate GigabitEthernet0/1 priority 200
rp-candidate GigabitEthernet0/2 priority 200
end
pim
pim
pim
pim
bsr-candidate GigabitEthernet0/3 0
rp-candidate GigabitEthernet0/3 priority 100
rp-candidate GigabitEthernet0/1 priority 100
rp-candidate GigabitEthernet0/2 priority 100
router ospf 1
router-id 0.0.0.2
log-adjacency-changes
network 10.0.0.0 0.255.255.255 area 0
end
PIM Status
State Refresh Interval (sec)
Join/Prune Interval (sec)
SPT Threshold
Traps
:
:
:
:
:
enabled
60
60
Enabled
PIM Neighbors
ProCurve-1# show ip pim neighbor
PIM Neighbors
IP Address
--------------10.1.1.1
10.1.2.1
:
:
:
:
:
10.1.5.2
200
16
6 hours
90 secs
C-BSR
C-BSR
C-BSR
C-BSR
C-BSR
C-BSR
:
:
:
:
:
:
:
:
:
:
:
:
C-RP
C-RP
C-RP
C-RP
C-RP
C-RP
Admin Status
Address
Priority
Hash Mask Length
Message Interval
Source IP VLAN
Admin Status
Address
Hold Time
Advertise Period
Priority
Source IP VLAN
Group Address
Group Mask
--------------- --------------224.0.0.0
240.0.0.0
Admin Status
Address
Hold Time
Advertise Period
Priority
Source IP VLAN
:
:
:
:
:
:
Group Address
Group Mask
--------------- --------------224.0.0.0
240.0.0.0
Group Mask
--------------240.0.0.0
240.0.0.0
240.0.0.0
240.0.0.0
RP Address
--------------10.1.1.1
10.1.2.1
10.1.5.1
10.1.200.1
Hold Time
--------168
163
172
116
Expire Time
------------109
104
113
57
Interface
10.1.1.1
10.1.5.1
10.1.100.1
GigabitEthernet0/1
GigabitEthernet0/3
GigabitEthernet0/4
Ver/
Nbr
Mode
v2/SD 1
v2/SD 1
v2/SD 0
Query
Count
30
30
30
DR
DR
Intvl Prior
1 10.1.1.2
1 10.1.5.2
1 10.1.100.1
Uptime/Expires
Ver
02:42:31/00:01:17 v2
04:05:42/00:01:15 v2
DR
Prio/Mode
1 / DR
1 / DR S
Interface
10.1.2.1
10.1.5.2
GigabitEthernet0/1
GigabitEthernet0/3
Ver/
Mode
v2/SD
v2/SD
Nbr
Count
1
1
Query
Intvl
30
30
DR
Prior
1
1
DR
10.1.2.2
10.1.5.2
Uptime/Expires
Ver
02:20:52/00:01:24 v2
03:44:10/00:01:41 v2
DR
Prio/Mode
1 / DR
1 / S