Professional Documents
Culture Documents
SG1 00314301
SG1 00314301
SG1 00314301
Contents
Rev. 11.21 i
BitSpyder - The Culture of Knowledge
ii Rev. 11.21
BitSpyder - The Culture of Knowledge
Contents
iv Rev. 11.21
BitSpyder - The Culture of Knowledge
Contents
When should you migrate the Cisco switches to open standards? ..................... 3-30
Routing protocol ............................................................................ 3-30
Discovery protocol .......................................................................... 3-31
VTPs to Static VLANs ....................................................................... 3-31
Spanning tree protocol .................................................................... 3-31
When should you migrate to MSTP? ..............................................................3-32
Plan the migration to the new distribution layer............................................... 3-33
Methods for migrating to the new distribution layer......................................... 3-34
Forklift ....................................................................................................... 3-35
Forklift (cont.) ............................................................................................. 3-36
Parallel network .......................................................................................... 3-38
Parallel network (cont.) ................................................................................ 3-40
Where might issues occur? ........................................................................... 3-41
Potential problem spot 1: STP behavior when you connect the parallel
network ..................................................................................................... 3-42
Cisco Core 1 configuration ............................................................. 3-43
Cisco Distribution 1 configuration .................................................... 3-45
Cisco Distribution 2 configuration .................................................... 3-48
Cisco Edge 1 configuration ............................................................. 3-50
Cisco Edge 2 configuration .............................................................. 3-51
HP E-Series Distribution 1 configuration ............................................. 3-52
HP E-Series Distribution 2 configuration .............................................3-55
Answer....................................................................................................... 3-59
Potential problem spot 2: Migrating the edge ................................................. 3-60
Activity: Analyzing your readiness for a quick migration ................................... 3-61
Cisco Distribution 1 configuration ..................................................... 3-62
Cisco Distribution 2 configuration ..................................................... 3-62
Cisco Edge 1 configuration ............................................................. 3-63
Cisco Edge 2 configuration ............................................................. 3-64
HP E-Series Distribution 1 configuration ............................................ 3-65
HP E-Series Distribution 2 configuration ............................................ 3-66
Answer: VLAN 1 ......................................................................................... 3-67
Answer: Other VLANs ................................................................................. 3-68
Activity: Continuing to analyze your readiness for a seamless migration .............3-69
Answers ..................................................................................................... 3-70
Activity: Optimizing the edge connections for the migration .............................. 3-71
Answers ..................................................................................................... 3-72
Potential problem spot 3: When will you migrate the Layer 3 functionality? ......... 3-73
Migrating the routing protocol .......................................................... 3-73
Migrating the default gateway.......................................................... 3-74
Potential problem spot 4: How will you migrate the routing functionality?............ 3-75
Strategy 1: VRRP behavior on HP E-Series switches ........................................... 3-76
Strategy 1: Endpoint ARP behavior................................................................. 3-78
Strategy 1: Suggested process ...................................................................... 3-80
Strategy 2: Migrate the endpoints to a new default gateway address .................3-82
Rev. 11.21 v
BitSpyder - The Culture of Knowledge
vi Rev. 11.21
BitSpyder - The Culture of Knowledge
Contents
Potential problem spot 3: When will you migrate the Layer 3 functionality? ........ 4-63
Migrating the routing protocol ......................................................... 4-63
Migrating the default gateway......................................................... 4-64
Potential problem spot 4: How will you migrate the routing functionality?........... 4-65
Strategy: Migrate the current virtual IP addresses to the new distribution
switch ....................................................................................................... 4-66
Analyzing the parallel network method ......................................................... 4-68
Creating alternate strategies ......................................................................... 4-70
Summary .................................................................................................... 4-71
Prelab activity: Plan a complete migration strategy ........................................... 4-72
My migration strategy .................................................................... 4-73
Lab Activity 4.1: Migrating the Distribution Layer from Cisco to HP
A-Series Devices ......................................................................................... 4-94
Lab debrief ................................................................................................ 4-95
Learning check ........................................................................................... 4-96
Appendix: Implementing ACLs and QoS on the replacement HP
A-Series switches ........................................................................................ 4-97
Migrate ACLs and QoS policies ............................................................. 4-97
Configuring ACLs on HP A-Series switches............................................... 4-98
Applying the ACLs................................................................................ 4-99
RACLs .......................................................................................... 4-99
VACLs .......................................................................................... 4-99
Port ACLs ..................................................................................... 4-100
Planning the ACL migration .................................................................. 4-101
Planning VACLs ............................................................................ 4-101
Planning Port-based ACLs .............................................................. 4-102
Determine when to migrate the ACLs ..................................................... 4-103
Migrating QoS policies ........................................................................ 4-105
HP A-Series QoS Concepts ................................................................... 4-106
Configure QoS policies on HP A-Series switches ..................................... 4-107
Honor prioritization ....................................................................... 4-107
Classify and mark traffic ................................................................ 4-108
Optional Lab Activity 4.2: Migrating ACLs and QoS Policies from
a Cisco to an HP A-Series Distribution Layer ................................................... 4-110
Contents
Rev. 11.21 ix
BitSpyder - The Culture of Knowledge
x Rev. 11.21
BitSpyder - The Culture of Knowledge
Course objectives
In this course you will review the reasons why companies want to install HP A-Series
or E-Series switches in a Cisco-based network—whether they are replacing existing
switches or expanding their network with new HP switches. HP A-Series devices are
designed for large and complex enterprises; HP E-Series devices are intended for
Small-to-Medium Businesses (SMBs), which might, nonetheless, have some
sophisticated requirements.
You will learn how to assess the existing Cisco network and analyze the
configuration of the proprietary protocols running on those devices. You will then
learn how to develop strategies for replacing Cisco switches with HP A-Series and E-
Series switches, including migrating the proprietary protocols to their open-standard
protocol counterpart.
Specifically, you will learn how to:
Replace proprietary protocols with their open standard counterpart
Add or replace switches in a Cisco-based network with an HP switch:
• Add or replace switches at the access, distribution, and core layers using
HP A-Series and HP E-Series switches
• Replace BGP-configured Cisco router with an HP A-Series router
• Configure connections between HP and Cisco devices
• Migrate features to prevent unnecessary downtime
d.
ite
ib
oh
Objectives
pr
is
After completing this module, you will be able to:
n
io
Replace the Cisco proprietary protocols Cisco Discovery Protocol (CDP), Per
s
is
VLAN Spanning Tree Plus (PVST+), and Enhanced Interior Gateway Routing
m
Protocol (EIGRP) with the following open standards protocols: Link Layer
er
tp
Discovery Protocol (LLDP), Multiple Spanning Tree Protocol (MSTP), and Open
ou
Shortest Path First (OSPF)
ith
Devise a strategy to replace proprietary Layer 2 and Layer 3 protocols with their
w
open standards counterpart while minimizing downtime
rt
pa
i n
or
l e
ho
w
in
n
ctio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
Rev. 11.21 1 –1
BitSpyder - The Culture of Knowledge
d.
face when you suggest this type of migration to your company or customer.
ite
ib
oh
NOTES
pr
is
_____________________________________________________________________
n
sio
is
_____________________________________________________________________
m
er
tp
_____________________________________________________________________
ou
ith
_____________________________________________________________________
w
rt
pa
_____________________________________________________________________
i n
or
e
_____________________________________________________________________
l
ho
w
_____________________________________________________________________
in
n
c tio
_____________________________________________________________________
du
ro
ep
_____________________________________________________________________
.R
ly
_____________________________________________________________________
on
u se
_____________________________________________________________________
er
ld
ho
____________________________________________________________________
ake
St
____________________________________________________________________
&L
C
____________________________________________________________________
P
H
____________________________________________________________________
____________________________________________________________________
1 –2 Rev. 11.21
BitSpyder - The Culture of Knowledge
d.
Is migrating a Cisco network to open standards worth the effort?
ite
ib
What are the advantages of open standards versus proprietary protocols?
oh
pr
• Are there any potential disadvantages?
is
• Are some features only supported by proprietary protocols?
n
io
Can all Cisco proprietary protocols be replaced by open standards protocols?
s
is
m
What are the risks of a migration?
er
tp
You will now discuss each of these questions.
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
Rev. 11.21 1 –3
BitSpyder - The Culture of Knowledge
d.
Reason 1: Vendor expertise
ite
ib
For example, customers might tell you that vendors are experts for the proprietary
oh
solutions they provide.
pr
is
However, open standards are no less robust and, when adopted by a large
n
community of vendors and customers, provide an excellence on which customers can
sio
rely. Vendors that implement open standards test their implementations among
is
m
multiple vendors, strengthening the protocol interoperability. In addition, even though
er
an open standard might take longer to evolve than a proprietary protocol, the open
tp
discussion makes the standard’s evolution and its current implementation transparent.
ou
The transparency will help you to better understand and become expert in
ith
implementing the standard.
w
rt
Reason 2: Vendor responsiveness
pa
n
Another reason that customers might implement proprietary protocols is that they feel
i
or
that, if they have a problem with the protocol, a single vendor will be better able to
e
It might be true that one vendor can more quickly develop a solution to a given
w
in
problem. However, the customer’s investment in the proprietary protocol comes at the
n
risk that the solution will later become obsolete. It will no longer matter that the
tio
protocol once worked well if the customer can no longer expand the network with
c
du
new products that implement the open standard. For this reason, although, a few
ro
companies will become early adopters of proprietary protocols, the vast majority will
ep
not take that risk if it does not offer a good return on investment.
.R
If a proprietary protocol works, you cannot simply say “Replace it because it’s not an
se
open standard.”
u
er
Be flexible: although using open standards is often the best option, recognize that
ld
proprietary protocols may be useful in some cases. For example, many clustering
ho
protocols (such as Firewall Cluster, HP Intelligent Resilient Framework [IRF], and Cisco
ake
Virtual Switching System [VSS]) are proprietary. However, because these clustered
St
Rev. 11.21 1 –5
BitSpyder - The Culture of Knowledge
d.
ite
Not all open standards protocols are supported:
ib
•
oh
Generic Attribute Registration Protocol (GARP) VLAN Registration Protocol
pr
(GVRP) and Virtual Router Redundancy Protocol (VRRP) are not widely
is
supported by Cisco devices.
n
io
• Cisco Network Admission Control (NAC) is proprietary and has no open
s
version equivalent.
is
m
er
Consider each protocol to be replaced:
tp
• Look closely at what the proprietary protocol provides a network. For
ou
example, is it providing:
ith
w
Security
rt
pa
Convergence speed
Ease of implementation i n
or
Management
l e
ho
w
in
NOTES
n
tio
_____________________________________________________________________
c
du
ro
_____________________________________________________________________
ep
.R
_____________________________________________________________________
ly
on
se
_____________________________________________________________________
u
er
ld
_____________________________________________________________________
ho
ake
_____________________________________________________________________
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
1 –6 Rev. 11.21
BitSpyder - The Culture of Knowledge
Conclusions
Before migrating a Cisco network to open standards, you should:
Clearly identify the functions of the customer’s current proprietary protocols
d.
ite
Make sure you provide an overall “better” solution
ib
Analyze the solution on a protocol-by-protocol basis
oh
pr
Replacing even some proprietary protocols can provide long-term benefits to the
is
network.
n
io
Open standards truly provide a key advantage in most cases.
s
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
Rev. 11.21 1 –9
BitSpyder - The Culture of Knowledge
d.
ite
ib
NOTES
oh
pr
_____________________________________________________________________
is
n
io
_____________________________________________________________________
s
is
m
er
_____________________________________________________________________
tp
ou
_____________________________________________________________________
ith
w
rt
_____________________________________________________________________
pa
i n
or
_____________________________________________________________________
l e
ho
_____________________________________________________________________
w
in
n
_____________________________________________________________________
c tio
du
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
se
_____________________________________________________________________
u
er
____________________________________________________________________
ld
ho
ke
____________________________________________________________________
a
St
&L
____________________________________________________________________
C
P
H
____________________________________________________________________
____________________________________________________________________
d.
ite
VTP 802.1Q VLANs
ib
oh
MSTP
pr
PVST+, Rapid-PVST+
is
n
io
Figure 1 - 1: Migrating to open standards: Layer 2 protocols
s
is
m
You will now consider what is required to migrate the following Layer 2 protocols to
er
their open standards counterpart:
tp
ou
CDP to LLDP
ith
VTP to GVRP or static 802.1Q VLANs
w
rt
PVST+/Rapid PVST+ to MSTP
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
d.
ite
A quick way to answer this question is to enter the lldp run command in
ib
configuration mode. The other way is to use the Cisco Feature Navigator, which can
oh
be found at http://tools.cisco.com/ITDIT/CFN/.
pr
is
Cisco is now starting to support LLDP and LLDP-MED on Catalyst switches (3760,
n
3750, 2960, 2970) and on switches running 12.2(37) SE. The protocols are also
sio
supported on Cisco Catalyst 6500 switches running 12.2(33 )SXH.
is
m
Is CDP used as a discovery protocol between network equipment (such as
er
routers and switches)?
tp
ou
CDP provides information about connected neighbors or, more generally speaking,
ith
Layer 2 neighbors.
w
rt
In this case, CDP, like LLDP, is not necessary for a network to operate. However, it is
pa
a good troubleshooting tool and can solve connection issues, which can be useful
when you are managing multiple cables. i n
or
Is CDP used between network devices and end points?
l e
ho
CDPv2 is used to provision Cisco IP phones with VLAN and Quality of Service (QoS)
w
power information.
in
n
Verify that this management software can also function with the information given by
du
LLDP.
ro
ep
Some customers disable CDP for security reasons, since it gives device information
ly
on
such as the device names and IP addresses in VLAN 1. Any node can sniff and read
se
Note that CDP is enabled on all ports of a Cisco switch. LLDP is not enabled and can
er
ld
Both protocols can be enabled at the same time on all devices, allowing for a
St
smooth migration phase. Once LLDP is activated on all equipment and all
&L
management software can use it, you can the disable CDP:
C
P
d.
phone is connected to a PC, whether the port is enabled or not.
ite
Is the switch used to connect Cisco IP phones?
ib
oh
CDPv2 is used to provision Cisco IP phones, providing VLAN and QoS information,
pr
for example.
is
n
To verify that CDP is used for that purpose:
sio
Determine whether there are any “voice” commands in the switch. A typical
is
m
setup for a port supporting an IP phone is:
er
tp
interface GigabitEthernet 1/20
ou
switchport
ith
switchport access vlan 2
switchport mode access
w
switchport voice vlan 3
rt
pa
Look for the voice vlan command in the configuration.
Note i n
or
The setup is the same for LLDP-MED.
l e
ho
w
n
Cisco IP phones released after 2006-2007 will support LLDP. LLDP-MED is supported
ep
d.
6 7
ite
4
Cisco HP E-Series
ib
9
oh
5
pr
8
3rd party 2
is
IP Phone Cisco
3
n
1
ios
Cisco Switches are
is
PC Cisco Phone
m
enabled with CDP
er
and LLDP
tp
Dropped
ou
CDP
LLDP-MED
ith
LLDP
w
Figure 1 - 2: CDP, LLDP, and LLDP-MED
rt
pa
In Figure 1-2, the Cisco switches have been enabled with CDP and LLDP. The figure
i n
shows scenarios of how CDP and LLDP protocols can be used and where challenges
or
lie, if any:
l e
ho
In this scenario, a PC connected to a Cisco phone can support CDP or LLDP and
n
some applications that run on a PC (Cisco VT Advantage and LLDP, for example)
tio
support this protocol. The phone uses the protocol to support these applications.
c
du
OpenLLDP, a free open source driver, supports LLDP on Mac OS X, Linux, FreeBSD,
.R
and NetBSD. A third-party LLDP agent (haneWIN LLDP) is also available for
ly
Both the Cisco switch and the Cisco phone have to support the same protocol, either
er
CDP v2 or LLDP-MED. They can use one or the other. LLDP-MED is preferred because
ld
Both LLDP and CDP may be used. If the Cisco switch is old and does not support
&L
In this case, the Cisco switch generates the CDP messages and LLDP messages.
On most third-party switches the CDP messages are ignored and flooded out the
other interfaces, meaning devices connected to a third-party switch receive CDP
messages from the Cisco switch.
1 –14 Rev. 11.21
BitSpyder - The Culture of Knowledge
With HP A-Series switches, CDP messages are flooded by default. Cisco phones on
that switch receive these CDP messages and send CDP messages as if they were
directly connected to the Cisco switch. Therefore, when Cisco switches are connected
to third-party switches (and the third-party switches support LLDP-MED), CDP should
be turned off on ports connecting to the third-party switches.
d.
ite
For old Cisco IP phones that do not support LLDP, you can use a Cisco switch to
ib
continue provisioning Cisco IP phones. However, in this case, CDP will show the
oh
Cisco devices several IP Phones connected on one link.
pr
is
5. A third-party phone connected to a Cisco switch
n
io
The switch generates both CDP and LLDP-MED messages. The phone drops the CDP
s
is
messages.
m
er
6. A third-party phone connected to a third-party switch
tp
ou
In this case, only LLDP-MED is expected.
ith
7. A Cisco phone connected to a third-party switch
w
rt
The phone will generate both LLDP-MED and CDP messages. The switch uses LLDP-
pa
MED messages but usually ignores the CDP messages and floods them out other
i n
interfaces. If a Cisco switch is connected to the third-party switch, then CDP should
or
be disabled on the Cisco switch trunk interface.
l e
ho
Although Figure 1-2 depicts CDP and LLDP or LLDP-MED running simultaneously on
w
Cisco devices, control must be provided so that any of these protocols can be
in
disabled.
n
tio
The HP E-Series switch reads the CDP messages but does not send any messages.
ro
CDP message are not passed on. By default, HP E-Series switches send and receive
ep
LLDP messages.
.R
ly
d.
6 7
ite
4
Cisco HP E-Series
ib
9
oh
5 8
pr
3rd party 2
is
IP Phone Cisco
3
1
n
io
s
Cisco Phone
is
PC
m
Cisco Switches are
er
tp
Dropped tuned on CDP and
CDP LLDP support
ou
LLDP-MED
ith
LLDP
w
Figure 1 - 3: CDP, LLDP and LLDP-MED (optimized)
rt
pa
In Figure 1-3, LLDP and LLD-MED are used as much as possible. There are a few
i
situations which may require CDP to be maintained on Cisco switches: n
or
e
ho
w
Management software that does not yet support LLDP for network device
n
tio
mapping.
c
du
Note that HP A-Series switches have a CDP- compliant mode to support Cisco IP
ro
phones using CDPv2 for provisioning. To globally enable LLDP and enable LLDP to
ep
To enable LLDP (you can skip this step because LLDP is enabled on ports by default),
u
operate in TxRx mode on Ethernet 1/1 and Ethernet 1/2, use the following
ld
ho
commands:
ke
[SwitchA-Ethernet1/1] quit
d.
ite
Note that HP A-Series devices also support a voice VLAN feature that enables the
ib
devices to recognize various vendors’ IP phones based on the OUI of the phones’
oh
MAC address. Thus, the devices can support Cisco and other vendor IP phones
pr
without needing to support CDP or LLDP-MED.
is
n
Voice VLANs are configured specially for voice traffic as follows:
sio
You add the ports that connect voice devices to voice VLANs.
is
m
You can configure QOS attributes for the voice traffic, increasing transmission
er
tp
priority and ensuring voice quality.
ou
After you configure the voice VLAN, a device determines whether a received packet
ith
is a voice packet by checking its source MAC address. Packets containing source
w
MAC addresses that match with the voice device OUI are regarded as voice traffic
rt
pa
and are forwarded in the voice VLANs.
i n
A voice VLAN can operate in two working modes, which you specify when you add
or
the port to the voice VLAN:
l e
ho
Automatic mode:
w
• The system identifies the source MAC address sent when the IP phone is
in
• If a match is found, the system will automatically add the port into the
c
du
voice VLAN and apply ACL rules to ensure the packet precedence. An
ro
• The system will remove a port from the voice VLAN if no voice packet is
ly
Manual mode:
se
u
• The IP phone access port must be added to the voice VLAN manually.
er
ld
• The device still matches frames’ source MAC addresses against the OUI
ho
addresses. If a match is found, the system issues ACL rules and configures
ke
the precedence for the packets. In this mode, the operation of adding ports
a
St
to the voice VLAN and removing ports from the voice VLAN are carried out
by the administrators.
&L
C
d.
Interface gigabitethernet 1/0/10
ite
voice vlan enable
ib
Configuring the OUI List
oh
pr
The HP A-Series devices have a default OUI list:
is
OUI Address Vendor
n
sio
1 0001-e300-0000 Siemens
is
m
2 0003-6b00-0000 Cisco
er
tp
3 0004-0d00-0000 Avaya
ou
4 0060-b900-0000 Philips/NEC
ith
w
5 00d0-1e00-0000 Pingtel
rt
pa
6 00e0-7500-0000 Polycom
7 00e0-bb00-0000 3com i n
or
e
You can configure the HP A-Series voice VLAN in either security mode or normal
c
mode. Depending on the mode, the voice VLAN-enabled ports process untagged
du
frames and frames tagged with the voice VLAN in different ways:
ro
ep
In security mode,
.R
• If the frame’s source-MAC address is in OUI list, the frame is tagged with
ly
on
In normal mode:
ld
ho
• If the frame’s source-MAC address is in OUI list, the frame is tagged with
ke
• Otherwise, the frame is tagged with the PVID (the port’s default-VLAN) and
&L
forwarded
C
d.
protocol are flooded by both GVRP and VTP frames.
ite
ib
GVRP and VTP have advantages and disadvantages. What are some of these
oh
advantages and disadvantages?
pr
_________________________________________________________________________
is
n
sio
_________________________________________________________________________
is
m
er
tp
_________________________________________________________________________
ou
ith
_________________________________________________________________________
w
rt
pa
Comparing GVRP and VTP
i n
or
When GVRP and VTP run on the same network:
l e
GVRP BPDUs go through Cisco switches and also switches that are not GVRP
ho
aware.
w
in
Both GVRP and VTP have features that have advantages and disadvantages.
.R
GVRP and VTP automatically create VLANs from one switch to all others.
ly
on
er
switches.
a
St
d.
Cisco proprietary Standard 802.1Q and 802.1P
ite
ib
On most vendors including HP
oh
On Cisco IOS and CatOS switches
pr
On Cisco CatOS only
is
Password protected No password protection
n
io
VLAN creation- Addition of VLAN
s
VLAN creation and port pruning
is
to trunk ports
m
er
Requires trunk port (ISL or 802.1Q) Requires trunk ports
tp
ou
VTP roles: server, client, transparent GVRP roles: all switches are equal
ith
w
Figure 1 - 4: VTP versus GVRP
rt
pa
Like GVRP, VTP can reduce the time it takes to configure VLANs on your network.
i n
Rather than creating, deleting, or renaming VLANs on multiple switches in a network,
or
you can make these changes once on the VTP server, which distributes the changes
l e
to other switches.
ho
w
Catalyst switches. GVRP, on the other hand, is an open standards protocol. GVRP
n
tio
can be used to configure VLANs on switches from different vendors (as long as each
c
d.
Specify all ports that participate in GVRP as trunk
ite
ports and assign them to VLANs that are carried on
VTP Server their counterpart trunk ports on the VTP server.
ib
Enable GVRP globally and on all trunk ports.
oh
Create all static VLANs.
pr
Specify all ports that participate in GVRP as trunk
is
ports and assign them to VLANs that are carried on
VTP Client
n
their counterpart trunk ports on the VTP client.
io
Enable GVRP globally and on all trunk ports.
s
is
m
VTP Transparent Disable GVRP globally.
er
tp
Figure 1 - 5: Migrating VTP to GVRP
ou
ith
On HP E-Series switches, enable GVRP globally by entering:
w
HP-E(config)# gvrp
rt
pa
On HP A-Series switches, first enable GVRP globally by entering
<ASeries> system-view i n
or
e
[ASeries] gvrp
l
ho
Then, configure a port, such as Ethernet 1/1, as a trunk port and assign it to all
w
VLANs.
in
n
Next, enable GVRP on the port, such as Ethernet 1/1, and use the default GVRP
.R
[ASeries-Ethernet1/1] gvrp
on
[ASeries-Ethernet1/1] quit
se
d.
ite
Trunk ports
Permitted VLANs: 10,20,30,40
ib
2
oh
Static VLANs
Static VLANs
10,20,30,40
pr
10,20,30,40
Trunk ports
is
Permitted VLANs: ALL
n
io
3 Static VLANs
s
Static VLANs
is
10,20,30,40
10,20,30,40
m
50,60,70,80
Trunk ports
er
Permitted VLANs: ALL
tp
ou
What do you think of these three setups?
ith
With a Cisco switch? With an HP switch?
w
rt
Figure 1 - 6: Trunk and static VLANs: A best practice?
pa
n
With VTP and PVST+ (or Rapid PVST+) a switch learns all VLANs and creates one
i
or
STP instance per VLAN, which is very CPU-intensive. Therefore, Cisco recommends
e
broadcast domain, the switch operates more efficiently when PVST+ is running.
w
in
Heavy processing loads are not such a big issue with MSTP on HP switches. MSTP
n
only uses one BPDU for all instances, so the number of VLANs does not change CPU
tio
time for MSTP. Even if all VLANs are allowed on trunk ports, only the frames of the
c
du
configured VLANs will be received and transmitted, so the broadcast domains are
ro
If VLANs are not the same on both sides, as in case 3, broadcast frames for VLANs
ly
50, 60, 70, and 80 will be dropped when received by the switch on the right.
on
Conclusion: If VLANs are not set dynamically, the trunk ports can be set with all
se
VLANs permitted. This practice eases the setup of uplinks while reducing
u
misconfigurations.
er
ld
ho
ake
St
&L
C
P
H
d.
ite
IOS. Table 1-1 displays Cisco switches and whether they support MSTP.
ib
Table 1-1: MSTP support on Cisco switches
oh
pr
Cisco product MSTP support
is
Catalyst Platform MST with RSTP
n
io
Catalyst 2900 XL Not Available
s
Catalyst 3500 XL Not Available
is
Catalyst 2950 and 3550 Cisco IOS® 12.1(9)EA1
m
er
Catalyst 3560 Cisco IOS 12.1(9)EA1
tp
Catalyst 3750 Cisco IOS 12.1(14)EA1
ou
Catalyst 2955 All Cisco IOS versions
Catalyst 2948G-L3 Not Available
ith
Catalyst 4908G-L3 Not Available
w
Catalyst 4000 Catalyst OS 7.1
rt
pa
Catalyst 2948G, 2980G Catalyst OS 7.1
Catalyst 4000 and 4500 Cisco IOS 12.1(12c)EW
Catalyst 5000 and 5500 Not Available i n
or
Catalyst 6000 and 6500 CatOS 7.1
e
Note
tio
If a version update is required, that will cause downtime. In such a case, preload
c
Also verify whether uplinks are set as full duplex and at maximum speed, and if the
.R
uplinks are set as trunk and carry all VLANs or none of a given MSTP instance.
ly
on
Which ports are edge ports (defined as portfast on Cisco) and which ports are
er
uplinks? You also need to verify the root of each VLAN and the associated master in
ld
HSRP.
ho
ake
St
&L
C
P
H
General guidelines
As you complete the migration, keep these things in mind:
There is not a single way to migrate to open standards.
You will not have the same constraints if you execute a migration during a
maintenance time or online.
Changing the configuration on a distribution switch will have a greater impact
on the overall network, but you must do it. You should think about whether you
want to do it at the beginning or the end of the migration.
Before migrating, here is a step that could help:
Migrate the STP network to Rapid PVST+
In addition, make sure that all edge ports are defined as such with the
spanning-tree portfast command:
Cisco(config)# interface range gigabitethernet 1/0/1 - 46
Cisco(config-if)#spanning-tree portfast default
To understand what this message means, you must understand how Cisco
switches implement spanning tree. Even when the Cisco switch is set to MST
mode, the switch listens for BPDUs and runs a PVST+ simulation. The idea
behind this simulation is to synchronize the MSTP configuration with the PVST+
configuration. The switch will send out PVST+ BPDUs on all VLANs on the trunk
with the parameters that it uses for the CIST. The switch also listens for PVST+
BPDUs on all VLANs and applies them to the CIST. This behavior is different
from the standard behavior of HP MSTP switches, which only use standard
untagged MSTP BPDUs to participate in the CIST.
Because behaving in Cisco manner could cause loops in the PVST+ topology,
the switch checks these BPDUs for consistency with the switch’s CIST settings.
That is, if the Cisco MSTP switch defines a port as root on the CIST, it expects
PVST+ BPDUs on all VLANs to offer superior root paths. Conversely, if the Cisco
MSTP switch defines a port as designated on the CIST, it expects all PVST+
BPDUs to offer inferior root paths. If an inconsistency arises, the Cisco switch
shuts down the port as broken.
When you enable MSTP on a Cisco edge switch first, these inconsistencies will
occur. Even though the switch should learn that a distribution switch is root in the
CIST, it will start to shut down ports as soon as it receives PVST+ BPDUs that
advertise a root other than the root that it wants for the CIST.
As a result, even though the PVST+ domain contains the CIST root, the MSTP
domain cannot reach it. Cisco implements this feature to implement potential
loops, but, in fact, the MSTP domain loses connectivity to the PVST+ domain. If
you were to look at the edge switch’s MSTP status (show spanning-tree mst 1),
you would see that the “Master Port” is blocked (BKN, or broken) due to the
“PSVT simulation inconsistency. “
The best way to eliminate these types of inconsistencies is to ensure that the
MSTP domain contains the root bridge for the CIST. In other words, you must
migrate the future root for the CIST, here CBridge_1, to MSTP first. You also need
to assign this switch as low a priority or a lower priority in the IST than any
PVST+ switch in any VLAN. This enables the switch to become the root for all
PVST+ spanning trees, which prevents other PVST+ simulation inconsistencies
from arising.
3. During the migration to MSTP, you will observe a failover of up to 30 seconds.
To reduce this failover time, you must reduce the STP timers using these
commands:
CDist_1(config)# spanning-tree mst hello-time 1
CDist_1(config)# spanning-tree mst max-age 6
CDist_1(config)# spanning-tree mst forward-time 4
When you use these timers, the downtime is halved to about 15 seconds.
Note
Do not change the timers in this way in a complex network in which the diameter
of the network is superior to two (two bridges from root).
4. Migrate any other distribution switches and then the edge switches.
5. After migration, remove PVST+-specific features such as UplinkFast and
BackboneFast. MSTP, which is based on RSTP, offers features that are similar to
these on its own.
Additional references
Although this class will provide practice migrating PVST+ to MSTP, you may want to
consult additional resources after the class. HP provides the following guidelines:
Migrating from Cisco to ProCurve Networks (http://h10147.www1.hp.com/
docs/security/Migrating_from_Cisco_to_ProCurve_Apr_08_AM_Eng_Ltr.pdf
Migration from Cisco PVST+ to H3C STP
Cisco also provides an example configuration for migrating from its proprietary
protocol to the industry-standard MSTP:
Configuration example to migrate Spanning Tree from PVST+ to MST
(http://www.cisco.com/en/US/products/hw/switches/ps708/products_config
uration_example09186a00807b075f.shtml)
2. While STP is down, configure the MSTP parameters on all switches (including the
distribution switch that is still running PVST+). You can also configure the MSTP
priorities on the distribution switches.
3. First enable MSTP on the edge switches. This strategy produces the shortest
downtime, as you can test in the lab. With the default timers, the network
experiences between 15 to 30 seconds of downtime. You can reduce the
downtime to four to ten seconds if you reduce the timers:
• Hello timer = one second (compared to the two second default)
• Forward delay = four seconds (compared to the 15 second default)
• Aging time= six seconds (compared to the 20 second default)
4. Enable MSTP on the routing switch.
5. Enable MSTP on the other distribution switch (on which you previously disabled
the connections).
6. Open the ports between the second distribution switch and the first.
7. Finally, open the ports between the second distribution switch and the edge
switches.
Verify MSTP.
Cisco# show spanning-tree mst-config
Cisco# show spanning-tree mst 0
Cisco# show spanning-tree mst 1
Cisco# show spanning-tree mst 2
HSRP VRRP?
Here you see several Cisco proprietary Layer 3 protocols and their open standard
equivalents. In this section, you will learn a bit about migrating HSRP to VRRP;
however, many Cisco devices do not support this protocol, so the section focuses
more on the routing protocol migration, specifically EIGRP to OSPF.
An interesting phenomenon I’ve observed over the years is that while EIGRP networks
tend to get out of control because they remain a single, flat domain as the network
expands, many OSPF designers go to the other extreme and overuse areas. I’ve seen
networks of 50 or so OSPF routers, which would operate just fine as one big area,
needlessly divided into more than a dozen areas. Where EIGRP scaling problems
usually become evident is with stuck-in-active (SIA) conditions, in which responses to
queries are not heard within a certain time, causing neighbors to be incorrectly
flushed from the neighbor table, resulting in severe network destabilization. SIAs
should not happen even in very large networks, but once again because you don’t
have to think much about growing EIGRP topologies you can get yourself into a
situation where they do in fact occur. Cisco has added some optimizations in recent
years to help prevent SIAs, but they still happen. EIGRP does have summarization
capabilities, but again it doesn’t make you think too much about your topology,
which again can get you into trouble as the topology grows. But all this stuff about
being forced to think about your topology begs the question: If you choose OSPF at
the start because you are considering where your topology might be in five years,
then you are aware enough to build an EIGRP topology that would also scale.
And then there’s DUAL. The algorithm is lots of fun to study and to write about, but
it’s not so fun when you’re in the middle of a serious network outage. It just isn’t as
easy to understand as OSPF, and can lead to some lengthy head-scratching when
trying to figure out an intricate network behavior.
Last is, of course, the “proprietary protocol” thing. Yeah, yeah, you only have Cisco
in your network and always will have only Cisco in your network, so this isn’t an
issue. Cisco certainly wants you to see it that way. But are you sure? It makes no
sense to consciously lock yourself out of future options; if start-up Murilo Network
Systems comes out with a 5-pound, $100 terabit router, you might change your mind.
Far more important in the proprietary versus open protocol debate, however, is
reliability and security. It’s true that many vendors add their own proprietary tweaks
to their OSPF implementations, making them somewhat less open. But all in all
you’ve got the eyes of a host of vendors and the entire IETF community on OSPF, with
everyone understanding its inner workings and contributing to its improvement. With
EIGRP you’re dependent on a single vendor to get it right. Cisco has some of the
best protocol coders in the world, and I’d trust their work over many lesser vendors.
But given the choice, I’d rather not have to trust anyone more than necessary.”
http://www.networkworld.com/community/node/16276
Collect information
You need a complete inventory of existing network. Answer these questions:
What are the IP subnets currently on the corporate network?
• List of IP subnets/IP routes
• Up-to-date map of the network, with locations and sites and their subnets
marked on it
What devices compose the network?
• List of routers, routing switches, and firewalls that acting as firewalls and as
routers
• List of IP interfaces , including WAN, LAN, and VLANs interfaces and the
associated IP subnets
• Are routers connected to endpoints, to servers, or to both?
• Are routers an entry in the network from outside?
• What is each router’s place within the hierarchy? The Core, distribution
layer, or edge?
You must also inventory current router configuration and performance, including this
information:
• IOS version
• CPU and memory in current network
• Is CPU time average over 50%?
• Is memory usage over 60%?
It is important that you verify this information, particularly on access routers, because
a router that is operating near its capacity might not be able to support two routing
protocols simultaneously.
You must also inventory the current configurations for routing protocols:
Which routing protocols are currently in use in the network? (IGRP, EIGRP, RIP,
OSPF, ISIS, BGP, static routes-)
Summary
In this module, you have learned about the advantages of using open standard
protocols to create a network that is interoperable with equipment from different
d.
vendors. Networks built on open standards are typically more flexible and provide a
ite
better long-term investment for customers.
ib
oh
You have been given the tools to migrate a Cisco network with proprietary protocols
pr
such as CDP, PVST+ and EIGRP to an open standards network using LLDP, MSTP and
is
OSPF protocols. You also learned how to complete the migration while minimizing
n
downtime.
sio
is
m
er
NOTES
tp
_____________________________________________________________________
ou
ith
w
_____________________________________________________________________
rt
pa
n
_____________________________________________________________________
i
or
l e
_____________________________________________________________________
ho
w
in
_____________________________________________________________________
n
c tio
du
_____________________________________________________________________
ro
ep
_____________________________________________________________________
.R
ly
on
_____________________________________________________________________
u se
_____________________________________________________________________
er
ld
ho
_____________________________________________________________________
ake
St
_____________________________________________________________________
&L
C
P
_____________________________________________________________________
H
_____________________________________________________________________
d.
ite
ib
oh
pr
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
se
u
er
ld
ho
ake
St
&L
C
P
H
d.
FINAL
ite
CCore_1 CCore_2 CCore_1 CCore_2
ib
oh
pr
EIGRP OSPF
is
CDist_1 CDist_2 CDist_1 CDist_2
n
s io
is
CDP LLDP
m
VTP Static VLAN
er
GROUP X PVST+ GROUP X MSTP
tp
HSRP HSRP
ou
ith
CEdge_1 CEdge_2 CEdge_1 CEdge_2
w
PC_1 PC_1 PC_2
PC_2
rt
pa
Figure 1-16: Lab activity 1: Migrating a Cisco Network to Open Standards
ni
You will now practice implementing the migration strategies covered in this module.
or
Consult your Lab Activity Guide for instructions for performing this activity.
l e
ho
w
in
n
tio
c
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
Lab debrief
Use the space below to record the key things you learned, and also the challenges
you faced in lab activity 1.
d.
Table 1-1: Debrief for lab activity 1
ite
ib
Challenges Key things learned
oh
pr
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
NOTES
l e
ho
_____________________________________________________________________
w
in
n
_____________________________________________________________________
ctio
du
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
se
_____________________________________________________________________
u
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
_____________________________________________________________________
Learning check
Q1: Could removing CDP from a switch cause problems for network devices?
_____________________________________________________________________
d.
ite
ib
_____________________________________________________________________
oh
pr
_____________________________________________________________________
is
n
sio
_____________________________________________________________________
is
m
er
tp
Q2: What is a simple strategy for migrating an EIGRP network to OSPF?
ou
_____________________________________________________________________
ith
w
rt
_____________________________________________________________________
pa
i n
_____________________________________________________________________
or
l e
ho
_____________________________________________________________________
w
in
n
_____________________________________________________________________
c tio
du
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
_____________________________________________________________________
u se
er
Q3: What does a switch send when a virtual IP protocol starts and takes the Master
ld
ho
role on an interface or when the switch preempts the Master role? How does this
ke
_____________________________________________________________________
&L
C
_____________________________________________________________________
P
H
_____________________________________________________________________
_____________________________________________________________________
1 –58 Rev. 11.21
BitSpyder - The Culture of Knowledge
Q4: What considerations should you make as you migrate from PVST+ to MSTP?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Objectives
After completing this module, you will be able to:
Replace Cisco edge switches with HP switches
Configure the connections between HP devices and Cisco distribution or core
devices
Configure edge features:
• Harden switch access along with network access
• Enable IP phones to connect
• Prevent attacks or high CPU utilization
Rev. 11.21 2 –1
BitSpyder - The Culture of Knowledge
4 Distribution layer
Edge
layer
Rev. 11.21 2 –3
BitSpyder - The Culture of Knowledge
The following are the initial criteria for selecting an HP edge switch:
The number of ports needed
The capacity of the switch to scale
The port speed: 100 Mbps, 1 Gbps, 10 Gbps
A product selector is part of the HP Networking Online Configurator, and can be
accessed at: http://h10144.www1.hp.com/configurator/configurator.htm.
Note
The tools require Internet Explorer.
There is also a product selector that is specific to the HP E-Series. That one can be
accessed at http://h10144.www1.hp.com/products/tools/selectors/switches.asp.
HP offers many switch options:
Switches with a fixed number of ports
Modular switches
• Mainly chassis switches
• Provide a large range of ports and can scale
When choosing a switch, remember that HP A-Series switches offer Intelligent
Resilient Framework (IRF), which allows you to create a stack of switches or cluster of
chassis.
2 –4 Rev. 11.21
BitSpyder - The Culture of Knowledge
Rev. 11.21 2 –5
BitSpyder - The Culture of Knowledge
2 –6 Rev. 11.21
BitSpyder - The Culture of Knowledge
How do you…
Select a switch to connect iSCSI devices?
Internet Small Computer System Interface (iSCSI) traffic, which is used in data storage
environments, usually requires buffering and jumbo frames.
Select a switch to connect servers?
Server connections usually require the following:
Redundant power supply for a 24/7 connection.
Redundant connections: stacking, such as that provided with IRF.
Power and provision IP phones?
Power over Ethernet (PoE) ports can be found on many HP E-Series and A-Series
switches. Link Layer Discovery Protocol – Media Endpoint Discovery (LLDP-MED) is the
main way to provision IP phones. The HP A-Series also provides a voice VLAN with
automatic configuration based on the OUI (Organizationally Unique Identifier, which
is the first 24 bits) of the IP phone’s MAC address.
Prevent latency for sensitive traffic such VoIP and video?
The most common way is to prioritize traffic either by prioritizing based on the voice
VLAN, a port, or even an ACL and a given UDP or TCP port. In addition, it can be
done by simply trusting the priority (Class of Service [CoS] or Differentiated Services
Code Point [DSCP]) of the traffic.
How do you guarantee bandwidth to critical applications?
Quality-of-service (QoS) classification based on TCP or UDP ports is available on L3
switches or L2 switches with L3 recognition capabilities in their ASIC.
How do you control available bandwidth per port?
The HP E-Series and HP A-Series offer features to rate limit traffic on a per-port basis.
Rev. 11.21 2 –7
BitSpyder - The Culture of Knowledge
Data
Edge center
The first step in an effective migration will be to connect the uplinks to the rest of the
network. This will usually have been preceded by device configuration.
You must configure your uplinks to carry your VLANs, and in a redundant network
you need a way to avoid loops. Although spanning tree is the most common way,
you need to take into consideration that Cisco networks may use the proprietary
protocols Per-VLAN Spanning Tree Plus (PVST+) or Rapid-PVST+. These can be
combined with Rapid Spanning Tree Protocol (RSTP) or Multiple Spanning Tree
Protocol (MSTP), as explained in the HP Networking Interoperability training and
reviewed in this training.
There are also others ways to avoid loops using one of the following:
Smart Link and Monitor Link
Link Aggregation Control Protocol (LACP) for link aggregation to a Cisco Virtual
Switching System (VSS) cluster if in place at the distribution level
You will look at some of these solutions a bit later in this module.
2 –8 Rev. 11.21
BitSpyder - The Culture of Knowledge
Edge
Cisco Printer
3rd party PC
IP phone Server
IP phone Blade server
Prevention chassis
3 Security DHCP snooping, Traffic
IP Phones:, Access control: 802.1x, ARP Protection, Jumbo,
PoE, QoS, Mac-Auth. Web-Auth, IP Source Guard, sFlow, Net
LLDP-MED… Port Security, ACLs Loop Protect, Stream
Multicast BPDU Guard… QoS
Once the uplinks of the edge switch are connected and they are carrying VLANs,
end node devices can be transferred to the edge. Of course pre-configuration will
help with a quick transition.
You will need to:
List features used at the network edge.
You may also propose new features that will, for example, better prevent
attacks in the LAN.
Rev. 11.21 2 –9
BitSpyder - The Culture of Knowledge
d.
ite
HP switch at the edge of a Cisco-based network. Then consider how to replace a
ib
Cisco access switch with an HP edge switch. You can save time by listing only the
oh
differences between the second strategy and the first.
pr
Include as much information in your plan as you can such as:
is
n
io
Information that you need about the current solution
s
is
Settings that you would configure on the new switch in advance
m
er
Strategies for connecting the switch
tp
In the case of the second type of migration, strategies for migrating endpoint
ou
ith
connections
w
Strategy for adding an HP edge switch
rt
pa
_____________________________________________________________________
i n
or
e
_____________________________________________________________________
l
ho
w
_____________________________________________________________________
in
n
tio
_____________________________________________________________________
c
du
ro
ep
_____________________________________________________________________
.R
ly
_____________________________________________________________________
on
u se
_____________________________________________________________________
er
ld
ho
_____________________________________________________________________
ake
St
_____________________________________________________________________
&L
C
_____________________________________________________________________
P
H
_____________________________________________________________________
_____________________________________________________________________
2 –10 Rev. 11.21
BitSpyder - The Culture of Knowledge
d.
ite
You must determine requirements for the edge switch. How you will manage it? What
ib
oh
type of support do the endpoints (computers, servers, or IP phones) need?
pr
Pre-configure the HP edge switch
is
n
Management features
io
s
• Secure Shell (SSH), Authentication, Authorization, and Accounting (AAA),
is
m
SNMP, and so forth
er
tp
Uplink ports
ou
• VLAN trunking (or tagging)
ith
w
• A solution for controlling redundant connections: STP, Loop guard or Loop
rt
Protection, Smart Link, or Monitor Link
pa
Note i n
or
The next section of this module will explain these options in more detail.
l e
ho
Edge ports:
w
in
• VLAN assignment
n
tio
•
ep
Protection features
.R
Note
ly
on
The end of this module provides commands for configuring these features.
se
ho
C
d.
to Cisco distribution layer switches that are implementing PVST+ or Rapid PVST+.
ite
This section provides you with several options for resolving the issue.
ib
oh
pr
NOTES
is
_____________________________________________________________________
n
io
s
is
_____________________________________________________________________
m
er
tp
_____________________________________________________________________
ou
ith
w
_____________________________________________________________________
rt
pa
n
_____________________________________________________________________
i
or
l e
_____________________________________________________________________
ho
w
in
_____________________________________________________________________
n
ctio
du
_____________________________________________________________________
ro
ep
_____________________________________________________________________
.R
ly
on
_____________________________________________________________________
use
_____________________________________________________________________
er
ld
ho
_____________________________________________________________________
ake
St
_____________________________________________________________________
&L
C
P
_____________________________________________________________________
H
d.
ite
ib
PVST+ or Rapid
oh
Cisco distribution PVST+ Root and
pr
Secondary Root
is
n
VLAN Trunking
sio
is
m
er
HP edge
tp
1 2 3 4
ou
MSTP No STP Smart Link Monitor Link
ith
w
Figure 2 - 7: Connecting HP edge uplinks
rt
pa
In this scenario, assume that you will be integrating the HP edge switches into a
i n
Cisco network, which the customer does not want, at least in this first phase, to
or
migrate to open standards. Of course, a migration to MSTP would make integration
l e
ho
much simpler; and if you could complete it on all existing Cisco switches, that would
w
But, even if the Cisco network must remain PVST+ or Rapid PVST+ based, you have
n
tio
Disable spanning tree on the HP edge switches and rely on the distribution
.R
servers
u
er
The following pages explain these solutions, but for complete explanations you
ld
ho
Of course, you also need to set up the VLANs on the uplinks correctly. The sections
&L
HP E-Series commands
If the uplink ports are 47, 48, enter:
Conf t
d.
! VLAN 1 is untagged by default
ite
! If you wish to set up another vlan as untagged
ib
oh
Vlan 99 untagged 47,48
pr
! For Tagged VLANs
is
Vlan 10 tagged 47,48
n
io
Vlan 11 tagged 47,48
s
is
Vlan 20 tagged 47,48
m
er
Vlan 21 tagged 47,48
tp
HP A-Series commands:
ou
ith
By default, no VLAN is authorized on a trunk port except the default VLAN (also
w
called the PVID, 1 by default):
rt
pa
system-view
i n
or
interface gigabitethernet 1/0/47
l e
ho
d.
ite
Cisco1 Cisco2
ib
PVST+ Root PVST+ Root
Cisco distribution
oh
VLANs 1, 10, 11 VLANs 20, 21
pr
is
n
VLAN Trunking
sio
is
U2
m
U1
U2 U1
er
HP edge HP E-Series HP A-Series
tp
ou
MSTP MSTP
Default Config Default Config
ith
w
Figure 2 - 8: Choice A: Connect the HP edge with MSTP
rt
pa
MSTP and PVST+/Rapid PVST+ can interoperate. Consider the topology for the
n
network shown in the figure when the HP edge switches run MSTP and the Cisco
i
or
distribution switches run PVST+.
l e
ho
An HP edge switch with MSTP enabled will interoperate with the standard BPDUs
in
n
If Cisco1 is the PVST+ or Rapid PVST+ root in VLAN 1, then the root port on the HP
du
Note that port blocking relies heavily on path cost. The table displays the default
.R
default cost
ld
10 Gigabit 2 2 000 2
ho
ke
Gigabit 4 20 000 20
a
St
Note that the HP E-Series default costs displayed in the third column (which apply to
C
both MSTP and RSTP mode) are the 802.1t standard costs. You can configure Cisco
P
H
d.
ite
Networking Interoperability course. Although MSTP does support load balancing
ib
between instances, you do not obtain that effect in the topology shown above.
oh
When MSTP interoperates with PVST+, it functions like RSTP and blocks ports
pr
entirely, preventing any load balancing over the redundant links.
is
n
Load balancing is possible, however, if you have PVST+ or Rapid PVST+ block the
io
redundant link. If uplink U2 on the HP edge switch is not blocked, the PVST+ or
s
is
Rapid-PVST+ BPDUs in VLANs other than 1 will be transmitted from Cisco 1 to Cisco
m
er
2 or from Cisco 2 to Cisco 1. Then both Cisco distribution switches will act as if they
tp
were connected together. Cisco 2 will block the VLANs for which it is not root on
ou
one of its ports (which seems to PVST+ to be an alternate connection to Cisco 1),
ith
and Cisco 1 will do the same on its ports.
w
rt
How do I get this result?
pa
To ensure that the port is blocked on the distribution side instead of the HP edge
i n
or
side, you can increase the cost in VLAN 1 of the uplink between the two Cisco
switches to 30000. Then the HP edge switch is closer to the root than to Cisco 2,
l e
ho
and uplink U2 becomes the designated port on that segment. Now, in the other
w
You should also decrease the cost on the uplink between the two Cisco switches on
n
tio
all VLANs except VLAN 1. In this way, you ensure that the distribution-to-distribution
c
du
switch connection remains open rather than the connection to the edge switches
ro
ep
Note
.R
This configuration is rather complex and may be hard for a customer to maintain
if the IT staff does not understand it well. In addition, changing the link cost
ly
on
between the two Cisco switches will cause the Cisco switches that remain at the
edge to lose their blocked ports in VLAN 1. UplinkFast will not work for those
se
switches in VLAN 1. If VLAN 1 is not used, this is a minor concern. If it used for
u
er
management purposes, it could be a bigger issue, although user traffic may not
ld
be impacted.
ho
You could also attempt to achieve the same result by lowering the cost on an HP
ke
edge switch port (in the IST) rather than raising it on a Cisco switch port.
a
St
&L
C
P
H
d.
ite
spanning-tree mode rapid-pvst
ib
oh
spanning-tree extend system-id
pr
spanning-tree path cost method long
is
spanning-tree vlan 1,12 priority 0
n
io
spanning-tree vlan 11,13 priority 4096
s
is
interface po 1
m
er
spanning-tree vlan 1 cost 30000
tp
spanning-tree vlan 11-13 cost 10000
ou
ith
w
Cisco2 PVST configuration
rt
pa
spanning-tree mode rapid-pvst
n
spanning-tree extend system-id
i
or
spanning-tree path cost method long
l e
ho
interface po 1
n
tio
Same as in scenario 1
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
d.
ite
configuration?
ib
PVST+ Root PVST+ Root
oh
VLANs 1, 10, 11 VLANs 20, 21
Cisco distribution
pr
is
n
io
VLAN Trunking
s
is
m
er
tp
HP edge HP E-Series HP A-Series
ou
ith
STP disabled STP disabled
w
Figure 2 - 9: Choice B: Connect the HP edge without MSTP
rt
pa
You will now consider another option: disabling spanning tree on the HP edge
switch. i n
or
e
and PVST+ BPDUs. An HP switch will not be the destination for Cisco PVST BPDUs
n
(with a Cisco multicast MAC address) and is no longer the destination for the
tio
forward all the BPDUs. As far as PVST+ is concerned, the two distribution layer
ro
switches are connected directly together by a simple link. From the PVST point of
ep
Note that this solution requires STP to be fully disabled (which is the default on HP
on
switches) rather than disabled only on specific ports. STP cannot be enabled at all in
se
order for the HP switch to pass the BPDUs sent by one Cisco distribution switch to the
u
If all links have the same cost, then the root path on all these ports will have an equal
a
cost. The tie breaker to define the root port will then be the neighbor bridge ID. Here
St
it is the same for all ports (the other distribution switch’s Bridge ID).
&L
C
The neighbor port ID then becomes the tie breaker; the neighbor port with the lowest
P
ID is preferred. Typically, the interface Gi0/1 has a lower port ID than Gi0/2 and
H
also a lower one than Po1. So the root port might simply be a port leading to an
edge switch, which will cause traffic between the two distribution switches to go
through an HP edge switch.
This is not a desirable result. (You could cause an inadvertent denial of service [DoS]
attack on your system.) You need to consider path costs carefully and adjust them to
favor the link between the two Cisco switches. Note that, if the link between the two
Cisco switches is a port channel of Gigabit ports, its STP cost will be automatically
reduced to a lower value (3 or 10000 if the path cost method is set to long).
d.
ite
What are the risks of this solution? How can you improve the
ib
oh
configuration?
pr
If STP is disabled on an edge switch, a loop can result if edge ports are connected
is
together. This can be prevented with:
n
io
s
Loop Protect on the HP E-Series
is
m
Loopback Detection on the HP A-Series
er
tp
Configurations
ou
ith
This section provides configurations for this solution.
w
Cisco 1 PVST+ configuration
rt
pa
spanning-tree mode rapid-pvst
spanning-tree extend system-id i n
or
e
interface po 1
ctio
interface po 1
ke
no spanning-tree
H
One easy way to prevent loops at the edge is to disable the auto-crossing mode.
Automatic detection is enabled by default, and only a cross cable can then create a
loop:
int 1-44 mdix-mode mdi
Rev. 11.21 2 –21
BitSpyder - The Culture of Knowledge
Configurations
The sections below provide two example configurations.
Simple Smart Link configuration
d.
In this simple configuration, the role of Smart Link ports is defined for all VLANs (all
ite
instances). Port gig 1/0/1 is the master/active, and gig 1/0/2 is the slave. If the
ib
oh
master fails, the slave will take over. If the master comes back up again, the master
pr
will preempt the active role.
is
Create a smart link group 1:
n
sio
[Switch C] smart-link group 1
is
m
# Configure all VLANs mapped to MSTIs 0 -15 as the protected VLANs
er
[SwitchC-smlk-group1] protected-vlan reference-instance 0 to 15
tp
ou
# Configure Gigabit 1/0/1 as the master port
ith
[SwitchC-smlk-group1] port gigabitethernet 1/0/1 master
w
# Configure Gigabit 1/0/2 as the slave port of smart link group 1
rt
pa
[SwitchC-smlk-group1] port gigabitethernet 1/0/2 slave
n
# Configure preemption
i
or
[SwitchC-smlk-group1] preemption mode role
l e
In this configuration, you want to make the best use of both uplinks of the edge
in
d.
ite
[SwitchC-smlk-group1] preemption mode role
ib
oh
Create smart link group 2:
pr
is
[SwitchC] smart-link group 2
n
io
[SwitchC-smlk-group1] protected-vlan reference-instance 2
s
is
# Gigabit 1/0/2 is the master & Gigabit 1/0/1 the slave
m
er
[SwitchC-smlk-group1] port gigabitethernet 1/0/1 slave
tp
[SwitchC-smlk-group1] port gigabitethernet 1/0/2 master
ou
# Enable role preemption in smart link group 2
ith
w
[SwitchC-smlk-group1] preemption mode role
rt
pa
[SwitchC] display smart-link group all
i n
or
l e
ho
w
in
n
ctio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
d.
ite
PVST+ Root PVST+ Root
ib
VLANs 1, 10, 11 VLANs 20, 21
Cisco distribution
oh
pr
is
n
VLAN
io
Trunking
s
is
Monitor Link Monitor Link
m
er
HP edge HP A-Series
tp
“Downlinks”
ou
“NIC
ith
Teaming”
w
Figure 2-11: Choice D: Connect the HP edge with Monitor Link
rt
pa
The final option approaches redundancy in a different way. Instead of creating
n
redundant links between the edge switches and distribution switches, create
i
or
redundant links between the endpoints and the edge switches. This option can be
e
suitable for switches that only connect to servers with two NICs that are capable of
l
ho
NIC teaming.
w
in
Look at the architecture illustrated above: does it create a loop? The servers are
n
connected to the two HP A-Series switches, but the two switches are not connected
tio
together, and each switch is connected with a single link to an upstream switch. The
c
du
setup does not create a loop as servers do not bridge the traffic. Therefore, you do
ro
not need to worry about implement spanning tree on the HP edge switches when you
ep
connections fails but not if the uplink fails on the switch to which it is actively
se
connected. The issue arises because servers cannot sense the uplink failure, so they
u
In order to protect the switch in this circumstance and to make the redundancy
ho
provided by the servers’ dual connections closer in effect to redundant switch uplink
ke
connections, you must implement Monitor Link, an HP A-Series feature. With Monitor
a
St
Link, the status of downlinks is tied to the status of uplinks. An uplink failure on the
&L
edge switch triggers the switch to close the downlink port. The server implementing
NIC teaming then detects the failure and fails over to its other connection. Failover
C
P
occurs in milliseconds.
H
Thus the servers continue to have connectivity even if a switch’s uplink fails. However,
the solution is not precisely equivalent to true redundant uplinks on the edge
switches. For one thing, if an uplink fails on a switch with a redundant uplink, the
switch can continue to handle traffic. But when the single uplink fails on a switch
using Monitor Link, the switch becomes useless and the other server edge switch has
d.
ite
to carry the full load. Another drawback is that load balancing depends entirely on
ib
the capabilities of the servers. Therefore, you might not always want to use Monitor
oh
Link as a replacement for redundant uplinks between the edge and distribution layer.
pr
When would this architecture be useful?
is
n
io
The advantage of such a configuration is that it enables you to connect servers
s
is
redundantly to an existing network without requiring you to enable spanning tree.
m
When you do not want to interact with a customer’s configuration, this design can
er
work very well.
tp
ou
Connecting HP edge switches in a Cisco-based network is a typical case where this
ith
architecture will fit perfectly.
w
rt
Monitor Link configuration
pa
Create monitor link group 1:
i n
or
[SwitchC] monitor-link group 1
l e
ports:
w
in
d.
ite
NOTES
ib
oh
_____________________________________________________________________
pr
is
n
_____________________________________________________________________
sio
is
m
_____________________________________________________________________
er
tp
ou
_____________________________________________________________________
ith
w
_____________________________________________________________________
rt
pa
i n
_____________________________________________________________________
or
l e
ho
_____________________________________________________________________
w
in
_____________________________________________________________________
n
c tio
du
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
_____________________________________________________________________
u se
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
_____________________________________________________________________
H
_____________________________________________________________________
Device management
–Goals:
• Make devices manageable
d.
ite
• Secure access to device to create a secure infrastructure
ib
oh
pr
Figure 2 - 12: Device management
is
n
The following scenario focuses on securing the configuration of a device.
io
s
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
ctio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
Management configuration
1 Encrypting passwords
Time protocol client
d.
2
ite
3 Syslog services
ib
oh
4 SSH v2.0
pr
SNMP v3
is
5
n
io
6 AAA secured access with RADIUS / TACACS
s
is
m
Figure 2-13: Management configuration
er
tp
The first five configuration tasks displayed in the figure were covered in the HP
ou
Networking Interoperability course, and this course will not focus on them. For your
ith
reference, the sections below provide configuration commands for these tasks.
w
Cisco secure management configuration
rt
pa
The Cisco commands are provided so that you can easily match configurations on
i n
your existing Cisco switches to the necessary commands for your new HP switches.
or
e
Encrypt passwords:
l
ho
w
Service password-encryption
in
clock summer-time GMT1 recurring last Sun Mar 1:00 last Sun Oct
1:00 60
.R
Generate a key pair, enable SSH server, and disable Telnet access
ho
ke
ip ssh version 2
&L
line vty 0 4
C
exit
d.
ite
Set authentication mode to AAA – Default auth. : local user
ib
oh
user-interface vty 0 4
pr
authentication-mode scheme
is
protocol inbound ssh
n
io
user privilege level 3
s
is
quit
m
er
Define local user and privilege level and associated services
tp
ou
local-user admin123
ith
password cipher verysecret
w
service-type ssh
rt
pa
authorization-attribute level 3
n
quit
i
or
Set SNMP trap and trap receiver
l e
ho
snmp-agent
St
d.
ite
The sections below provide the commands for completing the same tasks on HP E-
ib
oh
Series devices.
pr
Encrypt passwords
is
n
conf t
io
s
include-credentials
is
m
Set time with SNTP, timezone, and summertime
er
tp
timesync sntp
ou
sntp unicast
ith
sntp server 10.1.1.100
w
rt
time timezone 60 daylight-savings western-europe
pa
Set the syslog server and log level
i n
or
logging server 10.1.1.100
e
ip ssh (default)
c
du
no telnet
ro
d.
ite
snmp-server contact “Lucas Kett :3306”
ib
oh
snmp-server location “telephone-closet,3rd-floor”
pr
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
d.
ite
• RADIUS or TACACS+ server(s)
ib
• Authentication method for login access
oh
pr
• Authorization and accounting for login
is
n
Figure 2 - 14: AAA secured access with RADIUS and TACACS+
io
s
is
A customer might have a security policy that requires AAA to secure management
m
er
access. You must configure the new HP edge switches to meet this requirement. The
tp
next pages provide HP configurations for several different AAA solutions:
ou
Controlling SSH access with AAA to a RADIUS server
ith
w
Controlling SSH access with AAA to a TACACS+ server
rt
pa
For your reference, the sections below provide the Cisco IOS configurations for these
n
solutions. Then you can compare the HP configurations to the Cisco configurations.
i
or
Cisco configuration: Control SSH access with AAA to a RADIUS server
l e
ho
aaa new-model
n
tio
server 172.16.2.3
se
server 172.16.2 17
u
er
server 172.16.2.32
ld
line con 0
P
H
exec-timeout 0 0
line aux 0
transport input all
d.
ite
ib
end
oh
Cisco configuration: Control SSH access with AAA to a TACACS+ server
pr
is
Set the AAA policy for management logins
n
sio
aaa new-model
is
m
aaa authentication login default group tacacs+ local
er
tp
aaa authentication login method1 none
ou
enable password enable7200pw
ith
Create local users
w
rt
username admin1 password mariespw
pa
username admin2 password jmmspw
Configure SSH i n
or
e
ip ssh version 2
l
ho
ip ssh time-out 60
w
in
ip ssh authentication-retries 2
n
line con 0
u
er
exec-timeout 0 0
ld
line aux 0
St
&L
line vty 0 4
C
password enable7200pw
P
H
d.
2 # Configure AAA for SSH users and the user interfaces to support SSH only.
ite
ib
[Switch] user-interface vty 0 4
oh
[Switch-ui-vty0-4] authentication-mode scheme
[Switch-ui-vty0-4] protocol inbound ssh
pr
[Switch-ui-vty0-4] quit
is
# Create RADIUS scheme “rad”.
n
3
io
[Switch] radius scheme rad
s
# Specify the primary authentication & accounting server.
is
m
[Switch-radius-rad] primary authentication 10.1.1.1 1812
er
[Switch-radius-rad] primary accounting 10.1.1.1 1813
# Set the shared key for authentication & accounting packets to “expert”.
tp
[Switch-radius-rad] key authentication expert
ou
[Switch-radius-rad] key accounting expert
ith
# A username sent to the RADIUS server do not carry the domain name.
w
[Switch-radius-rad] user-name-format without-domain
rt
Figure 2-15: AAA for SSH with RADIUS on HP A-Series
pa
This slide displays the commands for configuring an A-Series switch to support SSH
i n
and to control SSH access using AAA to a RADIUS server. In this example, the IP
or
address of the RADIUS server is 10.1.1.1/24. You set both the shared keys for
l e
ho
“expert,” and specify that a username sent to the RADIUS server carries the domain
in
name. The RADIUS server provides different user services according to the domain
n
names.
c tio
du
Generate RSA and DSA key pairs and enable the SSH server
ep
.R
[Switch-ui-vty0-4] quit
P
d.
[Switch-ui-vty0-4] history-command 20
ite
Restrict access to some IP source addresses via ACL:
ib
oh
[Switch-ui-vty0-4] Acl 2001 inbound
pr
Restrict access to Telnet or SSH. (Default: both are enabled. Note: Telnet and the
is
SSH server are not enabled by default):
n
io
[Switch-ui-vty0-4] protocol inbound ssh | telnet | all
s
is
Authentication mode one, password or scheme (default). Scheme defaults to local
m
er
username:
tp
[Switch-ui-vty0-4] authentication mode none | password | scheme
ou
Create a RADIUS scheme
ith
w
[Switch] radius scheme rad
rt
pa
Specify the primary authentication server:
[Switch-radius-rad] primary authentication 10.1.1.1 1812 i n
or
Specify the primary accounting server:
l e
ho
Specify that a username sent to the RADIUS server carries the domain name:
.R
d.
[Switch-isp-bbb] authorization login radius-scheme rad local
ite
[Switch-isp-bbb] accounting login radius-scheme rad local
ib
[Switch-isp-bbb] quit
oh
# When using SSH to log in, a user enters a username in the form userid@bbb for
pr
authentication using the domain bbb.
is
n
# Activate the RADIUS domain bbb as the default. Users who log in without a domain
io
are assigned to the default domain. Note: the default domain is “system”.
s
is
[Switch]domain default enable bbb
m
er
# Add a local user named admin
tp
[Switch] local-user admin
[Switch-luser-admin] password cipher C0mplEx2fInD
ou
[Switch-luser-admin] service-type ssh
ith
[Device-luser-admin] authorization-attribute level 3
w
Figure 2 - 16: AAA for SSH with RADIUS on HP A-Series (cont.)
rt
pa
Configure the AAA methods for the domain
i n
or
[Switch] domain bbb
e
[Switch-isp-bbb] quit
c tio
When using SSH to log in, a user enters a username in the form userid@bbb for
du
authentication using domain bbb. Domains have been created mainly for ISPF
ro
where users that access a network may be set in various directories and associated
ep
Set the RADIUS domain bbb as the default. Users who log in without a domain are
on
assigned to the default domain. Note that the default domain is “system”:
se
In a case where there is only one domain for users, you could directly use the
ld
domain system, because “system” is the default domain and specifies what the AAA
ho
d.
the solution. You can use this same configuration if you are using IMC with HP E-
ite
Series devices.
ib
oh
Add an access device
pr
is
Log into the IMC management platform, select the Service tab, and select Access
n
Service > Access Device from the navigation tree to enter the Access Device page.
sio
Then, click Add to enter the Add Access Device window and perform the following
is
configurations:
m
er
Set both the shared keys for authentication and accounting packets to “expert”.
tp
ou
Specify the ports for authentication and accounting as 1812 and 1813
ith
respectively.
w
Select Device Management Service as the service type.
rt
pa
Select H3C as the access device type.
i n
or
Select the access device from the device list or manually add the device with
e
in
Log into the IMC management platform, select the User tab, and select Access User
c
du
View > Device Mgmt User from the navigation tree to enter the Device Management
ro
User page. Then, click Add to enter the Add Device Management User window and
ep
d.
2
ite
# Configure AAA for SSH users
ib
[Switch] user-interface vty 0 4
oh
[Switch-ui-vty0-4] authentication-mode scheme
pr
# Enable command authorization to restrict the command level for login
is
users
n
io
[Switch-ui-vty0-4] command authorization
s
is
m
# Enable command accounting
er
[Switch-ui-vty0-4] command accounting
tp
ou
Figure 2 - 17: AAA for SSH with HWTACACS on HP A-Series
ith
w
The sections below provide configurations for controlling SSH access to an HP A-
rt
Series switch using AAA with HWTACACS. Some of the configuration is similar to
pa
the RADIUS solution. However, you need to enable command authorization and
i n
accounting on the user interface, and you must create an HWTACACS authentication
or
scheme.
l e
ho
Note
w
HWTACACS is compatible with TACACS+ and can be used with Cisco devices.
in
n
tio
Enable SSH
ro
ep
Configure AAA for SSH users and the user interfaces to support SSH only
ly
on
Enable command authorization to restrict the command level for login users
er
ld
ho
d.
3 # Create HWTACACACS scheme “tac”.
ite
[Switch] hwtacacs scheme tac
ib
oh
# Specify the primary authentication, accounting & authorization server.
pr
[Switch-hwtacacs-tac] primary authentication 10.1.1.1 49
[Switch-hwtacacs-tac] primary accounting 10.1.1.1 49
is
[Switch-hwtacacs-tac] primary authorization 10.1.1.1 49
n
io
# Set the shared key to “expert”.
s
is
[Switch-hwtacacs-tac] key authentication expert
m
[Switch-hwtacacs-tac] key authorization expert
er
[Switch-hwtacacs-tac] key accounting expert
tp
ou
# A username sent to the hwtacacs server do not carry the domain name.
ith
[Switch-hwtacacs-tac] user-name-format without-domain
[Switch-hwtacacs-tac] server-type standard
w
rt
pa
Figure 2 - 18: AAA for SSH with HWTACACS on HP A-Series (cont.)
Note i n
or
HWTACACS is compatible with TACACS+ and can be used with Cisco devices.
l e
ho
w
Strip the domain name from username sent to the HWTACACS server
ake
d.
4 # Configure the AAA methods for the domain.
ite
[Switch] domain system
ib
[Switch-isp-system]authentication login hwtacacs-scheme tac local
oh
[Switch-isp-system]authorization command hwtacacs-scheme tac local
[Switch-isp-system]accounting command hwtacacs-scheme tac
pr
is
# Add a local user named admin
n
io
[Switch] local-user admin
s
[Switch-luser-admin] password cipher C0mplEx2fInD
is
[Switch-luser-admin] service-type ssh
m
[Device-luser-admin] authorization-attribute level 3
er
tp
ou
Figure 2 - 19: AAA for SSH with HWTACACS on HP A-Series (cont.)
ith
w
Configure the AAA methods for the domain
rt
pa
[Switch] domain system
n
[Switch-isp-system] authentication login hwtacacs-scheme tac local
i
or
[Switch-isp-system] authorization command hwtacacs-scheme tac local
l e
ho
[Switch-isp-system] quit
in
d.
Switch(config)# no telnet
ite
# Configure AAA for SSH users for login and enable access levels
2
ib
Switch(config)# aaa authentication ssh login radius local
oh
Switch(config)# aaa authentication ssh enable radius local
# Configure login accounting on the switch and reboot
pr
Switch(config)# aaa accounting exec Start-stop
is
Switch(config)# aaa accounting system Start-stop
n
# Configure authorization and command accounting. Requires Vendor-Specific
io
Attributes RADIUS
s
is
Switch(config)# aaa authorization commands radius
m
Switch(config)# aaa accounting commands Start-stop
er
# Create RADIUS servers
tp
Switch(config)# radius-server host 10.1.1.1 key expert
3 # Create username
ou
Switch(config)# password VeRyc0omplex admin user-name admin
ith
w
Figure 2 - 20: AAA for SSH with RADIUS on HP E-Series
rt
pa
HP E-Series switches can work also within the customer’s existing management and
n
AAA solutions. The sections below provide commands for controlling SSH access to
i
or
an E-Series switch using AAA with a RADIUS server. You need to set up SSH,
e
configure the AAA methods for different types of authentication, set up accounting,
l
ho
Switch(config)#ip ssh
ro
ep
Switch(config)# no telnet
.R
Configure AAA for SSH users for login and enable access levels
ly
on
Attributes RADIUS)
&L
C
Create username
Switch(config)# password VeRyc0omplex admin user-name admin
The following option permits a single login:
d.
Switch (config) aaa authentication login privilege-mode
ite
When you set up AAA management authentication, the switch can read the service-
ib
type field in the RADIUS response to a user’s request for management access. The
oh
following table describes the applicable service-type values and corresponding
pr
client access levels the switch allows upon authentication by the server:
is
n
Table 2-1: Service-type values
io
s
is
Service type Value Client access level
m
er
Administrative 6 Manager user
tp
NAS-Prompt 7 Operator user
ou
Any other type Other value Access denied
ith
This feature applies to console (serial port), Telnet, SSH, and Web browser interface
w
access to the switch. It does not apply to 802.1X port access.
rt
pa
Configuring Commands Authorization on a RADIUS Server: Using Vendor-
Specific Attributes (VSAs)
i n
or
l e
exchanging information with the RADIUS server. RADIUS Access- Accept packets
w
in
sent to the switch may contain the vendor-specific information. The attributes
n
permitted (or denied) execution by the user. The commands are delimited by
ro
user. A zero (0) means permit all listed commands and deny all others; a one
er
(1) means deny all listed commands and permit all others.
ld
ho
d.
Switch(config)# no telnet
ite
2 # Configure AAA for SSH users for login and enable access levels
ib
oh
Switch(config)# aaa authentication ssh login tacacs local
Switch(config)# aaa authentication ssh enable tacacs local
pr
# Accounting & Authorization not supported with TACACS
is
3 # Create TACACS servers
n
io
Switch(config)# tacacs-server host 10.1.1.2 key expert
s
# Create username
is
m
Switch(config)# password VeRyc0omplex admin user-name admin
er
tp
Figure 2 - 21: AAA for SSH with TACACS on HP E-Series
ou
ith
HP E-Series switches also support SSH with TACACS+. The configuration is similar to
w
the RADIUS solution configuration. However, you specify TACACS+ for the AAA
rt
pa
method, and you specify TACACS+ server settings. Note that HP E-Series switches do
not support accounting and authorization with TACACS+.
i n
or
Disable Telnet (Telnet and SSHv2 are enabled by default)
l e
ho
Switch(config)#ip ssh
w
Switch(config)# no telnet
in
Configure AAA for SSH users for login and enable access levels
n
tio
Create a username
u
er
The server grants privileges at the Operator privilege level. If the privilege-mode
St
option is entered, TACACS+ is enabled for a single login. The authorized privilege
&L
See “Configuring TACACS+ for a Single Login” of the Advanced Security Guide for
H
your HP switch.
d.
ite
NOTES
ib
oh
_____________________________________________________________________
pr
is
n
_____________________________________________________________________
io
s
is
m
_____________________________________________________________________
er
tp
ou
_____________________________________________________________________
ith
w
_____________________________________________________________________
rt
pa
i n
_____________________________________________________________________
or
l e
ho
_____________________________________________________________________
w
in
_____________________________________________________________________
n
ctio
du
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
_____________________________________________________________________
use
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
_____________________________________________________________________
Distribution
d.
ite
ib
oh
pr
Edge
is
n
io
s
is
m
Cisco 3rd party Blade Server
PC Printer Server
IP Phone
er
IP Phone Chassis
Prevention
tp
3
IP Phones:, Security Traffic Monitoring
DHCP snooping, ARP
Access control: 802.1X,
ou
PoE, QoS, Jumbo,
protection, IP source
LLDP-MED… MAC-Auth, Web-Auth, SFlow, Netstream,
ith
guard, loop protect,
Multicast port security ACL QoS
BPDU guard….
w
rt
Figure 2 - 22: Edge connections and features
pa
How will you migrate end nodes? i n
or
Prepare configuration of edge ports.
e
l
ho
• You must configure the connections before you move the physical
w
connections.
in
n
• The following pages will describe how to configure some of the features
tio
ep
• The new switch will very often offer more ports, in which case a list of the
.R
Move cables
se
RJ45 connector.
ke
If the old and new switches are in the same location, the cables can
&L
d.
dhcp-snooping
ite
! Enable ARP protection globally
ib
oh
arp detection validate ip src-mac
pr
! Enable ARP detection per VLAN
is
n
vlan 220
sio
name test
is
m
arp detection enable
er
tp
ou
! Define trusted interfaces for DHCP snooping and ARP protection
ith
interface gigabitethernet 1/0/1
w
rt
description link-to-core
pa
port link-type trunk
port trunk permit vlan 1 100 220 i n
or
e
dhcp-snooping trust
w
#
in
n
display dhcp-snooping
tio
#
c
du
conf t
.R
dhcp-snooping
se
arp-protect
u
d.
conf t
ite
! BPDU guard is configured on edge ports
ib
oh
interface GigabitEthernet0/1
pr
is
description Access-port
n
switchport mode access
io
s
spanning-tree bpduguard enable
is
m
er
tp
! On the distribution switches, root guard is configured on uplink ports leading to
ou
edge (or access) switches.
ith
interface GigabitEthernet0/9
w
rt
description link_to_core
pa
switchport trunk encapsulation dot1q
switchport mode trunk i n
or
spanning-tree guard root
l e
ho
w
Series
ctio
System-view
du
# Global enablement
ro
ep
stp enable
.R
loopback-detection enable
ly
on
description Access-port
ld
stp bpdu-protection
a
loopback-detection enable
St
description link-to-core
port link-type trunk
stp root-protection
d.
ite
! Enabling timeout for STP BPDU protection and traps for loop protect
ib
oh
spanning-tree bpdu-protection-timeout 300
pr
loop-protect trap loop-detected
is
n
io
! Enabling STP BPDU protection and loop protect on edge ports
s
is
m
spanning-tree 1-46 bpdu-protection
er
tp
loop-protect 1-46 receiver-action send-disable
ou
ith
! On distribution switches, root guard is defined on uplink ports leading to edge
w
(access) switches.
rt
pa
spanning-tree 1-20 root-guard
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
d.
INITIAL
ite
FINAL
ib
oh
CEdge_1 HaEdge_1 HeEdge_1
pr
Edge features: BPDU Guard, Edge features: BPDU Guard,
is
DHCP snooping, VoIP, and more DHCP Snooping, VoIP, and more
n
io
s
is
Figure 2 - 27: Lab activity 2.2: Converting the Configuration on a Cisco Edge Device to an HP Device
m
er
Consult your Lab Activity Guide for instructions on how to perform this lab.
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
Lab debrief
Use the space below to record the key things you learned, and also the challenges
you faced in lab activity 2.2.
d.
Table 2-2: Debrief for lab activity 2.2
ite
ib
Challenges Key things learned
oh
pr
is
n
io
s
is
m
er
tp
ou
ith
w
rt
pa
i n
or
NOTES
l e
ho
_____________________________________________________________________
w
in
n
_____________________________________________________________________
c tio
du
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
se
_____________________________________________________________________
u
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
Learning check
Q1: What are the different methods you can use to set up redundancy when
connecting an HP switch to a Cisco network?
d.
ite
ib
_____________________________________________________________________
oh
pr
_____________________________________________________________________
is
n
io
s
_____________________________________________________________________
is
m
er
tp
_____________________________________________________________________
ou
ith
_____________________________________________________________________
w
rt
pa
_____________________________________________________________________
i n
or
_____________________________________________________________________
l e
ho
w
_____________________________________________________________________
in
n
tio
_____________________________________________________________________
c
du
ro
ep
Q2: When the rest of network is set with PVST+, what should you take care to do
.R
_____________________________________________________________________
use
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
_____________________________________________________________________
Q3: What should you verify before connecting Cisco IP phones to an HP edge
switch?
_____________________________________________________________________
d.
ite
ib
_____________________________________________________________________
oh
pr
is
_____________________________________________________________________
n
sio
is
_____________________________________________________________________
m
er
tp
_____________________________________________________________________
ou
ith
_____________________________________________________________________
w
rt
pa
_____________________________________________________________________
i n
or
e
Q4: What setup should you perform on an HP edge switch before you connect Cisco
l
ho
IP phones to it?
w
in
n
_____________________________________________________________________
c tio
du
ro
_____________________________________________________________________
ep
.R
_____________________________________________________________________
ly
on
se
_____________________________________________________________________
u
er
ld
_____________________________________________________________________
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
d.
ite
ib
oh
Objectives
pr
is
This module will help you to plan and execute successful migrations of Cisco
n
distribution layer switches to HP E-Series distribution layer switches. You will explore
sio
several strategies, learning how to assess their advantages and disadvantages for
is
m
various environments—and how to avoid common issues.
er
tp
By the time that you have completed this module, you will be able to:
ou
Replace Cisco switches at the distribution layer with HP E-Series switches
ith
Consider the order in which you migrate various features in order to reduce
w
rt
issues and downtime
pa
Assess the advantages of various strategies in different customer environments
n
i
or
Select distribution layer features to improve your new network
l e
ho
w
in
n
ctio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
Rev. 11.21 3 –1
BitSpyder - The Culture of Knowledge
d.
INITIAL FINAL
ite
ib
oh
Cisco Cisco
pr
is
EIGRP ?
n
ios
Cisco
HP E-Series
is
HSRP ?
m
er
tp
CDP ?
VTP
ou
RPVST+
ith
Cisco
w
Cisco
rt
pa
Figure 3 - 1: Migration scenario: Replacing Cisco with HP E-Series at the distribution layer
i n
or
On the left, you see a simplified design for an existing customer network that uses
l e
Cisco devices. Two distribution layer switches work as redundant routing switches for
ho
the network using Hot Standby Router Protocol (HSRP). They connect to two edge
w
in
switches in the figure—far more in a real world scenario—and to two different core
n
switches, each of which offers a connection to the Internet. The core and distribution
tio
(EIGRP).
ro
With the LAN, Rapid Per-VLAN Spanning Tree Plus (RPVST+) eliminates loops created
ep
extends VLANs throughout the network, and Cisco Discovery Protocol (CDP) provides
ly
on
neighbor discovery.
se
Your goal in this scenario is to replace the Cisco distribution layer switches with HP E-
u
Series switches. Because the HP E-Series switches use open-standard protocols, part
er
of the migration involves moving the network from the current proprietary protocols to
ld
ho
the open-standard ones. For this reason, the figure on the right, which depicts the
ke
final network, indicates that the protocols in the final network might differ from the
a
original protocols.
St
&L
network
How you will proceed, step-by-step, to reach the final topology and
configuration
Rev. 11.21 3 –3
BitSpyder - The Culture of Knowledge
d.
• Wirespeed switching and routing
ite
ib
• High Gigabit and 10-Gigabit port density
oh
• Routing protocols (OSPF and RIP)
pr
• VRRP
is
• Redundantmanagement module and fabric in
n
io
the E8200 zl Series
s
is
• Lifetime warranties
m
– HP Product Selector helps you select a
er
tp
switch.
ou
ith
Figure 3 - 2: Why migrate to HP E-Series devices
w
rt
In this migration scenario, the customer is replacing outdated Cisco switches with
pa
new HP E-Series switches. The E-Series portfolio offers several switches with attractive
n
features for the distribution layer, including wirespeed switching and routing and
i
or
high Gigabit and 10G port density, at an attractive cost and typically with an
l e
This module focuses on the migration process rather than specific features of various
in
E-Series devices. If you need help selecting the correct product for a customer
n
Web site.
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
3 –4 Rev. 11.21
BitSpyder - The Culture of Knowledge
Migration goals
Before you begin the migration to the replacement switches, you need to understand
the customer’s goals and priorities. Most customers will want an enhanced network
d.
by the end of the migration—why else would the customer decide to migrate? You
ite
must understand the customer’s priorities:
ib
oh
Do they want better performance?
pr
Do they want greater energy efficiency?
is
n
Do they want new features?
sio
While much of satisfying many of these requirements falls to assembling the correct
is
m
networking solution for the customer, which is beyond the scope of this course, you
er
should keep the goals in mind as you plan the migration. At the very least, you will
tp
need to ensure that your configuration at the end of the migration supports the
ou
services required by the customer.
ith
w
In addition to considering the customer’s end goals, you must consider the goals for
rt
the migration process itself. One of the most important considerations is downtime.
pa
Can your customer schedule an outage, or does the network need to remain up
i n
throughout the migration? How important is zero downtime to the customer’s
or
satisfaction with the migration process?
l e
ho
You should also ask the customer about other constraints that might affect your plan.
w
For example, ascertain how many ports the core and distribution switches have
in
available. As you will see, port constraints might alter the way in which you migrate
n
tio
Rev. 11.21 3 –5
BitSpyder - The Culture of Knowledge
Configurations
The sections below list the relevant sections of the configurations for your reference
during the next activity.
Cisco Core 1 configuration
d.
ite
hostname CCore_1
ib
oh
pr
vlan 110
is
vlan 111
n
sio
is
ip subnet-zero
m
er
tp
ip routing
ou
ith
w
no spanning-tree vlan 1-4094
rt
pa
n
interface Loopback0
i
or
ip address 10.0.0.3 255.255.255.255
l e
ho
interface GigabitEthernet1/0/1
w
description to CDist_1
in
interface GigabitEthernet1/0/2
ep
description to CCore_2
.R
interface Vlan100
er
interface Vlan111
a
St
router eigrp 1
P
network 10.0.0.0
H
Rev. 11.21 3 –7
BitSpyder - The Culture of Knowledge
vlan 100
vlan 112
ip subnet-zero
d.
ite
ib
ip routing
oh
pr
no spanning-tree vlan 1-4094
is
n
sio
interface Loopback0
is
m
ip address 10.0.0.4 255.255.255.255
er
tp
interface GigabitEthernet1/0/1
ou
description to CDist_2
ith
w
switchport access vlan 112
rt
switchport mode access
pa
interface GigabitEthernet1/0/2 i n
or
description to CCore_1
l e
ho
interface Vlan100
c
interface Vlan112
.R
router eigrp 1
u
network 10.0.0.0
er
ld
hostname CDist_1
ake
St
ip subnet-zero
&L
ip routing
C
P
H
3 –8 Rev. 11.21
BitSpyder - The Culture of Knowledge
Vlan 2
Vlan 10
d.
Vlan 11
ite
Vlan 20
ib
VLan 21
oh
Vlan 111
pr
is
n
interface Loopback0
sio
ip address 10.1.0.1 255.255.255.255
is
m
er
tp
interface GigabitEthernet1/0/1
ou
description to CEdge_1
ith
switchport trunk encapsulation dot1q
w
switchport mode trunk
rt
pa
interface GigabitEthernet1/0/2
i n
or
description to CEdge_2
e
interface GigabitEthernet1/0/3
n
tio
description to CDist_2
c
du
interface GigabitEthernet1/0/4
description to CCore_1
se
interface Vlan1
St
standby 1 ip 10.1.1.254
C
standby 1 preempt
interface Vlan2
Rev. 11.21 3 –9
BitSpyder - The Culture of Knowledge
d.
ite
interface Vlan10
ib
ip address 10.1.10.1 255.255.255.0
oh
ip helper-address 10.1.2.100
pr
standby 10 ip 10.1.10.254
is
n
standby 10 priority 255
io
standby 10 preempt
s
is
m
er
interface Vlan11
tp
ip address 10.1.11.1 255.255.255.0
ou
ip helper-address 10.1.2.100
ith
standby 11 ip 10.1.11.254
w
standby 11 priority 255
rt
pa
standby 11 preempt
i n
or
interface Vlan20
l e
ip helper-address 10.1.2.100
w
in
standby 20 ip 10.1.20.254
n
c tio
interface Vlan21
du
ip helper-address 10.1.2.100
ep
standby 21 ip 10.1.21.254
.R
ly
on
interface Vlan111
se
router eigrp 1
ho
network 10.0.0.0
ake
St
ip classless
&L
C
P
These commands are not displayed in the configuration but have been applied:
H
vtp pruning
d.
ite
ib
ip subnet-zero
oh
ip routing
pr
is
n
spanning-tree mode rapid-pvst
sio
spanning-tree extend system-id
is
m
spanning-tree vlan 1,2,10-111 priority 4096
er
spanning-tree vlan 20-21,112 priority 0
tp
ou
ith
Vlan 2
w
Vlan 10
rt
pa
Vlan 11
Vlan 20
VLan 21 i n
or
Vlan 112
l e
ho
w
interface Loopback0
in
interface GigabitEthernet1/0/1
ro
description to CEdge_2
ep
interface GigabitEthernet1/0/2
u
description to CEdge_1
er
interface GigabitEthernet1/0/3
description to CDist_1
&L
interface GigabitEthernet1/0/4
description to CCore_2
switchport access vlan 112
Rev. 11.21 3 –11
BitSpyder - The Culture of Knowledge
interface Vlan1
d.
ip address 10.1.1.2 255.255.255.0
ite
standby 1 ip 10.1.1.254
ib
oh
pr
interface Vlan2
is
ip address 10.1.2.2 255.255.255.0
n
standby 1 ip 10.1.2.254
sio
is
m
interface Vlan10
er
tp
ip address 10.1.10.2 255.255.255.0
ou
ip helper-address 10.1.2.100
ith
standby 10 ip 10.1.10.254
w
rt
pa
interface Vlan11
ip address 10.1.11.2 255.255.255.0
i n
or
ip helper-address 10.1.2.100
e
standby 11 ip 10.1.11.254
l
ho
w
interface Vlan20
in
ip helper-address 10.1.2.100
c
du
standby 20 ip 10.1.20.254
ro
standby 1 preempt
.R
ly
on
interface Vlan21
ip address 10.1.21.2 255.255.255.0
se
ip helper-address 10.1.2.100
u
er
standby 21 ip 10.1.21.254
ld
standby 1 preempt
ake
St
&L
interface Vlan112
C
router eigrp 1
network 10.0.0.0
ip classless
These commands are not displayed in the configuration but have been applied:
vtp domain cisco
d.
vtp password secret
ite
ib
vtp mode server
oh
vtp pruning
pr
Cisco Edge 1 configuration
is
n
hostname CEdge_1
sio
is
m
spanning-tree mode rapid-pvst
er
tp
spanning-tree portfast default
ou
spanning-tree extend system-id
ith
w
interface GigabitEthernet1/0/1
rt
pa
description to CDist_1
switchport trunk encapsulation dot1q
switchport mode trunk i n
or
l e
ho
interface GigabitEthernet1/0/2
w
description to CDist_2
in
interface GigabitEthernet1/0/3
ep
description toServer
.R
interface Vlan1
er
ip default-gateway 10.1.1.254
a
St
ip classless
&L
C
These commands are not displayed in the configuration but have been applied:
P
H
d.
ite
spanning-tree portfast default
ib
spanning-tree extend system-id
oh
pr
interface GigabitEthernet1/0/1
is
description to CDist_1
n
io
switchport trunk encapsulation dot1q
s
is
switchport mode trunk
m
er
tp
interface GigabitEthernet1/0/2
ou
description to CDist_2
ith
switchport trunk encapsulation dot1q
w
switchport mode trunk
rt
pa
interface GigabitEthernet1/0/3 i n
or
description toClient
l e
interface Vlan1
c tio
ip default-gateway 10.1.1.254
.R
ip classless
ly
on
These commands are not displayed in the configuration but have been applied:
u se
vtp pruning
a
St
&L
C
P
H
CCore_2
d.
CCore_1
.4
ite
.3 Routing
protocol?
ib
VLAN VLAN
101
oh
102
Layer 2
pr
redundancy? ? ?
Layer 3
is
HeDist_1 HeDist_2
redundancy? Virtual
n
?
sio
Trunks
is
Native VLAN 1
m
Permit All .12
.11
er
VLANs? CEdge_1 CEdge_2
tp
Discovery Access
protocol? Ports in VLANs
ou
2, 10, 11, 20.21
ith
IP address:
w
10.X.VLAN.0/24
rt
Figure 3 - 4: What is the final configuration?
pa
n
With your group, plan configurations for the switches after the migration so that they
i
or
provide equivalent functionality as the existing network. You have learned about
e
methods for making these plans earlier in this course. Now you have another chance
l
ho
to practice your new skills. You will also be able to leverage your plans during the
w
lab for this module, so make sure to record your plans carefully.
in
n
Note that the Cisco distribution switches are not included in the final plans because
tio
they will be removed by the end of the migration; however, you might migrate these
c
du
switches to the open standard protocol as part of the migration process. You will look
ro
As you answer the questions, you can refer to the tables within the questions as well
as the configurations on the previous pages.
ly
on
1. First plan the open standard protocols to which you will migrate proprietary
se
protocols.
u
er
Layer 3 redundancy
St
HSRP
protocol
&L
Layer 2 redundancy
RPVST+
C
2. Will you implement the open standard VLAN registration protocol or configure
static VLANs? Why?
_____________________________________________________________________
d.
_____________________________________________________________________
ite
ib
oh
_____________________________________________________________________
pr
is
n
_____________________________________________________________________
sio
is
m
_____________________________________________________________________
er
tp
ou
3. Will you implement the open standard discovery protocol? Why or why not?
ith
_____________________________________________________________________
w
rt
pa
_____________________________________________________________________
i n
or
e
_____________________________________________________________________
l
ho
w
_____________________________________________________________________
in
n
c tio
4. The current spanning tree settings are displayed in the first table below. In the
du
other table, indicate the settings that you want on each switch at the end of the
ro
migration. Note that you might adjust these settings during the migration. For
ep
now, you are planning the end goal. Also note, that you do not plan to enable
.R
Setting for Setting for Setting for Setting for Setting for
u
Parameter
er
Spanning tree disabled Rapid PVST+ Rapid PVST+ Rapid PVST+ Rapid PVST+
ho
mode
ke
21, 112: 0
P
d.
name
ite
Revision
ib
number
oh
VLAN
pr
mapping
is
n
sio
is
m
er
Priority for
tp
each
ou
instance
ith
w
rt
pa
Other
settings i n
or
l e
ho
w
in
_____________________________________________________________________
c
du
ro
_____________________________________________________________________
ep
.R
_____________________________________________________________________
ly
on
se
_____________________________________________________________________
u
er
ld
_____________________________________________________________________
ho
ke
distribution switches are displayed in the first table below. In the next table,
&L
indicate the settings for the new HP E-Series switches. Again, you are planning
C
Note that, if you are using software version 15, you can set one switch as owner
with priority 255 and still assign a virtual IP address to the VRID. Otherwise, you
must assign both switches as backup to use a different virtual IP address than the
one on the owner.
Loopback 0
IP address 10.1.0.1 10.1.0.2
Table 3-5: Planned IP addressing and VRRP settings for the new HP E-Series
switches
Parameter Setting for HeDist_1 Setting for HeDist_2
VLAN 1
IP address
Helper address
Mode
VRID
Priority
Preempt mode
Virtual IP address
VLAN 2
IP address
Helper address
Mode
VRID
Priority
Preempt mode
Virtual IP address
VLAN 10
IP address
Helper address
Mode
VRID
Priority
Preempt mode
Virtual IP address
VLAN 11
IP address
Helper address
Mode
VRID
Priority
Preempt-mode
Virtual IP address
VLAN 20
IP address
Helper address
Mode
VRID
Priority
Preempt-mode
Virtual IP address
VLAN 21
IP address
Helper address
Mode
VRID
Priority
Preempt mode
Virtual IP address
VLAN 111
IP address
Helper address
VRID
VLAN 112
IP address
Helper address
VRID
Loopback 0
IP address
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
6. Does your plan for IP addressing, including the virtual routing IP addresses,
necessitate any configuration changes at the core or edge? If so, list these
changes:
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
7. Plan the final configuration for the routing protocol. Currently, EIGRP is enabled
on the entire 10.0.0.0/8 network on both core switches and on bath distribution
switches. The table provides a space for you to plan your final settings for OSPF.
Your goal is to ensure that the distribution switches can route traffic between
VLANs 1, 2, 10, 11, 20, and 21 and the core. Several valid designs exist; yours
might not include all of the settings in the table.
Table 3-6: Final OSPF settings
Setting for Setting for Setting for Setting for
Parameter
CCore_1 CCore_2 HeDist_1 HeDist_1
Area
OSPF interfaces
and their area
assignments
Passive
interfaces
Redistribution
settings
Administrative
distance and
metrics
Route summaries
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
CCore_1 CCore_2
d.
.3 .4
ite
VLAN OSPF
VLAN
ib
101 102
oh
MSTP root for IST
.6 MSTP root for
and instance 1 .5
pr
VRRP HeDist_2
instance 2 and
and VRRP Master HeDist_1
VRRP Master for
is
for VLANs 1, 2, Virtual .254
VLANs 20. 21
n
10, 11 or .253
io
Trunks
s
Native VLAN 1
is
Permit All .12
.11
m
LLDP CEdge_1 CEdge_2
er
Static VLAN
tp
MSTP Access
Ports in VLANs
ou
2, 10, 11, 20.21
ith
IP address:
10.X.VLAN.0/24
w
rt
Figure 3 - 5: Proposed final configuration
pa
Migration to open standards i n
or
You learned about migrating to open standards in Module 1, so you should
l e
ho
Layer 3 redundancy
HSRP VRRP
ro
protocol
ep
Layer 2 redundancy
RPVST+ MSTP
.R
For the proposed final configuration, you will migrate the network to all of the
u
protocols listed in the table except GVRP. As you learned in Module 1, while GVRP
er
ld
enables switches to advertise and register for VLAN memberships automatically, just
ho
like VTP, GVRP does not work for heterogeneous environments. Creating the VLANs
ke
statically on the switches will not be complicated, and the final functionality will be
a
St
d.
For this example, you should map the VLANs such that the root and secondary
ite
root roles can be divided as they are in the old distribution layer. You should
ib
oh
always leave at least one VLAN in the IST (instance 0), which allows the HP E-
pr
Series switches to interoperate with switches in different MSTP regions and using
is
different spanning tree protocols. PVST+ and RPVST+ switches use VLAN 1 for
n
interoperation—make sure that all trunks between the HP E-Series and Cisco
io
switches allow VLAN 1. You do not have to use VLAN 1 for the IST, but in this
s
is
proposal you are. You also leave VLANs that are not shared across the region in
m
er
the IST. Note that no configuration is necessary to place a VLAN in the IST; all
tp
VLANs are placed in the IST by default.
ou
Which priorities and costs will you assign to switches?
ith
w
This question is rather straightforward. You would assign the priorities such that
rt
one of the new distribution switches is primary root in the first instance and
pa
secondary root in the second instance and vice versa on the other HP E-Series
switch. i n
or
e
You might also assign a lower cost to the distribution switch-to-switch link to favor
l
ho
it. (In the real-world, this link is often a link aggregation; however the HP E-Series
w
How will you prevent links that are acting like routed links from being blocked?
c tio
MSTP functions differently from RPVST+ in several important ways. It blocks links
du
for an instance regardless of the VLAN configuration. Therefore links such as the
ro
ones shown between the HP E-Series switches and the core could be blocked by
ep
MSTP even though no loop exists in VLAN 101 and VLAN 102. For example, this
.R
would happen if there were a connection between the core switches and they
ly
on
implemented MSTP.
se
To prevent the links from being blocked, you can disable spanning-tree at the
u
root, which does not need to implement this protocol because it connects to the
er
rest of the network on routed links. For failsafe measures, you could also
ld
ho
implement BPDU filters on the HP E-Series switch ports that connect to the core.
ke
And you could enable loop guard on the Cisco core switches in case they are
a
connections.
&L
C
On the other hand, if you plan to connect the new switches as a parallel network
before completing the migration, you must carefully plan the sequence for the
migration to prevent connectivity errors caused by the duplicate addresses. You might
find it simpler to assign the new distribution layer switches new IP addresses and
migrate the configurations in the DHCP scopes, device configurations, and firewall
d.
policies.
ite
ib
This module will describe strategies for both methods. For this proposed
oh
configuration, the first method is selected because it offers fewer opportunities for
pr
errors in the long run. And you will not need to change any of the IP configurations
is
at the core. (However, you will at first use different actual IP addresses on the
n
switches; only the virtual IP addresses will be the same.)
io
s
is
Having decided that you will use the same virtual router IP address for the new
m
switches, you can easily configure the rest of the VRRP settings. You simply need to
er
synchronize the VRRP Master role with the MSTP primary root role in each VLAN.
tp
ou
Table 3-9: Planned IP addressing and VRRP settings for the new HP E-Series
ith
switches
w
Parameter Setting for HeDist_1 Setting for HeDist_2
rt
pa
VLAN 1
IP address 10.1.1.5/24 10.1.1.6/24
Helper address None i n None
or
Mode Backup Backup
l e
VRID 1 1
ho
VLAN 2
c
VRID 2 2
.R
VLAN 10
IP address 10.1.10.5/24 10.1.10.6/24
u
er
VRID 10 10
ke
VLAN 11
C
VLAN 20
IP address 10.1.20.5/24 10.1.20.6/24
Helper address 10.1.2.100 10.1.2.100
Mode Backup Backup
VRID 20 20
Priority 100 254
Preempt-mode Disabled Enabled
Virtual IP address 10.1.20.254/24 10.1.20.254/24
VLAN 21
IP address 10.1.21.5/24 10.1.21.6/24
Helper address 10.1.2.100 10.1.2.100
Mode Backup Backup
VRID 21 21
Priority 100 254
Preempt mode Disabled Enabled
Virtual IP address 10.1.21.254/24 10.1.21.254/24
VLAN 111
IP address 10.0.111.5/24 Not configured
Helper address None —
VRID None —
VLAN 112
IP address Not configured 10.0.112.6/24
Helper address — None
VRID — None
Loopback 0
IP address 10.1.0.5 10.1.0.6
Routing protocol
You need to plan OSPF such that:
The core switches receive routes to the private network from the distribution layer
The distribution layer switches receive core and Internet routes from the core
The distribution switches can act as backup for each other in case one of the
core connections goes down.
There are several ways that you could design OSPF. It is proposed that you configure
the distribution switches as area border routers (ABRs) between area 0, which is at
the core, and an area for this segment of the network. That is, VLAN 111 and VLAN
112 are in area 0, and VLANs 1, 2, 10, 11, 20, and 21 in area 1.
This second area can be a stub area, in which case you would enable OSPF on all
the VLANs in that area and make every VLAN except VLAN 1 a passive interface.
Or you can make the second area normal, in which case you could use passive
interfaces or alternatively only place VLAN 1 in the area and redistribute connected
routes.
You should also consider route summarization. In the proposed configuration, you do
not use route summarization because the network has relatively few subnets.
The proposed configuration is displayed in the table.
d.
Many of the considerations for this process will be familiar to you from Module 1.
ite
However, because you are not only migrating to open standards, but also migrating
ib
to new routing switches at the distribution layer, you might want to follow a slightly
oh
different process for the migration. This section covers the considerations for this
pr
process.
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
ctio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
d.
Switches Migrate When Issues or downtime
ite
Core (and EIGRP to OSPF Anytime before Possible issues, but,
ib
distribution) the new properly done, no
oh
distribution downtime
pr
switches begin to
is
take over routing
n
CDP to LLDP Anytime before Few or none
io
the migration
s
is
Edge (and CDP to LLDP ends
m
distribution) VTP to Static Anytime before Few or none
er
VLANs you move the
tp
edge to the new
ou
distribution layer
ith
RPVST+ to MSTP ? Potentially several
w
issues
rt
pa
Figure 3 - 6: When should you migrate the Cisco switches to open standards?
i n
In the final configuration, Cisco edge and core switches will implement the open
or
standard protocols as the new HP E-Series distribution switches. You must determine
l e
ho
the best time to migrate these switches to the new protocols. Consider these basic
w
issues:
in
Will migrating the protocols while the existing distribution switches remain active
n
tio
The answers to these questions will guide you to the proper time to migrate the
ly
on
Routing protocol
u
er
First examine migrating EIGRP to OSPF. As you learned in Module 1, migrating the
ld
ho
routing protocol in an active network takes planning but can be done without
ke
introducing downtime. In answer to the second question, you would simply need to
a
migrate the protocol before the new distribution switches take over routing.
St
&L
Typically, you should configure OSPF on the existing Cisco distribution switches and
migrate entirely to OSPF before the new switches take over routing.
C
P
Doing so ensures that you have a solid solution in place before you worry about
H
complicating it with a migration. For example, during the migration, you might
connect the Cisco distribution and HP E-Series distribution switches and have the
Cisco switches and HP E-Series switches each route traffic in some VLANs. In that
case, the switches might need a way to communicate routes to each other. You will
learn more later in this module.
You, or the customer, might not want to migrate the Cisco distribution switches to
OSPF because you are removing them. You could try migrating the core to OSPF
d.
before the new distribution switches take over routing, but leaving EIGRP active so
ite
that the Cisco switches can continue routing. You would disable EIGRP at the core
ib
only after migrating all Layer 3 functionality to the new switches.
oh
pr
In a simple network, this strategy could work, but in more complicated network, you
is
open yourself to possibility of creating routing loops and other routing problems.
n
io
Discovery protocol
s
is
m
Migrating the discovery protocol should not cause any issues. The Cisco switches can
er
run CDP and LLDP at the same time, so you can easily enable LLDP at the beginning
tp
of the migration and then disable CDP after completing the migration. If your
ou
network has IP phones that require CDP, you could leave CDP running on the Cisco
ith
edge switches.
w
rt
VTPs to Static VLANs
pa
n
As discussed in Module 1, static 802.1Q VLANs are the best option for a network
i
or
with Cisco and HP devices.
l e
ho
At some point before you remove the Cisco distribution switches, you need to ensure
w
that your network’s VLANs are configured on the edge switches. Otherwise, when
in
the edge switches lose contact with their VTP servers, you could encounter
n
connectivity issues.
ctio
You can use the same process that you practiced in the lab for Module 1 (changing
du
the VTP clients to VTP servers, then changing all switches to VTP transparent mode,
ro
ep
and finally removing the VTP configuration) or a variation. As you observed in the
.R
active network can cause a loss of connectivity. Because PVST+ and MSTP
er
interoperate, you can wait to migrate until after connecting the new switches.
ld
ho
However, you will need to carefully plan how the protocols interoperate to ensure
ke
d.
investigated thoroughly in Module 1:
ite
You must migrate the eventual CIST root to MSTP first—otherwise, PVST+
ib
oh
simulation errors disrupt connections.
pr
However, when you change the spanning tree mode to MSTP on a Cisco switch
is
in a PVST+ environment, the VLANs are disabled and then re-enabled. Initiating
n
io
MSTP on the CIST root (a routing switch) then takes about 30 seconds, during
s
is
which time connectivity is disrupted. You can reduce the initiation time by
m
altering timers, but traffic is still dropped for several seconds.
er
tp
In the final network, only the edge switches among the Cisco switches need to
ou
implement MSTP. For this reason, you might choose to configure MSTP on the
ith
edge switches only. However, the same PVST+ simulations errors will cause
w
problems because you are migrating the edge switches before the CIST root.
rt
pa
During Module 1, you discovered a migration process that reduces downtime to four
n
or five seconds. You can certainly use that same process for this migration as well.
i
or
However, you are now looking at a different scenario, in which the Cisco distribution
e
Q1: What is an alternative process for migrating MSTP that might further reduce
in
downtime?
n
tio
_____________________________________________________________________
c
du
ro
_____________________________________________________________________
ep
.R
_____________________________________________________________________
ly
on
se
_____________________________________________________________________
u
er
ld
_____________________________________________________________________
ho
ake
_____________________________________________________________________
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
d.
Forklift—Schedule an outage. Then simply remove the old switches and add the
ite
new ones.
ib
oh
Parallel network—Set up the new distribution layer in parallel and gradually
pr
migrate functionality to it.
is
n
Replacement—Replace distribution switches one at a time. While you are
io
replacing the switches, part of the old distribution layer and new distribution
s
is
layer will run in parallel.
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
Forklift (cont.)
With your classmates, assess the advantages of the forklift method. Also discuss
potential challenges introduced by this method and disadvantages.
d.
Advantages:
ite
ib
_____________________________________________________________________
oh
pr
_____________________________________________________________________
is
n
sio
_____________________________________________________________________
is
m
er
tp
_____________________________________________________________________
ou
ith
_____________________________________________________________________
w
rt
pa
_____________________________________________________________________
i n
or
_____________________________________________________________________
l e
ho
w
_____________________________________________________________________
in
n
tio
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
_____________________________________________________________________
u se
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
A disadvantage for one environment might not be a grave concern for another.
Brainstorm situations in which you would use the forklift method.
_____________________________________________________________________
d.
_____________________________________________________________________
ite
ib
oh
_____________________________________________________________________
pr
is
n
_____________________________________________________________________
sio
is
m
_____________________________________________________________________
er
tp
ou
_____________________________________________________________________
ith
w
_____________________________________________________________________
rt
pa
i n
_____________________________________________________________________
or
l e
ho
_____________________________________________________________________
w
in
n
_____________________________________________________________________
c tio
du
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
_____________________________________________________________________
use
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
_____________________________________________________________________
Parallel network
2—Add the parallel
network
d.
ite
1—Configure Cisco
Cisco
the new
ib
switches offline
oh
pr
HP E-Series
is
Cisco Cisco HP E-Series
n
sio
1—Begin
is
m
migration to
er
open standards
tp
ou
Cisco Cisco
ith
w
rt
Figure 3 - 8: Parallel network
pa
n
In this strategy, you add the new distribution layer as a parallel network and
i
or
gradually migrate functionality to it.
le
1. In a first step, similar to the forklift method’s first step, you configure the new
ho
switches offline. You also begin to migrate Cisco switches to open standards,
w
in
However, unlike the forklift method, you must consider how the HP E-Series
c
configuration will interact with the existing configuration. For example, you
du
cannot simply assign the E-Series switches the default gateway IP addresses
ro
all of the settings at this point but not to enable them until they are required. In
.R
the slides to follow, you will explore the best times to enable particular features.
ly
on
2. Next, you connect the HP E-Series switches as a parallel network. The figure
se
a. Connect the two new distribution layer switches to the two existing
ld
b. Connect all of the edge switches to one of the new distribution layer
a
switches.
St
&L
You can vary this strategy as called on by your environment. For example, you
might connect both HP E-Series switches to the core. Or you might distribute the
edge switch connections between the new distribution switches. You can connect
the parallel network as you desire; simply ensure that these criteria are met:
d.
• The new distribution layer connects to the old distribution layer on one link
ite
or aggregated link, which simplifies the spanning tree topology.
ib
oh
• Each HP E-Series switch connects to the core before you start migrating
pr
routing functionality to that switch.
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
ctio
du
ro
ep
.R
ly
on
se
u
er
ld
ho
ake
St
&L
C
P
H
d.
forklift migration. You will now look more closely at some potential trouble spots
ite
during the migration:
ib
oh
Connecting the parallel network—Will STP convergence cause any downtime?
pr
Without STP, will loops occur?
is
Migrating the edge:
n
io
• How can you minimize downtime?
s
is
m
• How will the new traffic flow affect the network?
er
tp
Migrating the routing functionality
ou
• When will you migrate the functionality?
ith
w
• What mechanisms will you use?
rt
pa
You will now explore these issues so that you will fully comprehend the potential
n
pitfalls—and plan ways to avoid them.
i
or
l e
ho
w
in
n
ctio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
d.
ite
ib
Based on the
oh
Cisco
configuration, what
pr
happens when you
connect the parallel
is
RPVST+ root for RPVST+ root for network?
n
VLANs 1, 2, 10, 11 VLANs 20, 21
io
Cisco
s
HP E-Series
is
m
er
tp
Legend
ou
ith
Cisco Blocked by RPVST+ on VLANs 1, 2, 10, 11
w
Blocked by RPVST+ on VLANs 20, 21
rt
pa
Figure 3 - 10: Potential problem spot 1: STP behavior when you connect the parallel network
i n
or
You will first explore the type of issues that might occur when you connect the HP E-
e
Series switches as a parallel network. As discussed earlier, you will very probably
l
ho
have the Cisco switches still implementing Rapid PVST+ and the HP E-Series switches
w
implementing MSTP. The two protocols can interoperate, but you should carefully
in
consider how they will interoperate so that you can proceed in the migration with
n
tio
confidence.
c
du
The figure displays the RPVST+ topology before you connect the parallel network.
ro
The sections below display the configuration for the Cisco switches and for the HP E-
ep
Series switches. (Hint: The boldface settings in each configuration are the most
.R
Based on the configuration, what occurs when you connect the new switches?
u se
_____________________________________________________________________
er
ld
ho
_____________________________________________________________________
ake
St
_____________________________________________________________________
&L
C
_____________________________________________________________________
P
H
_____________________________________________________________________
_____________________________________________________________________
d.
What steps could you take to solve the problem?
ite
ib
_____________________________________________________________________
oh
pr
is
_____________________________________________________________________
n
sio
is
_____________________________________________________________________
m
er
tp
_____________________________________________________________________
ou
ith
_____________________________________________________________________
w
rt
pa
_____________________________________________________________________
i n
or
e
hostname CCore_1
in
n
tio
vlan 100
c
vlan 111
du
ro
ep
ip subnet-zero
.R
ly
on
ip routing
use
interface Loopback0
ke
interface GigabitEthernet1/0/1
C
description to CDist_1
P
H
interface GigabitEthernet1/0/2
description to CCore_2
switchport access vlan 100
switchport mode access
d.
ite
interface GigabitEthernet1/0/3
ib
description to HeDist_1
oh
switchport access vlan 111
pr
switchport mode access
is
n
sio
interface Vlan100
is
m
ip address 10.0.100.3 255.255.255.0
er
tp
ou
interface Vlan111
ith
ip address 10.0.111.3 255.255.255.0
w
rt
pa
router eigrp 1
network 10.0.0.0
i n
or
l e
ho
hostname CCore_2
c tio
du
vlan 100
ro
ep
vlan 112
.R
ly
ip subnet-zero
on
u se
ip routing
er
ld
ho
interface Loopback0
&L
interface GigabitEthernet1/0/1
description to CDist_2
switchport access vlan 112
switchport mode access
interface GigabitEthernet1/0/2
description to CCore_1
switchport access vlan 100
switchport mode access
d.
ite
interface Vlan100
ib
ip address 10.0.100.4 255.255.255.0
oh
pr
is
interface Vlan112
n
ip address 10.0.112.4 255.255.255.0
sio
is
m
router eigrp 1
er
tp
network 10.0.0.0
ou
The switch’s MAC address is 001de5-00004.
ith
w
Cisco Distribution 1 configuration
rt
pa
hostname CDist_1
i n
or
ip subnet-zero
l e
ip routing
ho
w
in
lldp run
n
tio
Vlan 2
on
Vlan 10
se
Vlan 11
u
er
Vlan 20
ld
Vlan 21
ho
Vlan 111
ake
St
interface Loopback0
&L
interface GigabitEthernet1/0/1
description to CEdge_1
switchport trunk encapsulation dot1q
interface GigabitEthernet1/0/2
description to CEdge_2
d.
switchport trunk encapsulation dot1q
ite
switchport mode trunk
ib
oh
pr
interface GigabitEthernet1/0/3
is
description to CDist_2
n
switchport trunk encapsulation dot1q
sio
switchport mode trunk
is
m
er
tp
interface GigabitEthernet1/0/4
ou
description to CCore_1
ith
switchport access vlan 111
w
switchport mode access
rt
spanning-tree bpdufilter enable
pa
i n
or
interface GigabitEthernet1/0/5
e
description to HeDist_1
l
ho
interface Vlan1
c
du
standby 1 ip 10.1.1.254
ep
standby 1 preempt
ly
on
interface Vlan2
se
standby 1 ip 10.1.2.254
ld
standby 1 preempt
ake
St
standby 1 ip 10.1.2.254
C
standby 1 preempt
interface Vlan10
ip address 10.1.10.1 255.255.255.0
ip helper-address 10.1.2.100
standby 10 ip 10.1.10.254
standby 10 priority 255
standby 10 preempt
d.
ite
interface Vlan11
ib
ip address 10.1.11.1 255.255.255.0
oh
ip helper-address 10.1.2.100
pr
standby 11 ip 10.1.11.254
is
n
standby 11 priority 255
io
standby 11 preempt
s
is
m
er
interface Vlan20
tp
ip address 10.1.20.1 255.255.255.0
ou
ip helper-address 10.1.2.100
ith
standby 20 ip 10.1.20.254
w
rt
pa
interface Vlan21
ip address 10.1.21.1 255.255.255.0 i n
or
ip helper-address 10.1.2.100
l e
standby 21 ip 10.1.21.254
ho
w
in
interface Vlan111
n
tio
router ospf 1
ep
area 1 stub
.R
passive-interface vlan 2
ke
passive-interface vlan 10
a
passive-interface vlan 11
St
passive-interface vlan 20
&L
passive-interface vlan 21
C
P
H
ip classless
d.
ite
ib
oh
lldp run
pr
spanning-tree mode rapid-pvst
is
spanning-tree extend system-id
n
io
spanning-tree vlan 1,2,10-11,111-112 priority 4096
s
spanning-tree vlan 20-21 priority 0
is
m
er
tp
Vlan 2
ou
Vlan 10
ith
Vlan 11
w
Vlan 20
rt
Vlan 21
pa
Vlan 111
i n
or
e
interface Loopback0
l
ho
interface GigabitEthernet1/0/1
tio
description to CEdge_2
c
du
interface GigabitEthernet1/0/2
ly
on
description to CEdge_1
switchport trunk encapsulation dot1q
se
interface GigabitEthernet1/0/3
ke
description to CDist_1
a
interface GigabitEthernet1/0/4
H
description to CCore_2
switchport access vlan 112
switchport mode access
interface Vlan1
ip address 10.1.1.2 255.255.255.0
d.
standby 1 ip 10.1.1.254
ite
ib
oh
interface Vlan2
pr
ip address 10.1.2.2 255.255.255.0
is
standby 1 ip 10.1.2.254
n
sio
is
interface Vlan10
m
ip address 10.1.10.2 255.255.255.0
er
tp
ip helper-address 10.1.2.100
ou
standby 10 ip 10.1.10.254
ith
w
interface Vlan11
rt
pa
ip address 10.1.11.2 255.255.255.0
ip helper-address 10.1.2.100
i n
or
standby 11 ip 10.1.11.254
l e
ho
interface Vlan20
w
ip helper-address 10.1.2.100
n
tio
standby 20 ip 10.1.20.254
c
du
standby 1 preempt
ep
.R
interface Vlan21
ly
on
standby 21 ip 10.1.21.254
u
er
standby 1 preempt
ho
ke
interface Vlan112
a
St
router ospf 1
P
H
area 1 stub
network 10.1.0.0 0.0.0.255 area 0
network 10.1.1.0 0.0.0.255 area 1
network 10.1.2.0 0.0.0.255 area 1
network 10.1.10.0 0.0.1.255 area 1
Rev. 11.21 3 –49
BitSpyder - The Culture of Knowledge
d.
ite
passive-interface vlan 20
ib
passive-interface vlan 21
oh
pr
is
ip classless
n
io
The switch’s MAC address is 001de5-00002.
s
is
m
Cisco Edge 1 configuration
er
tp
hostname CEdge_1
ou
ith
w
rt
spanning-tree mode rapid-pvst
pa
spanning-tree portfast default
spanning-tree extend system-id i n
or
l e
ho
Vlan 2
w
Vlan 10
in
Vlan 11
n
Vlan 20
c tio
Vlan 21
du
ro
ep
interface GigabitEthernet1/0/1
.R
description to CDist_1
ly
interface GigabitEthernet1/0/2
ld
description to CDist_2
ho
interface GigabitEthernet1/0/3
C
description toServer
P
interface GigabitEthernet1/0/4
description to HeDist_1
switchport trunk encapsulation dot1q
switchport mode trunk
d.
ite
interface Vlan1
ib
ip address 10.1.1.11 255.255.255.0
oh
pr
is
ip default-gateway 10.1.1.254
n
ip classless
sio
is
m
The switch’s MAC address is 001de5-00011.
er
tp
Cisco Edge 2 configuration
ou
ith
hostname CEdge_2
w
rt
pa
spanning-tree mode rapid-pvst
n
spanning-tree portfast default
i
or
spanning-tree extend system-id
l e
ho
Vlan 2
w
Vlan 10
in
n
Vlan 11
tio
Vlan 20
c
du
Vlan 21
ro
ep
.R
interface GigabitEthernet1/0/1
ly
description to CDist_1
on
interface GigabitEthernet1/0/2
ho
description to CDist_2
ke
interface GigabitEthernet1/0/3
P
H
description toClient
switchport access vlan 21
switchport mode access
interface GigabitEthernet1/0/4
description to HeDist_1
switchport trunk encapsulation dot1q
switchport mode trunk
d.
ite
interface Vlan1
ib
ip address 10.1.1.11 255.255.255.0
oh
pr
is
ip default-gateway 10.1.1.254
n
sio
is
The switch’s MAC address is 001de5-00012.
m
er
HP E-Series Distribution 1 configuration
tp
ou
Note that, on HP E-Series switches, all VLANs not explicitly assigned to an MSTP
ith
instance are in the IST (instance 0).
w
hostname "HeDist_1"
rt
pa
ip routing
vlan 1 i n
or
e
name "DEFAULT_VLAN"
l
ho
w
untagged 1-3,5-24
in
no untagged 4
c
du
exit
ro
ep
vlan 10
.R
name "VLAN10"
ly
on
ip helper-address 10.1.2.100
se
tagged 1-3,5
ld
ho
exit
ke
vlan 11
a
St
name "VLAN11"
&L
C
ip helper-address 10.1.2.100
P
tagged 1-3,5
exit
vlan 20
3 –52 Rev. 11.21
BitSpyder - The Culture of Knowledge
name "VLAN20"
ip helper-address 10.1.2.100
ip address 10.1.20.5 255.255.255.0
d.
tagged 1-3,5
ite
exit
ib
oh
vlan 21
pr
name "VLAN21"
is
n
io
ip helper-address 10.1.2.100
s
is
ip address 10.1.21.5 255.255.255.0
m
er
tagged 1-3,5
tp
ou
exit
ith
vlan 111
w
rt
name "VLAN111"
pa
untagged 4
i n
or
ip address 10.0.111.5 255.255.255.0
l e
exit
ho
w
interface loopback 0
in
router ospf
ro
ep
exit
ly
on
spanning-tree
u
er
spanning-tree 4 bpdu-filter
ld
ho
spanning-tree config-revision 1
St
vlan 1
ip ospf 10.1.1.5 area 0.0.0.1
vrrp vrid 1
d.
backup
ite
virtual-ip-address 10.1.1.254 255.255.255.0
ib
oh
priority 254
pr
exit
is
n
io
exit
s
is
vlan 2
m
er
ip ospf 10.1.2.5 area 0.0.0.1
tp
ou
vrrp vrid 2
ith
backup
w
rt
virtual-ip-address 10.1.2.254 255.255.255.0
pa
priority 254
i n
or
exit
l e
exit
ho
w
vlan 10
in
vrrp vrid 10
c
du
backup
ro
ep
priority 254
ly
on
exit
se
exit
u
er
vlan 11
ld
ho
vrrp vrid 11
St
backup
&L
C
priority 254
exit
exit
vlan 20
ip ospf 10.1.20.5 area 0.0.0.1
vrrp vrid 20
d.
backup
ite
virtual-ip-address 10.1.20.254 255.255.255.0
ib
oh
exit
pr
exit
is
n
io
vlan 21
s
is
ip ospf 10.1.21.5 area 0.0.0.1
m
er
vrrp vrid 21
tp
ou
backup
ith
virtual-ip-address 10.1.21.254 255.255.255.0
w
rt
exit
pa
exit
i n
or
vlan 111
l e
exit
in
Note that, on HP E-Series switches, all VLANs not explicitly assigned to an MSTP
ep
hostname "HeDist_2"
ly
on
ip routing
se
vlan 1
u
er
name "DEFAULT_VLAN"
ld
ho
untagged 1-3,5-24
ke
no untagged 4
&L
C
exit
P
H
vlan 10
name "VLAN10"
ip helper-address 10.1.2.100
d.
vlan 11
ite
name "VLAN11"
ib
oh
ip helper-address 10.1.2.100
pr
ip address 10.1.11.6 255.255.255.0
is
n
io
tagged 1-3,5
s
is
exit
m
er
vlan 20
tp
ou
name "VLAN20"
ith
ip helper-address 10.1.2.100
w
rt
ip address 10.1.20.6 255.255.255.0
pa
tagged 1-3,5
i n
or
exit
l e
vlan 21
ho
w
name "VLAN21"
in
ip helper-address 10.1.2.100
n
tio
tagged 1-3,5
ro
ep
exit
.R
vlan 112
ly
on
name "VLAN112"
se
untagged 4
u
er
exit
ake
interface loopback 0
St
router ospf
area 0.0.0.1 stub 10
exit
d.
spanning-tree config-name "migration"
ite
spanning-tree config-revision 1
ib
oh
spanning-tree instance 1 vlan 10 11
pr
spanning-tree instance 1 priority 1
is
n
io
spanning-tree instance 2 vlan 20 21
s
is
spanning-tree instance 2 priority 0
m
er
spanning-tree priority 1
tp
ou
vlan 1
ith
ip ospf 10.1.1.6 area 0.0.0.1
w
rt
vrrp vrid 1
pa
backup
i n
or
virtual-ip-address 10.1.1.254 255.255.255.0
l e
exit
ho
w
exit
in
vlan 2
n
tio
vrrp vrid 2
ro
ep
backup
.R
exit
se
exit
u
er
vlan 10
ld
ho
vrrp vrid 10
St
backup
&L
C
exit
exit
vlan 11
d.
virtual-ip-address 10.1.11.254 255.255.255.0
ite
exit
ib
oh
exit
pr
vlan 20
is
n
io
ip ospf 10.1.20.6 area 0.0.0.1
s
is
vrrp vrid 20
m
er
backup
tp
ou
virtual-ip-address 10.1.20.254 255.255.255.0
ith
priority 254
w
rt
exit
pa
exit
i n
or
vlan 21
l e
vrrp vrid 21
in
backup
n
tio
priority 254
ro
ep
exit
.R
exit
ly
on
vlan 112
se
exit
ld
ho
Answer
d.
ite
Cisco
ib
VLAN 1 might experience
oh
downtime when the HP E- Temporarily block
pr
Series IST advertises itself designated ports when it
receives a better BPDU.
is
with a low priority.
Cisco
n
HP E-Series
s io
is
m
Solution: Set the new
er
distribution switches’ IST
tp
priorities higher than the
ou
Cisco priority for the current
ith
VLAN 1.
w
rt
Figure 3 - 11: Answer
pa
Did you arrive at this answer?
i n
or
MSTP and RPVST+ interoperate on VLAN 1. The HP E-Series switches use the settings
e
for the IST root in the election for the bridge in this VLAN. Because HP E-Series switch
l
ho
E and Cisco switch A both have 0 priority, an election is held. Either the Cisco switch
w
or the E-Series switch might become root based on which one has the lower MAC
in
To prevent this situation from occurring, you should set the new distribution switches’
c
du
IST priorities higher than the current VLAN 1 root priority. On the other hand, the
ro
new distribution switches’ priorities should also be lower than the default priority used
ep
by the edge switches. Therefore, you could set the IST priorities on the HP E-Series to
.R
d.
ite
ib
Method RVSTP+ behavior
oh
pr
Disable the connection at • After detecting that the link is down,
the old distribution switch. the edge switch opens an alternative
is
port.
n
• But an alternative port on the other
io
side is opened only after the
s
is
topology reconverges.
m
Remove the connection • The edge switch immediately opens
er
physically an alternative port.
tp
• But an alternative port on the other
ou
Disable the connection at side is opened only after the
ith
the edge switch. topology reconverges.
w
rt
Figure 3 - 12: Potential problem spot 2: Migrating the edge
pa
Assume that you are at the point in the migration in which each edge switch is
i n
connected to at least one Cisco distribution switch and one HP E-Series distribution
or
switch. RPVST+/MSTP are eliminating loops. You want to remove the connection to
l e
ho
the Cisco switch and have the connection to the HP E-Series switch open as quickly
w
and seamlessly as possible. You must consider RPVST+ behavior to select the best
in
method.
n
tio
goes down? Only after the edge switch realizes that the connection has been lost
ro
(which might take a second or two) does the edge switch open an alternative port. If,
ep
the switch has the designated port in the blocked link, and the other side has the
.R
alternative port, the link take might take even longer to open. It does so only after the
ly
The same principles apply when the connection is disabled on the other side. After
se
the switch detects that it is no longer receiving BPDUs, it opens the alternative port if
u
er
it has this port. Otherwise, after the topology reconverges, the switch on the other
ld
When you disable the connection at the edge switch, it immediately opens the
a
alternative port. Again, if the other side has the alternative port, the topology must
St
In summary, to migrate an edge switch to the new distribution switch most seamlessly,
C
you ensure that the switch is connected to both a Cisco distribution switch and an HP
P
H
E-Series switch. Next ensure that the port that connects to the HP E-Series switch is
listed as an alternate port. Finally, disable (or disconnect) the port that connects to
the Cisco switch. The edge switch will rapidly open the alternate port to the HP E-
Series switch, maintaining connectivity for its endpoints.
d.
Based on the
ite
configuration, which
ib
ports are blocked?
oh
Cisco
pr
is
n
io
Cisco
s
HP E-Series
is
m
er
tp
ou
ith
Cisco
w
rt
pa
Figure 3 - 13: Activity: Analyzing your readiness for a quick migration
i n
or
You will now consider methods to ensure that your edge switches have this desired
e
configuration (port that connects to the HP E-Series switch is the alternate port on
l
ho
each VLAN).
w
in
The sections below display each switch’s configuration, which are identical to the
n
configurations for the previous activity with the exception that the HP E-Series
tio
switches’ IST priorities have been raised. Only the most relevant settings are provided
c
du
in these sections. For other settings, you can assume that the switches are using the
ro
Based on these configurations, which ports are blocked as alternate ports in each
.R
VLAN when you connect the HP E-Series switches to the network? Mark the blocked
ly
on
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
_____________________________________________________________________
H
d.
ite
spanning-tree extend system-id
ib
spanning-tree vlan 1,2,10-11,111-112 priority 0
oh
spanning-tree vlan 20-21 priority 4096
pr
is
n
interface GigabitEthernet1/0/1
io
description to CEdge_1
s
is
switchport trunk encapsulation dot1q
m
er
switchport mode trunk
tp
ou
interface GigabitEthernet1/0/2
ith
description to CEdge_2
w
rt
switchport trunk encapsulation dot1q
pa
switchport mode trunk
i n
or
interface GigabitEthernet1/0/3
l e
ho
description to CDist_2
w
interface GigabitEthernet1/0/4
du
description to CCore_1
ro
ep
interface GigabitEthernet1/0/5
u
description to HeDist_1
er
ld
hostname CDist_2
C
P
interface GigabitEthernet1/0/1
description to CEdge_2
switchport trunk encapsulation dot1q
switchport mode trunk
d.
ite
interface GigabitEthernet1/0/2
ib
description to CEdge_1
oh
switchport trunk encapsulation dot1q
pr
switchport mode trunk
is
n
sio
interface GigabitEthernet1/0/3
is
m
description to CDist_1
er
switchport trunk encapsulation dot1q
tp
switchport mode trunk
ou
ith
w
interface GigabitEthernet1/0/4
rt
description to CCore_2
pa
switchport access vlan 112
switchport mode access i n
or
spanning-tree bpdufilter enable
l e
ho
w
hostname CEdge_1
c tio
du
Vlan 2
se
Vlan 10
u
Vlan 11
er
ld
Vlan 20
ho
Vlan 21
ake
St
interface GigabitEthernet1/0/1
&L
description to CDist_1
C
interface GigabitEthernet1/0/2
description to CDist_2
switchport trunk encapsulation dot1q
Rev. 11.21 3 –63
BitSpyder - The Culture of Knowledge
interface GigabitEthernet1/0/3
description toServer
d.
switchport access vlan 2
ite
switchport mode access
ib
oh
pr
interface GigabitEthernet1/0/4
is
description to HeDist_1
n
switchport trunk encapsulation dot1q
sio
switchport mode trunk
is
m
er
tp
Cisco Edge 2 configuration
ou
hostname CEdge_2
ith
w
rt
spanning-tree mode rapid-pvst
pa
spanning-tree portfast default
spanning-tree extend system-id i n
or
l e
ho
Vlan 2
w
Vlan 10
in
Vlan 11
n
tio
Vlan 20
c
Vlan 21
du
ro
ep
interface GigabitEthernet1/0/1
.R
description to CDist_1
ly
on
interface GigabitEthernet1/0/2
ld
ho
description to CDist_2
ke
interface GigabitEthernet1/0/3
P
description toClient
H
interface GigabitEthernet1/0/4
description to HeDist_1
switchport trunk encapsulation dot1q
switchport mode trunk
d.
ite
HP E-Series Distribution 1 configuration
ib
oh
Note that, on HP E-Series switches, all VLANs not explicitly assigned to an MSTP
pr
instance are in the IST (instance 0).
is
n
hostname "HeDist_1"
sio
vlan 1
is
m
untagged 1-3,5-24
er
tp
no untagged 4
ou
ith
vlan 10
w
tagged 1-3,5
rt
pa
vlan 11
tagged 1-3,5 i n
or
e
vlan 20
l
ho
tagged 1-3,5
w
in
vlan 21
n
tio
tagged 1-3,5
c
du
vlan 111
ro
ep
untagged 4
.R
spanning-tree
ly
on
spanning-tree 4 bpdu-filter
se
spanning-tree config-revision 1
ld
ho
spanning-tree priority 2
H
d.
ite
hostname "HeDist_1"
ib
oh
vlan 1
pr
untagged 1-3,5-24
is
n
no untagged 4
sio
is
vlan 10
m
er
tagged 1-3,5
tp
vlan 11
ou
ith
tagged 1-3,5
w
vlan 20
rt
pa
tagged 1-3,5
i n
or
vlan 21
e
tagged 1-3,5
l
ho
w
vlan 112
in
untagged 4
n
tio
spanning-tree
c
du
spanning-tree 4 bpdu-filter
ro
ep
spanning-tree config-revision 1
ly
on
spanning-tree priority 3
a
St
&L
C
P
H
Answer: VLAN y1
d.
ite
Cisco
ib
oh
pr
is
Root
Cisco
HP E-Series
n
ios
is
m
er
tp
Legend
Cisco Blocked by RPVST+ on VLAN 1
ou
Blocked on all VLANs by MSTP
ith
w
rt
Figure 3 - 14: Answer: VLAN 1
pa
Here you see the answer for VLAN 1, which is the VLAN on which RVPST+ and MSTP
i n
interoperate. Each Cisco edge switch defines the port that connects to the secondary
or
root in VLAN 1 as an alternate port and blocks it. However, the port that connects to
le
ho
the HP E-Series switch is selected as the designated port because the Cisco switches,
w
using the default RPVST+ cost method, advertise a lower root path cost than the HP E-
in
Series switches.
n
tio
The HP E-Series switch, in turn, defines the ports that connect to the Cisco edge
c
du
switches as alternate ports and blocks them. Because MSTP interoperates on the CIST
ro
As you will see in a moment, this configuration can cause migration problems. First,
.R
d.
ite
Cisco
ib
oh
pr
is
Root
Cisco HP E-Series
n
Drops RPVST+ BPDUs
io
on blocked ports
s
is
m
er
Legend
tp
Blocked by RPVST+ on VLANs 2, 10, 11
ou
Cisco
Blocked by RPVST+ on VLANs 20, 21
Blocked on all VLANs by MSTP
ith
w
Figure 3 - 15: Answer: Other VLANs
rt
pa
In other VLANs, the edge switches define the port that connects to the primary root
i n
for those VLANs as the root port. The other port that connects to a Cisco switch is a
or
blocked alternate port. This configuration is as it should be because it provides a
l e
ho
However, the status for the port that connects to the HP E-Series switch is more
in
problematic. The HP E-Series switches would simply pass RPVST+ BPDUs on other
n
tio
VLANs, appearing like a hub. However, MSTP has blocked the ports, preventing the
c
BPDUs from passing. Therefore, the edge switches leave these ports open as
du
designated ports that are not receiving BPDUs. Because the HP E-Series switches
ro
ep
block the ports, loops do not occur. However, this configuration is not ideal for the
.R
d.
What happens when
ite
you disable Ports 1
ib
Cisco and 2 on the edge
oh
switches?
pr
is
n
io
Cisco
HP E-Series
s
is
m
er
tp
P2
P2 Legend
ou
P1 P1
ith
Cisco Blocked by RPVST+ on VLANs 1, 2, 10, 11
w
Blocked by RPVST+ on VLANs 20, 21
Blocked on all VLANs by MSTP
rt
pa
Figure 3 - 16: Activity: Continuing to analyze your readiness for a seamless migration
i n
or
The figure shows the RPVST+/MSTP topology that you have determined that this
e
What do you expect will happen when you disable port 1 on each edge switch?
w
in
_____________________________________________________________________
n
tio
c
du
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
What do you expect will happen when you then disable port 2 on each edge
se
switch?
u
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
Answers
When you disable Port 1, the alternate port immediately opens for VLANs 1, 2,
10, and 11.
d.
However, when you disable Port 2, connectivity is temporarily lost in all VLANs
ite
while the topology reconverges. The downtime will be quite short, probably only
ib
oh
a second or perhaps a bit longer for a network with a more complicated
pr
topology.
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
Answers
To create the optimal spanning tree topology, you should take one, or preferably all,
of these steps:
d.
Set the path cost method to long on the Cisco switches.
ite
ib
Cisco(config)# spanning-tree pathcost method long
oh
Reduce the cost on the IST for the ports that connect the HP E-Series distribution
pr
is
n
io
HP-E(config)# spanning-tree <port ID> cost 5000
s
is
Set the IST priority lower on the HP E-Series switches than on the edge (but
m
er
tp
HP-E(config)# spanning-tree priority <2-7>
ou
ith
Changing the path cost method on the Cisco switches ensures that the HP E-Series
w
switches and Cisco switches assign the same cost to links with the same speeds. This
rt
configuration might be enough to ensure that the HP E-Series switch to which the
pa
edge switches connect offers the same root path cost as the Cisco switches.
i n
However, as in the illustrated topology, the HP E-Series switch might not be directly
or
connected to the VLAN 1 root. In that case, you would need to take further steps to
l e
ho
ensure a lower path cost on the HP E-Series switch. You could alter the port cost on
w
each switch-to-switch port between the HP E-Series switch and the Cisco VLAN 1
in
root. In fact, in a real world scenario, these switches might connect with link
n
default use the port cost for the link with the highest bandwidth. Therefore; you must
ro
Finally, to ensure that when the E-Series and Cisco edge switches’ root path costs tie,
ly
the E-Series switches are selected as the designated switches, set the IST priority on
on
d.
edge switches connections (step 3 in the process that you examined earlier)
ite
ib
The primary difference between the two approaches will be the traffic flow:
oh
pr
If you migrate the default gateway functionality before migrating the edge switch
is
connections, all traffic will flow across the link between the parallel distribution
n
layers until you migrate the edge connections.
sio
If you migrate the edge connections first, all traffic will flow across the link
is
m
between the parallel distribution layers until you migrate the default gateway
er
functionality.
tp
ou
As long as the link can handle the traffic during the migration, you need not be
ith
concerned.
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
_____________________________________________________________________
_____________________________________________________________________
d.
_____________________________________________________________________
ite
ib
oh
_____________________________________________________________________
pr
is
n
_____________________________________________________________________
sio
is
m
_____________________________________________________________________
er
tp
ou
_____________________________________________________________________
ith
w
_____________________________________________________________________
rt
pa
i n
_____________________________________________________________________
or
l e
ho
_____________________________________________________________________
w
in
n
Unfortunately, this exact process will usually not work quite as smoothly as you might
ro
anticipate. Many endpoints, including those running Windows OSs, might not accept
ep
the gratuitous ARP message. This means that, unfortunately, you probably will not be
.R
Because Windows endpoints make up the majority of most networks, you will find it
se
A Windows OS (this description is for Vista and later) has an ARP cache that consists
er
ld
of static entries (added manually) and dynamic entries (discovered through ARP
ho
requests). The Windows device will continue to use the same ARP entry as long as
ke
the entry is reachable, which means that traffic reaches it. A reachable entry
a
St
becomes stale after not being used for a random interval between 15 and 45
seconds. If the Windows device needs to reach the IP address in a stale entry again,
&L
If, on the other hand, an address in a reachable entry becomes unreachable, the
H
Windows devices will reattempt two or three times before sending a new ARP
request.
Q1: What will happen in a typical network full of Windows devices if you implement
the process discussed on the previous slide:
Rev. 11.21 3 –77
BitSpyder - The Culture of Knowledge
Configuring all VRRP settings on the HP E-Series switches but not enabling VRRP
Enabling VRRP globally and on one VLAN on one HP switch
Waiting a moment for the gratuitous ARP to propagate
d.
Disabling the VLAN interface on Cisco routing switch or switches
ite
Will the network be disrupted and, if so, to what extent, and for how long?
ib
oh
pr
_____________________________________________________________________
is
n
io
_____________________________________________________________________
s
is
m
_____________________________________________________________________
er
tp
ou
_____________________________________________________________________
ith
w
rt
_____________________________________________________________________
pa
i n
_____________________________________________________________________
or
l e
ho
Q2: Based on typical Windows behavior, what will happen if you delay too long
w
between enabling VRRP on a VLAN on the new HP switch and disabling that VLAN
in
_____________________________________________________________________
du
ro
ep
_____________________________________________________________________
.R
ly
on
_____________________________________________________________________
u se
_____________________________________________________________________
er
ld
ho
_____________________________________________________________________
ake
St
_____________________________________________________________________
&L
C
P
_____________________________________________________________________
H
_____________________________________________________________________
d.
addresses as the current routing switches:
ite
1. Configure VRRP settings on each user VLAN on the new distribution switches.
ib
oh
2. Ensure that at least one of the new distribution switches has established
pr
adjacency with the core and is ready to route.
is
n
3. Move routing functionality to a single Cisco distribution switch.
sio
This step is optional. However, it is recommended because it allows you only to
is
m
disable the VLAN interface on only one Cisco switch as you migrate the virtual
er
address to the HP E-Series switches. Therefore, you might find the process less
tp
complicated and more seamless.
ou
ith
If you have time, you can experiment with completing and not completing this
w
step in the lab and discover which you prefer.
rt
pa
If you do complete this step, you must carefully consider how to move the
n
functionality to the single switch in the HSRP group. However, because you will
i
or
explore such strategies later in this module, you will not stop to consider them
e
now.
l
ho
4. In a moment, you will begin to shut down VLAN interfaces on the Cisco
w
distribution switch (or switches). Because the Cisco switch will temporarily
in
n
continue to route traffic for endpoints in some VLANs, you must ensure that it will
tio
Otherwise, endpoints in other VLANs (which still use the Cisco switch as their
ro
default gateway) will not be able to reach the VLAN that you migrated to the HP
ep
E-Series switch.
.R
ly
You will not encounter a problem as long as your Cisco distribution switch has a
on
default route to the core, and the core has learned routes through the HP E-Series
se
switch to the VLANs that you are migrating. If this is not the case in your
u
environment, you could create a default route to the core manually. Or you could
er
create a default route to the new HP E-Series switch on VLAN 1 and shut down
ld
ho
VLAN 1 last. Or you could use OSPF to communicate the routes. In this case,
ke
you must ensure that OSPF is active on both the Cisco switch and the HP E-Series
a
switch in one of the VLANs that is still active on the Cisco switch.
St
&L
In the lab, you will observe the relatively brief downtime that this strategy might
P
involve, and you can communicate this observation to the customer. Often it is
H
better practice to schedule a brief outage than to disrupt users without warning,
however briefly.
Note
In the lab, you will experiment with adding a static ARP entry and clearing an
endpoint’s ARP cache to eliminate the downtime completely. However, this
process does not use that technique, which can be difficult to implement in a real-
world network with a great many endpoints running different OSs.
d.
ite
ib
6. Prepare to shut down the VLAN interface on the active Cisco routing switch but
oh
do not do so yet. Then enable VRRP on one of the new distribution switches.
pr
Enable VRRP on one VLAN on one new distribution switch. (Again, it is simpler
is
to migrate the IP address when you are dealing with only one switch.)
n
io
7. Shut down the VLAN interface on the Cisco routing switch.
s
is
m
Clients will detect the issue and send an ARP request for the new MAC address,
er
restoring their connectivity to other subnets within two to five seconds.
tp
ou
8. Repeat the process for each VLAN.
ith
9. After the migration is complete, you can remove the old switches and then
w
enable VRRP on the other new switch.
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
_____________________________________________________________________
_____________________________________________________________________
d.
_____________________________________________________________________
ite
ib
oh
_____________________________________________________________________
pr
is
n
_____________________________________________________________________
sio
is
m
_____________________________________________________________________
er
tp
ou
_____________________________________________________________________
ith
w
_____________________________________________________________________
rt
pa
i n
_____________________________________________________________________
or
l e
ho
_____________________________________________________________________
w
in
n
_____________________________________________________________________
ctio
du
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
_____________________________________________________________________
se
u
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
d.
Advantages:
ite
ib
_____________________________________________________________________
oh
pr
_____________________________________________________________________
is
n
sio
_____________________________________________________________________
is
m
er
tp
_____________________________________________________________________
ou
ith
_____________________________________________________________________
w
rt
pa
_____________________________________________________________________
i n
or
_____________________________________________________________________
l e
ho
w
_____________________________________________________________________
c tio
du
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
_____________________________________________________________________
u se
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
Brainstorm situations in which you would use the parallel network method. Have you
encountered customers whose priorities aligned with the advantages of this method?
_____________________________________________________________________
d.
ite
_____________________________________________________________________
ib
oh
pr
_____________________________________________________________________
is
n
io
_____________________________________________________________________
s
is
m
er
_____________________________________________________________________
tp
ou
_____________________________________________________________________
ith
w
rt
_____________________________________________________________________
pa
i n
or
_____________________________________________________________________
l e
ho
_____________________________________________________________________
w
in
n
_____________________________________________________________________
ctio
du
ro
_____________________________________________________________________
ep
.R
_____________________________________________________________________
ly
on
se
_____________________________________________________________________
u
er
ld
_____________________________________________________________________
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
d.
distribution switch.
1—Configure
ite
Cisco Cisco
the new
ib
switches offline
oh
HP E-Series
pr
Routing
is
Cisco Cisco
n
sio
is
m
1—Begin
er
migration to
tp
open standards
ou
Cisco Cisco
ith
w
rt
Figure 3 - 20: Replacing switches one at a time
pa
You will now explore a final strategy: replacing switches one at a time. This strategy
i n
closely resembles the parallel network strategy because it involves Cisco distribution
or
switches and HP E-Series switches working within the same network at the same time.
l e
ho
However, this method introduces one new switch at a time, removing old switches at
w
1. As always, you begin by configuring the new switches offline and migrating the
c
du
Cisco switches to open standards, following the plan that you created earlier.
ro
ep
For this method, as for the parallel network method, you must be careful to
.R
enable features on the HP E-Series switches only as you need them. At this point,
you would probably enable MSTP but leave VRRP disabled. You could enable
ly
on
2. In the existing network, each Cisco distribution switch acts as HSRP Master
u
Router in same of the VLANs. You want to remove one of the distribution
er
ld
switches, so you must move the Master router role for all VLANs to the other
ho
d.
distribution switch. new switch.
ite
Cisco Cisco
ib
oh
pr
Routing Routing
is
Cisco Cisco
n
sio
is
m
er
tp
ou
Cisco Cisco
ith
w
rt
Figure 3 - 21: Replacing switches one at a time (cont.)
pa
n
3. After you verify that one Cisco distribution switch is handling all routing, you can
i
or
remove the other. Connect the HP E-Series switch in its place.
le
You can complete this step with several variations. For example, you can connect
ho
the HP E-Series switch to the distribution switch and to the core at this point but
w
not yet to the edge. You will consider the implications of choices like these in a
in
n
moment.
c tio
4. With the HP E-Series switch connected and receiving routes from the core
du
(enable OSPF at this time if not already enabled), you are ready to migrate all
ro
This process for this migration is just like the process about which you learned
ly
for the parallel network strategy. You can configure the existing default gateway
on
addresses as the HP E-Series switches’ VRRP IP addresses and shut down VLAN
se
Series switch. Or you can assign a new VRRP IP addresses to the HP E-Series
er
d.
switches. switches.
ite
Cisco Cisco
ib
oh
pr
Routing Routing
is
HP E-Series HP E-Series
n
sio
is
m
er
tp
ou
Cisco Cisco
ith
w
rt
Figure 3 - 22: Replacing switches one at a time (cont.)
pa
n
5. With the HP E-Series switch now handling routing, you can remove the
i
or
remaining Cisco distribution switch and connect the second HP E-Series switch.
e
This step should not introduce any particular issues because the E-Series switch is
l
ho
Note that before you establish redundant connections from the Cisco edge
in
n
switches to the second HP E-Series switch, you must migrate the edge switches to
tio
MSTP. You can perform this task in between disconnecting the last Cisco
c
du
6. The second HP E-Series switch should already be configured with all necessary
ep
settings. Now permit the switch to assume its part in handling traffic at the
.R
distribution layer. Enable OSPF, wait for the switch to receive the routes from the
ly
on
NOTES
_____________________________________________________________________
_____________________________________________________________________
d.
ite
ib
_____________________________________________________________________
oh
pr
is
_____________________________________________________________________
n
sio
is
_____________________________________________________________________
m
er
tp
_____________________________________________________________________
ou
ith
_____________________________________________________________________
w
rt
pa
_____________________________________________________________________
i n
or
e
_____________________________________________________________________
l
ho
w
_____________________________________________________________________
in
n
ctio
_____________________________________________________________________
du
ro
ep
_____________________________________________________________________
.R
ly
_____________________________________________________________________
on
se
u
_____________________________________________________________________
er
ld
ho
_____________________________________________________________________
ake
St
_____________________________________________________________________
&L
C
_____________________________________________________________________
P
H
d.
parallel network strategy. Although the migration process looks different, you are, in
ite
fact, manipulating the network in a similar way:
ib
oh
Adding an HP E-Series switch that must run in parallel with a Cisco switch
pr
Moving routing responsibilities from a Cisco switch to an HP E-Series switch
is
n
However, eliminating one of the redundant switches for the duration of the migration
io
can simplify the process—which might cause you to select this method. (You can
s
is
incorporate features of this method and the parallel network method in your own
m
er
strategy.)
tp
Still the replacement method presents its own challenges, which you will learn about
ou
in this section. You will develop a strategy for migrating the routing functionality to a
ith
single Cisco distribution switch without introducing downtime. You will also plan to
w
head off issues that might occur with spanning tree as you remove and replace the
rt
pa
distribution layer switches.
i n
You will encounter the same issues in migrating the routing functionality to the new
or
distribution switch that you encountered with the parallel network migration strategy.
l e
Cisco
Cisco
Figure 3 - 24: Potential problem spot 2: STP behavior when you replace the switch
You might encounter the same sorts of problems with MSTP/RPVST+ convergence
when you replace the Cisco switch with an HP switch as you would see when you
connect a parallel HP E-Series distribution layer to an existing Cisco layer.
Remember how to solve these problems:
Set the IST priorities on the HP E-Series switches higher than on the current root
in VLAN 1 but lower than on the edge switches. You can change the priority
later.
Set the path cost method on the Cisco switches to long. Optionally, adjust port
costs to favor the distribution link.
You looked at several possible solutions to such problems earlier in this module—
setting the IST priorities on the HP E-Series switches higher than on the Cisco
distribution switches but lower than on the edge switches, setting the Cisco path cost
method to long, lowering the path cost on the E-Series distribution ports, and so forth.
You will now examine an alternate method.
1. When you remove one of the Cisco distribution switches, the edge switches no
longer require spanning tree for the moment.
2. You can now disable STP on the edge switches and on the HP E-Series switch.
You will then be certain that the HP E-Series switch will not interfere with the
topology.
Do not disable STP on the Cisco distribution switch because this action will
cause the switch to restart all of its VLAN interfaces, introducing downtime.
3. Connect the HP E-Series switch to the distribution and core layers but not to the
edge.
4. First, disable ports on the HP E-Series switch and connect the disabled ports to
the edge switches.
5. Ready the commands for enabling the disabled ports on the HP E-Series switch
and for disabling the distribution-to-edge switch ports on the Cisco distribution
switch. Enable the ports and then quickly disable them.
After minimal if any downtime, the edge switches are connected on to the HP E-
Series switch only. You could then move the routing functionality to that switch.
With your classmates, assess the advantages of the replacement method. Also
discuss potential challenges introduced by this method and disadvantages.
Advantages:
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Brainstorm situations in which you would use this method. Have you encountered
customers whose priorities aligned with the advantages of this method?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Summary
This module has guided you through many of the design considerations and potential
pitfalls of a migration from a Cisco distribution layer to an HP E-Series distribution
layer. You have learned how to plan the configuration for an open-standards-based
network with an HP E-Series distribution layer, and you have experimented with and
analyzed the results of several migration strategies for reaching this final
configuration. Along the way, you have discovered potential issues and areas of
concern—and you have developed solutions for these problems.
EIGRP
OSPF
HSRP
CDist_1 CDist_2
VRRP
HeDist_1 HeDist_2
CDP
LLDP
VTP
VLAN
PVST
MSTP
CEdge_1 CEdge_2 CEdge_1 CEdge_2
In preparation for the lab, you and your partner will now plan a strategy for the
migration. Follow the instructions in the sections below until:
The HP E-Series switches have replaced the Cisco distribution switches and have
redundant connections to the edge
The Cisco distribution switches have been disconnected
Both HP E-Series switches are routing traffic and their STP roles synchronize with
their VRRP roles
You might not need to use all of the steps.
If a question in a step does not apply to your strategy, simply ignore it and move
on.
You are working with these constraints:
Each Cisco switch has four available ports for all switch-to-switch and edge
connections.
You want to minimize downtime.
Be prepared to present your plan to your classmates.
My migration strategy
Design your strategy.
Step 1: Begin to migrate the Cisco network to open standards
CCore_1 CCore_2
CDist_1 CDist_2
CEdge_1 CEdge_2
PC_1 PC_2
(server) (client)
Circle the settings that you will migrate on the Cisco switches at this step:
LLDP to CDP
VTP to GVRP or Static VLANs
RPVST+ to MSTP
EIGRP to OSPF
What are the issues that are involved in your choices?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
For any protocol that you do not plan migrate at this point, explain how the Cisco
protocol will interoperate with the HP E-Series protocol.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
What settings will you use for these protocols? You can use the plan that you created
at the beginning of this module beginning on page 3-19 or the plan that was
proposed beginning on page 3-24.
If you are planning to migrate the Cisco distribution switches to open standard
protocols such as OSPF, you must use settings that are compatible with your plan for
the HP E-Series configuration. Plan those settings:
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
CCore_1 CCore_2
CEdge_1 CEdge_2
PC_1 PC_2
(server) (client)
Circle the settings that are currently migrated on the Cisco switches at this step. Place
a star next to the settings that you will now migrate:
LLDP to CDP
VTP to GVRP or static VLANs
RPVST+ to MSTP
EIGRP to OSPF
Circle the settings that are currently enabled on the HP E-Series switches. Place a star
next to the settings that you will enable at this point:
LLDP
VLANs
MSTP
IP settings
OSPF
VRRP
Step 5
Continue to migrate your Layer 2 connections or Layer 3 functionality (as you
choose).
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Label the switch or switches that will be routing at the end of this step. If you are
moving the routing functionality from one switch to another, from two switches to one
switch, or one switch to two switches, plan a process for doing so:
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
3 –108 Rev. 11.21
BitSpyder - The Culture of Knowledge
Mark in the connections for this step of the migration. Indicate which ports you
expect STP to block. During the lab, you will verify whether what you expect to occur
actually occurs.
CCore_1 CCore_2
CEdge_1 CEdge_2
PC_1 PC_2
(server) (client)
Circle the settings that are currently migrated on the Cisco switches at this step. Place
a star next to the settings that you will now migrate:
LLDP to CDP
VTP to GVRP or static VLANs
RPVST+ to MSTP
EIGRP to OSPF
Circle the settings that are currently enabled on the HP E-Series switches. Place a star
next to the settings that you will enable at this point:
LLDP
VLANs
MSTP
IP settings
OSPF
VRRP
Step 6
Continue to migrate your Layer 2 connections or Layer 3 functionality (as you
choose).
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Label the switch or switches that will be routing at the end of this step. If you are
moving the routing functionality from one switch to another, from two switches to one
switch, or one switch to two switches, plan a process for doing so:
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
3 –110 Rev. 11.21
BitSpyder - The Culture of Knowledge
Mark in the connections for this step of the migration. Indicate which ports you
expect STP to block. During the lab, you will verify whether what you expect to occur
actually occurs.
CCore_1 CCore_2
CEdge_1 CEdge_2
PC_1 PC_2
(server) (client)
Circle the settings that are currently migrated on the Cisco switches at this step. Place
a star next to the settings that you will now migrate:
LLDP to CDP
VTP to GVRP or static VLANs
RPVST+ to MSTP
EIGRP to OSPF
Circle the settings that are currently enabled on the HP E-Series switches. Place a star
next to the settings that you will enable at this point:
LLDP
VLANs
MSTP
IP settings
OSPF
VRRP
Step 7
Continue to migrate your Layer 2 connections or Layer 3 functionality (as you
choose).
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Label the switch or switches that will be routing at the end of this step. If you are
moving the routing functionality from one switch to another, from two switches to one
switch, or one switch to two switches, plan a process for doing so:
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Mark in the connections for this step of the migration. Indicate which ports you
expect STP to block. During the lab, you will verify whether what you expect to occur
actually occurs.
CCore_1 CCore_2
CEdge_1 CEdge_2
PC_1 PC_2
(server) (client)
Circle the settings that are currently migrated on the Cisco switches at this step. Place
a star next to the settings that you will now migrate:
LLDP to CDP
VTP to GVRP or static VLANs
RPVST+ to MSTP
EIGRP to OSPF
Circle the settings that are currently enabled on the HP E-Series switches. Place a star
next to the settings that you will enable at this point:
LLDP
VLANs
MSTP
IP settings
OSPF
VRRP
Step 8
Continue to migrate your Layer 2 connections or Layer 3 functionality (as you
choose).
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Label the switch or switches that will be routing at the end of this step. If you are
moving the routing functionality from one switch to another, from two switches to one
switch, or one switch to two switches, plan a process for doing so:
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
3 –114 Rev. 11.21
BitSpyder - The Culture of Knowledge
Mark in the connections for this step of the migration. Indicate which ports you
expect STP to block. During the lab, you will verify whether what you expect to occur
actually occurs.
CCore_1 CCore_2
CEdge_1 CEdge_2
PC_1 PC_2
(server) (client)
Circle the settings that are currently migrated on the Cisco switches at this step. Place
a star next to the settings that you will now migrate:
LLDP to CDP
VTP to GVRP or static VLANs
RPVST+ to MSTP
EIGRP to OSPF
Circle the settings that are currently enabled on the HP E-Series switches. Place a star
next to the settings that you will enable at this point:
LLDP
VLANs
MSTP
IP settings
OSPF
VRRP
Step 9
Continue to migrate your Layer 2 connections or Layer 3 functionality (as you
choose).
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_____________________________________________________________________
d.
_____________________________________________________________________
ite
ib
oh
_____________________________________________________________________
pr
is
n
_____________________________________________________________________
sio
is
m
_____________________________________________________________________
er
tp
ou
_____________________________________________________________________
ith
w
_____________________________________________________________________
rt
pa
i n
_____________________________________________________________________
or
l e
ho
Label the switch or switches that will be routing at the end of this step. If you are
w
moving the routing functionality from one switch to another, from two switches to one
in
switch, or one switch to two switches, plan a process for doing so:
n
tio
_____________________________________________________________________
c
du
ro
_____________________________________________________________________
ep
.R
ly
_____________________________________________________________________
on
se
_____________________________________________________________________
u
er
ld
_____________________________________________________________________
ho
ake
St
_____________________________________________________________________
&L
C
_____________________________________________________________________
P
H
_____________________________________________________________________
Mark in the connections for this step of the migration. Indicate which ports you
expect STP to block. During the lab, you will verify whether what you expect to occur
actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
n
s io
CDist_1 CDist_2
is
HeDist_1 HeDist_2
m
er
tp
ou
CEdge_1 CEdge_2
ith
PC_1 PC_2
w
(server) (client)
rt
Figure 3 - 34: Migration step
pa
n
Circle the settings that are currently migrated on the Cisco switches at this step. Place
i
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP E-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ke
VRRP
a
St
Step 10
&L
C
choose).
H
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_____________________________________________________________________
d.
_____________________________________________________________________
ite
ib
oh
_____________________________________________________________________
pr
is
n
_____________________________________________________________________
sio
is
m
_____________________________________________________________________
er
tp
ou
_____________________________________________________________________
ith
w
_____________________________________________________________________
rt
pa
i n
_____________________________________________________________________
or
l e
ho
Label the switch or switches that will be routing at the end of this step. If you are
w
moving the routing functionality from one switch to another, from two switches to one
in
switch, or one switch to two switches, plan a process for doing so:
n
tio
_____________________________________________________________________
c
du
ro
_____________________________________________________________________
ep
.R
ly
_____________________________________________________________________
on
se
_____________________________________________________________________
u
er
ld
_____________________________________________________________________
ho
ake
St
_____________________________________________________________________
&L
C
_____________________________________________________________________
P
H
_____________________________________________________________________
_____________________________________________________________________
3 –118 Rev. 11.21
BitSpyder - The Culture of Knowledge
Mark in the connections for this step of the migration. Indicate which ports you
expect STP to block. During the lab, you will verify whether what you expect to occur
actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
n
s io
CDist_1 CDist_2
is
HeDist_1 HeDist_2
m
er
tp
ou
CEdge_1 CEdge_2
ith
PC_1 PC_2
w
(server) (client)
rt
Figure 3 - 35: Migration step
pa
n
Circle the settings that are currently migrated on the Cisco switches at this step. Place
i
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP E-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ke
VRRP
a
St
Step 11
&L
C
choose).
H
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_____________________________________________________________________
d.
_____________________________________________________________________
ite
ib
oh
_____________________________________________________________________
pr
is
n
_____________________________________________________________________
sio
is
m
_____________________________________________________________________
er
tp
ou
_____________________________________________________________________
ith
w
_____________________________________________________________________
rt
pa
i n
_____________________________________________________________________
or
l e
ho
Label the switch or switches that will be routing at the end of this step. If you are
w
moving the routing functionality from one switch to another, from two switches to one
in
switch, or one switch to two switches, plan a process for doing so:
n
tio
_____________________________________________________________________
c
du
ro
_____________________________________________________________________
ep
.R
ly
_____________________________________________________________________
on
se
_____________________________________________________________________
u
er
ld
_____________________________________________________________________
ho
ake
St
_____________________________________________________________________
&L
C
_____________________________________________________________________
P
H
_____________________________________________________________________
_____________________________________________________________________
3 –120 Rev. 11.21
BitSpyder - The Culture of Knowledge
Mark in the connections for this step of the migration. Indicate which ports you
expect STP to block. During the lab, you will verify whether what you expect to occur
actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
n
s io
CDist_1 CDist_2
is
HeDist_1 HeDist_2
m
er
tp
ou
CEdge_1 CEdge_2
ith
PC_1 PC_2
w
(server) (client)
rt
Figure 3 - 36: Migration step
pa
n
Circle the settings that are currently migrated on the Cisco switches at this step. Place
i
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP E-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ke
VRRP
a
St
Step 12
&L
C
choose).
H
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_____________________________________________________________________
d.
_____________________________________________________________________
ite
ib
oh
_____________________________________________________________________
pr
is
n
_____________________________________________________________________
sio
is
m
_____________________________________________________________________
er
tp
ou
_____________________________________________________________________
ith
w
_____________________________________________________________________
rt
pa
i n
_____________________________________________________________________
or
l e
ho
Label the switch or switches that will be routing at the end of this step. If you are
w
moving the routing functionality from one switch to another, from two switches to one
in
switch, or one switch to two switches, plan a process for doing so:
n
tio
_____________________________________________________________________
c
du
ro
_____________________________________________________________________
ep
.R
ly
_____________________________________________________________________
on
se
_____________________________________________________________________
u
er
ld
_____________________________________________________________________
ho
ake
St
_____________________________________________________________________
&L
C
_____________________________________________________________________
P
H
_____________________________________________________________________
_____________________________________________________________________
3 –122 Rev. 11.21
BitSpyder - The Culture of Knowledge
Mark in the connections for this step of the migration. Indicate which ports you
expect STP to block. During the lab, you will verify whether what you expect to occur
actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
n
s io
CDist_1 CDist_2
is
HeDist_1 HeDist_2
m
er
tp
ou
CEdge_1 CEdge_2
ith
PC_1 PC_2
w
(server) (client)
rt
Figure 3 - 37: Migration step
pa
n
Circle the settings that are currently migrated on the Cisco switches at this step. Place
i
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP E-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ke
VRRP
a
St
&L
C
P
H
d.
INITIAL FINAL
ite
CCore_1 CCore_2 CCore_1 CCore_2
ib
oh
pr
is
EIGRP OSPF
n
s io
is
HSRP VRRP
m
CDist_1 CDist_2 HeDist_1 HeDist_2
er
CDP
tp
LLDP
Rapid- VLAN
ou
PVST MSTP
ith
CEdge_2 CEdge_1 CEdge_2
w
CEdge_1
PC_1 PC_2 PC_1 PC_2
rt
(server) (client) (server) (client)
pa
Figure 3 - 38: Lab 3-1: Migrating the Distribution Layer from Cisco to HP E-Series Devices
in
or
Consult your Lab Activity Guide for instructions for performing this activity.
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
Lab debrief
Use the space below to record the key things you learned, and also the challenges
you faced in lab activity 3.1.
d.
Table 3-11: Debrief for lab activity 3.1
ite
ib
Challenges Key things learned
oh
pr
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
NOTES
l e
ho
_____________________________________________________________________
w
in
n
_____________________________________________________________________
ctio
du
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
se
_____________________________________________________________________
u
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
_____________________________________________________________________
Learning check
Discuss these questions with your classmates:
Q1: Before you connect replacement HP E-Series distribution devices in parallel to
d.
existing Cisco ones, what should you check?
ite
ib
oh
____________________________________________________________________
pr
is
____________________________________________________________________
n
sio
is
____________________________________________________________________
m
er
tp
____________________________________________________________________
ou
ith
____________________________________________________________________
w
rt
pa
____________________________________________________________________
i n
or
____________________________________________________________________
l e
ho
____________________________________________________________________
c
du
____________________________________________________________________
ro
ep
.R
____________________________________________________________________
ly
on
____________________________________________________________________
u se
er
____________________________________________________________________
ld
ho
____________________________________________________________________
ake
St
____________________________________________________________________
&L
C
P
H
____________________________________________________________________
d.
ite
____________________________________________________________________
ib
oh
____________________________________________________________________
pr
is
n
____________________________________________________________________
sio
is
m
____________________________________________________________________
er
tp
____________________________________________________________________
ou
ith
w
____________________________________________________________________
rt
pa
____________________________________________________________________
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
d.
ite
and Quality of Service (QoS) policies on HP E-Series devices.
ib
Migrate ACLs and QoS policies
oh
pr
In order to help you concentrate on the fundamentals of the migration, until now you
is
have examined migrating distribution layers with relatively simple configurations. But
n
io
in a production environment, you will often encounter switches that implement more
s
is
sophisticated features, and you must consider the effects of these features on the
m
migration.
er
tp
The last section in this module introduces you to a few considerations for migrating a
ou
distribution layer from Cisco to HP E-Series devices when the distribution switches
ith
enforce access control lists (ACLs) and quality of service (QoS) policies.
w
rt
Your two main goals for this migration for this section are to:
pa
Configure HP E-Series ACLs and QoS policies that provide the expected
n
functionality i
or
e
Determine the best time to enable the new ACLs or policies during the migration.
l
ho
w
You can meet these goals within any of the migration models that you have
in
examined in this module. The first question remains more or less the same no matter
n
which method you use. The second question is more complicated for the parallel
tio
d.
Routed ACL • Applied to a routed port or • Applied to a VLAN interface as
ite
(RACL) VLAN interface as inbound (in) inbound (in) or outbound (out)
or outbound (out) • Controls all traffic routed from (in)
ib
• Controls all traffic routed from or to (out) the interface
oh
(in) or to (out) the interface
pr
VLAN-based • Applied as ACLs in a VLAN • Applied to a VLAN interface as a
is
ACL (VACL) access map, which is applied to VLAN ACL (vlan)
a VLAN list • Controls all traffic arriving on the
n
io
• Controls all traffic routed to the VLAN
s
VLAN and arriving on the VLAN
is
m
Port ACL • Applied to a physical port as • Applied to a physical port as
er
inbound (in) or outbound (out) inbound (in)
• Controls all traffic arriving on (in) • Controls all traffic arriving on the
tp
or leaving the port (out) port
ou
ith
Figure 3 - 39: Applying the ACLs
w
rt
You do need to understand some differences in the ways that you apply ACLs on HP
pa
E-Series switches as compared to applying them to Cisco switches. Otherwise, you
might find the ACLs allowing or denying unexpected traffic.i n
or
RACLs
l e
ho
You apply routed ACLs (RACLs) to inbound or outbound traffic on routed E-Series
w
interfaces much as you do on Cisco switches (in and out options in the ip access-
in
n
group command).
c tio
Note that E-Series switches do not have routed physical interfaces. Instead, you must
du
create a VLAN interface for the subnet and specify the IP address there; you can then
ro
assign that VLAN as an untagged VLAN on a physical port. As long as you do not
ep
assign that VLAN to any other ports, the port behaves much like a routed port.
.R
However, remember that you apply all IP settings and so forth to the VLAN interface.
ly
on
VACLs
u se
It is VLAN-based ACLs (VACLs) that differ most in configuration between the two
er
vendors. On Cisco switches, when you want to control both routed on non-routed
ld
traffic that arrives on a VLAN interface, you use VLAN access maps. You configure
ho
ACLs to select traffic and then apply an action to traffic selected by the ACL in the
ke
VLAN access map. A VLAN access map, like a typical ACL, has an implicit drop all
a
St
On HP E-Series switches, you configure VACLs to control routed and non-routed traffic
C
just as you do other ACLs. You then apply the ACL to the VLAN interface using the
P
H
Port ACLs
On HP E-Series switches, you can also apply port ACLs o inbound traffic on a port by
applying the ACL to a physical port. You cannot apply the ACL to outbound traffic.
The E-Series PACL filters all traffic, routed or not, that arrives on the interface.
d.
ite
ib
oh
pr
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
ctio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
d.
ite
On the other hand, the table in Figure 3-39 highlighted features on the Cisco
ib
switches that the HP E-Series switches do not reproduce in the same way. If the Cisco
oh
distribution devices’ ACLs include these features, you must create a plan to account
pr
for that. The sections below focus on specific, potentially problematic features.
is
n
Planning VACLs
sio
is
A Cisco VLAN access map filters all traffic on a VLAN:
m
er
Traffic that arrives on the VLAN at Layer 2 and is switched within that VLAN
tp
ou
Traffic that arrives on the VLAN at Layer 2 and is routed out of the VLAN
ith
Traffic that arrives on a different interface and is routed to the VLAN
w
rt
An HP E-Series VACL filters the first two types of traffic but not the third.
pa
Therefore, you must check your Cisco VLAN access map for entries which match the
i n
third use case—they will have a source address in another subnet (or, perhaps, any)
or
and a destination address in the subnet associated with the VLAN (or, perhaps, any).
l e
ho
If you find any such entries, create another ACL to select them. Then apply that
w
the VACL.
n
tio
When you apply both a VACL and a RACL to a VLAN interface on an HP E-Series
c
Any switched traffic explicitly permitted by the VACL is forwarded without being
ep
Any routed traffic explicitly permitted by the VACL is checked against the RACL
ly
on
before it is forwarded. If the RACL denies the traffic, the switch drops it.
se
VACL example
u
er
which connects to the Internet, on a routed port. It has this ACL configuration:
ake
action forward
vlan filter VLAN10_11_AC vlan-list 10-11
You can create a table that shows how the Cisco switch is controlling traffic.
Table 3-13: Example Cisco VLAN access map
d.
ite
Traffic that is controlled How traffic is controlled
ib
oh
Traffic that arrives on VLAN 10 Endpoints between 10.1.10.128 and 10.1.10.254 are denied access
and is switched in VLAN 10 to 10.1.10.10. All other switched traffic is permitted.
pr
Traffic that arrives on VLAN 10 Traffic to VLAN 20 is dropped, but all other traffic is permitted.
is
and is routed to another VLAN
n
io
or routed port.
s
Traffic that arrives on another All endpoints in VLAN 11 are denied access to 10.1.10.10. (This
is
VLAN or routed port and is statement will actually be redundant because the map applied to
m
er
routed to VLAN 10 VLAN 11 will also filter this traffic. However, you have saved time
tp
by applying the same map to two VLANs.)
All other traffic to VLAN 10 is permitted.
ou
Traffic that arrives on VLAN 11 All switched traffic is permitted.
ith
and is switched in VLAN 11
w
rt
pa
Traffic that arrives on VLAN 11 Traffic to VLAN 20 is dropped, as is traffic to host 10.1.10.10 but
and is routed to another VLAN all other traffic is permitted.
or routed port. i n
or
Traffic that arrives on another All traffic is permitted.
e
routed to VLAN 11
w
in
n
On the HP E-Series switch, you can apply VACLs to VLANs 4 and 5 to filter the traffic
tio
controlled by HP E-Series VACLs. Row 3 permits all traffic except traffic between
ro
endpoints in VLAN 11 and 10.1.10.10. This access control, however, is covered by the
ep
VACL applied to VLAN 11. Row 6 permits all traffic, so you do not need to worry
.R
about creating another VACL. In this case, the proper E-Series VACLs will provide the
ly
correct functionality:
on
se
vlan 10
C
vlan 11
ip access-group 101 vlan
Note
Because the ACL applied to VLAN 11 does not control switched traffic, you could
apply it as an inbound RACL instead.
d.
Planning Port-based ACLs
ite
ib
HP E-Series switches only apply port-based ACLs to inbound traffic. If your network
oh
features outbound port ACLs, you must redesign the ACL. For example, you can move
pr
the ACL to the port on which the traffic to be controlled arrives.
is
n
sio
is
Outbound port
m
ACL
er
tp
Original ACL
configuration
ou
ith
w
rt
pa
New ACL Inbound port
ACL
configuration
i n
or
l e
ho
w
in
n
tio
ACL
When you must migrate
function
d.
Filter routed Before the new switch But you can
ite
traffic. begins to route traffic generally just
ib
oh
enable the ACLs
Filter traffic Before the traffic passes when you first
pr
within a through the new switch configure the
is
VLAN switch.
n
io
Filter traffic Before the traffic passes
s
on a port through the new switch
is
m
er
tp
Figure 3 - 41: Determine when to migrate the ACLs
ou
ith
You must understand which type of traffic the ACL affects to determine when the HP
w
E-Series ACL must take over. If the ACL is filtering routed traffic, for example, the HP E-
rt
pa
Series switch must begin applying the ACL as soon as it routes the traffic. However, if
the ACL filters traffic within a VLAN or traffic that arrives on a specific port, the HP E-
i n
Series ACL must filter the traffic as soon as the traffic flow alters and the traffic begins
or
to pass through the HP E-Series switch instead of the old chokepoint.
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ke
Often, there are no adverse consequences to enabling all the ACLs before you
&L
distribution switch. Then you are sure that the ACLs are in place and ready to control
P
H
traffic.
Note that during the migration process, the route path might temporarily alter. For
example, in the first section of this module, you learned strategies for migrating the
Layer 3 functionality in which an old distribution switch temporarily routes some
VLANs while a new switch routes others. However, as long as you have the correct
RACLs in place on the new HP E-Series switches, the traffic should be controlled
correctly as illustrated in the figures below.
Outbound RACL
on VLAN 10
d.
VLAN 20 VLAN 10
Original routing path
ite
ib
oh
pr
Outbound RACL
VLAN 20 VLAN 10 on VLAN 10
is
Temporary routing
n
path if you migrate
io
another VLAN first
s
is
m
Temporary routing VLAN 20 VLAN 1 VLAN 1 VLAN 10
er
path if you migrate
tp
VLAN 10 first
ou
ith
VLAN 20 VLAN 10
w
Final routing path
rt
pa
n
Figure 3 - 43: Migrating an outbound RACL
i
or
Note that outbound RACLs need to be in place on the new routing switch as soon as
l e
ho
you begin migrating any VLAN routing responsibilities to this switch not simply
w
before you migrate the VLAN in question. Even though the new switch is not yet the
in
default gateway for that VLAN, it is routing traffic to it. Again, it is generally best
n
practice simply to configure the ACLs in advance and know that they are in place.
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
d.
ite
Devices at the distribution layer might implement a variety of QoS features that fall in
ib
several broad categories:
oh
pr
Honoring prioritization—Honor traffic’s 802.1p Class of Service (CoS) or
is
Differentiated Services Code Point (DSCP) values, typically by placing them in
n
different priority queues
sio
is
Classifying (and marking) traffic—Classify traffic according to characteristics
m
such as source and destination IP address, protocol, or TCP/UDP port and
er
assign it to the correct priority queue. Typically the switch then marks each type
tp
of traffic with the appropriate CoS or DSCP to be honored after it is forwarded
ou
ith
to another device.
w
Because it is best to classify traffic as close to the source as possible (at the edge),
rt
pa
the distribution layer often plays only the first role. However, it can play both.
i n
or
l e
ho
w
in
n
ctio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
Honor prioritization
You can now consider some of the specific QoS functionalities. Sometimes the
distribution layer only needs to honor priorities that have already been established
by trusted applications or by switches at the edge.
d.
ite
On Cisco switches, you must manually specify on which ports the switch can accept
ib
and honor CoS values and DSCPs. HP E-Series switches, on the other hand, by
oh
default honor these values. Of course, as always, a frame must arrive on a tagged
pr
VLAN (have the 802.1Q tag) in order for it to carry a CoS value. The DSCP is
is
located in the Layer 3 header, so it can be detected in traffic that arrives on a
n
io
tagged or untagged VLAN.
s
is
m
Once the switch determines that it honors traffic’s QoS value, it must decide how it
er
will treat the traffic based on that value. On both Cisco and E-Series devices, CoS
tp
values are assigned to specific priority queues; the switch then forwards traffic in
ou
higher queues first. Also, on both types of switch, you map DSCPs to CoS values in
ith
order to assign the traffic with that DSCP . Both types of devices also allow you to
w
apply
rt
pa
The table provides some guidelines.
i n
Table 3-14: QoS capabilities on Cisco and HP E-Series switches
or
l e
None necessary
on a CoS value. On the port that receives the traffic:
n
tio
on a DSCP. On the port that receives the traffic: qos dscp-map <dscp> priority <1-7>
ep
dscp1 is the DSCP that corresponds to show qos dscp-map to see these
on
value or DSCP.
ld
ho
ake
St
&L
C
P
H
d.
Cisco switches generally classify traffic with class maps and policy maps. The class
ite
map selects a particular type of traffic while the policy map applies actions to the
ib
class maps such as marking the traffic with a QoS value or enforcing policing. You
oh
then apply the policy map to an interface as a service policy.
pr
is
On HP E-Series switches with the ProVision ASIC, you can similarly create traffic
n
classes that select particular types of IPv4 or IPv6 traffic. You then create service
s io
policies that select the classes and apply actions such as QoS-value marking or rate
is
m
limiting. Finally, just as on the Cisco switches, you apply the service policy to a port
er
or VLAN interface.
tp
Note that one difference between the class maps on Cisco and HP E-Series devices is
ou
ith
that the Cisco class maps can select previously-configured ACLs, but you always
w
configure the selection criteria in the HP class map.
rt
pa
Alternatively, on HP E-Series switches, you can create a global QoS map that selects
traffic directly and marks it with a QoS value. In this case, you can only select traffic
i n
by one criteria at a time (TCP/UDP port or source or destination IP address, for
or
example). (If the switch also has service policies applied to interfaces, those take
l e
ho
precedence.)
w
The table provides an example of QoS traffic classification, comparing the Cisco
in
VLAN configuration
ly
traffic according mls qos class-<ipv4 | ipv6> <name> ipv6 | ip-all] <port-number | range
to its source, access-list <ID> <permit | deny> <seq-number> < match | ignore > start end > <priority | dscp>
se
and assign this <name> policy qos <name> [ipv4] IPv4 address/mask length |
traffic a priority. match access-group <ID> <seq number> class-<ipv4 | ipv6> IPv6 address | ipv6 address/prefix
ke
interface <type> <ID> vlan <ID> service-policy <name> in selects traffic to or from that device.
H
d.
INITIAL FINAL
ite
CCore_1 CCore_2
ib
CCore_1 CCore_2
oh
pr
is
ACLs and QoS
n
io
ACLs and QoS
P4
s
HeDist_1
is
HeDist_2
CDist_2
m
P1
P2
er
tp
ou
CEdge_1 CEdge_2 P2
ith
P2 P4 PC_3 PC_3
w
P3 P3 (client) (client)
rt
PC_1 PC_2 PC_1 PC_2
pa
(server) (client) (server) (client)
Figure 3 - 45: Optional Lab 3.2: Migrating ACLs and QoS Policies from a Cisco to an HP E-Series
Distribution Layer in
or
l e
Consult your Lab Activity Guide for instructions for performing this activity.
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
d.
ite
ib
oh
pr
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
d.
ite
ib
oh
Objectives
pr
is
This module will help you to plan and execute successful migrations of Cisco
n
distribution layer switches to HP A-Series distribution layer switches. You will explore
sio
several strategies, assessing their advantages and disadvantages—and learning how
is
m
to avoid common issues.
er
tp
By the time that you have completed this module, you will be able to:
ou
Replace Cisco switches at the distribution layer with HP A-Series switches
ith
Consider the order in which you migrate various features in order to reduce
w
rt
issues and downtime
pa
Assess the advantages of various strategies in different customer environments
n
i
or
Select distribution layer features to improve your new network
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
Rev. 11.21 4 –1
BitSpyder - The Culture of Knowledge
Migration scenario
INITIAL FINAL
d.
ite
Cisco Cisco
ib
oh
pr
EIGRP ?
is
Cisco
n
HP A-Series
io
HSRP ?
s
is
m
CDP ?
er
VTP
tp
RPVST+
ou
Cisco Cisco
ith
w
rt
Figure 4-1: Migration scenario
pa
n
On the left you see a simplified design for an existing customer network that uses
i
or
Cisco devices. Two distribution layer switches work as redundant routing switches for
e
the network using Hot Standby Router Protocol (HSRP). They connect to two edge
l
ho
to two different core switches, each of which offers a connection to the Internet. The
in
core and distribution switches communicate routes using Enhanced Internal Gateway
n
tio
With the LAN, Rapid Per-VLAN Spanning Tree Plus (RPVST+) eliminates loops created
ro
extends VLANs throughout the network, and Cisco Discovery Protocol (CDP) provides
.R
neighbor discovery.
ly
on
Your goal in this scenario is to replace the Cisco distribution layer switches with HP
A-Series switches. Because the HP A-Series switches use open standard protocols,
use
part of the migration involves moving the network from the current proprietary
er
protocols to the open standard ones. For this reason, the figure on the right, which
ld
depicts the final network, indicates that the protocols in the final network might differ
ho
What the configuration will be, based on open standard protocols, in the final
C
network.
P
H
How you will proceed, step by step, to reach the final topology and
configuration.
Rev. 11.21 4 –3
BitSpyder - The Culture of Knowledge
d.
• Very high performance for routing and switching
ite
• Very high 10G port-density
ib
oh
• Scalability and ultramodern architecture
pr
• Routing protocols (RIP, OSPF, BGP)
is
• VRRP and IRF for high-availability
n
io
• Many other traffic control and QoS features
s
is
– See the HP Product Selector.
m
er
tp
ou
ith
Figure 4-2 Why migrate to HP A-Series devices?
w
rt
Before you move on to specific goals of this migration, consider the customer’s
pa
primary goal—obtaining better performance at the distribution layer. A-Series
i n
switches are truly enterprise-grade devices that offer very high-performance switching
or
and routing and a high 10G port density. In addition to a wide variety of standard
l e
ho
features, including but not limited to those displayed in the slide, they offer Intelligent
w
Resilient Framework (IRF), a feature that this module will highlight. IRF combines two
in
switches into an incredibly redundant and high-functioning virtual switch. This feature
n
will be a selling point that convinces many customers to make this type of migration.
ctio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
4 –4 Rev. 11.21
BitSpyder - The Culture of Knowledge
Migration goals
Now turn your attention to the customer’s other goals and priorities. Most customers
will want an enhanced network by the end of the migration. Why else would the
d.
customer decide to migrate? You must understand the customer’s priorities:
ite
Do they want better performance?
ib
oh
Do they want greater energy efficiency?
pr
Do they want new features?
is
n
io
To satisfy many of these requirements fully, you would need to assemble the correct
s
networking solution for the customer, a task that is beyond the scope of this course.
is
m
You should keep the goals in mind, however, as you plan the migration. At the very
er
least, you will need to ensure that your configuration at the end of the migration
tp
supports the services required by the customer.
ou
ith
In addition to considering the customer’s end goals, you must consider the goals for
w
the migration process itself. One of the most important considerations is downtime.
rt
Can your customer schedule an outage, or does the network need to remain up
pa
throughout the migration? How important is zero downtime to the customer’s
satisfaction with the migration process? i n
or
e
You should also ask the customer about other constraints that might affect your plan.
l
ho
For example, ascertain how many ports core and distribution switches have
w
available. As you will see, port constraints might alter the way in which you migrate
in
Rev. 11.21 4 –5
BitSpyder - The Culture of Knowledge
Configurations
Cisco Core 1 configuration
hostname CCore_1
d.
ite
vlan 110
ib
oh
vlan 111
pr
is
ip subnet-zero
n
sio
is
ip routing
m
er
tp
no spanning-tree vlan 1-4094
ou
ith
w
interface Loopback0
rt
ip address 10.0.0.3 255.255.255.255
pa
i n
or
interface GigabitEthernet1/0/1
e
description to CDist_1
l
ho
interface GigabitEthernet1/0/2
c
du
description to CCore_2
ro
interface Vlan100
ip address 10.0.100.3 255.255.255.0
use
er
interface Vlan111
ld
ho
router eigrp 1
&L
network 10.0.0.0
C
hostname CCore_2
Rev. 11.21 4 –7
BitSpyder - The Culture of Knowledge
vlan 100
vlan 112
ip subnet-zero
d.
ite
ib
ip routing
oh
pr
no spanning-tree vlan 1-4094
is
n
sio
interface Loopback0
is
m
ip address 10.0.0.4 255.255.255.255
er
tp
interface GigabitEthernet1/0/1
ou
description to CDist_2
ith
w
switchport access vlan 112
rt
switchport mode access
pa
interface GigabitEthernet1/0/2 i n
or
description to CCore_1
l e
ho
interface Vlan100
c
interface Vlan112
.R
router eigrp 1
u
network 10.0.0.0
er
ld
hostname CDist_1
ake
St
ip subnet-zero
&L
ip routing
C
P
H
4 –8 Rev. 11.21
BitSpyder - The Culture of Knowledge
Vlan 2
Vlan 10
d.
Vlan 11
ite
Vlan 20
ib
Vlan 21
oh
Vlan 111
pr
is
n
interface Loopback0
sio
ip address 10.1.0.1 255.255.255.255
is
m
er
tp
interface GigabitEthernet1/0/1
ou
description to CEdge_1
ith
switchport trunk encapsulation dot1q
w
switchport mode trunk
rt
pa
interface GigabitEthernet1/0/2
i n
or
description to CEdge_2
e
interface GigabitEthernet1/0/3
n
tio
description to CDist_2
c
du
interface GigabitEthernet1/0/4
description to CCore_1
se
interface Vlan1
St
standby 1 ip 10.1.1.254
C
standby 1 preempt
interface Vlan2
Rev. 11.21 4 –9
BitSpyder - The Culture of Knowledge
d.
ite
interface Vlan10
ib
ip address 10.1.10.1 255.255.255.0
oh
ip helper-address 10.1.2.100
pr
standby 10 ip 10.1.10.254
is
n
standby 10 priority 255
io
standby 10 preempt
s
is
m
er
interface Vlan11
tp
ip address 10.1.11.1 255.255.255.0
ou
ip helper-address 10.1.2.100
ith
standby 11 ip 10.1.11.254
w
standby 11 priority 255
rt
pa
standby 11 preempt
i n
or
interface Vlan20
l e
ip helper-address 10.1.2.100
w
in
standby 20 ip 10.1.20.254
n
c tio
interface Vlan21
du
ip helper-address 10.1.2.100
ep
standby 21 ip 10.1.21.254
.R
ly
on
interface Vlan111
se
router eigrp 1
ho
network 10.0.0.0
ake
St
ip classless
&L
C
P
These commands are not displayed in the configuration but have been applied:
H
vtp pruning
d.
ite
ib
ip subnet-zero
oh
ip routing
pr
is
n
spanning-tree mode rapid-pvst
sio
spanning-tree extend system-id
is
m
spanning-tree vlan 1,2,10-11,111-112 priority 4096
er
spanning-tree vlan 20-21 priority 0
tp
ou
ith
Vlan 2
w
Vlan 10
rt
pa
Vlan 11
Vlan 20
Vlan 21 i n
or
Vlan 112
l e
ho
w
interface Loopback0
in
interface GigabitEthernet1/0/1
ro
description to CEdge_2
ep
interface GigabitEthernet1/0/2
u
description to CEdge_1
er
interface GigabitEthernet1/0/3
description to CDist_1
&L
interface GigabitEthernet1/0/4
description to CCore_2
switchport access vlan 112
Rev. 11.21 4 –11
BitSpyder - The Culture of Knowledge
interface Vlan1
d.
ip address 10.1.1.2 255.255.255.0
ite
standby 1 ip 10.1.1.254
ib
oh
pr
interface Vlan2
is
ip address 10.1.2.2 255.255.255.0
n
standby 1 ip 10.1.2.254
sio
is
m
interface Vlan10
er
tp
ip address 10.1.10.2 255.255.255.0
ou
ip helper-address 10.1.2.100
ith
standby 10 ip 10.1.10.254
w
rt
pa
interface Vlan11
ip address 10.1.11.2 255.255.255.0
i n
or
ip helper-address 10.1.2.100
e
standby 11 ip 10.1.11.254
l
ho
w
interface Vlan20
in
ip helper-address 10.1.2.100
c
du
standby 20 ip 10.1.20.254
ro
standby 1 preempt
.R
ly
on
interface Vlan21
ip address 10.1.21.2 255.255.255.0
se
ip helper-address 10.1.2.100
u
er
standby 21 ip 10.1.21.254
ld
standby 1 preempt
ake
St
&L
interface Vlan112
C
router eigrp 1
network 10.0.0.0
ip classless
These commands are not displayed in the configuration but have been applied:
vtp domain cisco
d.
vtp password secret
ite
ib
vtp mode server
oh
vtp pruning
pr
Cisco Edge 1 configuration
is
n
hostname CEdge_1
sio
is
m
spanning-tree mode rapid-pvst
er
tp
spanning-tree portfast default
ou
spanning-tree extend system-id
ith
w
interface GigabitEthernet1/0/1
rt
pa
description to CDist_1
switchport trunk encapsulation dot1q
switchport mode trunk i n
or
l e
ho
interface GigabitEthernet1/0/2
w
description to CDist_2
in
interface GigabitEthernet1/0/3
ep
description toServer
.R
interface Vlan1
er
ip default-gateway 10.1.1.254
a
St
ip classless
&L
C
These commands are not displayed in the configuration but have been applied:
P
H
d.
ite
spanning-tree portfast default
ib
spanning-tree extend system-id
oh
pr
interface GigabitEthernet1/0/1
is
description to CDist_1
n
io
switchport trunk encapsulation dot1q
s
is
switchport mode trunk
m
er
tp
interface GigabitEthernet1/0/2
ou
description to CDist_2
ith
switchport trunk encapsulation dot1q
w
switchport mode trunk
rt
pa
interface GigabitEthernet1/0/3 i n
or
description toClient
l e
interface Vlan1
c tio
ip default-gateway 10.1.1.254
.R
ip classless
ly
on
These commands are not displayed in the configuration but have been applied:
u se
vtp pruning
a
St
&L
C
P
H
d.
CCore_1 CCore_2
ite
.3 Routing .4
ib
VLAN
protocol?
oh
VLAN
101 102
pr
Layer 2
redundancy? ? ?
is
Layer 3 HaDist_1 HaDist_2
n
redundancy?
io
Trunks
s
is
Native VLAN 1
Permit All
m
.12
er
.11
tp
VLANs? CEdge_1 CEdge_2
Discovery
ou
protocol? Access
Ports in VLANs
ith
2, 10, 11, 20.21
w
IP address:
10.X.VLAN.0/24
rt
8 Rev. 11.11
pa
Figure 4-4: What is the final configuration?
i n
or
With your group, plan configurations for the switches after the migration so that they
e
l
provide functionality equivalent to that in the existing network. You have learned
ho
w
about methods for making these plans earlier in this course. Now you have another
in
chance to practice your new skills. You will also be able to leverage your plans
n
during the lab for this module, so make sure to record your plans carefully.
c tio
Note that the Cisco distribution switches are not included in the final plans because
du
they will be removed by the end of the migration; however, you might migrate these
ro
ep
switches to the open standard protocol as part of the migration process. You will look
.R
As you answer the questions, you can refer to the tables within the questions as well
on
1. First, plan the open standard protocols to which you will migrate proprietary
u
er
protocols.
ld
ho
Layer 3 redundancy
HSRP
protocol
C
Layer 2 redundancy
P
RPVST+
H
2. Will you implement the open standard VLAN registration protocol or configure
static VLANs? Why?
___________________________________________________________________
d.
ite
___________________________________________________________________
ib
oh
___________________________________________________________________
pr
is
n
___________________________________________________________________
io
s
is
m
___________________________________________________________________
er
tp
3. The current spanning tree settings are displayed in the first table below. In the
ou
other table, indicate the settings that you want on each switch at the end of the
ith
migration. Note that you might adjust these settings during the migration. For
w
now, you are planning the end goal. Also note that, if you do not plan to enable
rt
pa
Multiple Spanning Tree Protocol (MSTP) on a switch, you can leave the cells
empty.
i n
or
Table 4-2: Current spanning tree settings
l e
ho
Setting for Setting for Setting for Setting for Setting for
Parameter
w
Spanning tree disabled Rapid PVST+ Rapid PVST+ Rapid PVST+ Rapid PVST+
n
mode
tio
Core)
u se
Setting for Setting for Setting for Setting for Setting for Setting for
ho
Parameter
CCore_1 CCore_2 HaDist_1 HaDist_2 CEdge_1 CEdge_2
ake
Mode
St
Region
&L
name
Revision
C
number
P
H
VLAN
mapping
Priority for
each
instance
d.
ite
ib
Other
oh
settings
pr
is
n
io
Justify your plans:
s
is
m
er
___________________________________________________________________
tp
ou
___________________________________________________________________
ith
w
___________________________________________________________________
rt
pa
n
___________________________________________________________________
i
or
l e
___________________________________________________________________
ho
w
distribution switches are displayed in the first table below. In the next table,
n
tio
indicate the settings for the new HP A-Series switches. Again, you are planning
c
Note that, if you are using software version 15, you can set one switch as owner
ep
with priority 255 and still assign a virtual IP address to the virtual router
.R
identifier (VRID). Otherwise, you must assign both switches as backup to use a
ly
VLAN 1
ld
Standby ID 1 1
a
St
VLAN 2
P
H
VLAN 10
IP address 10.1.10.1 255.255.255.0 10.1.10.2
Helper address 10.1.2.100 10.1.2.100
Standby ID 10 10
Priority 255 Default (100)
d.
Preempt mode Enabled Not enabled
ite
Virtual IP address 10.1.10.254 255.255.255.0 10.1.10.254 255.255.255.0
ib
VLAN 11
oh
IP address 10.1.11.1 255.255.255.0 10.1.11.1 255.255.255.0
pr
Helper address 10.1.2.100 10.1.2.100
is
Standby ID 11 11
n
io
Priority 255 Default (100)
s
Preempt-mode Enabled Not enabled
is
Virtual IP address 10.1.11.254 255.255.255.0 10.1.11.254 255.255.255.0
m
er
VLAN 20
tp
IP address 10.1.11.1 255.255.255.0 10.1.11.1 255.255.255.0
ou
Helper address 10.1.2.100 10.1.2.100
Standby ID 20 20
ith
Priority Default (100) 255
w
Preempt-mode Not enabled Enabled
rt
pa
Virtual IP address 10.1.20.254 255.255.255.0 10.1.20.254 255.255.255.0
VLAN 21
IP address i n
10.1.21.1 255.255.255.0 10.1.21.1 255.255.255.0
or
Helper address 10.1.2.100 10.1.2.100
e
Standby ID 21 21
l
ho
VLAN 111
tio
VLAN 112
IP address Not configured 10.0.112.1 255.255.255.0
.R
Loopback 0
on
Table 4-5: Planned IP addressing and VRRP settings for the new HP A-Series
er
ld
switches
ho
ke
VLAN 1
St
IP address
&L
Helper address
C
Mode
P
VRID
H
Priority
Preempt mode
Virtual IP address
VLAN 2
IP address
Helper address
Mode
VRID
d.
Priority
ite
Preempt mode
ib
Virtual IP address
oh
VLAN 10
pr
IP address
is
Helper address
n
Mode
io
VRID
s
is
Priority
m
Preempt mode
er
Virtual IP address
tp
VLAN 11
ou
IP address
ith
Helper address
w
Mode
rt
VRID
pa
Priority
Preempt-mode
i n
or
Virtual IP address
e
VLAN 20
l
ho
IP address
w
Helper address
in
Mode
n
VRID
tio
Priority
c
Preempt-mode
du
Virtual IP address
ro
VLAN 21
ep
IP address
.R
Helper address
ly
Mode
on
VRID
se
Priority
u
Preempt mode
er
Virtual IP address
ld
VLAN 111
ho
IP address
ke
Helper address
a
VRID
St
VLAN 112
&L
IP address
C
Helper address
P
VRID
H
Loopback 0
IP address
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
5. Does your plan for IP addressing, including the virtual routing IP addresses,
necessitate any configuration changes at the core or edge? If so, list these
changes:
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
6. Plan the final configuration for the routing protocol. Currently, EIGRP is enabled
on the entire 10.0.0.0/8 network on both core switches and on both distribution
switches. The table provides a space for you to plan your final settings for Open
Shortest Path First (OSPF). Your goal is to ensure that the distribution switches
can route traffic between VLANs 1, 2, 10, 11, 20, and 21 and the core. Several
valid designs exist; yours might not include all of the settings in the table.
Table 4-6: Final OSPF settings
Setting for Setting for Setting for Setting for
Parameter
CCore_1 CCore_2 HaDist_1 HaDist_2
Area
OSPF interfaces
and their area
assignments
Passive
interfaces
Redistribution
settings
Administrative
distance and
metrics
Route summaries
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
CCore_1 CCore_2
.3 .4
VLAN OSPF
VLAN
101 102
.254
HaDist
IP address:
9 Rev. 11.11 10.X.VLAN.0/24
For the proposed final configuration, you will migrate the network to all of the
protocols listed in the table except VRRP and Generic Attribute Registration Protocol
(GARP) VLAN Registration Protocol (GVRP).
As you learned in Module 1, while GVRP enables switches to advertise and register
for VLAN memberships automatically, just like VTP, GVRP can introduce some issues.
Creating the VLANs statically on the switches will not be complicated, and the final
functionality will be the same as it is now.
Instead of Virtual Router Redundancy Protocol (VRRP) for the Layer 3 redundancy
protocol, Intelligent Resilient Framework (IRF)—a feature specific to the HP A-Series
platform —will be implemented. More information on this technology follows after
the MSTP section.
d.
Advantages:
ite
ib
oh
_______________________________________________________________________
pr
is
_______________________________________________________________________
n
sio
is
_______________________________________________________________________
m
er
tp
_______________________________________________________________________
ou
ith
_______________________________________________________________________
w
rt
pa
_______________________________________________________________________
i n
or
_______________________________________________________________________
l e
ho
_______________________________________________________________________
w
in
_______________________________________________________________________
du
ro
ep
_______________________________________________________________________
.R
ly
_______________________________________________________________________
on
se
_______________________________________________________________________
u
er
ld
_______________________________________________________________________
ho
ake
_______________________________________________________________________
St
&L
_______________________________________________________________________
C
P
H
A disadvantage for one environment might not be a grave concern for another.
Brainstorm situations in which you would use the forklift method.
_______________________________________________________________________
d.
ite
_______________________________________________________________________
ib
oh
_______________________________________________________________________
pr
is
n
_______________________________________________________________________
sio
is
m
_______________________________________________________________________
er
tp
_______________________________________________________________________
ou
ith
w
_______________________________________________________________________
rt
pa
_______________________________________________________________________
i n
or
e
_______________________________________________________________________
l
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
Parallel network
2—Simplify old
distribution. Add the
parallel network.
d.
1—Configure
ite
the new Cisco
Cisco
ib
switches offline.
oh
HP A-Series
pr
IRF HP A-Series
is
Cisco
n
Cisco
IRF
sio
is
1—Begin
m
migration to
er
open standards.
tp
ou
Cisco Cisco
ith
w
rt
pa
Figure 4-9: Parallel network
i n
In this strategy, you add the new distribution layer as a parallel network and
or
gradually migrate functionality to it.
l e
ho
1. In a first step similar to the forklift method’s first step, you configure the new
w
switches offline. You also begin to migrate Cisco switches to open standards,
in
However, unlike the forklift method, you must consider how the HP A-Series
c
du
configuration will interact with the existing configuration. For example, you
ro
cannot simply assign the A-Series switches the default gateway IP addresses
ep
all of the settings at this point but not to enable them until they are required. In
ly
the slides to follow, you will explore the best times to enable particular features.
on
2. Next, you connect the HP A-Series switches as a parallel network. The figure
se
a. Disconnect the #2 old distribution layer switch from the network completely
ld
ho
b. Connect the two new distribution layer switches to the existing distribution
ke
You can vary this strategy as called for by your environment. For example, you
might connect both HP A-Series switches to the core. Or you might distribute the
edge switch connections between the new distribution switches. You can connect
the parallel network as you desire; simply ensure that these criteria are met:
d.
• The new distribution layer connects to the old distribution layer on one link
ite
or aggregated link, which simplifies the spanning tree topology.
ib
oh
• Each HP A-Series switch connects to the core before you start migrating
pr
routing functionality to that switch.
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
d.
forklift migration. You will now look more closely at some potential trouble spots
ite
during the migration:
ib
oh
Connecting the parallel network:
pr
Will STP convergence cause any downtime?
is
n
Without STP, will loops occur?
sio
Migrating the edge:
is
m
• How can you minimize downtime?
er
tp
• How will the new traffic flow affect the network?
ou
ith
Migrating the routing functionality
w
• When will you migrate the functionality?
rt
pa
• What mechanisms will you use?
i n
You will now explore these issues so that you will fully comprehend the potential
or
pitfalls—and plan ways to avoid them.
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
d.
ite
ib
Based on the
oh
Cisco
configuration, what
pr
happens when you
connect the parallel
is
RPVST+ root for network?
n
HP A-Series
VLANs 1, 2, 10,
io
Cisco
11, 20, 21
s
IRF
is
m
er
tp
ou
ith
Cisco
w
rt
pa
Figure 4-11: Potential problem spot 1: STP behavior when you connect the parallel network
i n
or
You will first explore the type of issues that might occur when you connect the HP A-
e
Series switches as a parallel network. As discussed earlier, you will very probably
l
ho
have the Cisco switches still implementing Rapid PVST+ and the HP A-Series switches
w
implementing MSTP. The two protocols can interoperate, but you should carefully
in
consider how they will interoperate so that you can proceed in the migration with
n
tio
confidence.
c
du
The figure displays the RPVST+ topology after you connect the parallel network. The
ro
sections below display the configuration for the Cisco switches and for the HP A-
ep
Series switch (IRF stack). (Hint: The boldface settings in each configuration are the
.R
Based on the configuration, what occurs when you connect the new switches?
use
er
_______________________________________________________________________
ld
ho
ke
_______________________________________________________________________
a
St
_______________________________________________________________________
&L
C
P
_______________________________________________________________________
H
_______________________________________________________________________
_______________________________________________________________________
d.
What steps could you take to solve the problem?
ite
ib
_______________________________________________________________________
oh
pr
_______________________________________________________________________
is
n
sio
_______________________________________________________________________
is
m
er
_______________________________________________________________________
tp
ou
ith
_______________________________________________________________________
w
Cisco Core 1 configuration
rt
pa
hostname CCore_1
i n
or
e
vlan 100
l
ho
vlan 111
w
in
n
ip subnet-zero
c tio
du
ip routing
ro
ep
.R
interface Loopback0
se
interface GigabitEthernet1/0/1
ke
description to CDist_1
a
interface GigabitEthernet1/0/2
H
description to CCore_2
switchport access vlan 100
switchport mode access
interface GigabitEthernet1/0/3
description to HeDist_1
switchport access vlan 111
switchport mode access
d.
ite
interface Vlan100
ib
ip address 10.1.100.3 255.255.255.0
oh
pr
is
interface Vlan111
n
ip address 10.1.111.3 255.255.255.0
sio
is
m
router ospf 1
er
tp
router-id 10.1.0.3
ou
log-adjacency-changes
ith
network 10.1.0.0 0.0.0.255 area 0
w
network 10.1.110.0 0.0.0.255 area 0
rt
network 10.1.111.0 0.0.0.255 area 0
pa
The switch’s MAC address is 001de5-00003. i n
or
e
hostname CCore_2
in
n
tio
vlan 100
c
vlan 112
du
ro
ep
ip subnet-zero
.R
ly
on
ip routing
use
interface Loopback0
ke
interface GigabitEthernet1/0/1
C
description to CDist_2
P
H
interface GigabitEthernet1/0/2
description to CCore_1
switchport access vlan 100
switchport mode access
d.
ite
interface Vlan100
ib
ip address 10.1.100.4 255.255.255.0
oh
pr
is
interface Vlan112
n
ip address 10.1.112.4 255.255.255.0
sio
is
m
router ospf 1
er
tp
router-id 10.1.0.4
ou
log-adjacency-changes
ith
network 10.1.0.0 0.0.0.255 area 0
w
network 10.1.110.0 0.0.0.255 area 0
rt
network 10.1.111.0 0.0.0.255 area 0
pa
i n
or
The switch’s MAC address is 001de5-00004.
e
hostname CDist_1
in
n
tio
ip subnet-zero
c
du
ip routing
ro
ep
lldp run
.R
ly
Vlan 2
ke
Vlan 10
a
St
Vlan 11
&L
Vlan 20
C
Vlan 21
P
Vlan 111
H
interface Loopback0
ip address 10.1.0.1 255.255.255.255
interface GigabitEthernet1/0/1
description to CEdge_1
switchport trunk encapsulation dot1q
switchport mode trunk
d.
ite
interface GigabitEthernet1/0/2
ib
description to CEdge_2
oh
switchport trunk encapsulation dot1q
pr
switchport mode trunk
is
n
sio
interface GigabitEthernet1/0/3
is
m
description to HaDist_1
er
switchport trunk encapsulation dot1q
tp
switchport mode trunk
ou
ith
w
interface GigabitEthernet1/0/4
rt
description to CCore_1
pa
switchport access vlan 111
switchport mode access i n
or
spanning-tree bpdufilter enable
l e
ho
w
interface Vlan1
in
standby 1 ip 10.1.1.254
c
standby 1 preempt
ro
ep
.R
interface Vlan2
ly
standby 1 ip 10.1.2.254
se
standby 1 preempt
er
ld
ho
standby 1 ip 10.1.2.254
a
St
standby 1 preempt
C
P
H
interface Vlan10
ip address 10.1.10.1 255.255.255.0
ip helper-address 10.1.2.100
standby 10 ip 10.1.10.254
standby 10 priority 255
Rev. 11.21 4 –47
BitSpyder - The Culture of Knowledge
standby 10 preempt
interface Vlan11
ip address 10.1.11.1 255.255.255.0
d.
ip helper-address 10.1.2.100
ite
standby 11 ip 10.1.11.254
ib
standby 11 priority 255
oh
standby 11 preempt
pr
is
n
interface Vlan20
sio
ip address 10.1.20.1 255.255.255.0
is
m
ip helper-address 10.1.2.100
er
standby 20 ip 10.1.20.254
tp
ou
ith
interface Vlan21
w
ip address 10.1.21.1 255.255.255.0
rt
ip helper-address 10.1.2.100
pa
standby 21 ip 10.1.21.254
i n
or
e
interface Vlan111
l
ho
router ospf 1
n
tio
router-id 10.1.0.1
c
du
area 1 stub
ro
passive-interface vlan 2
er
passive-interface vlan 10
ld
ho
passive-interface vlan 11
ke
passive-interface vlan 20
a
passive-interface vlan 21
St
&L
hostname CEdge_1
Vlan 2
Vlan 10
d.
Vlan 11
ite
Vlan 20
ib
Vlan 21
oh
pr
is
interface GigabitEthernet1/0/1
n
description to CDist_1
sio
switchport trunk encapsulation dot1q
is
m
switchport mode trunk
er
tp
ou
interface GigabitEthernet1/0/2
ith
description to HaDist_2
w
switchport trunk encapsulation dot1q
rt
switchport mode trunk
pa
i n
or
interface GigabitEthernet1/0/3
e
description toServer
l
ho
interface Vlan1
c
du
ip default-gateway 10.1.1.254
.R
ip classless
ly
on
se
hostname CEdge_2
ake
St
Vlan 2
Vlan 10
Vlan 11
Vlan 20
Vlan 21
interface GigabitEthernet1/0/1
d.
description to HaDist_2
ite
ib
switchport trunk encapsulation dot1q
oh
switchport mode trunk
pr
is
interface GigabitEthernet1/0/2
n
io
description to HaDist_1
s
is
switchport trunk encapsulation dot1q
m
switchport mode trunk
er
tp
ou
interface GigabitEthernet1/0/3
ith
description toClient
w
switchport access vlan 21
rt
pa
switchport mode access
i n
or
interface Vlan1
e
ip default-gateway 10.1.1.254
n
c tio
Note that, on HP A-Series switches, all VLANs not explicitly assigned to an MSTP
ly
sysname HaDist
se
#
u
er
#
&L
vlan 1
C
#
P
vlan 2
H
#
vlan 10 to 11
#
vlan 20 to 21
4 –50 Rev. 11.21
BitSpyder - The Culture of Knowledge
#
vlan 111 to 112
#
stp instance 0 priority 8192
d.
stp instance 1 priority 0
ite
stp instance 2 priority 4096
ib
stp enable
oh
stp region-configuration
pr
region-name migration
is
n
revision-level 1
io
instance 1 vlan 10 to 11
s
is
instance 2 vlan 20 to 21
m
er
active region-configuration
tp
#
ou
interface Bridge-Aggregation1
ith
port link-type trunk
w
port trunk permit vlan 1 to 2 10 to 11 20 to 21
rt
link-aggregation mode dynamic
pa
#
interface Bridge-Aggregation2 i n
or
port link-type trunk
l e
ho
#
n
interface Vlan-interface1
tio
shutdown
c
du
#
ep
interface Vlan-interface2
.R
shutdown
ly
#
se
interface Vlan-interface10
u
er
shutdown
ld
#
ke
interface Vlan-interface11
a
St
shutdown
&L
#
P
interface Vlan-interface20
H
shutdown
ip address 10.1.20.254 255.255.255.0
#
interface Vlan-interface21
shutdown
ip address 10.1.21.254 255.255.255.0
#
interface Vlan-interface111
ip address 10.1.111.1 255.255.255.0
d.
ite
#
ib
interface Vlan-interface112
oh
ip address 10.1.112.1 255.255.255.0
pr
#
is
interface GigabitEthernet1/0/1
n
io
port link-type trunk
s
port trunk permit vlan 1 to 2 10 to 11 20 to 21
is
m
port link-aggregation group 1
er
#
tp
interface GigabitEthernet1/0/2
ou
port link-type trunk
ith
port trunk permit vlan 1 to 2 10 to 11 20 to 21
w
rt
port link-aggregation group 2
pa
#
interface GigabitEthernet1/0/3 i n
or
port link-type trunk
e
#
w
interface GigabitEthernet2/0/1
in
#
ep
interface GigabitEthernet2/0/2
.R
#
u
interface GigabitEthernet2/0/3
er
#
ke
interface Ten-GigabitEthernet1/0/25
a
shutdown
St
#
&L
interface Ten-GigabitEthernet1/0/26
C
shutdown
P
H
#
interface Ten-GigabitEthernet2/0/25
shutdown
#
interface Ten-GigabitEthernet2/0/26
4 –52 Rev. 11.21
BitSpyder - The Culture of Knowledge
shutdown
#
ospf 1 router-id 10.1.0.7
area 0.0.0.0
network 10.1.0.0 0.0.0.255
d.
ite
network 10.1.111.0 0.0.0.255
ib
network 10.1.112.0 0.0.0.255
oh
area 0.0.0.1
pr
network 10.1.1.0 0.0.0.255
is
network 10.1.2.0 0.0.0.255
n
io
network 10.1.10.0 0.0.1.255
s
is
network 10.1.20.0 0.0.1.255
m
stub
er
#
tp
irf-port 1/1
ou
port group interface Ten-GigabitEthernet1/0/27 mode enhanced
ith
port group interface Ten-GigabitEthernet1/0/28 mode enhanced
w
rt
#
pa
irf-port 2/2
n
port group interface Ten-GigabitEthernet2/0/27 mode enhanced
i
or
port group interface Ten-GigabitEthernet2/0/28 mode enhanced
l e
ho
w
in
n
ctio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
Answer
d.
ite
Cisco
It may temporarily block
ib
VLAN 1 might experience designated ports when it
oh
downtime when the HP A- receives a better BPDU.
pr
Series IST advertises itself HP A-Series
with a low priority.
is
Cisco
n
IRF
s io
is
m
Solution: Set the new
er
distribution switches’ IST
tp
priorities higher than the
Cisco priority for the current
ou
VLAN 1.
ith
w
Figure 4-12: Answer
rt
pa
Did you arrive at this answer?
i n
or
MSTP and RPVST+ interoperate on VLAN 1. The HP A-Series switches use the settings
e
for the IST root in the election for the bridge in this VLAN. Because the HP A-Series
l
ho
switch and the Cisco switch both have 0 priority, an election is held. Either the Cisco
w
switch or the A-Series switch might become the root based on which one has the
in
lower MAC address. In either case, the election will cause downtime in VLAN 1.
n
tio
To prevent this situation from occurring, you should set the new distribution switches’
c
du
IST priorities higher than the current VLAN 1 root priority. On the other hand, the
ro
new distribution switches’ priorities should also be lower than the default priority used
ep
by the edge switches. Therefore, you could set the IST priorities on the HP A-Series to
.R
8192.
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
d.
ite
Method RVSTP+ behavior
ib
oh
Disable the connection at • After detecting that the link is down,
pr
the old distribution switch. the edge switch opens an alternate
is
port.
n
• But an alternate port on the other
io
side is opened only after the
s
is
topology reconverges.
m
Remove the connection • The edge switch immediately opens
er
physically. an alternate port.
tp
• But an alternate port on the other
ou
Disable the connection at side is opened only after the
the edge switch. topology reconverges.
ith
w
Figure 4-13: Potential problem spot 2: Migrating the edge
rt
pa
Assume that you are at the point in the migration in which each edge switch is
i n
connected to at least one Cisco distribution switch and one HP A-Series distribution
or
switch. RPVST+/MSTP are eliminating loops. You want to remove the connection to
le
the Cisco switch and have the connection to the HP A-Series switch open as quickly
ho
and seamlessly as possible. You must consider RPVST+ behavior to select the best
w
in
method.
n
tio
goes down? Only after the edge switch realizes that the connection has been lost
du
(which might take a second or two) does the edge switch open an alternate port. If,
ro
the switch has the designated port in the blocked link, and the other side has the
ep
.R
alternate port, the link take might take even longer to open. It does so only after the
topology reconverges, which might be an additional second or two.
ly
on
The same principles apply when the connection is disabled on the other side. After
se
the switch detects that it is no longer receiving BPDUs, it opens the alternate port if it
u
has this port. Otherwise, after the topology reconverges, the switch on the other side
er
When you disable the connection at the edge switch, it immediately opens the
ke
alternate port. Again, if the other side has the alternate port, the topology must
a
St
In summary, to migrate an edge switch to the new distribution switch most seamlessly,
C
you ensure that the switch is connected to both a Cisco distribution switch and an HP
P
H
A-Series switch. Next ensure that the port that connects to the HP A-Series switch is
listed as an alternate port and not a designated port. Finally, disable the port that
connects to the Cisco switch. The edge switch will rapidly open the alternate port to
the HP A-Series switch, maintaining connectivity for its endpoints.
d.
ite
ib
Based on the
oh
Cisco
configuration, which
pr
ports are blocked?
is
n
HP A-Series
io
Cisco
s
IRF
is
m
er
tp
ou
ith
Cisco
w
rt
pa
Figure 4-14: Activity: Analyzing your readiness for a quick migration
i n
or
You will now consider methods to ensure that your edge switches have this desired
e
configuration (the port that connects to the HP A-Series switch is the alternate port on
l
ho
each VLAN).
w
in
The sections below display each switch’s configuration, which are identical to the
n
configurations for the previous activity with the exception that the HP A-Series
tio
switches’ IST priorities have been raised. Only the most relevant settings are provided
c
du
in these sections. For other settings, you can assume that the switches are using the
ro
Based on these configurations, which ports are blocked as alternate ports in each
ly
VLAN when you connect the HP A-Series switches to the network? Mark the blocked
on
_______________________________________________________________________
ho
ke
_______________________________________________________________________
a
St
&L
_______________________________________________________________________
C
P
H
_______________________________________________________________________
d.
ite
spanning-tree extend system-id
ib
spanning-tree vlan 1,2,10-11,111-112 priority 0
oh
spanning-tree vlan 20-21 priority 4096
pr
is
n
interface GigabitEthernet1/0/1
io
description to CEdge_1
s
is
switchport trunk encapsulation dot1q
m
er
switchport mode trunk
tp
ou
interface GigabitEthernet1/0/2
ith
description to CEdge_2
w
rt
switchport trunk encapsulation dot1q
pa
switchport mode trunk
i n
or
interface GigabitEthernet1/0/3
l e
ho
description to HaDist_1
w
interface GigabitEthernet1/0/4
du
description to CCore_1
ro
ep
hostname CEdge_1
ld
ho
ke
Vlan 2
H
Vlan 10
Vlan 11
Vlan 20
Vlan 21
interface GigabitEthernet1/0/1
description to CDist_1
d.
switchport trunk encapsulation dot1q
ite
switchport mode trunk
ib
oh
pr
interface GigabitEthernet1/0/2
is
description to HaDist_2
n
switchport trunk encapsulation dot1q
sio
switchport mode trunk
is
m
er
tp
interface GigabitEthernet1/0/3
ou
description toServer
ith
switchport access vlan 2
w
switchport mode access
rt
pa
Cisco Edge 2 configuration i n
or
hostname CEdge_2
l e
ho
w
Vlan 2
ep
Vlan 10
.R
Vlan 11
ly
Vlan 20
on
Vlan 21
u se
er
interface GigabitEthernet1/0/1
ld
ho
description to CDist_1
ke
interface GigabitEthernet1/0/2
P
description to HaDist_2
H
interface GigabitEthernet1/0/3
description toClient
switchport access vlan 21
switchport mode access
d.
ite
HP A-Series Distribution configuration
ib
oh
Note that, on HP A-Series switches, all VLANs not explicitly assigned to an MSTP
pr
instance are in the IST (instance 0).
is
n
sysname "HaDist"
io
#
s
is
stp instance 0 priority 8192
m
er
stp instance 1 priority 0
tp
stp instance 2 priority 4096
ou
stp enable
ith
stp region-configuration
w
region-name migration
rt
pa
revision-level 1
instance 1 vlan 10 to 11
instance 2 vlan 20 to 21 i n
or
active region-configuration
l e
ho
#
w
interface Bridge-Aggregation1
in
#
ro
interface Bridge-Aggregation2
ep
interface GigabitEthernet1/0/1
u
er
#
a
St
interface GigabitEthernet1/0/2
&L
#
interface GigabitEthernet1/0/3
port link-type trunk
port trunk permit vlan 1 to 2 10 to 11 20 to 21
Rev. 11.21 4 –59
BitSpyder - The Culture of Knowledge
#
interface GigabitEthernet2/0/1
port link-type trunk
port trunk permit vlan 1 to 2 10 to 11 20 to 21
port link-aggregation group 2
d.
ite
#
ib
interface GigabitEthernet2/0/2
oh
port link-type trunk
pr
port trunk permit vlan 1 to 2 10 to 11 20 to 21
is
port link-aggregation group 1
n
io
#
s
is
interface GigabitEthernet2/0/3
m
port access vlan 112
er
#
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
Answer: VLAN 1
d.
ite
Cisco
ib
oh
pr
HP A-Series
Root
is
Cisco
IRF
n
ios
is
m
er
Legend
tp
Cisco Blocked on all VLANs by MSTP
ou
ith
w
Figure 4-15: Answer: VLAN 1
rt
pa
Here you see the answer for VLAN 1, which is the VLAN on which RVPST+ and MSTP
i n
interoperate. Each Cisco edge switch defines the port that connects to the Cisco
or
distribution switch as the root port. However, the port that connects to the HP A-Series
le
ho
switch is selected as the designated port because the Cisco switches, using the
w
default RPVST+ cost method, advertise a lower root path cost than the HP A-Series
in
switches.
n
tio
The HP A-Series switch, in turn, defines the ports that connect to the Cisco edge
c
du
switches as alternate ports and blocks them. Because MSTP interoperates on the
ro
Common and Internal Spanning Tree (CIST) as if it were RSTP, it blocks the port
ep
As you will see in a moment, this configuration can cause migration problems. First,
ly
d.
ite
Cisco
ib
oh
pr
HP A-Series
Root
is
Cisco
IRF
n
sio
is
Drops RPVST+ BPDUs
m
on blocked ports
er
tp
Cisco Legend
ou
Blocked on all VLANs by MSTP
ith
w
Figure 4-16: Answer: Other VLANs
rt
pa
In other VLANs, the edge switches define the port that connects to the primary root
for those VLANs as the root port. i n
or
e
The HP A-Series switches would simply pass RPVST+ BPDUs on other VLANs,
l
ho
appearing like a hub. However, MSTP has blocked the ports, preventing the BPDUs
w
from passing. Therefore, the edge switches leave these ports open as designated
in
ports that are not receiving BPDUs. Because the HP A-Series switches block the ports,
n
tio
d.
ite
– You can migrate the default gateway functionality:
ib
oh
• Before migrating the edge switch connections
pr
• After migrating the edge switch connections
is
Consider traffic flow on this link.
n
sio
is
m
HP A-Series
Cisco
er
IRF
tp
ou
ith
…
w
rt
pa
Figure 4-17: Potential problem spot 3: When will you migrate the Layer 3 functionality?
i n
There are two steps involved in migrating the Layer 3 functionality:
or
e
Migrating the routing protocol between the distribution layer and the core from
l
ho
EIGRP to OSPF
w
in
Migrating the default gateway role from the old distribution switches to the new
n
HP A-Series switches
c tio
Of course, you must complete the routing protocol migration first. Otherwise,
ep
endpoints will lose connectivity with the core and the Internet when they begin to use
.R
As long as you follow the guidelines that you learned in Module 1, you should not
se
experience any difficulty with this migration. You should, however, consider the new
u
For example, the core switches might select the new distribution switches as the next
ho
hop to the user VLANs for which the old switch is still routing. The temporary
ke
asynchronous routing should not cause any issues, but you can test this fact in the
a
St
lab. In fact, it prevents brief downtime when you remove the old distribution switches.
&L
Note
C
If your customer does not use a routing protocol at the distribution layer, you
P
H
would simply need to configure the correct static routes on the HP A-Series
switches.
d.
edge switches connections (step 3 in the process that you examined earlier).The
ite
primary difference between the two approaches will be the traffic flow:
ib
oh
If you migrate the default gateway functionality before migrating the edge switch
pr
connections, all traffic will flow across the link between the parallel distribution
is
layers until you migrate the edge connections.
n
io
If you migrate the edge connections first, all traffic will flow across the link
s
is
between the parallel distribution layers until you migrate the default gateway
m
er
functionality.
tp
As long as the link can handle the traffic during the migration, you need not be
ou
concerned.
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
Important
! In order to minimize the outage to the network, pre-stage the commands (step 5
and step 6) on each switch before executing them.
d.
ite
Ready the command in advance so that you can press [Enter] and then move to
ib
the new distribution switch session quickly.
oh
pr
6. Enable the same VLAN on the new distribution switch.
is
Ready the command in advance so that you can press [Enter] as soon as you
n
io
execute [Enter] on the old distribution switch.
s
is
Again, it is simpler to migrate the IP address when you are dealing with only
m
one switch.
er
tp
ou
Note
ith
This suggested process does not attempt to clear the endpoints’ ARP caches and
w
force them to use the new gateway’s MAC address. Instead, you simply shut
rt
down the VLAN on the current switch and tolerate the two to four seconds it takes
pa
the endpoints to realize that they need to send a new ARP request.
i n
or
7. Repeat the process for each VLAN.
e
8. After the migration is complete, you can remove the old distribution switch.
l
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
Brainstorm situations in which you would use the parallel network method. Have you
encountered customers whose priorities aligned with the advantages of this method?
_______________________________________________________________________
d.
ite
_______________________________________________________________________
ib
oh
_______________________________________________________________________
pr
is
n
_______________________________________________________________________
sio
is
m
_______________________________________________________________________
er
tp
_______________________________________________________________________
ou
ith
w
_______________________________________________________________________
rt
pa
_______________________________________________________________________
i n
or
e
_______________________________________________________________________
l
ho
w
in
n
ctio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
d.
on the DHCP server or other network services. In that case, you would be required to
ite
use the same IP addresses for the new distribution switch that you were using for
ib
HSRP.
oh
pr
Or the customer might have port constraints at the core that require you to disconnect
is
some of the old switches before connecting new distribution switches. You would
n
need to select the replacement or forklift strategy, or develop a combination of the
sio
parallel network and replacement method of your own. The lab actually features such
is
m
a constraint, with which you will need to deal.
er
NOTES
tp
ou
ith
_______________________________________________________________________
w
rt
_______________________________________________________________________
pa
i n
_______________________________________________________________________
or
l e
ho
_______________________________________________________________________
w
in
_______________________________________________________________________
n
c tio
du
_______________________________________________________________________
ro
ep
_______________________________________________________________________
.R
ly
on
_______________________________________________________________________
u se
_______________________________________________________________________
er
ld
ho
_______________________________________________________________________
ake
St
_______________________________________________________________________
&L
C
_______________________________________________________________________
P
H
Summary
This module has guided you through many of the design considerations and potential
pitfalls of a migration from a Cisco distribution layer to an HP A-Series distribution
d.
layer. You have learned how to plan the configuration for an open standards–based
ite
network with an HP A-Series distribution layer, and you have experimented with and
ib
analyzed the results of several migration strategies for reaching this final
oh
configuration. Along the way, you have discovered potential issues and areas of
pr
concern—and you have developed solutions for these problems.
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
d.
ite
ib
oh
EIGRP OSPF
pr
HaDist
is
IRF
n
HSRP
io
CDist_1 CDist_2
s
is
CDP LLDP
m
VTP VLAN
er
PVST MSTP
tp
CEdge_2 CEdge_1 CEdge_2
ou
CEdge_1
PC_1 PC_2 PC_1 PC_2
ith
(server) (client) (server) (client)
w
Figure 4-18: Prelab activity: Plan a complete migration strategy
rt
pa
In preparation for the lab, you and your partner will now plan a strategy for the
migration. Follow the instructions in the sections below until: n i
or
The HP A-Series switches have replaced the Cisco distribution switches and have
e
l
ho
n
Both HP A-Series switches are routing traffic and STP is operating as planned
tio
c
Each distribution and edge switch has only four available ports for all switch-to-
.R
For any protocol that you do not plan to migrate at this point, explain how the Cisco
protocol will interoperate with the HP A-Series protocol.
_______________________________________________________________________
d.
ite
_______________________________________________________________________
ib
oh
_______________________________________________________________________
pr
is
n
_______________________________________________________________________
sio
is
m
_______________________________________________________________________
er
tp
_______________________________________________________________________
ou
ith
w
_______________________________________________________________________
rt
pa
_______________________________________________________________________
i n
or
e
_______________________________________________________________________
l
ho
w
What settings will you use for these protocols? You can use the plan that you created
in
beginning on page 4-15 or the plan that was proposed beginning on page 4-22.
n
tio
_______________________________________________________________________
c
du
ro
If you are planning to migrate the Cisco distribution switches to open standard
ep
protocols such as OSPF, you must use settings that are compatible with your plan for
.R
_______________________________________________________________________
u se
_______________________________________________________________________
er
ld
ho
_______________________________________________________________________
ake
St
_______________________________________________________________________
&L
C
_______________________________________________________________________
P
H
_______________________________________________________________________
_______________________________________________________________________
d.
ite
VLANs
ib
oh
MSTP
pr
IP settings
is
n
OSPF
io
s
IRF
is
m
er
What settings will you use for these protocols? You can use the plan that you created
tp
beginning on page 4-15 or the plan that was proposed beginning on page 4-22.
ou
ith
_______________________________________________________________________
w
rt
Step 3
pa
You will now begin to migrate your Layer 2 connections or Layer 3 functionality (as
you choose). i n
or
e
Will you alter any settings before you begin? If so, indicate which settings you will
l
ho
change.
w
in
_______________________________________________________________________
n
ctio
du
_______________________________________________________________________
ro
ep
_______________________________________________________________________
.R
ly
on
_______________________________________________________________________
use
_______________________________________________________________________
er
ld
ho
_______________________________________________________________________
ake
St
_______________________________________________________________________
&L
C
_______________________________________________________________________
P
H
_______________________________________________________________________
Add to the network diagram the connections for this step of the migration. Indicate
which ports you expect STP to block. During the lab, you will verify whether what you
expect to occur actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
HaDist_1 HaDist_2
n
s io
is
CDist_1 CDist_2
m
er
tp
ou
CEdge_2
ith
CEdge_1
PC_1 PC_2
w
(server) (client)
rt
pa
Figure 4-20: Migration step
n i
Circle the settings that are currently migrated on the Cisco switches at this step. Place
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP A-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ake
IRF
St
Step 5
&L
C
choose).
H
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_______________________________________________________________________
d.
ite
_______________________________________________________________________
ib
oh
_______________________________________________________________________
pr
is
n
_______________________________________________________________________
sio
is
m
_______________________________________________________________________
er
tp
_______________________________________________________________________
ou
ith
w
_______________________________________________________________________
rt
pa
_______________________________________________________________________
i n
or
Label the switch or switches that will be routing at the end of this step. If you are
e
moving the routing functionality from one switch to another, two switches to one
l
ho
switch, or one switch to two switches, plan a process for doing so:
w
in
n
_______________________________________________________________________
c tio
du
_______________________________________________________________________
ro
ep
_______________________________________________________________________
.R
ly
on
_______________________________________________________________________
u se
_______________________________________________________________________
er
ld
ho
_______________________________________________________________________
ake
St
_______________________________________________________________________
&L
C
_______________________________________________________________________
P
H
_______________________________________________________________________
Add to the network diagram the connections for this step of the migration. Indicate
which ports you expect STP to block. During the lab, you will verify whether what you
expect to occur actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
HaDist_1 HaDist_2
n
s io
is
CDist_1 CDist_2
m
er
tp
ou
CEdge_2
ith
CEdge_1
PC_1 PC_2
w
(server) (client)
rt
pa
Figure 4-21: Migration step
n i
Circle the settings that are currently migrated on the Cisco switches at this step. Place
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP A-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ake
IRF
St
Step 6
&L
C
choose).
H
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_______________________________________________________________________
d.
ite
_______________________________________________________________________
ib
oh
_______________________________________________________________________
pr
is
n
_______________________________________________________________________
sio
is
m
_______________________________________________________________________
er
tp
_______________________________________________________________________
ou
ith
w
_______________________________________________________________________
rt
pa
_______________________________________________________________________
i n
or
Label the switch or switches that will be routing at the end of this step. If you are
e
moving the routing functionality from one switch to another, two switches to one
l
ho
switch, or one switch to two switches, plan a process for doing so:
w
in
n
_______________________________________________________________________
c tio
du
_______________________________________________________________________
ro
ep
_______________________________________________________________________
.R
ly
on
_______________________________________________________________________
u se
_______________________________________________________________________
er
ld
ho
_______________________________________________________________________
ake
St
_______________________________________________________________________
&L
C
_______________________________________________________________________
P
H
_______________________________________________________________________
Add to the network diagram the connections for this step of the migration. Indicate
which ports you expect STP to block. During the lab, you will verify whether what you
expect to occur actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
HaDist_1 HaDist_2
n
s io
is
CDist_1 CDist_2
m
er
tp
ou
CEdge_2
ith
CEdge_1
PC_1 PC_2
w
(server) (client)
rt
pa
Figure 4-22: Migration step
n i
Circle the settings that are currently migrated on the Cisco switches at this step. Place
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP A-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ake
IRF
St
Step 7
&L
C
choose).
H
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_______________________________________________________________________
d.
ite
_______________________________________________________________________
ib
oh
_______________________________________________________________________
pr
is
n
_______________________________________________________________________
sio
is
m
_______________________________________________________________________
er
tp
_______________________________________________________________________
ou
ith
w
_______________________________________________________________________
rt
pa
_______________________________________________________________________
i n
or
Label the switch or switches that will be routing at the end of this step. If you are
e
moving the routing functionality from one switch to another, two switches to one
l
ho
switch, or one switch to two switches, plan a process for doing so:
w
in
n
_______________________________________________________________________
c tio
du
_______________________________________________________________________
ro
ep
_______________________________________________________________________
.R
ly
on
_______________________________________________________________________
u se
_______________________________________________________________________
er
ld
ho
_______________________________________________________________________
ake
St
_______________________________________________________________________
&L
C
_______________________________________________________________________
P
H
_______________________________________________________________________
Add to the network diagram the connections for this step of the migration. Indicate
which ports you expect STP to block. During the lab, you will verify whether what you
expect to occur actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
HaDist_1 HaDist_2
n
s io
is
CDist_1 CDist_2
m
er
tp
ou
CEdge_2
ith
CEdge_1
PC_1 PC_2
w
(server) (client)
rt
pa
Figure 4-23: Migration step
n i
Circle the settings that are currently migrated on the Cisco switches at this step. Place
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP A-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ake
IRF
St
Step 8
&L
C
choose).
H
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_______________________________________________________________________
d.
ite
_______________________________________________________________________
ib
oh
_______________________________________________________________________
pr
is
n
_______________________________________________________________________
sio
is
m
_______________________________________________________________________
er
tp
_______________________________________________________________________
ou
ith
w
_______________________________________________________________________
rt
pa
_______________________________________________________________________
i n
or
Label the switch or switches that will be routing at the end of this step. If you are
e
moving the routing functionality from one switch to another, two switches to one
l
ho
switch, or one switch to two switches, plan a process for doing so:
w
in
n
_______________________________________________________________________
c tio
du
_______________________________________________________________________
ro
ep
_______________________________________________________________________
.R
ly
on
_______________________________________________________________________
u se
_______________________________________________________________________
er
ld
ho
_______________________________________________________________________
ake
St
_______________________________________________________________________
&L
C
_______________________________________________________________________
P
H
_______________________________________________________________________
Add to the network diagram the connections for this step of the migration. Indicate
which ports you expect STP to block. During the lab, you will verify whether what you
expect to occur actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
HaDist_1 HaDist_2
n
s io
is
CDist_1 CDist_2
m
er
tp
ou
CEdge_2
ith
CEdge_1
PC_1 PC_2
w
(server) (client)
rt
pa
Figure 4-24: Migration step
n i
Circle the settings that are currently migrated on the Cisco switches at this step. Place
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP A-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ake
IRF
St
Step 9
&L
C
choose).
H
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_______________________________________________________________________
d.
ite
_______________________________________________________________________
ib
oh
_______________________________________________________________________
pr
is
n
_______________________________________________________________________
sio
is
m
_______________________________________________________________________
er
tp
_______________________________________________________________________
ou
ith
w
_______________________________________________________________________
rt
pa
_______________________________________________________________________
i n
or
Label the switch or switches that will be routing at the end of this step. If you are
e
moving the routing functionality from one switch to another, two switches to one
l
ho
switch, or one switch to two switches, plan a process for doing so:
w
in
n
_______________________________________________________________________
c tio
du
_______________________________________________________________________
ro
ep
_______________________________________________________________________
.R
ly
on
_______________________________________________________________________
u se
_______________________________________________________________________
er
ld
ho
_______________________________________________________________________
ake
St
_______________________________________________________________________
&L
C
_______________________________________________________________________
P
H
_______________________________________________________________________
Add to the network diagram the connections for this step of the migration. Indicate
which ports you expect STP to block. During the lab, you will verify whether what you
expect to occur actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
HaDist_1 HaDist_2
n
s io
is
CDist_1 CDist_2
m
er
tp
ou
CEdge_2
ith
CEdge_1
PC_1 PC_2
w
(server) (client)
rt
pa
Figure 4-25: Migration step
n i
Circle the settings that are currently migrated on the Cisco switches at this step. Place
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP A-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ake
IRF
St
Step 10
&L
C
choose).
H
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_______________________________________________________________________
d.
ite
_______________________________________________________________________
ib
oh
_______________________________________________________________________
pr
is
n
_______________________________________________________________________
sio
is
m
_______________________________________________________________________
er
tp
_______________________________________________________________________
ou
ith
w
_______________________________________________________________________
rt
pa
_______________________________________________________________________
i n
or
Label the switch or switches that will be routing at the end of this step. If you are
e
moving the routing functionality from one switch to another, two switches to one
l
ho
switch, or one switch to two switches, plan a process for doing so:
w
in
n
_______________________________________________________________________
c tio
du
_______________________________________________________________________
ro
ep
_______________________________________________________________________
.R
ly
on
_______________________________________________________________________
u se
_______________________________________________________________________
er
ld
ho
_______________________________________________________________________
ake
St
_______________________________________________________________________
&L
C
_______________________________________________________________________
P
H
_______________________________________________________________________
Add to the network diagram the connections for this step of the migration. Indicate
which ports you expect STP to block. During the lab, you will verify whether what you
expect to occur actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
HaDist_1 HaDist_2
n
s io
is
CDist_1 CDist_2
m
er
tp
ou
CEdge_2
ith
CEdge_1
PC_1 PC_2
w
(server) (client)
rt
pa
Figure 4-26: Migration step
n i
Circle the settings that are currently migrated on the Cisco switches at this step. Place
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP A-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ake
IRF
St
Step 11
&L
C
choose).
H
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_______________________________________________________________________
d.
ite
_______________________________________________________________________
ib
oh
_______________________________________________________________________
pr
is
n
_______________________________________________________________________
sio
is
m
_______________________________________________________________________
er
tp
_______________________________________________________________________
ou
ith
w
_______________________________________________________________________
rt
pa
_______________________________________________________________________
i n
or
Label the switch or switches that will be routing at the end of this step. If you are
e
moving the routing functionality from one switch to another, two switches to one
l
ho
switch, or one switch to two switches, plan a process for doing so:
w
in
n
_______________________________________________________________________
c tio
du
_______________________________________________________________________
ro
ep
_______________________________________________________________________
.R
ly
on
_______________________________________________________________________
u se
_______________________________________________________________________
er
ld
ho
_______________________________________________________________________
ake
St
_______________________________________________________________________
&L
C
_______________________________________________________________________
P
H
_______________________________________________________________________
Add to the network diagram the connections for this step of the migration. Indicate
which ports you expect STP to block. During the lab, you will verify whether what you
expect to occur actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
HaDist_1 HaDist_2
n
s io
is
CDist_1 CDist_2
m
er
tp
ou
CEdge_2
ith
CEdge_1
PC_1 PC_2
w
(server) (client)
rt
pa
Figure 4-27: Migration step
n i
Circle the settings that are currently migrated on the Cisco switches at this step. Place
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP A-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ake
IRF
St
Step 12
&L
C
choose).
H
Will you alter any settings before you make the next change in connections or in
which switch is routing? If so, indicate which settings you will change.
_______________________________________________________________________
d.
ite
_______________________________________________________________________
ib
oh
_______________________________________________________________________
pr
is
n
_______________________________________________________________________
sio
is
m
_______________________________________________________________________
er
tp
_______________________________________________________________________
ou
ith
w
_______________________________________________________________________
rt
pa
_______________________________________________________________________
i n
or
Label the switch or switches that will be routing at the end of this step. If you are
e
moving the routing functionality from one switch to another, two switches to one
l
ho
switch, or one switch to two switches, plan a process for doing so:
w
in
n
_______________________________________________________________________
c tio
du
_______________________________________________________________________
ro
ep
_______________________________________________________________________
.R
ly
on
_______________________________________________________________________
u se
_______________________________________________________________________
er
ld
ho
_______________________________________________________________________
ake
St
_______________________________________________________________________
&L
C
_______________________________________________________________________
P
H
_______________________________________________________________________
Add to the network diagram the connections for this step of the migration. Indicate
which ports you expect STP to block. During the lab, you will verify whether what you
expect to occur actually occurs.
d.
CCore_1 CCore_2
ite
ib
oh
pr
is
HaDist_1 HaDist_2
n
s io
is
CDist_1 CDist_2
m
er
tp
ou
CEdge_2
ith
CEdge_1
PC_1 PC_2
w
(server) (client)
rt
pa
Figure 4-28: Migration step
n i
Circle the settings that are currently migrated on the Cisco switches at this step. Place
or
a star next to the settings that you will now migrate:
l e
ho
LLDP to CDP
w
n
RPVST+ to MSTP
tio
c
EIGRP to OSPF
du
ro
Circle the settings that are currently enabled on the HP A-Series switches. Place a star
ep
LLDP
ly
on
VLANs
se
MSTP
u
er
IP settings
ld
ho
OSPF
ake
IRF
St
&L
C
P
H
d.
INITIAL FINAL
ite
CCore_1 CCore_2 CCore_1 CCore_2
ib
oh
pr
is
EIGRP OSPF
n
HaDist
s io
is
HSRP IRF
m
CDist_1 CDist_2
er
CDP LLDP
tp
Rapid VLAN
ou
PVST MSTP
ith
CEdge_2 CEdge_1 CEdge_2
w
CEdge_1
PC_1 PC_2 PC_1 PC_2
rt
(server) (client) (server) (client)
pa
Figure 4-29: Lab Activity 4.1: Migrating the Distribution Layer from Cisco to HP A-Series Devices
n i
or
Consult your Lab Activity Guide for instructions for performing this activity.
l e
ho
w
in
n
tio
c
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
Lab debrief
Use the space below to record the key things you learned, and also the challenges
you faced in lab activity 4.1.
d.
Table 4-11: Debrief for lab activity 4.1
ite
ib
Challenges Key things learned
oh
pr
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
NOTES
l e
ho
w
_______________________________________________________________________
in
n
tio
_______________________________________________________________________
c
du
ro
_______________________________________________________________________
ep
.R
_______________________________________________________________________
ly
on
_______________________________________________________________________
use
er
_______________________________________________________________________
ld
ho
ke
_______________________________________________________________________
a
St
_______________________________________________________________________
&L
C
P
_______________________________________________________________________
H
Learning check
Discuss these questions with your classmates:
Q1: What is the simplest method for eliminating loops on redundant connections
d.
between Cisco edge switches and two HP A-Series switches at the distribution layer?
ite
ib
oh
____________________________________________________________________
pr
is
____________________________________________________________________
n
sio
is
____________________________________________________________________
m
er
tp
____________________________________________________________________
ou
ith
____________________________________________________________________
w
rt
pa
____________________________________________________________________
i n
or
____________________________________________________________________
l e
ho
____________________________________________________________________
w
in
Q2: What advantages does IRF provide on the new HP A-Series devices in
n
tio
____________________________________________________________________
ro
ep
.R
____________________________________________________________________
ly
on
____________________________________________________________________
u se
er
____________________________________________________________________
ld
ho
____________________________________________________________________
ake
St
____________________________________________________________________
&L
C
____________________________________________________________________
P
H
d.
ite
and Quality of Service (QoS) policies on HP A-Series devices.
ib
Migrate ACLs and QoS policies
oh
pr
In order to help you concentrate on the fundamentals of the migration, until now you
is
have examined migrating distribution layers with relatively simple configurations. But
n
io
in a production environment you will often encounter switches that implement more
s
is
sophisticated features, and you must consider the effects of these features on the
m
migration.
er
tp
The last section in this module introduces you to a few considerations for migrating a
ou
distribution layer from Cisco to HP A-Series devices when the distribution switches
ith
enforce ACLs and QoS policies.
w
rt
Your two main goals for this section are to:
pa
Configure HP A-Series ACLs and QoS policies that provide the expected
n
functionality i
or
e
Determine the best time to enable the new ACLs or policies during the migration
l
ho
w
You can meet these goals within any of the migration models that you have
in
examined in this module. The first question remains more or less the same no matter
n
which method you use. The second question is more complicated for the parallel
tio
ACL
Cisco functionality HP A-Series functionality
application
d.
ite
Routed ACL • Applied to a routed port or • Applied to a physical port or
(RACL) VLAN interface as inbound (in) VLAN interface as inbound (in) or
ib
or outbound (out) outbound (out)
oh
• Controls all traffic routed from • Controls all traffic routed from (in)
pr
(in) or to (out) the interface or to (out) the interface
is
VLAN-based • Applied as ACLs in a VLAN • Applied to a VLAN interface as
ACL (VACL) access map, which is applied to inbound (in) or outbound (out)
n
a VLAN list • Controls all traffic leaving or
io
• Controls all traffic routed to the arriving on all ports in the VLAN
s
is
VLAN and arriving on the VLAN
m
Port ACL • Applied to a physical port as • Applied to a physical port as
er
inbound (in) or outbound (out) inbound (in) or outbound (out)
tp
• Controls all traffic arriving on (in) • Controls all traffic arriving (in) or
ou
or leaving the port (out) leaving the port (out)
ith
Figure 4-30: Applying the ACLs
w
rt
You do need to understand some differences in the ways that you apply ACLs on HP
pa
A-Series switches as compared to applying them to Cisco switches. Otherwise, you
i
might find the ACLs allowing or denying unexpected traffic. n
or
e
RACLs
l
ho
w
You apply routed ACLs (RACLs) to inbound or outbound traffic on routed A-Series
in
interfaces much as you do on Cisco switches (in and out options in the packet-filter
n
command).
c tio
Note that A-Series switches do not have routed physical interfaces. Instead, you must
du
create a VLAN interface for the subnet and specify the IP address there; you can then
ro
ep
assign that VLAN as a port access VLAN on a physical port. As long as you do not
.R
assign that VLAN to any other ports, the port behaves much like a routed port.
ly
However, remember that you apply all IP settings and so forth to the VLAN interface.
on
VACLs
use
It is VLAN-based ACLs (VACLs) that differ most in configuration between the two
er
vendors. On Cisco switches, when you want to control both routed and non-routed
ld
ho
traffic that arrives on a VLAN interface, you use VLAN access maps. You configure
ke
ACLs to select traffic and then apply an action to traffic selected by the ACL in the
a
VLAN access map. A VLAN access map, like a typical ACL, has an implicit drop all
St
traffic just as you do other ACLs. You then apply the ACL to the VLAN interface using
H
Port ACLs
On HP A-Series switches, you apply port ACLs to inbound or outbound traffic on a
port by applying the ACL to a physical port.
d.
ite
ib
oh
pr
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
d.
ite
Planning VACLs
ib
oh
A Cisco VLAN access map filters all traffic on a VLAN:
pr
Traffic that arrives on the VLAN at Layer 2 and is switched within that VLAN
is
n
Traffic that arrives on the VLAN at Layer 2 and is routed out of the VLAN
io
s
is
Traffic that arrives on a different interface and is routed to the VLAN
m
er
VACL example
tp
ou
A Cisco switch is the default router for VLAN 10 (10.1.10.0/24), VLAN 11
ith
(10.1.11.0/24), and VLAN 20 (10.1.20.0/24). It also connects to a WAN router,
w
which connects to the Internet, on a routed port. It has this ACL configuration:
rt
pa
access-list 100 permit ip 10.1.11.0 0.0.0.255 host 10.1.10.10
n
access-list 100 permit ip 10.1.10.128 0.0.0.127 host 10.1.10.10
i
or
access-list 100 permit ip 10.1.10.0 0.0.1.255 10.1.20.0 0.0.0.255
l e
action drop
n
tio
action forward
ro
You can create a table that shows how the Cisco switch is controlling traffic.
.R
Traffic that arrives on VLAN 10 Endpoints between 10.1.10.128 and 10.1.10.254 are denied access
u
Traffic that arrives on VLAN 10 Traffic to VLAN 20 is dropped, but all other traffic is permitted.
ld
ho
Traffic that arrives on another All endpoints in VLAN 11 are denied access to 10.1.10.10. (This
a
St
VLAN or routed port and is statement will actually be redundant because the map applied to
routed to VLAN 10 VLAN 11 will also filter this traffic. However, you have saved time
&L
ACL
When you must migrate
function
d.
Filter routed Before the new switch But you can
ite
traffic begins to route traffic generally just
ib
enable the ACLs
oh
Filter traffic Before the traffic passes when you first
pr
within a through the new switch configure the
is
VLAN switch.
n
io
Filter traffic Before the traffic passes
s
on a port through the new switch
is
m
er
tp
Figure 4-31: Determine when to migrate the ACLs
ou
ith
You must understand which type of traffic the ACL affects to determine when the HP
w
A-Series ACL must take over. If the ACL is filtering routed traffic, for example, the HP
rt
A-Series switch must begin applying the ACL as soon as it routes the traffic. However,
pa
if the ACL filters traffic within a VLAN or traffic that arrives on a specific port, the HP
i n
A-Series ACL must filter the traffic as soon as the traffic flow alters and the traffic
or
begins to pass through the HP A-Series switch instead of the old chokepoint.
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ke
Often, there are no adverse consequences to enabling all the ACLs before you
&L
distribution switch. Then you are sure that the ACLs are in place and ready to control
P
traffic.
H
Note that during the migration process the route path might temporarily alter. For
example, in the first section of this module, you learned strategies for migrating the
Layer 3 functionality in which an old distribution switch temporarily routes some
VLANs while a new switch routes others. However, as long as you have the correct
RACLs in place on the new HP A-Series switches, the traffic should be controlled
d.
ite
correctly as illustrated in the figures below.
ib
oh
Outbound RACL
on VLAN 10
VLAN 20 VLAN 10
pr
Original routing path
is
n
s io
Outbound RACL
is
VLAN 20 VLAN 10 on VLAN 10
Temporary routing
m
er
path if you migrate
tp
another VLAN first
ou
Temporary routing VLAN 10
ith
VLAN 20 VLAN 1 VLAN 1
path if you migrate
w
VLAN 10 first
rt
pa
n
VLAN 20 VLAN 10
i
or
Final routing path
l e
ho
Note that outbound RACLs need to be in place on the new routing switch as soon as
n
you begin migrating any VLAN routing responsibilities to this switch—not simply
tio
before you migrate the VLAN in question. Even though the new switch is not yet the
c
du
default gateway for that VLAN, it is routing traffic to it. Again, it is generally best
ro
practice simply to configure the ACLs in advance and know that they are in place.
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
d.
ite
Devices at the distribution layer might implement a variety of QoS features that fall in
ib
several broad categories:
oh
pr
Honoring prioritization—The switch honors traffic’s 802.1p Class of Service
is
(CoS) or Differentiated Services Code Point (DSCP) values, typically by placing
n
them in different priority queues.
sio
is
Classifying (and marking) traffic—The switch classifies traffic according to
m
characteristics such as source and destination IP address, protocol, or TCP/UDP
er
port, and assigns it to the correct priority queue. Typically the switch then marks
tp
each type of traffic with the appropriate CoS or DSCP to be honored after it is
ou
ith
forwarded to another device.
w
Because it is best to classify traffic as close to the source as possible (at the edge),
rt
pa
the distribution layer often plays only the first role. However, it can play both.
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
Honor prioritization
d.
ite
Sometimes the distribution layer only needs to honor priorities that have already
ib
been established by trusted applications or by switches at the edge.
oh
On Cisco switches you must manually specify on which ports the switch can accept
pr
and honor CoS values and DSCPs. HP A-Series switches, on the other hand, by
is
default honor these values. Of course, as always, a frame must arrive on a tagged
n
io
VLAN (have the 802.1Q tag) in order for it to carry a CoS value. The DSCP is
s
is
located in the Layer 3 header, so it can be detected in traffic that arrives on a
m
er
tagged or untagged VLAN.
tp
Once the switch determines that it honors traffic’s QoS value, it must decide how it
ou
will treat the traffic based on that value. On both Cisco and A-Series devices CoS
ith
values are assigned to specific priority queues; the switch then forwards traffic in
w
higher queues first. Also, on both types of switch you map DSCPs to CoS values in
rt
pa
order to assign the traffic with that DSCP.
The table provides some guidelines. i n
or
Globally:
priority queue based qos map-table dscp-dot1p
ep
mls qos
on a DSCP import <0-63> export <0-7>
On the port that receives the traffic:
.R
CEdge_1 CEdge_2
CEdge_1 CEdge_2 PC_3 PC_3
(client) (client)
PC_1 PC_2 PC_1 PC_2
(server) (client) (server) (client)
Figure 4-35: Optional Lab Activity 4.2: Migrating ACLs and QoS Policies from a Cisco to an HP A-
Series Distribution Layer
Consult your Lab Activity Guide for instructions for performing this activity.
Objectives
After completing this module, you will be able to:
Replace a BGP-configured Cisco router with a BGP-configured HP A-Series router
Consider operation order to reduce downtime
Convert a BGP configuration of a Cisco router to a configuration of an HP A-
Series router
Select HP A-Series BGP features such as Bi-Directional Forwarding (BFD) to
improve your new BGP configuration
Rev. 11.21 5 –1
BitSpyder - The Culture of Knowledge
Rev. 11.21 5 –3
BitSpyder - The Culture of Knowledge
Idle
The BGP routing process is initially in the idle state. If the BGP routing process
receives a start event (either an administrator manually starts it or the system starts it
automatically), the process initializes the BGP resources, starts the ConnectRetry
timer, tries to set up a transport connection to another BGP peer, and listens for a
connection from a BGP peer. It changes its state to Connect.
If at any time the BGP routing process is reset, then the peer is reset, and the BGP
routing process returns to the Idle state.
Note
If the BGP routing process is set to start in passive TCP mode, it listens for
connections but does not initiate them and changes its state to Active.
Connect
During the Connect state, the BGP routing process waits for the TCP connection to
another BGP peer to be completed. If the connection is established successfully, the
BGP routing process:
Clears the ConnectRetry timer
Sends an open message to its peer, either immediately or after a delay,
depending on the configuration
Either:
• Transitions to the OpenSent state—if it sends the open message first
• Transitions to the OpenConfirm state (but first sends its open message)—if it
receives the peer’s valid open message first
If the connection fails to be established, the BGP router resets to the Idle state.
However, if the process was waiting to send a delayed open message and the
connection then fails, the router moves to the Active state.
Active
In the Active state, the BGP routing process continues to listen for a TCP session with
a BGP peer.
Failures
• If the ConnectRetry timer expires before the connection is established
successfully, the BGP router will restart the timer. It will then move to the
Connect state and try to initiate a TCP connection to a BGP peer again as
well as continue to listen for other connections. If the second attempt is
unsuccessful, the BGP routing process will return to the Idle state.
• If the BGP router receives a connection request from an unknown IP
address, it will reject the request, restart the ConnectRetry timer, and
continue to listen for connections from other BGP peers.
5 –4 Rev. 11.21
BitSpyder - The Culture of Knowledge
Success
• If the connection is established successfully, the BGP routing process takes
the same steps that it takes at a successful connection in the Connect state.
The process sends an open message and transitions to the OpenSent or
OpenConfirm state (depending on whether it first received an open
message from the peer).
OpenSent
The BGP routing process listens for an open message from its BGP peer. When it
receives the message, it determines whether its BGP parameters match those of the
BGP peer. If the parameters fail to match, the BGP routing process sends a
notification to its BGP peer. The local router’s BGP routing process transitions to the
Idle state.
If the parameters match, the BGP routing process sends a keepalive message and
transitions to the OpenConfirm state.OpenConfirm
The BGP routing process listens for a keepalive from the BGP peer. If its Keepalive
timer expires first, it sends its own keepalive and continues to wait for the peer’s.
The process continues to wait for the duration of the HoldTime, which started
running when the process sent its open message. (The HoldTime is quite long,
typically four minutes). If the HoldTime expires before the process receives a
keepalive, the routing process resets the connection and returns to the Idle state.
However, if the BGP routing process does receive a keepalive message, it transitions
to the Established state.
On the other hand, if it receives a notification message (such as one that indicates
mismatched parameters), the BGP routing process transitions to the Idle state. If an
error or configuration change occurs, the BGP routing process sends a notification
message with the Finite State Machine (FSM) error code and then transitions to the
Idle state.
Established
The BGP routing process has established a peer and will now exchange update
messages with that peer. It will restart the hold timer when it receives an update or
keepalive message.
If the BGP routing process receives an error notification, however, it will move to the
Idle state.
Rev. 11.21 5 –5
BitSpyder - The Culture of Knowledge
NOTES
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
5 –6 Rev. 11.21
BitSpyder - The Culture of Knowledge
BGP capabilities
OPEN message
Route refresh
A BGP router applies inbound routing policies to the routes that it receives from its
neighbors to determine which routes to accept and so forth. However, if the router’s
policies change, it needs to be able to access the original routes so that it can apply
the new policy to them. Traditionally, BGP routers had to store the original routes
locally for the rare occasions when the policies changed, which consumed needless
memory and processing power.
Rev. 11.21 5 –7
BitSpyder - The Culture of Knowledge
Hard reset
To trigger a BGP reset
[HP] reset bgp all
Cisco#clear ip bgp all
BGP
Path IP
Filter Table Selection
Routing Filter
In Out
Table
What is the difference between a hard reset and powering off a BGP
router?
A hard reset tears down the specified peering sessions, including the TCP
connection and deletes routes coming from the specified peer.
To perform a hard reset of a BGP neighbor connection, use the following
commands:
[HP] reset bgp { all | ip-address | group group-name | external |
internal }
Cisco#clear ip bgp {* | address | peer-group name}
Cisco#clear ip bgp {all | address | peer-group name}
When you reset a BGP neighbor connection, the routes announced by that BGP
router are removed.
Q1: What is the difference between a hard reset and powering off a BGP router?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Rev. 11.21 5 –9
BitSpyder - The Culture of Knowledge
Route refresh
To request a route refresh from neighbor:
[HP] refresh bgp all import
Cisco#clear ip bgp * soft in
BGP IP
Path
Selection Routing
Filter Filter
In Out
Table
Table
BGP peer
Peer Peer
Comware or IOS 12.1
A soft reset allows a BGP peer to apply new route policies without tearing down its
BGP session with its peers. Cisco refers to this type of refresh as a “dynamic
inbound soft reset.”
As mentioned earlier, the route refresh capability allows a local BGP router to
exchange route refresh requests with its BGP peers, thereby refreshing its inbound
routing tables. This capability saves memory and processing power on the BGP
router because the router can request the information that it needs in order to update
policies rather than store that information locally at all times.
To use the route refresh capability, BGP peers must exchange the BGP capabilities
advertisement to show that they support this capability. All BGP peers must support
the route refresh capability.
Route refresh is supported in Comware OS and in Cisco IOS 12.1 by default. To
perform a soft reset or trigger route refresh from neighbors:
[HP] refresh bgp { all | ip-address | group group-name | external |
internal } import
Cisco#clear ip bgp {* | address | peer-group name} soft in
To determine if a BGP router supports this capability, use the following commands:
[HP] display bgp peer verbose
Cisco# show ip bgp neighbors command
IP
Stored BGP Path
Updates Selection
Filter Filter
In Out
Routing
of Table
remote Table
peers
If a BGP neighbor does not support the route refresh feature, you can configure a
local peer to store remote peer updates and then allow a soft reset inbound without
breaking the BGP connection.
[HP] peer { group-name | ip-address } keep-all-routes
Cisco(config-bgp)#neighbor {Ip-address | peer-group-name} soft-
reconfiguration inbound
Because this configuration consumes memory, you should first verify that the BGP
peers do not support route refresh.
AS 100
ISP2
AS 200
1. The eBGP interface goes
down?
BGP 2. The iBGP interface goes
down?
Router A Router B 3. The eBGP neighboring is
IGP
shut down?
AS 23 4. You trigger a soft reset with
Router C
eBGP peer?
Describe what happens to
routing convergence and the
network traffic.
Figure 5-6: What will happen if…
The figure illustrates a network that implements BGP. The customer wants to replace
Router A with a new HP A-Series router, and you need to plan a smooth migration.
Next to the illustration, you see a list of four steps that you might consider taking
during the migration:
Taking the eBGP interface down
Taking the iBGP interface down
Shutting down eBGP neighboring
Triggering a soft reset with an eBGP peer
But before, you take such a step, you must carefully consider the consequences.
If a neighbor is not directly connected or the remote BGP peer cannot sense the
failure of the interface, then the remote peer will detect the failure of BGP only after
180 seconds. This is the default holdtime on Cisco and HP A-Series routers.
Note
With regard to route damping or dampening, an eBGP neighbor going down or
up is not considered a flap.
d.
ite
ib
oh
pr
is
•
n
sio
Extra downtime=downtime – disconnected
is
•
=additional reachability loss due to BGP convergence
m
• False uptime: S has a route to D, but packets are not delivered
er
• U= disconnection timSe
tp
• BGP GF: BGP Graceful Restart
ou
(From Beichuan Zhang, Dan Massey, and Lixia Zhang, Destination Reachability and BGP Convergence
ith
Time)
w
Figure 5-7: Destination reachability and BGP convergence time
rt
pa
In Destination Reachability and BGP Convergence Time, Beichuan Zhang, Dan
n
Massey, and Lixia Zhang defined and analyzed destination reachability. Their
i
or
presentation explained how they measured destination reachability, determined what
e
destreach.pdf.)
in
n
.R
reach D.
u se
Convergence Time).
ld
ho
• As explained below, (e(s)) and false uptime (f(s)) can be used as metrics.
a
St
&L
C
P
H
Extra downtime
“e(s) = downtime(s) - disconnected(s)
• ”downtime(s): total time that D is unreachable from S.
d.
• “disconnected(s): total time that D is disconnected from S.
ite
ib
“e(s) measures the additional loss of reachability due to routing dynamics
oh
following topological changes” (Destination Reachability and BGP Convergence
pr
Time).
is
False uptime
n
io
s
“f(s): The time period during which S has a route to D, but packets sent by S will
is
m
be eventually dropped in the network.
er
tp
“It measures the overhead on network resources” (Destination Reachability and
ou
BGP Convergence Time).
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
d.
ite
ib
oh
pr
is
n
sio
• Tdown: The time it takes for a source to converge after D is
is
disconnected.
m
er
• Tup: The time is takes to converge when D is reconnected
tp
• BGP GF: BGP Graceful Restart
ou
(From Beichuan Zhang, Dan Massey, and Lixia Zhang, Destination Reachability and BGP
Convergence Time)
ith
w
Figure 5-8: Impact on reducing time to convergence
rt
pa
Case study
i n
Beichuan Zhang, Dan Massey, and Lixia Zhang posed this question in their study:
or
“When the destination is disconnected for a period of time, what is its reachability
l e
ho
n
c
They discovered that “by reducing Tdown, BGP-GF has a mixed impact on packet
.R
delivery, providing shorter f(s) but longer e(s).” They then concluded the following:
ly
on
“Extra downtime and false uptime reflect the impact of routing on packet
u
delivery.
er
ld
“Two possible:
St
&L
d.
ite
Tdown can be as many as several minutes longer than Tup ( Labovitz et al. from
ib
Internet measurement).
oh
pr
Therefore, the case of Tdown(s) > Tup(s) + u may indeed exist in operational Internet
is
(Destination Reachability and BGP Convergence Time).
n
io
s
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
d.
and Cisco IOS configurations are provided. These example configurations will help
ite
you to plan the configuration for HP A-Series routers with which you replace Cisco
ib
routers.
oh
pr
Finally, you will think about the best ways to prepare an existing BGP router to be
is
removed from the system.
n
io
NOTES
s
is
_______________________________________________________________________
m
er
tp
_______________________________________________________________________
ou
ith
w
_______________________________________________________________________
rt
pa
n
_______________________________________________________________________
i
or
l e
_______________________________________________________________________
ho
w
in
_______________________________________________________________________
n
c tio
du
_______________________________________________________________________
ro
ep
_______________________________________________________________________
.R
ly
on
_______________________________________________________________________
u se
er
ld
ho
ake
St
&L
C
P
H
d.
related:
ite
• An AS announcing a BGP
ib
10.1.0.0/23 10.1.0.0/23
network to the Internet
oh
may generate incoming traffic
pr
to this AS. Router A Router B
is
• An AS learning networks from
Internet may generate traffic to
n
io
Internet. AS 100
s
RouterC
is
10.1.0.0/23
m
er
Announcement for 10.1.0.0/23
tp
Data traffic for a destination in
ou
10.1.0.0/23
Announcement of full Internet routes
ith
Data traffic for Internet
w
Figure 5-9: BGP advertising and receiving IP prefixes
rt
pa
There are two basic relationships between advertisements and traffic:
i n
or
If an AS announces a network to the Internet, the announcement may generate
e
incoming traffic to this AS. In other words, a router will not receive traffic if it
l
ho
does not announce networks (except from any static routes that point to it).
w
in
Learning networks from the Internet may generate traffic to the Internet. If there
n
are entries in the routing table, the router is able to forward traffic.
c tio
These basic considerations will be useful when removing or inserting a router from a
du
network. In IGP, as in OSPF and ISIS, removing a router will trigger a quick update in
ro
a much larger network. As a prefix may remain on the Internet for a certain time, it
on
d.
ite
Announcing Receiving
Prefix
ib
Prefix
ISP2 ISP1 ISP2
oh
ISP1
Internet Internet
pr
0.0.0.0/0 0.0.0.0/0
is
10.1.0.0/23 10.1.0.0/23 or Partial RT or Partial RT
or Full RT BGP or Full RT
n
BGP
s io
Router A Router B Router A Router B
is
IGP IGP
m
0.0.0.0/0 0.0.0.0/0 IP Subnets of IP Subnets of
er
10.1.0.0/23 10.1.0.0/23
tp
AS 100 Router C
AS 100 Router C
ou
Announcement Announcement
ith
Data traffic Data traffic
w
Figure 5-10: Multihome BGP scenario
rt
pa
You will now look at BGP configurations for a common scenario—a multihomed AS.
i n
A multihomed AS is typically an enterprise network with connections to two ISPs. The
or
AS only receives traffic for the private network and should not transit traffic between
l e
ho
Listed below is a typical configuration for a multihome AS. In this configuration, the
tio
multihome AS only announces its own network in order to avoid becoming a transit
c
du
AS. Typically the ISP’s BGP peers will set a filter inbound policy to accept only the
ro
In this, and other sections in this module, the configuration for a Cisco router and the
ly
Note
u
range. In the real world, these would be public IP addresses; the private
ld
HP A-Series configuration
a
St
bgp 100
&L
network 10.1.0.0 23
C
P
d.
ite
ib
ip route 10.1.0.0 255.255.254.0 null0
oh
pr
ip prefix-list out-filter permit 10.1.0.0/23
is
The static route is a pull-up route; more specific prefixes within this address block
n
ensure connectivity to the ISP’s customers’ “longest match lookup.”
io
s
is
Note
m
er
An inbound ACL on the eBGP connection may verify that traffic is only destined
tp
to announced networks and may also verify the traffic source. See guidance
ou
documents from the US National Security Agency for details:
ith
http://www.nsa.gov/ia/guidance/security_configuration_guides/
w
cisco_router_guides.shtml
rt
pa
Multihome inbound filter configuration
i n
or
When receiving a network, the multihomed AS typically has three alternatives:
e
w
tio
Typically the ISP peer is configured with a route-map (Cisco IOS) or route-policy (HP
c
du
Comware) that allows BGP to manipulate received prefixes. The match condition
ro
The sections below provide example configurations for the following example:
ly
on
The local preference is set to 200 for networks originating from AS 200 (ISP1)
u
er
ho
HP A-Series configuration
ake
bgp 100
St
d.
ite
ip as-path 2 permit _200$
ib
#
oh
route-policy IN-CORP1 deny node 10
pr
is
if-match acl 2001
n
route-policy IN-CORP1 permit node 20
sio
if-match as-path 2 apply local-preference 200
is
m
route-policy IN-CORP1 permit node 30
er
tp
apply local-preference 100
ou
Cisco IOS configuration
ith
router bgp 100
w
rt
pa
network 10.1.0.0 mask 255.255.254.0
i n
or
neighbor 172.16.10.1 remote-as 200
e
!
n
!
du
match ip address 2
on
match as-path 2
er
d.
– Announce aggregated network, typically not smaller than /20
ite
Receiving
ib
Announcing
Prefix Prefix
oh
ISP1 ISP2
ISP2
ISP1 Internet
Internet
pr
AS 201
AS 201 Partial RT
eBGP
is
or Full RT
eBGP
n
10.10.0.0/19
s io
is
Router A iBGP Router B
Router A iBGP Router B
m
Router C
er
Router C
AS 100
AS 100
tp
10.10.0.0/24 10.10.10.0/24
ou
0.0.0.0/0 Partial RT
eBGP
ith
Announcement
AS 101 eBGP
Customer A Customer Z
w
Customer A Customer Z Data traffic
rt
Figure 5-11: Small ISP BGP scenario
pa
n
With a small ISP, you must look at the BGP customers’ peering and at the BGP
i
or
upstream ISP peering.
le
ho
Typically, a small ISP will receive an exact IP prefix from customers and will announce
n
either:
c tio
A default route
du
ro
ly
Some ISPs send full routing tables and the default route and let the customer choose
on
what to import.
se
This section includes the configurations that Router C in the illustration uses to
ld
ho
HP A-Series configuration
a
St
bgp 100
&L
d.
ite
bgp 100
ib
oh
network 10.10.0.0 19
pr
peer 10.15.10.2 as-number 201
is
peer 10.15.10.2 ip-route-policy isp-in1 import
n
io
peer 10.15.10.2 ip-prefix isp-out export
s
is
m
er
# Announce the aggregated route
tp
ou
ip ip-prefix isp-out permit 10.10.0.0 19
ith
ip route-static 10.10.0.0 19 null 0
w
rt
pa
# Set a local preference of 200 on networks originated from AS 201 and all ASs
i n
directly attached to AS 201 will be set with a local preference of 200.
or
e
#
w
in
if-match as-path 4
c tio
#
ro
ep
! Announce aggregate
&L
! Networks originated from AS 201 and all directly attached ASs of AS 201
ip as-path access-list 4 permit ^201_[0-9]*$
match as-path 4
set local-preference 200
route-map isp-in1 permit 20
set local-preference 100
d.
Recommendations for filtering inbound prefixes
ite
ib
oh
When a downstream router needs to receive more than a default route, care must be
pr
taken. Here are some recommendations provided by RIPE Network Coordination
is
Centre (NCC):
n
io
Don’t accept RFC1918 prefixes.
s
is
Don’t accept your own prefix.
m
er
Don’t accept default (unless you need it).
tp
ou
Don’t accept prefixes longer than /24.
ith
Note that these guidelines might change.
w
rt
(Source: www.ripe.net)
pa
HP A-Series configuration
i n
or
bgp 100
l e
ho
multicast
C
prefixes >/24
H
d.
ite
ip prefix-list in-filter deny 0.0.0.0/0 ! Block default
ib
ip prefix-list in-filter deny 0.0.0.0/8 le 32
oh
ip prefix-list in-filter deny 10.0.0.0/8 le 32
pr
is
ip prefix-list in-filter deny 127.0.0.0/8 le 32
n
ip prefix-list in-filter deny 169.254.0.0/16 le 32
io
s
ip prefix-list in-filter deny 172.16.0.0/12 le 32
is
m
ip prefix-list in-filter deny 192.0.2.0/24 le 32
er
tp
ip prefix-list in-filter deny 192.168.0.0/16 le 32
ou
ip prefix-list in-filter deny 10.10.0.0/19 le 32 ! Block local
ith
prefix
w
ip prefix-list in-filter deny 224.0.0.0/3 le 32 ! Block multicast
rt
pa
ip prefix-list in-filter deny 0.0.0.0/0 ge 25 ! Block prefixes >/24
n
ip prefix-list in-filter permit 0.0.0.0/0 le 32 ! Accept anything
i
or
else
l e
Note
ho
block. The 10.10.0.0/19 prefix, in this example, is denied because it is the local
in
prefix—in the real world, this would be a public subnet. The configuration is just
n
tio
d.
ite
• Internal peers (iBGP)
ISP2 Announcement
ib
oh
ISP1 Data traffic
eBGP
pr
Full RT Full RT
is
n
io
Router A iBGP Router B
s
is
m
AS 100
er
0.0.0.0/0 Partial RT
tp
Router C
ou
Customer B
ith
Customer A
w
Figure 5-12: Large ISP scenario
rt
pa
Like small ISPs, large ISPs will only accept prefixes they have assigned to their
n
customers. They exchange full Internet routes with other ISPs and mark networks with
i
or
the community to help their customers and ISP peers set their policies.
le
ho
IBGP Peering
w
in
http://www.ripe.net/ripe/meetings/ripe-40/tutorials/bgp-tutorial/tsld001.html.)
ro
ep
Announcing network
.R
“right”network.”
H
d.
ip address 215.17.3.1 32
ite
!
ib
oh
interface Serial 5/1
pr
ip address unnumbered interface loopback 0
is
ip urpf strict
n
io
!
s
is
m
ip route-static 215.34.10.0 22 Serial 5/1
er
!
tp
ou
bgp 100
ith
network 215.34.10.0 255.255.252.0
w
Cisco IOS configuration
rt
pa
Interface loopback 0
ip address 215.17.3.1 255.255.255.255
i n
or
!
l e
ho
ip unnumbered loopback 0
in
!
c
du
!
ep
.R
HP A-Series configuration
er
ld
!
ake
bgp 100
St
<skip>
C
P
!
H
<skip>
!
ip ip-prefix ISP-block permit 215.34.10.0 22 less-equal 30
d.
ite
ip route 215.34.10.0 255.255.252.0 Serial 5/0
ib
!
oh
pr
router bgp 100
is
redistribute static route-map static-to-bgp
n
io
<skip>
s
is
!
m
er
route-map static-to-bgp permit 10
tp
match ip address prefix-list ISP-block
ou
set origin igp
ith
<skip>
w
rt
!
pa
ip prefix-list ISP-block permit 215.34.10.0/22 le 30
tio
Use passwords on iBGP sessions—It’s not paranoid to use passwords; they are
c
du
bgp 100
ly
on
If you do not enable deterministic MED, the best path could be different every
time a BGP session is reset.
Configure the BGP admin distance so that it is higher than any IGP.
distance bgp 200 200 200
# Distance for bgp is 255 for external, 25 for internal, and 130 for local.
preference 200 200 200
dampening route-policy RIPE-210-flap
network 10.60.0.0 255.255.0.0
group ext100 external
peer ext100 as-number 200
peer ext100 description ISP connection
peer ext100 public-as-only
peer ext100 ip-prefix ispout export# “accident” filter
peer ext100 route-policy ispout export # “real” filter
peer ext100 route-map ispin import
peer ext100 password cipher verysecret
peer ext100 route-limit 120000 alert-only
peer 10.200.0.1 group external
ip route-static 10.60.0.0 16 null0 preference 254
10.1.0.0/23?
Full RT eBGP Full RT
2. Router A shuts down BGP 10.1.0.0/23 10.1.0.0/23
peering with ISP1?
3. Router B announces Router A iBGP Router B
Announcement
You have now studied several types of networks that you might encounter at the
beginning of a migration. Now you need to consider how you will proceed to
replace routers with new HP A-Series routers. The figure lists several actions that you
might take in an attempt to remove an existing router from the BGP system. Consider
the consequences of these actions.
Q1: What will happen if Router A does not have the network command for
10.1.0.0/23?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Q2: What will happen if Router A shuts down BGP peering with ISP1?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Q3: What will happen if Router B announces 10.1.0.0/23 but rejects all received
networks from ISP2?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
IGP
AS 100 Router C
Announcement
Before you replace Router A with a new router, you want to ensure that it is not
actively routing traffic between the LAN and the Internet. You will now consider ways
to achieve this goal.
Q1: How can you prevent Router A from receiving any traffic from a LAN?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Q2: How can you prevent Router A from receiving traffic from the Internet? Or how
can you at least minimize the traffic?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Q3: How can you prevent Router A from sending traffic to the Internet?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Rev. 11.21 5 –37
BitSpyder - The Culture of Knowledge
0.0.0.0/0 0.0.0.0/0
3. Shut down iBGP peering(s).
IGP
4. Issue the disable network AS 100 Router C
command.
Announcement
5. Disable forwarding of the
default route to the LAN.
Figure 5-15: What will you do to “shut down” Router A…
What is the best way to shut down Router A for maintenance or replacement?
1. Power off.
2. Shut down eBGP neighboring.
3. Shut down iBGP peering.
4. Disable network command.
5. Disable forwarding of default route to LAN.
Power off
As mentioned before, powering a router off will trigger the eBGP IP interface to go
down if peers are directly connected and can be remotely sensed immediately. If the
peers are not directly connected, the remote peer will have to wait for the holdtime
period (180 sec by default).
Conclusion
Removing the default route and simultaneously shutting down the BGP connection will
prevent Router A from receiving LAN and Internet traffic and from transmitting traffic
to the Internet. This method isolates Router A without powering it off.
HP A-Series configuration
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
d.
few more. For both networks on which you enable BGP and redistributed networks,
ite
you can filter the routes using route policies and filter policies (like Cisco’s route maps
ib
and distribution lists). You can also redistribute a default route into BGP.
oh
pr
Table 5-2: Controlling route generation and redistribution
is
BGP Feature HP Comware CLI Cisco IOS CLI
n
io
network ip-address [ network network-number
s
is
mask | mask-length ] [ [mask network-mask]
Inject a local network
m
route-policy route- [route-map route-map-
er
policy-name ] name]
tp
import-route protocol
redistribute protocol
[ process-id | all-
ou
Configure BGP route [process-id] [route-
processes ] [ med med-
redistribution type] [route-map map-
ith
value | route-policy
tag]
w
route-policy-name ] *
Enable default route
rt
default-route imported NA
pa
redistribution into BGP
Configure BGP automatic route
n
summary automatic auto-summary
summarization i
or
aggregate ip-address {
aggregate-address
e
mask | mask-length } [
l
as-set | attribute-
[as-confed-set]
w
policy route-policy-
Configure BGP manual route [summary-only]
name | detail-
in
policy route-policy-
tio
map-name] [attribute-
name | suppress-policy
map map-name]
c
route-policy-name ]*
du
peer { group-name |
neighbor {ip-address |
ro
ip-address } default-
Advertise a default route to a peer-group-name}
ep
route-advertise [
peer or peer group route-policy route-
default-originate
.R
[route-map map-name]
policy-name ]
ly
filter-policy { acl-
on
id | ospf process-id |
er
rip process-id | |
ld
static ]
ho
ake
St
&L
C
P
H
d.
routes on HP A-Series devices with AS paths. You can also apply a maximum number
ite
for received routes.
ib
oh
Note that the A-Series devices support route synchronization between BGP and IGP
pr
with the same command as Cisco.
is
Table 5-3: BGP advertisement/reception filters
n
s io
BGP Feature HP Comware CLI Cisco IOS CLI
is
m
peer { group-name | neighbor {ip-address |
er
ip-address } route- peer-group-name }
With a routing policy
tp
policy route-policy- route-map map-name {in
name {import | export} | out}
ou
neighbor {ip-address |
ith
peer-group-name}
w
peer { group-name | ip- distribute-list
address } filter-
rt
{access-list-number |
With a filter policy
pa
policy acl-number expanded-list-number |
{import | export} access-list-name|
n
prefix-list-name} {in
i
or
| out}
neighbor {ip-address |
e
peer-group-name}
ho
address } as-path-acl
With an ACL AS-Path as-path-acl-number
filter-list as-path-
w
access-list-number {in
{import | export}
in
| out}
peer { group-name | ip-
n
neighbor {ip-address |
tio
prefix-list prefix-
du
reconnect-time] [ restart-interval]
[warning-only]
u
percentage-value ]
er
ld
ho
ake
St
&L
C
P
H
d.
also manipulate the AS in a variety of ways.
ite
Table 5-4: BGP route attributes
ib
oh
BGP Feature HP Comware CLI Cisco IOS CLI
pr
peer { group-name | neighbor {ip-address |
is
Specify a preferred value for
ip-address } peer-group-name}
n
routes received preferred-value value weight number
s io
preference { external-
is
preference internal- distance bgp external-
m
Configure preferences for BGP preference local- distance internal-
er
routes preference | route- distance local-
tp
policy route-policy- distance
name }
ou
Configure the default local
ith
default local- bgp default local-
preference used with other
w
preference value preference number
iBGP peers
rt
Configure the MED attribute default med value NA
pa
Enable the comparison of MED compare-different-as-
n
bgp always-compare-med
of routes from different ASs med
i
or
Enable the comparison of MED
bestroute compare-med bgp deterministic-med
of routes from each AS
l e
ho
local hop-self
in
peer { group-name |
appear in routes from a
tio
ip-address } allow-as- NA
peer/peer group and specify
c
loop [ number ]
du
neglect ignore
selection
.R
neighbor {ip-address |
ly
peer { group-name |
Specify a fake AS number for a peer-group-name}
on
ip-address } fake-as
peer/peer group as-number
remove-private-as
replace-as
se
ip-address } peer-group-name}
AS_PATH attribute as the local
ld
d.
prohibit sessions to particular routers. And you can configure other features discussed
ite
earlier in this module such as route refresh. Note that Cisco requires IOS 12.1 to
ib
implement the route refresh feature, so this might be a nice feature to recommend to
oh
the customer as an enhancement with the new A-Series devices.
pr
is
Table 5-5: Tuning and optimizing BGP networks
n
io
BGP Feature HP Comware CLI Cisco IOS CLI
s
is
timer keepalive
Configure global BGP
m
timers bgp keepalive
keepalive hold
er
keepalive interval and holdtime holdtime
holdtime
tp
neighbor [ip-address |
peer { group-name |
ou
peer-group-name]
Configure BGP keepalive ip-address } timer
timers keepalive
ith
interval and holdtime per peer keepalive keepalive
holdtime [min-
w
hold holdtime
holdtime]
rt
peer { group-name | neighbor {ip-address |
pa
Configure the interval for ip-address } route- peer-group-name}
sending the same update update-interval advertisement-interval
interval
i n seconds
or
peer { group-name |
Configure BGP automatic soft-
e
ip-address }
in IOS 12.1
l
reset
ho
capability-advertise
route-refresh
w
group conventionnal
c
du
neighbor {ip-address |
peer { group-name |
Save all routes from a peer-group-name} soft-
ro
ip-address } keep-all-
peer/peer group reconfiguration
ep
routes
inbound
.R
| import }
peer { group-name |
u
neighbor ip-address
ip-address }
er
receive | send }
a
neighbor {ip-address |
peer { group-name |
St
peer-group-name}
Define the outbound route filter ip-address } ip-prefix
prefix-list prefix-
&L
ip-prefix-name export
list-name out
C
d.
Table 5-6: BGP peer groups
ite
ib
BGP Feature HP Comware CLI Cisco IOS CLI
oh
group group-name [ neighbor peer-group-
pr
Create an iBGP peer group internal ] name peer-group
is
neighbor {ip-address }
Add a peer into the iBGP peer peer ip-address group
n
peer-group peer-group-
group
io
group-name
name
s
Create an eBGP peer group
is
group group-name [ neighbor peer-group-
m
(same AS) external ] name peer-group
er
neighbor peer-group-
Specify the AS number for the peer group-name as-
tp
name remote-as as-
group number as-number
ou
number
peer ip-address group
Add a peer into the eBGP peer
ith
group-name [ as-number
group
w
as-number ]
rt
peer ip-address group
Add a peer into the iBGP peer
pa
group-name [ as-number
group as-number ]
n
group group-name [
Create an iBGP peer group i neighbor peer-group-
or
internal ] name peer-group
neighbor {ip-address }
e
peer-group peer-group-
ho
group group-name
name
w
neighbor peer-group-
Specify the AS number for the
tio
number
du
ro
ep
.R
ly
on
use
er
ld
ho
ake
St
&L
C
P
H
7—BGP communities
Here you see commands for configuring BGP communities for both HP Comware and
Cisco IOS.
Table 5-7: BGP communities
BGP Feature HP Comware CLI Cisco IOS CLI
peer { group-name | neighbor peer-group-
Advertise the community
ip-address } name send-community
attribute to a peer/peer group advertise-community standard
peer { group-name |
Advertise the extended neighbor peer-group-
ip-address }
community attribute to a advertise-ext-
name send-community
peer/peer group community
[both | extended]
peer { group-name |
Apply a routing policy to routes neighbor peer-group-
ip-address } route-
advertised to a peer/peer policy route-policy-
name route-map route-
group name export
map-name
Summary
In this module, you learned how a BGP session begins and ends. You also learned
how IP prefixes are exchanged between peers, and how that can impact traffic flow.
You considered the consequences of removing a Cisco switch running BGP in several
different ways and explored the best ways of doing so. You also learned about
different BGP features and the Cisco IOS and Comware commands for those
features.
BGP BGP
AS X AS X
HeEdge_1 HeEdge_1
POD X POD X
You will now plan your BGP migration, drawing on what you have learned. You can
then experiment in the lab and observe the results.
Consult your Lab Activity Guide for instructions for performing this activity.
Lab debrief
Use the space below to record the key things you learned, and also the challenges
you faced in lab activity 5.
d.
Table 5-1: Debrief for lab activity 5
ite
ib
Challenges Key things learned
oh
pr
is
n
io
s
is
m
er
tp
ou
ith
w
rt
pa
i n
or
NOTES
l e
ho
_____________________________________________________________________
w
in
n
_____________________________________________________________________
ctio
du
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
se
_____________________________________________________________________
u
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
_____________________________________________________________________
Learning check
Q1: What conditions are necessary for a local network to be advertized to a BGP
peer?
d.
_____________________________________________________________________
ite
ib
oh
_____________________________________________________________________
pr
is
n
_____________________________________________________________________
sio
is
m
Q2: What feature would you use to announce a small number of networks?
er
tp
ou
_____________________________________________________________________
ith
w
_____________________________________________________________________
rt
pa
n
_____________________________________________________________________
i
or
l e
ho
_____________________________________________________________________
w
in
_____________________________________________________________________
ro
ep
.R
_____________________________________________________________________
ly
on
_____________________________________________________________________
u se
er
_____________________________________________________________________
ld
ho
ke
Q4: What method would you use to change the attributes of a received prefix?
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
d.
_____________________________________________________________________
ite
ib
oh
Q5: What makes an AS a multihome AS?
pr
is
n
_____________________________________________________________________
io
s
is
m
_____________________________________________________________________
er
tp
ou
_____________________________________________________________________
ith
w
_____________________________________________________________________
rt
pa
i n
_____________________________________________________________________
or
l e
ho
_____________________________________________________________________
w
in
n
_____________________________________________________________________
ctio
du
Q6: As an ISP are you required to control what customers advertise to you?
ro
ep
.R
_____________________________________________________________________
ly
on
_____________________________________________________________________
use
er
_____________________________________________________________________
ld
ho
ke
_____________________________________________________________________
a
St
&L
_____________________________________________________________________
C
P
H
_____________________________________________________________________
d.
ite
ib
oh
pr
is
n
sio
is
m
er
tp
ou
ith
w
rt
pa
i n
or
l e
ho
w
in
n
c tio
du
ro
ep
.R
ly
on
u se
er
ld
ho
ake
St
&L
C
P
H
d.
Module 1
ite
ib
oh
Q1: Could removing CDP from a switch cause problems for network devices?
pr
A1: Yes if the switch is connected to Cisco IP phones. CDP in used to provision these
is
IP phones with VLAN and QoS settings. If all IP phones are booted when you remove
n
io
CDP, the phones will not be disconnected. However, the IP phone will not be able to
s
is
get its configuration using CDP when it next starts up.
m
er
You might be able to use LLDP-MED to provision the phone instead. Or the phone
tp
might be able to use DHCP options if the network DHCP server supports this option.
ou
Otherwise, you must retain CDP on the switch.
ith
Q2: What is a simple strategy for migrating an EIGRP network to OSPF?
w
rt
A2: Depending on the customer constraints, you might be able to schedule an
pa
outage. Then you can use the “reload at” migration method.
i n
or
If you need to complete the migration in an online network, the OSPF Overlay Model
e
1. You first raise the OSPF administrative distances so that they are higher than
w
in
3. When you are sure that OSPF is running correctly, you increase the EIGRP
ro
administrative distances. Once OSPF advertizes all networks on all routers, you
ep
Q3: What does a switch send when a virtual IP protocol starts and takes the Master
ly
on
role on an interface or when the switch preempts the Master role? How does this
message function in migrations?
u se
A3: The switch sends a gratuitous ARP, which endpoints in the subnet can use to
er
update their ARP caches. However, some devices do not accept the gratuitous ARP.
ld
ho
Q4: What considerations should you make as you migrate from PVST+ to MSTP?
ake
You should also consider differences between how PVST+ and MSTP operate
&L
because you might need to change ports’ VLAN assignments or disable . One major
C
PVST+ BPDUs are forwarded on each VLAN itself. It can shut down a port for the
VLAN IT then avoid bridging loop is it exist within a VLAN.
Rev. 11.21 A –1
BitSpyder - The Culture of Knowledge
MSTP BPDUs are sent untagged, and MSTP is unaware of VLAN configuration. In
other words, although when MSTP actually blocks a port in an instance, it blocks just
the VLANs in that instance, MSTP looks only at the physical port configuration when
deciding whether to block the instance on the port. Therefore, MSTP could block
ports in such a way that a routed port is blocked or a port with a VLAN that is not
d.
ite
supported on non-blocked ports. This disadvantage is compensated by MSTP’s lower
ib
consumption of CPU resources, its use of rapid convergence algorithms, and its
oh
interoperability.
pr
However, you should keep this limitation in mind while planning MSTP, and verify
is
n
that you do not implement MSTP on a port such as a routed port, which PVST+ would
io
not block, but MSTP would. In addition, you might want to add support for all VLANs
s
is
on all trunks, which prevents misconfigurations and does not burden the CPU when
m
er
you use MSTP.
tp
Other considerations for the migration include finding the CIST root and migrating
ou
this switch first, as well as deciding whether you want to create a single star topology
ith
for the migration.
w
rt
Module 2
pa
i n
Q1: What are the different methods you can use to set up redundancy when
or
connecting an HP switch to a Cisco network?
l e
ho
If the Cisco network is using MSTP, implement MSTP on the edge switch
n
tio
• Implement MSTP on the edge switch with minimal setup (because the switch
ro
will not be part of a region but only communicate with PVST+ as if using
ep
RSTP)
.R
• Do not configure spanning tree on the HP edge switch. Use Loop protect on
ly
on
between instances
ld
ho
switches and the distribution switches); then configure Monitor Link on the
&L
HP A-Series switches
C
P
H
A –2 Rev. 11.21
BitSpyder - The Culture of Knowledge
Q2: When the rest of the network is set to PVST+, what should you take care to do
when configuring MSTP on an edge switch?
A2: An MSTP switch interoperates with PVST+ switches using its IST settings, which
are included in the RSTP-compatible portion of its MSTP BPDUs. Therefore, you must
d.
ensure that the edge switch’s IST bridge priority is higher than the PVST+ root’s. On
ite
the other hand, the MSTP switch understands only the VLAN 1 BPDUs sent by the
ib
PVST+ switches because only these BPDUs comply with the IEEE standard. Therefore,
oh
you must ensure that the MSTP edge switch allows VLAN 1 on the trunk port and so
pr
does the PVST+ switch.
is
n
Q3: What should you verify before connecting Cisco IP phones to an HP edge
sio
switch?
is
m
A3: Verify that the IP phone supports LLDP-MED, which is the open standard protocol
er
tp
that HP switches use for provisioning IP phones with the correct PoE settings, VLAN
ou
assignment, QoS settings, and so forth. The IP phone might require a software
ith
update.
w
Also note that you can configure HP A-Series switches to run LLDP in a CDP-compliant
rt
pa
mode. You can use this setting to support Cisco IP phones that do not support LLDP.
n
Q4: What setup should you perform on an HP edge switch before you connect Cisco
i
or
IP phones to it?
l e
ho
A4: Enabling LLDP-MED may be the only task that you need to perform on the switch.
w
On HP E-Series switches, you must simply create the voice VLAN and tag that VLAN
in
on the ports for IP phones. The switch will use LLDP-MED to provide the IP phone with
n
tio
the voice VLAN and QoS setting (by default, CoS 5).
c
du
On HP A-Series switches, you can set up a voice VLAN that recognizes traffic from IP
ro
Refer learners to the “Configuring IP phones” section in their Learner’s Guide for
complete lists of commands for completing these tasks.
ly
on
Module 3
use
er
A1: You can delay migrating to MSTP until after the Cisco distribution devices have
a
St
been removed. By then the edge switches will be connected only to MSTP switches,
&L
so they will not experience the PVST+ simulation errors. And endpoints’ traffic is
C
Rev. 11.21 A –3
BitSpyder - The Culture of Knowledge
d.
responsibilities from HSRP routing switches to VRRP routing switches that are using the
ite
same IP addresses?
ib
oh
A1: You can configure all VRRP settings, including the appropriate virtual IP address,
pr
on your HP E-Series switches in advance. You can even enable VRRP as long as you
is
verify that VRRP is disabled on all interfaces. You will then be ready to quickly bring
n
up VRRP. Because you can enable VRRP on individual VLANs, you can migrate the
sio
VLANs gradually, assessing the status as you progress.
is
m
When you are ready to migrate the routing responsibilities on one of the VLANs, you
er
tp
simply enable VRRP on that VLAN on one of the HP switches (you might want to
ou
bring up one switch at a time to simplify the process). When the switch assumes the
ith
Master VRRP role, it sends a gratuitous ARP, which causes endpoints to send routed
w
traffic to it instead. Then you can safely shut down the VLAN interface on the HSRP
rt
router.
pa
To minimize the possibilities for errors, you might want to make a single HSRP routing
i n
switch the Active Router on all VLANs and shut down routing on the other switch. (A
or
strategy for doing so is provided a bit later.)
l e
ho
Q1: What will happen in a typical network full of Windows devices if you implement
n
tio
Configuring all VRRP settings on the HP E-Series switches but not enabling VRRP
ro
.R
Will the network be disrupted and, if so, to what extent, and for how long?
u
A1: When you enable VRRP on the HP switch and it sends the gratuitous ARP, the
er
ld
Cisco switch and other endpoints interpret this message (correctly) as a duplicate IP
ho
address.
ake
Endpoints that have live entries for the default gateway MAC address continue to
St
send their routed traffic to the current default gateway HSRP MAC address. As long
&L
as they continue sending routed traffic without too long a pause (a random time
C
between 15 and 45 seconds), they will continue to use the HSRP address—until you
P
shut down the VLAN interface on the Cisco switch (or switches). Then the endpoints
H
continue to send traffic to the HSRP MAC address for a few seconds, but the traffic is
dropped. The endpoints then send an ARP request, to which the VRRP Master replies.
At that point, the endpoint’s ability to reach locations in other networks is restored.
A –4 Rev. 11.21
BitSpyder - The Culture of Knowledge
d.
responsibilities from HSRP routing switches to VRRP routing switches that are using the
ite
same IP addresses?
ib
oh
A1: You can configure all VRRP settings, including the appropriate virtual IP address,
pr
on your HP E-Series switches in advance. You can even enable VRRP as long as you
is
verify that VRRP is disabled on all interfaces. You will then be ready to quickly bring
n
up VRRP. Because you can enable VRRP on individual VLANs, you can migrate the
sio
VLANs gradually, assessing the status as you progress.
is
m
When you are ready to migrate the routing responsibilities on one of the VLANs, you
er
tp
simply enable VRRP on that VLAN on one of the HP switches (you might want to
ou
bring up one switch at a time to simplify the process). When the switch assumes the
ith
Master VRRP role, it sends a gratuitous ARP, which causes endpoints to send routed
w
traffic to it instead. Then you can safely shut down the VLAN interface on the HSRP
rt
router.
pa
To minimize the possibilities for errors, you might want to make a single HSRP routing
i n
switch the Active Router on all VLANs and shut down routing on the other switch.
or
e
Q1: What will happen in a typical network full of Windows devices if you implement
in
Configuring all VRRP settings on the HP E-Series switches but not enabling VRRP
c
du
ep
on
Will the network be disrupted and, if so, to what extent, and for how long?
se
A1: When you enable VRRP on the HP switch and it sends the gratuitous ARP, the
u
Cisco switch and other endpoints interpret this message (correctly) as a duplicate IP
er
ld
address.
ho
Endpoints that have live entries for the default gateway MAC address continue to
ake
send their routed traffic to the current default gateway HSRP MAC address. As long
St
as they continue sending routed traffic without too long a pause (a random time
&L
between 15 and 45 seconds), they will continue to use the HSRP address—until you
C
shut down the VLAN interface on the Cisco switch (or switches). Then the endpoints
P
continue to send traffic to the HSRP MAC address for a few seconds, but the traffic is
H
dropped. The endpoints then send an ARP request, to which the VRRP Master replies.
At that point, the endpoint’s ability to reach locations in other networks is restored.
A –6 Rev. 11.21
BitSpyder - The Culture of Knowledge
Q2: Before you migrate the default router role to a new HP E-Series switch, you want
to remove one of your redundant HSRP Cisco routers. What process should you
follow?
A2: You should determine on which VLANs this switch is acting as the Active Router.
d.
Then give the other Cisco switch a higher priority on those VLANs and also enable
ite
preempt mode. After this Cisco switch has become the Active Router on all VLANs,
ib
you can remove the other switch.
oh
pr
Q3: What are the advantages and disadvantages of assigning new virtual IP
is
addresses on your new HP E-Series routing switches?
n
io
A3: The best point of this strategy is that it, if you proceed properly, the network
s
is
should not experience any downtime. You can migrate the routing functionality
m
gradually and carefully test as you do.
er
tp
However, this strategy has several disadvantages. You have to change the default
ou
gateway address manually on each device that has a statically assigned IP address,
ith
which might be few or many depending on the environment. You need a good
w
inventory of devices, which some customers might not have. In addition, you must
rt
pa
look for every location in which the current distribution switches’ IP addresses are
referenced (such as firewall and management solution policies) so that you can
i n
or
update the polices for the new addresses. To complete these steps, as well as
e
change the DHCP scopes to reference the new gateway addresses, you must work
l
ho
with the customer’s server and possibly firewall administrators, which might be
w
Module 4
n
c tio
du
Q1: What is the simplest method for eliminating loops on redundant connections
ro
between Cisco edge switches and two HP A-Series switches at the distribution layer?
ep
.R
A1: You should configure the A-Series switches as an IRF group because that provides
the best redundancy. You can then connect the edge switches to the IRF group with
ly
on
multiple cables in a link aggregation group. The IRF group acts as a single virtual
se
Q2: What advantages does IRF provide on the new HP A-Series devices in
er
ld
A2: IRF acts like a single virtual switch running one instance of the routing protocol
ke
and using a single routing table. Therefore, if a routing switch fails, the failover is
a
St
because you can use link aggregation groups for redundant connections rather than
C
Module 5
H
A –8 Rev. 11.21
BitSpyder - The Culture of Knowledge
d.
A1: Router A will receive the announcement from Router B via IBG and will then
ite
announce it in return, so traffic should be sent and received without disruption. In
ib
other words, not using the network command is not a way for Router A to stop
oh
announcing a given network. Filtering out the network will be the way to do it.
pr
is
Q2: What will happen if Router A shuts down BGP peering with ISP1?
n
io
A2: As peering is shutdown, the IPS1 peer will remove the network 10.1.0.0/23 from
s
is
its routing table and will generate a withdrawal to its other peer. While the
m
withdrawal is transmitted to the overall Internet, traffic sourced from the Internet may
er
still be directed to Router A. However, when it reaches the closed router of Router A,
tp
those should have updated their routing table and use the prefix sent by Router B as
ou
ith
their best route. Convergence should be pretty fast.
w
On the LAN side, Router A still announces a default route and will still receive traffic
rt
pa
destined to the Internet. If iBGP peering is still up, it should direct Internet traffic to
Router B, so any disruption should be pretty short.
i n
or
Q3: What will happen if Router B announces 10.1.0.0/23 but rejects all received
e
A3: As Router B announces 10.1.0.0/23 it should still receive traffic destined for it.
in
As it does not learn networks from the Internet via ISP2, but instead gets all of its BGP
n
updates from Router A, it should then direct its update to Router A. Traffic between
tio
the corporate network and the Internet will enter through both routers and will leave
c
du
through Router A.
ro
ep
Q1: How can you prevent Router A from receiving any traffic from a LAN?
ly
on
A1: Router A can simply stop sending a default route via IGP. However, it will still
se
receive traffic forwarded by Router B due to its iBGP route exchange. If Router A
u
shuts down eBGP peering, it will stop sending prefixes to Router B, and that will stop
er
Q2: How can you prevent Router A from receiving traffic from the Internet? Or how
ke
A2: Router A should stop advertising all networks. If you remove the network
&L
command on Router A, in the case of a multihome network, internal routes from B's
C
network command (or redistribution) will be passed to A and out to the ISP even if A
P
H
has no network command. So, removing the networks from A does not cause A to
stop advertising the routes and does not trigger the shift of traffic to the other router.
Also simply filtering out the prefix (from A to the ISP) will not generate a BGP
withdraw message and will not trigger the traffic shift.
Rev. 11.21 A –9
BitSpyder - The Culture of Knowledge
You can try to prepend the AS on router A several times to create a long and
undesirable AS path for its routes. Prepend the AS and examine how much inbound
traffic comes in from the Internet. You should observe the inbound traffic decreasing.
If necessary, prepend the AS a few more times until you observe the inbound traffic
disappear or more nearly disappear.
You could also trigger the sending of a withdraw message (versus a power off
requiring a 180 sec BGP holdtime to expire on the neighbor) to trigger the
recalculation of routes.
Router B could announce more specific networks such as 10.1.0.0/24 and
10.1.1.0/24 instead of 10.1.0.0/23. Router B would be then always the preferred
entry because routes are more specific. You could then summarize the routes again
after the migration. The more specific routes will have a faster and more definite
result than other methods, but if you are originating hundreds of prefixes, this method
is more difficult.
You cannot control the ISP, and with multiple, wide-spread ISPs the traffic shift will be
slower and less controlled. With only one ISP (multihomed) the traffic shift should be
quick and easy.
For a more gradual way to complete the migration, you could have Router A
announce the network with a longer AS-Path, which would make it less likely for its
routes to be accepted than those from Router B. However, this method is not
guaranteed to work because each AS can manage BGP attributes differently.
Q3: How can you prevent Router A from sending traffic to the Internet?
A3: The simplest way is to close the eBGP connection which will block sending and
receiving. If the router is powered off, it may take 180 seconds (holdtime) for the BGP
neighbor to realize it. For simply blocking traffic from being sent to the Internet, you
can filter out network advertisements to the Internet.
Q4: What method would you use to change the attributes of a received prefix?
A4: Cisco route maps and HP A-Series route policies are ideal for changing the
attributes of received or advertised prefixes:
Cisco(config-bgp)# Neighbor <ID> router-map route-map-name in
[HP-bgp] peer <ID> router-policy router-policy-name import