Professional Documents
Culture Documents
HP+Networking+Interoperability+ +Lab+Guide+Rev+11.12
HP+Networking+Interoperability+ +Lab+Guide+Rev+11.12
HP Networking Interoperability
Lab Guide
Version 11.12
y
nl
O
Se
alU
rn
te
In
P
r H
Fo
Copyright 2010 Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice. The only warranties for HP products and
services are set forth in the express warranty statements accompanying such products and services. Nothing
herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein.
This is an HP copyrighted work that may not be reproduced without the written permission of HP. You may not use
these materials to deliver training to any person outside of your organization without the written permission of HP.
HP Networking Interoperability
Lab Guide
y
Rev. 11.12
nl
O
Se
a lU
rn
te
In
P
r H
Fo
Contents
y
nl
Objectives ................................................................................................. L3.1-1
Lab equipment ........................................................................................... L3.1-1
O
Port naming ................................................................................. L3.1-2
Lab steps .................................................................................................. L3.1-2
Se
Command reference ................................................................................. L3.1-12
lU
Lab 4.1: Implementing MSTP on Cisco and HP Switches
Objectives .................................................................................................L4.1-1
a
Rev. 11.12 i
HP Networking Interoperability
y
nl
Objectives ................................................................................................. L6.1-1
O
Lab equipment ........................................................................................... L6.1-1
Lab steps .................................................................................................. L6.1-2
Se
Complete the initial setup ..................................................................... L6.1-2
Disable STP on the HP Edge switches ..................................................... L6.1-3
lU
Configure and test smart link ................................................................ L6.1-7
Configure a monitor link on the HP A-Series switches (optional) ................ L6.1-9
a
ii Rev. 11.12
Contents
y
nl
Objectives ............................................................................................... L10.1-1
O
Lab equipment ......................................................................................... L10.1-1
Lab steps ................................................................................................. L10.1-2
Se
Initial setup....................................................................................... L10.1-2
Configure OSPF areas and interfaces .................................................. L10.1-3
lU
Configure area summarization ............................................................ L10.1-6
Configure a totally stubby area and NSSA ........................................... L10.1-8
a
y
nl
O
Se
lU
a
rn
te
In
P
r H
Fo
iv Rev. 11.12
Management
Module 2 Lab 1
Objectives
In this lab, you will practice configuring VLANs on HP A-Series, HP-E-Series, and
Cisco switches. You will ensure that uplink ports are configured to enable traffic flow
on a multivendor network.
After completing this lab, you will be able to:
Configure the minimal commands required to enable HP Intelligent Management
Center (IMC) to discover HP A-Series, HP-E-Series, and Cisco switches
y
Create templates in IMC to secure access to HP A-Series, HP-E-Series, and Cisco
nl
switches
O
Lab equipment
Cisco-A Cisco-B
Se
lU
IP addressing:
Names: 10.POD.VLAN.X/24
a
Server_1 Client_1
IMC XP
•Server_1= Windows 2008 Server X=100 on Server_1
•Client_1= Client X=101 on Client_1
r
Fo
Lab steps
Complete the following steps:
1. The show, display, and debug commands are your tools to:
Verify a configuration is working
Determine whether or not the components are active
Identify why something is failing
Along your lab, list useful display or show commands and note the type of
information they provide. Copy them in the space provided below.
In particular, note the show, display, and debug commands that provide:
Link Layer Discovery Protocol (LLDP) neighbor information: name IP address,
y
remote ports
nl
O
IP addressing
Simple Network Management Protocol (SNMP) setup and status
Se
Logging setup and logging information in buffer and on terminal
lU
____________________________________________________________________
a
____________________________________________________________________
rn
te
____________________________________________________________________
In
____________________________________________________________________
P
H
____________________________________________________________________
r
Fo
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
Cabling
2. Connect the switches and PCs as shown in Figure 2.2.
IP addressing:
10.POD.VLAN.X/24
Cisco-A Cisco-B
P3 P3 X=1 on Cisco-A
P1 P1 P2 X=2 on Cisco-B
P2
X=100 on Server_1
X=101 on Client_1
y
Server_1 Client_1
IMC XP
nl
O
Px=Gigabit Port,
Px= 10 Gigabit port
Se
Figure 2-2: Configuring VLANs
In the figure, the ports used for various connections are labeled P1, P2, and P3.
lU
Ask your instructor what guidelines to use for selecting the interfaces for P1, P2
and P3 on each device. Record the interface IDs in the table below.
a
rn
P2
In
P3
P4
Cisco-B P1
P
P2
H
P3
P4
r
HP-C P1
Fo
P2
P3
HP-D P1
P2
P3
HP-E P1
P2
P3
HP-F P1
P2
P3
Initial setup
3. Verify that the switch is set to factory default settings. If necessary, erase the
configuration and the reboot switch.
On Cisco switches, enter:
Cisco-A# erase startup-configuration
Cisco-A# reload
Note
You can verify that no config.cfg file exists in the HP A-Series device’s flash
y
memory with this command: dir flash:
nl
O
On HP E-Series switches, enter:
HP-E# erase startup
Se
HP-E# reload
lU
____________________________________________________________________
4. On Server_1 (Windows 2008 server/IMC) set the IP address to 10.POD.1.100,
a
____________________________________________________________________
te
____________________________________________________________________
P
the VLAN is 1.
8. Configure a default gateway for each switch at 10.POD.1.254.
Note
On Cisco and HP A-Series switches, make sure that the VLAN interfaces are not
shutdown.
b. Verify the LLDP information that your switches are receiving from their
neighbors, including the neighbors’ name, IP address, and connections.
On Cisco switches, enter:
Cisco-A# show lldp neighbors
y
nl
HP-E(config)# show lldp info remote
O
_____________________________________________________________________
Se
_____________________________________________________________________
a lU
Enter show cdp neighbors on Cisco-A or B and on HP-E or F. Do you see
rn
_____________________________________________________________________
In
_____________________________________________________________________
P
H
11. On all switches, enable SNMP V2c if it is not enabled yet. Then complete these
tasks:
r
Fo
On HP-E, enter:
HP-E(config)# snmp-server trap-source 10.POD.1.5
On HP-F, enter:
y
nl
HP-E(config)# snmp-server trap-source 10.POD.1.6
O
12. Enable Telnet authentication. For the lab environment, you will configure Telnet to
provide enabled/privileged level access without the user authenticating.
Se
On Cisco switches, enter:
lU
Cisco-A(config)# line vty 0 4
Cisco-A(config-line)# no login
a
Cisco-A(config-line)privilege level 15
rn
On HP A-Series switches, you must enable the Telnet server. Enter these
te
commands:
In
setting is to provide enable level access without the user entering a password.
Therefore, you do not need to enter any commands on HP-E or HP-F.
From Client_1 (the Windows client), use Teraterm to verify Telnet access to
each device.
Verify that you have received enabled/privileged level access.
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
How do you determine which Telnet sessions are established with which
devices?
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
y
_____________________________________________________________
nl
O
_____________________________________________________________
Se
13. Save the configuration of your devices for later use and define it as the startup-
config.
lU
On Cisco switches, enter:
a
Entering write mem later will overwrite this configuration, so take care.
H
The default config file name should be config1. Rename the file to interop2a.
HP-E# copy config config1 config interop2a
14. In this step, you will explore the Basic Auto-discovery function in IMC.
a. On Client_1 (the Windows client) or on Server_1 (which runs IMC,) launch
a browser and navigate to this URL:
http://10.POD.1.100:8080/
b. Log in with the following login credentials:
Username: admin
Password: admin
c. Click the Home tab in the horizontal menu bar.
d. On left side of screen, locate the Function Navigation window.
e. Locate the Auto-Discovery shortcut.
y
nl
O
Se
a lU
rn
te
In
P
H
y
nl
Figure 2-4: IMC—Resource > Resource Management > Auto Discovery
O
g. You will first use Basic Auto-Discovery. Follow these steps:
1) Click Auto-Discovery.
Se
lU
2) In the Auto-Discovery (Basic) page, configure these settings:
Start IP: 10.POD.VLAN.1
a
SNMP Read Community: public
te
What settings should you configure for Telnet considering your switch
H
setup?
___________________________________________________________
r
Fo
___________________________________________________________
___________________________________________________________
4) Select the Enable periodic discovery check box. Schedule the recurrent
discovery to 1 hour for the lab environment.
In a real-world environment, what value would you set?
___________________________________________________________
___________________________________________________________
y
nl
O
Se
Figure 2-5: IMC—Resource > Resource Management > Auto Discovery (Basic Settings)
b. Do you see your devices listed under View snapshot and Switches?
te
1) Can you ping the device from Server_1 (the Windows Server 2008)?
P
2) Are the SNMP RO and RW communities the same on the device and
H
on IMC?
RO = public
r
Fo
RW = private
3) Verify that you can access the devices using Telnet without a password
and that you access the privileged level. You can also review your
Telnet settings on the switch.
If the previous settings are correct, attempt to use Manual Discovery in IMC.
1) Select the Home > Function Navigation tabs, or select the Resource >
Resource Management tabs.
2) Find the Add Device option.
3) Enter your device’s IP address, SNMP information, and Telnet settings
to discover the device manually.
y
nl
O
Se
Figure 2-6: IMC > Resource > Resource Management > Add Device
lU
Your devices might be classified as Desktop, which refers to devices with
a
ICMP enabled (they are pingable) but SNMP disabled. If your devices are
rn
2) Try to discover the device manually after have deleted it from the Snap-
In
Shot views.
P
16. In this step, you enable SSH on devices. Keep in mind that IMC does not create
H
a. Set the crypto public key and enable SSH if it is not enabled yet.
Fo
y
nl
O
Se
a lU
rn
te
In
P
r H
Fo
Command reference
HP-E-Series Commands
Description Command syntax
Configure hostname hostname <hostname>
Configure ports as untagged vlan <ID> untagged <port ID list>
members of VLANs.
Configure ports as tagged members vlan <ID> tagged <port ID list>
of VLANs.
Assign an IP address to a VLAN vlan <ID> ip address [IP address subnet mask | IP
interface. address/prefix length]
Disable SNMP v2 public community no snmp-server community public
Configure a read-write SNMP v2c snmp-server community <community_name> manager
community unrestricted
Configure a read-only SNMP v2c snmp-server community <community_name> operator
y
community restricted
nl
Set the SNMP trap source address. snmp-server trap-source [loopback <ID> | IP address]
Show the saved configuration files. show config-files
O
Set the configuration file for the startup-default config <filename>
startup-config.
Se
Reboot the switch. reload
Save the running configuration. write memory
lU
Copy a saved configuration to a new copy config <source filename> config <destination
configuration file. filename>
a
HP A-Series Commands
rn
Set the native (untagged) port trunk pvid vlan <VLAN ID>
VLAN.
r
Fo
Set the tagged VLANs. port trunk permit vlan <VLAN ID list>
Configure SNMP trap receiver snmp-agent target-host trap address udp-domain <ip
address> params securityname public V2C
Enable Telnet access without user-interface vty 0 15
authentication authentication-mode none
user privilege level 3
quit
Show the file system. dir /all
y
config.
nl
O
Cisco Commands
Description Command syntax
Se
System name hostname <hostname>
Configure a VLAN to receive an IP interface vlan <ID>
lU
address through DHCP ip address dhcp
no shut
Configure an SNMP v2c read-write snmp-server community <community> rw
a
community
rn
privilege level 15
View the files used on booting. show boot
r H
Objectives
After completing this lab, you will be able to:
Configure VLANs, trunk ports, and access ports
Configure IP addresses, IP routing, and Dynamic Host Configuration Protocol
(DHCP)
Configure VLAN trunking protocol (VTP) and GARP VLAN Registration Protocol
(GVRP)
y
nl
Lab equipment
O
P3 P3
Se
Cisco-A Cisco-B
P1 P2 P1 P2
lU
Uplinks
Untagged in VLAN 1,
Tagged in VLAN 11, 12 & 13
a
P1 P2
rn
P2
HP-C P1 HP-E
A-Series E-Series
te
P3 P3
In
PC1 PC2
P
H
In this lab, you will practice configuring VLANs. You will need the following
equipment:
Devices:
Two Cisco 3750 switches in the aggregation layer
One HP A5800 switch and one HP E3500 switch in the access layer
Two laptops, one connected to the HP A-Series switch and one connected to
the HP E-Series switch
Cabling:
As shown in Figure 3-1
Rev. 11.12 L3.1 –1
HP Networking Interoperability
Port naming
Use the port mapping table that you created during Lab 2.1: Management.
y
P3
nl
HP-E P1
P2
O
P3
Lab steps Se
lU
1. As you complete the lab, take note of the show and display commands you will
a
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
2. Make sure that the cables are connected as shown in Figure 3-1.
Note that the links indicated by dotted lines in the diagram represent
connections that you do not create in this lab. You are configuring the ports for
later use in the labs that cover spanning tree protocols (STP).
3. On each switch, load the interop2a configuration that you saved in the previous
lab (Lab 2: Management). This configuration contains the switch’s basic
configuration: name of the device, IP address in VLAN 1, default gateway, LLDP
enabled, and Telnet enabled without authentication and with privileged access.
a. Verify that the interop2a config file is the startup configuration.
b. If not, make it the startup configuration and reboot.
On Cisco switches (both Cisco-A and Cisco-B), enter:
Cisco-A# show boot
Cisco-A(config)# boot config flash:interop2a.cfg
Cisco-A# reload
y
<HP-C> display startup
nl
<HP-C> startup saved interop2a.cfg
O
<HP-C> reboot
4. In this step, you will create the VLANs, configure the trunk/tagged ports, and
rn
[HP-C] vlan 11 to 13
Fo
What are the show and display commands that list the created VLANs?
Cisco:______________________________________________________________
_____________________________________________________________________
HP A-Series:__________________________________________________________
_____________________________________________________________________
Rev. 11.12 L3.1 –3
HP Networking Interoperability
HP E-Series:__________________________________________________________
_______________________________________________________________
b. Configure the uplink ports (connected or not) of each switch as trunk ports.
Note
We use the word “trunk” as used on Cisco and HP A-Series. On HP E-Series
switches, the term trunk refers to a link-aggregation group. All ports can accept
untagged and tagged VLAN assignments.
y
Cisco-A(config-if-range)# switchport trunk encapsulation
nl
dot1q
Cisco-A(config-if-range)# switchport mode trunk
O
On the HP A-Series switch, configure both uplinks as trunks:
Se
[HP-C] interface GigabitEthernet1/0/1
[HP-C-GigabitEthernet1/0/1] port link-type trunk
lU
[HP-C-GigabitEthernet1/0/1] port trunk permit vlan all
a
[HP-C] interface GigabitEthernet1/0/2
rn
Note
Do not forget to permit VLANs on the trunk. On HP A-Series switches, none are
P
On HP A-Series switches, you can alternatively create a manual port group and
r
On the HP E-Series switch, you configure VLAN tagging on a port from the
VLAN context:
HP-E(config)# vlan 11
HP-E(vlan-11)# tagged 1-2
HP-E(vlan-11)# vlan 12
HP-E(vlan-12)# tagged 1-2
HP-E(vlan-11)# vlan 13
HP-E(vlan-12)# tagged 1-2
Note
By default, all E-Series switch ports are untagged in VLAN 1 by default. You can
changed the untagged membership with this command: vlan <vlan_ID>
untagged <port-list>.
What are the show and display commands on the different platforms that
display the status of trunk ports and the VLANs that they support?
y
nl
Cisco: ______________________________________________________________
O
_____________________________________________________________________
Se
lU
HP A-Series:__________________________________________________________
a
_____________________________________________________________________
rn
te
HP E-Series:__________________________________________________________
In
_____________________________________________________________________
P
H
1.
Fo
d. Make sure that Server_1 is connected on port P3 of HP-C and that PC2 is
connected on port P3 of HP-E.
e. Verify that Server_1 (10.POD.1.100) can ping PC2 (10.POD.1.101).
f. On Cisco-A, HP-C, and HP-E, choose a range of three ports that are not
connected. Configure these ports as access ports in VLAN 11. (If not enough
ports are available, you can choose fewer.)
On Cisco switches, enter:
Cisco-A(config)#interface range gigabit 1/0/10-12
Cisco-A(config-if-range)#switchport mode access
Cisco-A(config-if-range)#switchport access vlan 11
On HP A-Series switches, configure the ports using a manual port group. Enter:
On HP A-Series switches, you can also easily set access ports this way:
[HP-C]vlan 11
[HP-C-vlan11]port Gig 1/0/10 to Gig 1/0/12
y
11. You will connect PC2 to this port in order to test DHCP:
nl
O
HP-E(config)# vlan 11 untagged 3
What are the show and display commands that display the status of access
Se
ports and what VLANs they’re in with on the different platform?
Cisco:_______________________________________________________________
a lU
_____________________________________________________________________
rn
te
HP A-Series:__________________________________________________________
In
_____________________________________________________________________
P
H
HP E-Series:___________________________________________________________
r
Fo
_____________________________________________________________________
g. Configure the voice ports. Select another range of three ports on HP-C and
E. (If not enough ports are available, you can choose fewer.)
Configure both ports with these settings:
VLAN 11 (the data VLAN) is untagged.
VLAN 12 (the voice VLAN) is tagged.
On Cisco switches, enter:
Cisco-A(config)#interface range gigabit 1/0/13-15
Cisco(config-if-range)# switchport mode access
On HP A-Series switches, configure the ports using a manual port group. Enter:
[HP-C]port-group manual Phones
[HP-C-port-group-manual-Phones]group-member Gi 1/0/13 to Gi
1/0/15
[HP-C-port-group-manual-Phones]port link-type hybrid
[HP-C-port-group-manual-Phones]port hybrid vlan 11 untagged
[HP-C-port-group-manual-Phones]port hybrid vlan 12 tagged
[HP-C-port-group-manual-Phones]port hybrid pvid vlan 11
[HP-C-port-group-manual-Phones]UNDO port hybrid vlan 1
Note
y
nl
On hybrid A-Series ports (as on trunk ports), when you change the PVID (or
native VLAN), VLAN 1 remains on the ports as an untagged VLAN. For this
O
reason, you must remove VLAN 1 if you do not want it to remain untagged on
the port.
Se
On HP E-Series switches, you create voice ports by giving the ports an untagged
lU
assignment in the data VLAN and a tagged assignment in the voice VLAN.
Enter:
a
HP-E(config)# vlan 12
te
HP-E(vlan-12)# voice
In
a. Enable IP routing.
b. Configure an IP address on interfaces VLAN 11, 12 and 13.
r
Fo
Cisco-B(config)# ip routing
Cisco-B(config)# interface vlan 11
Cisco-B(config-if)# ip address 10.POD.11.2 255.255.255.0
Cisco-A(config-if)# ip helper-address 10.POD.1.3
Cisco-B(config)# interface vlan 12
y
nl
Cisco-B(config-if)# ip address 10.POD.12.2 255.255.255.0
O
Cisco-A(config-if)# ip helper-address 10.POD.1.3
Cisco-B(config)# interface vlan 13
Se
Cisco-B(config-if)# ip address 10.POD.13.2 255.255.255.0
Cisco-B(config-if)# ip helper-address 10.POD.1.3
lU
Note
a
For your reference, if you did need to configure DHCP relay, you would do so
with these commands on an HP E-Series switch:
te
Note
In the commands, replace POD with your POD number and X with the VLAN
number. Repeat the commands for each VLAN.
You can configure other settings, but these are not required for the lab.
[HP-C-pool-vlanX-pool] dns-list 10.POD.1.100
y
[HP-C-pool-vlanX-pool] domain-name example0X.hp.com
nl
[HP-C-pool-vlanX-pool] expired day 0 hour 2
O
[HP-C-pool-vlanX-pool] quit
Se
[HP-C] dhcp server forbidden-ip 10.POD.X.1 10.POD.X.101
[HP-C] dhcp server forbidden-ip 10.POD.X.254
lU
7. To verify that DHCP is working, connect PC2 to P3 HP-E. Configure PC2 to
obtain its IP address using DHCP.
a
rn
9. Save the configuration of your devices for later use and define the saved
In
On Cisco switches:
H
Entering write mem later will overwrite this configuration, so take care.
On HP A-Series switches:
<HP-C> save interop-3a.cfg
<HP-C> dir /all
<HP-C> startup saved interop-3a.cfg
<HP-C> display startup
On HP E-Series switches:
HP-E# write mem
HP-E# show config-files
The config file name should be interop2a. Rename the file to interop3a.
HP-E# copy config interop2a config interop3a
10. The next steps are for an optional task, in which you activate GVRP on HP-C and
E.
a. First enable GVRP globally on HP-C and HP-E.
b. Second, enable GVRP on uplinks. You must enable GVRP on HP A-Series
y
ports, which must be trunk ports. On HP E-Series, GVRP is enabled on all
nl
ports by default when you enable the feature globally.
O
On the HP A-Series switch, enter:
Se
[HP-C] gvrp
[HP-C] int gi 1/0/1
lU
[HP-C-GigabitEthernet1/0/1] gvrp
[HP-C-GigabitEthernet1/0/1] gvrp registration ?
a
rn
Note
H
On HP E-Series switches, after you have enabled GVRP globally, the switch can
Fo
y
Do you see the new VLAN 101 on HP-C?
nl
O
_________________________________________________________________
Create VLAN 101 on HP-C as well. Now does port 1 on HP-E belong to
Se
VLAN 101?
_________________________________________________________________
a lU
12. Delete VLAN 100 on HP-C. Is it removed on HP-E as well?
rn
_____________________________________________________________________
te
13. Delete VLAN 101 on HP-E. Is it removed on HP-C as well? If not, delete it on
In
HP-C.
_________________________________________________________________
P
H
now; you will load the previously saved configuration for the next lab.
Command reference
HP E-Series Commands
Description Command syntax
Configure ports as untagged vlan <ID> untagged <port ID list>
members of VLANs.
Configure ports as tagged members vlan <ID> tagged <port ID list>
of VLANs.
Assign an IP address to a VLAN vlan <ID> ip address <IP address subnet mask | IP
interface. address/prefix length]
Configure DHCP relay on a VLAN vlan <ID> ip helper-address <DHCP server IP address>
interface.
Enable or disable GVRP. [no] gvrp
Enable GVRP learning mode on an interface <port-list> gvrp learn
interface (default).
y
Create a VLAN that is automatically vlan <ID> [auto <port-list>]
nl
advertised on the specified ports
when GVRP is enabled (default
O
setting).
Show the saved configuration files. show config-files
Se
Set the configuration file for the startup-default config <filename>
startup-config.
lU
Reboot the switch. reload
Save the running configuration. write memory
Copy a saved configuration to a new copy config <source filename> config <destination
a
HP A-Series Commands
Description Command syntax
In
Set the native (untagged) port trunk pvid vlan <VLAN ID>
VLAN.
r
Fo
Set the tagged VLANs. port trunk permit vlan <VLAN ID list>
Exclude IP addresses from being dhcp server forbidden-ip <first IP address> [last IP
assigned. address]
Configure a DHCP server group for dhcp relay server-group <ID> ip <DHCP server IP
DHCP relay. address>
Enable DHCP relay on a VLAN interface vlan-interface <ID>
interface and specify the server group dhcp select relay
dhcp relay server-select <ID>
Enable or disable GVRP. [undo] gvrp
y
Show the file system. dir /all
nl
Set the configuration file for the startup saved-configuration <filename>
O
startup-config.
Se
Reboot the switch. reboot
config.
rn
te
Cisco Commands
Description Command syntax
In
y
nl
O
Se
a lU
rn
te
In
P
r H
Fo
Objectives
After completing this lab, you will be able to:
Configure Multiple Spanning Tree Protocol (MSTP) on Cisco-And HP switches
Test the MSTP operations on Cisco-And HP switches
Verify that switches in different regions can interoperate through Rapid Spanning
y
Tree Protocol (RSTP)
nl
Understand the implications of MSTP not being VLAN-aware
O
Lab equipment
Root
Se
Root
MSTP Region
lU
for Instances 0 and 1 for Instance 2
Name: HP-Cisco
P1 P1
Revision: 1
Cisco-A Cisco-B
MST Instance 1: VLAN 12
a
P3 P4 P3 P4
MST Instance 2: VLAN 1,11,13
rn
te
MSTP IP addressing:
10.POD.VLAN.X/24
In
X=1 on Cisco-A
X=2 on Cisco-B
P
P1 P2 P1 P2 X=3 on HP-C
HP-C HP-E X=4 on HP-D
H
X=5 on HP-E
P3 P3 X=6 on HP-F
r
X=100 on Server_1
Fo
X=101 on Client_1
Server_1 Client_1
When this lab activity is completed, your network’s topology should resemble the
configuration shown in Figure 4-1.
You will need the following equipment to complete this lab:
Devices:
Two Cisco 3750 switches in the aggregation layer (Cisco-A and Cisco-B)
One HP A5800 switch (HP-C) and one HP-E3500 switch (HP-E) in the
access layer
Two laptops
Important
! Do not make these connections now. The lab will tell you when to establish them.
Lab steps
y
Complete the following tasks.
nl
1. On Cisco-A, Cisco-B, HP-C, HP-F, load the interop3a configuration that you
O
saved at the end of Lab 3.1. This configuration contains the switch’s
management, VLAN, IP, and port configurations.
2.
Se
Verify that the interop3a configuration file is the startup configuration.
lU
3. If it is not, make it the startup configuration and reboot.
On Cisco switches:
a
rn
On HP A-Series switches:
P
<HP-C> reboot
Fo
On HP E-Series switches:
HP-E# show config-files
HP-E(config)# startup-default config interop3a
HP-E# reload
4. After you have loaded the configuration on each switch, quickly verify the
following on each switch:
VLAN 1 has the correct IP address (see Figure 4-1).
VLANs 1, 11, 12, and 13 are configured.
Uplinks are set as trunk ports, which permit all VLANs. On the HP E-Series
device, the uplinks are untagged for VLAN 1 and tagged for all other
VLANs.
LLDP is enabled.
5. As you complete the lab, take note of the show and display commands you use
to verify and troubleshoot your configuration. Specifically, note which commands
allow you to answer questions such as:
What is MSTP region configuration?
Which switch is root in an MSTP instance and in the Common Spanning-
Tree (CST)?
What port is root port on a switch? And what is cost to the root (root path
cost)?
y
nl
Which ports are designated (forwarding), and which ports are alternate
O
(blocked)?
You will share these commands in the lab debrief.
Se
_____________________________________________________________________
lU
_____________________________________________________________________
a
rn
te
_____________________________________________________________________
In
_____________________________________________________________________
P
H
_____________________________________________________________________
r
Fo
_____________________________________________________________________
Activate MSTP
6. Check the software version on the Cisco switches. Based on information given in
the lecture, will they support MSTP?
_____________________________________________________________________
7. Enable spanning tree in MSTP mode on all switches. Do not set priorities, neither
MSTP region parameters.
On Cisco switches, enter:
Cisco(config)# spanning-tree mode mst
On HP A-Series switches, STP is not enabled but MSTP is the default STP mode.
You simply need to enable STP:
[HP-C] stp enable
On HP E-Series switches, STP is not enabled but MSTP is the default STP mode.
You simply need to enable STP:
HP-F(config)# spanning-tree
8. Establish all of the connections between the switches and with Server_1 and
Client_1 as displayed in Figure 4-1.
y
nl
9. When you enable MSTP without configuring other settings, each switch is its
O
own region, and the switches interact in RSTP using their setup in the IST
instance.
Se
a. Which switch is root of the common and internal spanning tree (CIST)?
lU
_________________________________________________________________
b. Why is this switch root?
a
_________________________________________________________________
rn
c. Which commands do you enter on each switch to verify the switch’s role
te
and the role of its ports (root port, alternate port, and designated port)?
In
Cisco-A: _________________________________________________________
P
H
_________________________________________________________________
r
Fo
HP-C: ___________________________________________________________
_________________________________________________________________
HP-E:______________________ ______________________________________
_________________________________________________________________
_________________________________________________________________
HP-C: ___________________________________________________________
_________________________________________________________________
HP-E:______________________ ______________________________________
_________________________________________________________________
y
Default Instance name and VLAN mappings
nl
Cisco-A:
O
Region name: ____________________________________________________
Se
Revision #: ______________________________________________________
lU
Instance and VLAN mapping: ______________________________________
a
rn
HP-C:
te
Revision #: ______________________________________________________
r H
HP-E:
Region name: ____________________________________________________
Revision #: ______________________________________________________
f. Verify the port cost on each switch of Gigabit Interface. The default setting
is 20 000. Is it consistent between platforms?
10. On HP-C, enter the command to set standard MSTP port costs:
[HP-C]stp pathcost-standard dot1t
Verify that the cost value has changed. The standard cost for a Gigabit port
is 20000.
y
11. Configure uplink ports as non-edge ports. Other ports should be edge ports.
nl
On Cisco switches, you can configure all ports to be edge ports by default; if
O
they receive BPDU, they transit to non-edge ports. You can also set the roles
manually:
Se
Cisco(config-if)#spanning-tree portfast default
lU
Cisco(config)#interface gig 1/0/1
Cisco (config-if)#no span portfast
a
when they receives BPDU. You can also force the non-edge role on uplinks.
In
[HP-C]interface GigabitEthernet1/0/1
[HP-C-GigabitEthernet1/0/1]undo stp edged-port
P
[HP-C]display stp
H
when they receive BPDU. You can also force the non-edge role on uplinks.
Fo
Important
! The region name is case-sensitive
y
nl
On Cisco switches:
O
Cisco-A(config)# spanning-tree mst configuration
Se
Cisco-A(config-mst)# name HP-Cisco
Cisco-A(config-mst)# revision 1
lU
Cisco-A(config-mst)# instance 1 vlan 12
Cisco-A(config-mst)# instance 2 vlan 1,11,13
a
rn
Cisco-A(config-mst)# exit
te
Note
On Cisco, the MSTP Configuration is not validated until you enter the exit
In
[HP-C]stp region-configuration
[HP-C-mst-region] region-name HP-Cisco
[HP-C-mst-region] revision-level 1
[HP-C-mst-region] instance 1 vlan 12
[HP-C-mst-region] instance 2 vlan 1 11 13
[HP-C-mst-region] active region-configuration
[HP-C-mst-region] display stp region-config
[HP-C-mst-region] display stp brief
13. Define the roots and secondary roots for each instance as indicated in the table.
Root and Secondary Root settings
Instance Root Secondary Root
0 Cisco-A Cisco-B
1 Cisco-A Cisco-B
2 Cisco-B Cisco-A
y
nl
On Cisco-A, enter:
O
Cisco-A(config)# spanning-tree mst 0 priority 0
Se
Cisco-A(config)# spanning-tree mst 1 priority 0
Cisco-A(config)# spanning-tree mst 2 priority 4096
lU
OR
a
Cisco-A(config)#spanning-tree mst 0 root primary
rn
On Cisco-B, enter:
In
OR
r
Fo
14. Check MSTP operations on the HP-C or HP-E access layer switches.
On HP-C, enter:
[HP-C]display stp instance 0
[HP-C]display stp instance 1
[HP-C]display stp instance 2
On HP-E, enter
HP-E#show span 1-2 instance IST
HP-E#show span 1-2 instance 1
HP-E#show span 1-2 instance 2
__________________________________________________________________
y
What is each switch’s root priority and MAC address in instance 2?
nl
O
__________________________________________________________________
Se
Which switch is root in instance 2? ___________________________________
lU
What is each switch’s root priority and MAC address in instance 2?
a
rn
__________________________________________________________________
te
In
15. On the HP Edge switches, in each instance, determine which port is plays each
role:
P
Root port
H
Alternate port
r
Fo
On HP-C, enter:
[HP-C]display stp brief
On HP-E, enter:
HP-E#show span 1-2 instance IST
HP-E#show span 1-2 instance 1
HP-E#show span 1-2 instance 2
y
17. Verify that Server_1 can ping Client_1. If not check and modify their IP
nl
addresses:
O
Server_1: 10.POD.1.100
Se
Client_1: 10.POD.1.101
18. On Server_1, start a continuous fping in VLAN 1 to Server_1 with a 50 ms
lU
timeout.
a
Fping 10.POD.1.100 –c -t 50 –w 50
rn
19. On HP-C, change the MSTP revision name from HP-Cisco to Fakename.
te
20. On Server_1, check the fping. How long did it take for failover to occur when
HP-C left the MSTP region
In
_______________________________________________________________
Fo
Which switch does it list as the root of the MSTP instance 1 and 2?
_______________________________________________________________
22. Change the region name on HP-C back to the correct name (HP-Cisco).
23. Check the fping. How long does it take for failover to occur?
_______________________________________________________________
Important
! When you configure MSTP in a network, you might experience failovers of this
magnitude. Depending on your environment, this may or may not be acceptable.
You would need to plan accordingly.
_________________________________________________________________
_________________________________________________________________
y
nl
c. Recreate VLAN 12.
O
25. On HP-F, disconnect the root port.
Se
a. Does a failover occur?
lU
_________________________________________________________________
a
rn
_________________________________________________________________
P
H
26. Save the configuration of your devices for later use and define the saved
r
On Cisco switches:
Cisco-A# write memory
Cisco-A# copy running flash:interop-5a.cfg
Cisco-A# dir flash:
Cisco-A(config)#boot config flash:interop-5a.cfg
Cisco-A# show boot
Entering write mem later will overwrite this configuration, so take care.
On HP A-Series switches:
<HP-C> save interop-5a.cfg
<HP-C> dir /all
<HP-C> startup saved interop-5a.cfg
<HP-C> display startup
The config file name should be interop3a. Rename the file to interop5a.
HP-E# copy config interop3a config interop5a
y
To make this configuration the startup-config, enter this command:
nl
HP-E(config)# startup-default config interop5a
O
Se
a lU
rn
te
In
P
r H
Fo
Command reference
HP-E-Series Commands
Description Command syntax
Configure ports as untagged members of vlan <ID> untagged <port ID list>
VLANs.
Configure ports as tagged members of vlan <ID> tagged <port ID list>
VLANs.
Assign an IP address to a VLAN interface. vlan <ID> ip address <IP address subnet mask | IP
address/prefix length]
Enable MSTP globally. spanning-tree
Define the MSTP config name. spanning-tree config-name <ASCII string>
Define the MSTP revision. spanning-tree config-revision <revision number>
Assign VLANs to an MSTP instance. spanning-tree instance <ID> vlan <VLAN ID list>
Configure the switch’s priority for an MSTP spanning-tree instance <ID> priority <0-15>
y
instance.
nl
Configure a port as an administratively spanning-tree <port ID list> admin-edge-port
assigned edge port or remove the setting.
O
Configure a port as an automatically spanning-tree <port ID list> admin-edge-port
assigned edge port or remove the setting.
Se
Configure how the port determines its type spanning-tree <port ID list> point-to-point-mac [true | false
(point-to-point or not). | auto]
lU
View the global STP (or MSTP) status. show spanning-tree
View the spanning-tree status for ports. show spanning-tree <port ID list>
View information about the MSTP instance. show spanning-tree instance <ist | instance ID> [detail]
a
View the MSTP configuration for an show spanning-tree config <ist | instance ID>
te
instance.
View the MSTP configuration for specific show spanning-tree <port ID list> config [ist | instance ID]
In
ports.
Show the saved configuration files. show config-files
P
Set the configuration file for the startup- startup-default config <filename>
config.
H
Copy a saved configuration to a new copy config <source filename> config <destination
configuration file. filename>
HP A-Series Commands
Description Command syntax
Enable STP globally. stp enable
y
View the MSTP root. display stp root
nl
O
Show the file system. dir /all
Se
Set the configuration file for the startup- startup saved-configuration <filename>
config.
lU
Reboot the switch. reboot
a
Save the running configuration as a named save <filename>
file.
rn
Cisco Commands
P
ports.
Disable PortFast on an uplink port (make it a interface <type> <number>
non-edge port). no spanning-tree portfast
Enter the MSTP region configuration view. spanning-tree mst configuration
Define the MSTP config name. name <name>
Define the MSTP revision. revision <number>
Assign VLANs to an MSTP instance <ID> vlan <VLAN ID list>
instance.
Validate and apply the settings. exit
Configure the switch’s priority for an MSTP spanning-tree mst <instance ID> priority <priority>
instance.
Configure the switch as the root or spanning-tree mst <instance ID> root [primary |
secondary root for an MSTP instance. secondary]
View information about MSTP. show spanning-tree mst
y
nl
O
Se
a lU
rn
te
In
P
r H
Fo
y
nl
O
Se
lU
a
rn
te
In
P
r H
Fo
Objectives
After completing this lab, you will be able to:
Configure interoperation in an environment in which HP switches implement
MSTP at the edge and Cisco switches implement PVST+ at the aggregation layer
(or core)
y
Test interoperability between MSTP on HP-Edge switches and PVST+ on Cisco-
nl
Aggregation switches
O
Verify that switches interoperate in VLAN 1 using standard STP and RSTP
Lab equipment
Se
lU
Root Root
For VLANs 1,11,13 for VLANs 12
Rapid-PVST+
P1 P1
a
Cisco-A Cisco-B
P4 P3
rn
P3 P4
te
In
MSTP Region
P
P1 P2 Name: HP-Cisco
P2 P1 Revision: 1
H
HP-C HP-E
MSTP MST Instance 1: VLAN 12
P3 P3 MST Instance 2: VLAN 1,11,13
r
Fo
Server_1 Client_1
When this lab activity is complete, your network’s topology should resemble the
diagram above.
You will need the following equipment to complete this lab:
Devices:
Two Cisco 3750 switches at the aggregation layer (Cisco-A and Cisco-B)
One HP A5800 (HP-C) and one HP-E3500 (HP-E) in the access layer
Two laptops
Cabling:
One Gigabit link between the two Cisco switches
One Gigabit link between HP access layer switch and each Cisco switch
(four links total)
One connection in VLAN 1 between Server_1 and HP-C
One connection in VLAN 1 between Client_1 and HP-E
Lab steps
Complete these tasks.
y
1. Establish the connections as shown in Figure 5.1-1.
nl
2. Reset the switches to the interop5a configuration. This configuration includes all
O
the necessary management, VLAN, IP, and port configuration—as well as the
MSTP setup, in which Cisco-A and Cisco-B are root and secondary root in MSTP
Se
instances 0, 1, and 2.
lU
a. Verify that the interop5a config is the startup-config.
b. If it is not, make it the startup-config and reboot the switches.
a
Cisco-A# reload
P
<HP-C> reboot
y
HP-E-Series (HP-E) = 8 (x4096)=32768
nl
O
5. Before enabling Rapid-PVST+ on Cisco switches, start an fping from Client_1 to
Server_1 with a 100 ms timeout, to measure impact on changing mode on your
Se
network.
C:>fping 10.POD.1.100 –c -t 100 –w 100
lU
6. Enable Rapid-PVST+ mode on Cisco-A and B.
a
b. Define Cisco-B as root for VLANs 12 and secondary root for VLAN 1, 11,
and 13:
Cisco-B(config)#spanning-tree vlan 12 priority 0
Cisco-B(config)#spanning-tree vlan 1,11,13 priority 4096
Cisco-A(config)#spanning-tree vlan 1,11,13 root primary
Cisco-A(config)#spanning-tree vlan 12 root secondary
Alternatively, you can configure the switches as the primary and secondary
roots, which configures the proper priorities for the role automatically. Enter
these commands on Cisco A:
Cisco-A(config)#spanning-tree vlan 1,11,13 root primary
Cisco-A(config)#spanning-tree vlan 12 root secondary
If you use the root options, verify the priority that the Cisco IOS has assigned to
the root and secondary root switches.
8. Verify the configuration with this command (replace X with each VLAN ID):
y
Cisco# show span vlan X
nl
For each VLAN on each Cisco switch, please note the switch’s role, priority, and
O
MAC address.
Cisco Rapid PVST+ Settings
Se
Cisco-A Priority Root? Cisco-B Priority Root?
lU
VLAN 1 VLAN 1
VLAN 11 VLAN 11
a
rn
VLAN 12 VLAN 12
VLAN 13 VLAN 13
te
MAC
In
MAC
address address
P
H
9. On HP-C and HP-E, find which switch is root of the common spanning tree (CST).
r
Also find each switch’s root port and root path cost in the CST.
Fo
_________________________________________________________________
10. Enter these commands to find information about MSTP instances 1 and 2.
On the HP A-Series switch (HP-C), enter:
<HP-C> display stp instance 1
<HP-C> display stp instance 2
_____________________________________________________________________
y
_____________________________________________________________________
nl
O
_____________________________________________________________________
Se
Which switch is root in the instance 2? Why?
lU
_____________________________________________________________________
a
rn
_____________________________________________________________________
te
In
_____________________________________________________________________
P
H
Note
You must understand MSTP’s IST master.
r
Fo
If an MST bridge is the root bridge for the CST, then it is the IST master of that
MST region. If the CST root is outside the MST region, as in this lab, in which
the CST root is Cisco-A, one of the MST bridges at the boundary is selected as
the IST master. In this lab, the IST master for each region is the only HP switch in
that region. Other bridges on the boundary that belong to the same region
eventually block the boundary ports that lead to the root. However, this does not
occur in this lab because each HP switch communicates BPDUs through the
Cisco switch.
__________________________________________________________________
y
nl
Has this changed the status of the ports on the HP switches and their root
O
path cost?
Se
__________________________________________________________________
lU
__________________________________________________________________
a
13. Server_1 and Client_1 are connected to port P3 of HP-C and HP-E. Both are in
VLAN 1.
In
14. Start a continuous fping between Client_1 and Server_1 (if you have not yet
P
started it).
H
15. Disable the root port on HP-C or HP-E. Determine how long failover takes. Then
Fo
Note
In these and all later commands, remember to specify the interface IDs that you
recorded in your Port Mapping table.
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
y
nl
__________________________________________________________________
O
Se
__________________________________________________________________
lU
17. Open all uplink ports (P1, P2 , and P3) on Cisco-A.
a
__________________________________________________________________
In
__________________________________________________________________
P
H
__________________________________________________________________
r
Fo
Note
If you have trouble, try these troubleshooting tips. If the fping times out and never
completes successfully again when you close a port, verify the VLAN setup on
the uplinks. Are they configured as trunks? Are all VLANs permitted? Remember:
by default, the VLANs are not permitted on HP A-Series trunks.
Configure PVST+
18. On both Cisco switches, change the mode to PVST+.
Cisco-A(config)#spanning-tree mode pvst
__________________________________________________________________
20. Disable the root port on HP-C or HP-E. Determine how long failover takes. Then
re-enable the port.
On HP-C, you would enter:
y
nl
[HP-C]interface GigabitEthernet 1/0/1
O
[HP-C-GigabitEthernet1/0/1]shutdown
[HP-C-GigabitEthernet1/0/1]undo shutdown
Se
On HP-E, you would enter:
lU
HP-E(config)# interface 1 disable
HP-E(config)# interface 1 enable
a
How long are the failovers now? Are they (very) different? Why?
rn
te
__________________________________________________________________
In
__________________________________________________________________
P
H
__________________________________________________________________
r
Fo
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
y
nl
Cisco(config-if)#spanning-tree vlan 11-13 cost 10000
O
Note
As usual, enter the correct interface ID according to your Port Mapping table.
Se
23. Verify that the Cisco switches are correctly blocking ports. Each switch should
lU
block the port for the VLAN in which it is secondary root:
Cisco# show spanning-tree vlan 1
a
rn
In VLAN 1: _______________________________________________________
P
H
24. Start a continuous fping between Client_1 and Server_1 (if not yet started).
C:>fping 10.POD.1.100 –c -t 100 –w 100
25. Disable the root port on HP-C or HP-E. Determine how long failover takes. Then
re-enable the port.
On HP-C, you would enter:
[HP-C]interface GigabitEthernet 1/0/1
[HP-C-GigabitEthernet1/0/1]shutdown
[HP-C-GigabitEthernet1/0/1]undo shutdown
Rev. 11.12 L5.1 –9
HP Networking Interoperability
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
y
__________________________________________________________________
nl
O
__________________________________________________________________
Se
__________________________________________________________________
lU
26. Close all uplink ports (P1, P2 , and P3) on Cisco-A.
a
rn
__________________________________________________________________
r H
Fo
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
y
On Cisco switches:
nl
Cisco-A# write memory
O
Cisco-A# copy running flash:interop-5a.cfg
Se
Cisco-A# dir flash:
Cisco-A(config)#boot config flash:interop-5a.cfg
lU
Cisco-A# show boot
Entering write mem later will overwrite this configuration, so take care.
a
On HP A-Series switches:
rn
The config file name should be interop4a. Rename the file to interop5a.
HP-E# copy config interop4a config interop5a
Command reference
HP-E-Series Commands
Description Command syntax
View the global STP (or MSTP) status. show spanning-tree
View the spanning-tree status for ports. show spanning-tree <port ID list>
View information about the MSTP instance. show spanning-tree instance <ist | instance ID> [detail]
View the MSTP configuration. show spanning-tree config
View the MSTP configuration for an show spanning-tree config <ist | instance ID>
instance.
View the MSTP configuration for specific show spanning-tree <port ID list> config [ist | instance ID]
ports.
Disable spanning-tree on a switch port. Spanning-tree bpdu-filter <port ID list>
Disable switch ports. interface <port ID list> disable
Show the saved configuration files. show config-files
y
Set the configuration file for the startup- startup-default config <filename>
nl
config.
Reboot the switch. reload
O
Save the running configuration. write memory
Copy a saved configuration to a new copy config <source filename> config <destination
Se
configuration file. filename> lU
HP A-Series Commands
Description Command syntax
a
View the MSTP status and statistics for an display stp instance <instance ID>
instance.
In
View the MSTP status and statistics for a list display stp [instance <instance ID>] interface <interface
of ports. list>
P
Set the configuration file for the startup- startup saved-configuration <filename>
config.
Cisco Commands
Description Command syntax
Configure the STP mode to Rapid PVST+. spanning-tree mode rapid-pvst
Set the STP path cozsst calculation method. spanning-tree pathcost method [long | short]
y
Set the switch’s PVST+ priority for a VLAN. spanning-tree vlan <VLAN ID list> priority <priority>
nl
O
Configure the switch as root or secondary spanning-tree vlan <VLAN ID list> root [primary |
root for PVST+ in a VLAN. secondary]
Se
View the PVST+ configuration for a VLAN. show spanning-tree VLAN <VLAN ID>
lU
Configure the spanning tree path cost for a interface <type> <number>
port. spanning-tree vlan <ID> cost <cost>
Enable a switch port. interface <type> <number>
a
no shutdown
rn
configuration file.
Specify the saved configuration file for the boot config flash:<filename>
configuration that loads on startup.
y
nl
O
Se
lU
a
rn
te
In
P
r H
Fo
Objectives
Note that this lab is optional because you might encounter this situation (Cisco at the
edge and HP at the distribution layer) more rarely than the opposite. In addition,
when you have HP A-Series switches in the distribution layer, it is strongly
recommended that you use IRF (which makes spanning tree unnecessary).
After completing this lab, you will be able to:
y
nl
Configure interoperation in an environment in which Cisco switches implement
PVST+ at the edge and HP switches implement MSTP at the aggregation layer
O
(or core)
Se
Test interoperability between PVST+ on Cisco edge switches and MSTP on HP
aggregation switches
lU
Verify that switches can use STP and RSTP to interoperate on VLAN 1
a
Lab equipment
rn
te
Root root
for Instances 0 and 1 for Instance 2
MSTP MSTP Region
In
P1 P1
HP-C HP-D Name: HP-Cisco
P2 Revision: 1
P
P2 P3
P3 MST Instance 1: VLAN 12
H
P1 P2 P1 P2
Cisco-A Rapid-PVST+ Cisco-B
P3 P3
When this lab activity is complete, your network’s topology should resemble the
diagram above.
y
One connection in VLAN 12 between laptop 2 and Cisco-B
nl
Lab steps
O
Se
Complete the tasks in each section.
2. Load the interop5a configuration on the switches. This configuration includes all
rn
the necessary management, VLAN, IP, and port configuration—as well as the
te
y
MST Instance 2 VLANs 1, 11, and 13
nl
O
5. Define HP-C as the root in instance 0 and 1 and as the backup root in instance
2. Define HP-D as the root in instance 2 and as the backup root in instance 0
Se
and 1.
On HP-C, enter these commands:
lU
[HP-C]#stp instance 0 root primary
a
6. Check the spanning tree configuration and port statuses on each switch.
r
___________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
___________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
y
nl
__________________________________________________________________
O
__________________________________________________________________
Se
__________________________________________________________________
lU
On the switch or switches that are not root:
a
rn
__________________________________________________________________
Fo
__________________________________________________________________
__________________________________________________________________
10. On the Cisco switches, check the port statuses. Have the alternate ports
changed?
__________________________________________________________________
y
nl
11. Change the priority on Cisco-A so as to make it the root for all VLANs except 1.
O
Cisco(config)# spanning-tree vlan 11-13 priority 0
OR
Se
Cisco(config)# spanning-tree vlan 11-13 root primary
lU
12. Check the port statuses on the Cisco switches. Fill in the tables. (Not every
column will be filled.)
a
1
11
In
12
13
P
H
1
11
12
13
13. On each uplink port, adjust the port cost to either 10000 or 30000 on a per-
VLAN basis. Choose whether to increase or decrease the cost on that particular
port for that particular VLAN based on the correct root ports indicated above.
Cisco(config)#interface gig 1/0/1
Cisco(config-if)#spanning-tree vlan 12 cost 10000
Cisco(config-if)#interface gig 1/0/2
Cisco(config-if)#spanning-tree vlan 1,11,13 cost 10000
Note
As usual, enter the correct interface ID according to your Port Mapping table.
14. Next you will verify that convergence has occurred. If necessary, restart the
continuous fping between laptop 1 and laptop 2 (which should both be in
VLAN 12).
y
nl
15. In the table, record how long failover takes to occur when you disconnect
O
various uplinks. Always reconnect the uplink before disconnecting another
uplink.
Se
Time for failover
lU
Time for failover at Time for failover at
Disconnected uplink
disconnect reconnect
a
HP-C to Cisco-A
rn
HP-C to Cisco-B
HP E to Cisco-A
te
HP E to Cisco-B
In
16. If the Cisco switches are implementing HSRP, which you configured in a previous
H
[HP-C]interface Vlan-interface11
[HP-C-Vlan-interface11] vrrp vrid 11 virtual-ip 10.1.11.254
L5.2 –6 Rev. 11.12
Configuring PVST+/MSTP Interoperability: HP at the Aggregation Layer
[HP-C]interface Vlan-interface12
[HP-C-Vlan-interface12] vrrp vrid 12 virtual-ip 10.1.12.254
[HP-C-Vlan-interface12] vrrp vrid 12 priority 254
[HP-C-Vlan-interface12] vrrp vrid 12 preempt-mode
[HP-C]interface Vlan-interface13
[HP-C-Vlan-interface13] vrrp vrid 13 virtual-ip 10.1.13.254
On HP-D, enter:
[HP-D]interface Vlan-interface1
[HP-D-Vlan-interface1] vrrp vrid 1 virtual-ip 10.1.1.254
y
[HP-D-Vlan-interface1] vrrp vrid 1 priority 254
nl
[HP-D-Vlan-interface1] vrrp vrid 1 preempt-mode
O
[HP-D]interface Vlan-interface11
Se
[HP-D-Vlan-interface11] vrrp vrid 11 virtual-ip 10.1.11.254
lU
[HP-D-Vlan-interface11] vrrp vrid 11 priority 254
[HP-D-Vlan-interface11] vrrp vrid 11 preempt-mode
a
rn
[HP-D]interface Vlan-interface12
te
[HP-D]interface Vlan-interface13
P
You will now explore how VRRP interoperates with your MSTP and PVST+
configuration to provide redundancy for routed traffic.
18. Connect Server_1 to HP-C on a port that is untagged for VLAN 11. (Leave
Client_1’s connection as is.)
19. Verify that both laptops have received an IP address. On each laptop, start a
continuous fping to the other laptop.
20. Disconnect the link between HP-C and Cisco-A. How long does it take for
failover to occur?
___________________________________________________________________
21. Reconnect the port. How long does it take for failover to occur?
__________________________________________________________________
22. Save the configuration on HP-C. Then reboot the switch. How long does it take
for failover to occur?
___________________________________________________________________
23. After HP-C comes back up, how long does it take for failover to occur again?
__________________________________________________________________
y
24. Do not save the configuration. You will not need to use it for a later lab.
nl
O
Se
a lU
rn
te
In
P
r H
Fo
Command reference
HP A-Series Commands
Description Command syntax
Configure a port as a trunk port. interface <type> <number>
port-link-type trunk
Set the native (untagged) VLAN. port trunk pvid vlan <ID>
Set the tagged VLANs. port trunk permit vlan <VLAN ID list>
Configure a port as an access port in a interface <type> <number>
VLAN. port-link-type access
port access vlan <ID>
Create a link aggregation interface. interface bridge-aggregation <group ID>
y
Assign a physical interface to the link interface <type> <number>
nl
aggregation group. port link-aggregation group <group ID>
Configure a link aggregation as a VLAN interface bridge-aggregation <group ID>
O
trunking port. port-link-type trunk
Set the native (untagged) VLAN. port trunk pvid vlan <VLAN ID>
instance.
rn
Configure the switch as the secondary root stp instance <ID> root secondary
for an MSTP instance.
te
and set the virtual IP address. vrrp vrid <ID> virtual-ip <IP address>
Enable preemption (from the VLAN vrrp vrid <ID> preempt-mode [timer delay <seconds>]
P
interface view).
H
Assign the switch a priority for the vrrp vrid <ID> priority <value>
VRRP group (from the VLAN
r
interface view).
Fo
View the MSTP status and statistics for an display stp instance <instance ID>
instance.
View the MSTP status and statistics for ports. display stp [instance <instance ID>] interface <interface
list>
View the MSTP region configuration. display stp region-configuration
Set the configuration file for the startup- startup saved-configuration <filename>
config.
Reboot the switch. reboot
Cisco Commands
Description Command syntax
Configure the STP mode to Rapid PVST+. spanning-tree mode rapid-pvst
Set the STP path cost calculation method. spanning-tree pathcost method [long | short]
y
nl
Set the switch’s PVST+ priority for a VLAN. spanning-tree vlan <VLAN ID list> priority <priority>
O
Configure the switch as root or secondary spanning-tree vlan <VLAN ID list> root [primary |
root for PVST+ in a VLAN. secondary]
Se
View the PVST+ configuration for a VLAN. show spanning-tree VLAN <VLAN ID>
lU
Configure the spanning tree path cost for a interface <type> <number>
port. spanning-tree vlan <ID> cost <cost>
a
no shutdown
Disable a switch port. interface <type> <number>
te
shutdown
In
Objectives
After completing this lab, you will be able to:
Implement redundant links on HP switches without using a spanning tree
protocol (STP):
Configure smart links groups on HP A-Series switches
y
Implement monitor link groups on HP A-Series switches
nl
Lab equipment
O
Lab 6.1: Redundancy without STP
Se
lU
Root Root
a
For VLANs 1,11,13 for VLANs 12
Rapid-PVST+
rn
P1 P1
Cisco-A Cisco-B
P4 P3
te
P3 P4
IP addressing:
In
10.POD.VLAN.X/24
X=1 on Cisco-A
X=2 on Cisco-B
P
X=3 on HP-C
X=4 on HP-D
H
P1 P2
P2 P1 X=5 on HP-E
HP-C HP-E
STP X=6 on HP-F
X=100 on Server_1
PC1
r
P3 disabled P3
X=101 on Client_1
PC2
Fo
Server_1
PC& Client_1
PC2
19 Rev. 10.41
One HP A-Series and one HP E-Series switches at the access layer (HP-C
and HP-E)
Two PCs: Server_1 and Client_1
Cabling:
One link between the two Cisco switches
Two links between each HP access layer switch and each Cisco switch (four
links total)
One connection in VLAN 1 between Server_1 and HP-C
One connection in VLAN 1 between Client_1 and HP-E
Lab steps
y
nl
Complete these tasks.
O
Complete the initial setup
Se
1. Establish the connections as shown in Figure 6-1.
2. If the switches are not running the configuration from Lab 5.1, load the interop5a
lU
configuration. This contains management, VLAN, IP, and port configurations—as
well Rapid-PVST+ setup for Cisco-A and Cisco- B and MSTP setup for HP-C.
a
Cisco# reload
r
Cisco-B is the secondary root for VLANs 1, 11, and 13 (priority 4096); it is
the root for VLAN 12 (priority 0).
5. On Cisco-A and Cisco-B, reset the port cost on P1 to the default (20000):
Cisco(config) int gig 1/0/1
y
Cisco(config-if)#no spanning-tree vlan 1-13 cost
nl
O
Note
As usual, in this and subsequent commands, specify the correct interface ID
Se
according to your Port Mapping table.
In a moment, you will check the PVST+ status on Cisco-A and B. To understand what
lU
you see, remember that with STP disabled on the edge switches, the two Cisco
switches seem to be connected together through three links from the “point of view”
a
If you need help further help understanding what you see, please draw a network
te
with Cisco-A and Cisco-B connected by three direct connections. On this drawing,
In
note the ports and their costs. Remember that when three links have equal cost,
spanning tree uses the neighbor’s port ID (the prio-port number) to determine which
P
port is root port (on the non-root switch). The other criteria that typically determine
H
the root port (first, the root path cost and, then, the neighbor bridge ID) do not apply
because the root path cost is the same on all ports as is the neighbor ID.
r
Fo
__________________________________________________________________
__________________________________________________________________
y
What STP parameter can you change on Cisco-A and Cisco-B to guarantee P1
nl
(the link between Cisco switches) will be the root port on the secondary root?
O
__________________________________________________________________
Se
__________________________________________________________________
lU
__________________________________________________________________
a
rn
__________________________________________________________________
te
In
7. On Cisco-A and Cisco-B, reduce the cost on P1 for all VLANs to make it the
Root port.
P
Note
Note that in real life, in most cases the link between the distribution switches will
be a link-aggregation of gigabit ports or 10 Gigabit ports. A port-channel is
automatically assigned a lower cost than the ports within the channel. In that
case, the port channel would automatically be chosen as the root port on the
non-root distribution switch without your altering the costs.
8. Draw your own figure of the lab topology in the different VLANs.
For each VLAN, label the ports on each Cisco switch:
Root Port (RP)
Alternate/blocked Port (BP)
Designated port (DP)
Root Root
For VLANs 1,11,13 for VLANs 12
Rapid-PVST+
P1 P1
Cisco-A Cisco-B
P4 P3
P3 P4
P1 P2
y
P2 P1
nl
HP-C HP-D
STP
O
P3 P3
disabled
PC1
Server_1
Se Client_1
PC2
lU
Figure 6-2: VLAN 12 spanning tree
a
Root Root
rn
P1 P1
Cisco-A Cisco-B
In
P4 P3
P3 P4
P
Hr
Fo
P1 P2
P2 P1
HP-C HP-D
STP
P3 P3
disabled
PC1
Server_1 Client_1
PC2
Figure 6-3: VLANs 1, 11, and 12 spanning tree
9. To test convergence failover time, verify that Server_1 and Client_1 are
connected to port P3 of HP-C and HP-E in VLAN 1.
10. Start a continuous fping between Client_1 and Server_1 with a 1 sec timeout.
C:>fping 10.POD.1.100 –c
11. Disable port P1 on HP-C or HP-E. Determine how long it takes for failover to
occur. Then re-enable the port.
[HP]interface GigabitEthernet 1/0/1
[HP-GigabitEthernet1/0/1]shutdown
[HP-GigabitEthernet1/0/1]undo shutdown
__________________________________________________________________
y
nl
__________________________________________________________________
O
Se
Why? lU
__________________________________________________________________
a
__________________________________________________________________
rn
te
__________________________________________________________________
P
H
__________________________________________________________________
r
Fo
__________________________________________________________________
Smart Link
group 1 & 2
P1 P2
HP-C P2 P1 HP-E
HP-E
P3 P3
P3
y
nl
Server_1 Client_1
O
Figure 6-4:Smart link
Se
Complete the following steps to configure smart links on HP-C (you will not use HP-E
lU
in this part of the lab):
12. Enable STP globally on HP-C.
a
13. Disable STP individually on uplinks P1 and P2. STP must be disabled on a port
rn
[HP]stp enable
In
14. Make sure that the MSTP instances defined in the previous labs are configured
Fo
MSTP instances
MST instance VLANs
1 12
2 1, 11, and 13
y
[HP-smlk-group2]port GigabitEthernet 1/0/2 master
nl
[HP-smlk-group2]port GigabitEthernet 1/0/1 slave
O
Note that with the current configuration on HP-C:
Se
STP is disabled on uplinks, and redundancy is managed by Smart Link.
All standard BPDUs received from upstream switches are discarded because
lU
STP is disabled.
All PVST+ BPDUs received on VLANs on one uplink are not transmitted on the
a
rn
17. Start a continuous fping between Client_1 and Server_1 with a 50ms timeout.
C:>fping 10.POD.1.100 –c –t 50 –w 50
18. Disable port P1 on HP-C. Determine how long it takes for failover to occur. Then
re-enable the port.
[HP]interface GigabitEthernet 1/0/1
[HP-GigabitEthernet1/0/1]shutdown
[HP-GigabitEthernet1/0/1]undo shutdown
__________________________________________________________________
__________________________________________________________________
Why?
y
nl
__________________________________________________________________
O
__________________________________________________________________
Se
lU
19. Disable the port between the two Cisco switches. Determine how long it takes
for failover to occur. Then re-enable the port.
a
Cisco-A(config-if)#shutdown
te
Cisco-A(config-if)#no shutdown
In
__________________________________________________________________
H
__________________________________________________________________
r
Fo
To avoid the failure of the link between the two Cisco switches, it is recommended
that you connect the switches with a link aggregation (port channel).
20. On HP-C and HP-D, remove the smart link groups. You must shut down the
interfaces and remove the interfaces’ smart-link groups first in order to avoid
loops.
[HP-C]interface gig 1/0/1
[HP-C-GigabitEthernet1/0/1]shutdown
[HP-C-GigabitEthernet1/0/1]undo port smart-link group 1
[HP-C-GigabitEthernet1/0/1]undo port smart-link group 2
[HP-C-GigabitEthernet1/0/1]quit
[HP-C]interface gig 1/0/2
[HP-C-GigabitEthernet1/0/2]shutdown
[HP-C-GigabitEthernet1/0/2]undo port smart-link group 1
[HP-C-GigabitEthernet1/0/2]undo port smart-link group 2
y
nl
[HP-C-GigabitEthernet1/0/2]quit
[HP-C]undo smart-link group 1
O
[HP-C]undo smart-link group 2
Se
21. Change the cabling based on the figure: lU
Root Root
For VLANs 1,11,13 for VLANs 12
Rapid-PVST+
a
P1 P1
Cisco-B
rn
Cisco-A
P4 P3
P3 P4
te
In
P
Uplink
H
P1 P2
r
HP-C P2 P1 HP-E
Fo
P3 Downlink P3
Server_1
PC1 Client_1
PC2
22. On both HP-C and HP-D, verify that port P1 is set as trunk and has STP
disabled:
[HP]interface gigabit 1/0/1
[HP-GigabitEthernet1/0/1]display this
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan all
stp disable
y
[HP-C-GigabitEthernet1/0/2] shutdown
nl
24. On HP-C, configure a monitor link group with:
O
P1 set as the uplink port
Se
P3 set as the downlink port
[HP] monitor-link group 1
lU
[HP-mtlk-group1]port GigabitEthernet 1/0/1 uplink
[HP-mtlk-group1]port GigabitEthernet 1/0/3 downlink
a
rn
25. On HP-C, enable interface P1 and verify the monitor link group:
te
[HP-C-GigabitEthernet1/0/1] shutdown
Can you see the interface that connects to Server_1 going down?
_____________________________________________________________________
28. Re-enable uplink P1 on HP-C.
Can you see the interface that connects to Server_1 going up?
_____________________________________________________________________
30. You have completed the lab. Do not save the configuration because you will not
need it for a later lab (or save the configuration only for your own purposes).
y
nl
O
Se
a lU
rn
te
In
P
r H
Fo
Command reference
HP A-Series Commands
Description Command syntax
Set a named configuration file as the startup saved-configuration <filename>
startup-config.
Reboot the switch. reboot
Set the tagged VLANs. port trunk permit vlan <VLAN ID list>
y
nl
Assign VLANs to an MST instance. stp region configuration
O
instance <instance ID> vlan <VLAN ID list>
Create (or remove) a smart link group. [undo] smart-link group <group ID>
Se
Attach the group to an MST protected-vlan reference-instance <instance ID>
instance.
Configure a switch port as the port <type> <number> [master | slave]
lU
master or slave for this group.
Enable preemption. preemption mode role
a
[undo] shutdown
View the smart link group status. display smart-link group <all | group ID>
P
View the monitor link group status. display monitor-link group <all | group ID>
H
instance.
Fo
View the MSTP status and statistics for ports. display stp [instance <instance ID>] interface <interface
list>
View the MSTP region configuration. display stp region-configuration
Cisco Commands
Description Command syntax
Configure the STP mode to Rapid PVST+. spanning-tree mode rapid-pvst
Set the STP path cost calculation method. spanning-tree pathcost method [long | short]
Set the switch’s PVST+ priority for a VLAN. spanning-tree vlan <VLAN ID list> priority <priority>
Configure the switch as root or secondary spanning-tree vlan <VLAN ID list> root [primary |
root for PVST+ in a VLAN. secondary]
View the PVST+ configuration for a VLAN. show spanning-tree VLAN <VLAN ID>
y
no spanning-tree vlan <ID> cost
nl
Enable a switch port. interface <type> <number>
no shutdown
O
Disable a switch port. interface <type> <number>
shutdown
Se
View the files used on booting. show boot
lU
View the file system dir flash:
a
configuration file.
In
Specify the saved configuration file for the boot config flash:<filename>
configuration that loads on startup.
P
r H
Fo
Objectives
It is highly recommended that you harden the spanning tree protocol in any
spanning tree implementation. Understanding your options for hardening spanning
tree, and how to implement these options on any vendors’ platform, will ensure
stability in your LAN. However, this lab, as the associated module, is optional
because hardening spanning tree does not introduce any new interoperability issues.
y
This lab, if you choose to complete it, teaches you how to implement the same
nl
features on HP and Cisco platforms and to compare the features.
O
After completing this lab, you will be able to:
Se
Harden spanning tree functions on Cisco and HP switches
Test the hardening features and understand their effects
lU
Lab equipment
a
rn
Root Root
for Instances 0 and 1 for Instance 2
te
P1 P1
In
Cisco-A Cisco-B
P3 P4 P3 P4
P
P2 MSTP Region
H
Name: HP-Cisco
MSTP Revision: 1
r
Fo
P3 P3
HP-D
Note
HP-D is not part of the topology. You will connect it to various switches
throughout the lab in order to create looped topologies or simulate threats to STP
operations.
Cabling:
y
One link between the Cisco switches
nl
One link each between the HP switches at the access layer (HP-C and D)
O
and the Cisco switches (four links total)
Se
P3 on HP-C and HP-E is the access port on which you will create the issues.
Important
lU
! Do not establish the connections yet. The lab will indicate when you should do
so.
a
rn
Lab steps
te
1. Load the interop4a configuration from Lab 4.1 on Cisco-A, Cisco-B, HP-C, and
P
HP-E.
H
4. Establish the physical connections displayed in Figure 7-1 but do not connect HP-
D at this point.
y
Configure and test BPDU guard/BPDU protection
nl
O
Root Root
for Instances 0 and 1 for Instance 2
Se
P1 P1
Cisco-A Cisco-B
P3 P4 P3 P4
lU
MSTP Region
P2
Name: HP-Cisco
a
Revision: 1
MSTP
rn
P2
In
P1 P2 P1
HP-C HP-E
1 3
P
P3 P3
r H
HP-D
Fo
5. Verify that each port has the correct role. These uplink ports should be non-edge
ports:
P1 and P2 on HP-C and HP-E
P1, P3, and P4 on Cisco-A and Cisco-B
On Cisco switches, no specific command exists to display which ports are non-
edge and which are edge/PortFast ports. By default, trunk ports are not PortFast
enabled. Verify that PortFast is enabled globally or on interface with the span
portfast command. You can also check the running configuration:
Cisco# show run
-> spanning-tree portfast default
Cisco# show run int gig 1/0/2
-> spanning-tree portfast
y
nl
6. Make sure edge ports are set as STP edge ports. These ports are P3 on HP-C
and HP-E. On Cisco-A and Cisco-B, you must configure P2 as an access port in
O
VLAN 1 and set it as an edge port.
Se
On Cisco switches, enter:
Cisco(config)# int gig 1/0/2
lU
Cisco(config-if)# switchport mode access
a
Note
As usual, use the interface IDs that are correct for your environment based on
your Port Mapping table.
On HP E-Series switch HP-E, set BPDU protection for a range of ports. Enter:
HP-E(config)# spanning-tee 3-24 bpdu-protection
HP-E(config)# spanning-tree bpdu-protection-timeout 30
y
Root Root
nl
for Instances 0 and 1 for Instance 2
O
P1 P1
Cisco-A Cisco-B
Se
P3 P4 lU P3 P4
P2
MSTP
a
2
rn
te
P1 P2 P2
In
P1
HP-C HP-E
1 3
P
P3 P3
r H
Fo
HP-D
_____________________________________________________________
_____________________________________________________________
Enable P3 manually.
_____________________________________________________________
_____________________________________________________________
y
c. Connect Port P1 on HP-D to P3 on HP-E.
nl
Enable STP on HP-D. What do you observe on HP-E?
O
Se
_____________________________________________________________
lU
Disable STP on HP-D. What do you observe on HP-E after 30 sec?
a
rn
_____________________________________________________________
te
_____________________________________________________________
In
P
P2
MSTP
y
nl
P1 P2 P1
HP-C
O
HP-E
P2
P3 P3
Se
a lU
Figure 7-4: HP E-Series loop protect
rn
b. Disable STP.
H
HP-E(config)# no spanning-tree
d. Set the loop protection recovery timeout to 30 seconds and enable the
switch to send a trap when it detects a loop.
HP-E(config)# loop-protect disable-timer 30
HP-E(config)# loop-protect trap loop-detected
HP-E(config)# show loop-protect
Look at the time since last loop detected into the display.
12. Look for messages containing “loop” into the logging buffer
HP-E# show logging –r loop
or
HP-E# log –r loop
y
detection. To configure the feature, follow these steps:
nl
a. Shutdown P2 and P3.
O
[HP-C] interface gigabit 1/0/2
Se
[HP-C-Gigabit1/0/2] shutdown
[HP-C-Gigabit1/0/2] interface gigabit 1/0/3
lU
[HP-C-Gigabit1/0/3] shutdown
b. Disable STP.
a
rn
d. Enable loopback detection on ports P2 and P3. You must enable this
feature globally and on the desired ports.
H
17. You will now test the loopback detection feature. On HP-C, connect P2 to P3
and enable those two ports.
[HP-C] interface gigabit 1/0/2
[HP-C-Gigabit1/0/2] undo shutdown
[HP-C-Gigabit1/0/2] interface gigabit 1/0/3
[HP-C-Gigabit1/0/3] undo shutdown
Note
In a remote lab environment, you might not be able to establish a connection
between two ports on the same switch. You will need to disable STP on HP-D and
connect HP-D to both ports on HP-C.
y
nl
18. Verify that loop detection detects the loop and takes action.
O
[HP-C] display loopback-detection
Se
19. Look for messages containing “loop” into the logging buffer
[HP-C] display info-center | include loop
lU
20. On HP-C, disconnect port P2 from P3.
a
P2
MSTP
y
nl
P1 P2 P2
P1
O
HP-C HP-E
P3
P3 Vlan 200
Se
Figure 7-5: BPDU filtering
lU
23. On HP-E, make sure that P1 is connected to Cisco-A and P2 to Cisco-B and that
a
MSTP is enabled.
rn
24. You will now create a situation that requires BPDU filtering to protect a link from
te
A routed link
H
A dedicated link that carries traffic for a specific VLAN that is not carried by
other links
r
Fo
Although these links do not introduce a loop in the VLAN topology, MSTP blocks
them. Therefore, you must configure BPDU filtering to protect the link from being
blocked.
25. On HP-C and HP-E, define P3 as an access port of VLAN 200.
On HP A-Series switch, HP-C, enter:
[HP-C]vlan 200
[HP-C-vlan200]port GigabitEthernet 1/0/3
Important
! Verify that BPDU protection is disabled on P3 on both switches. Verify that loop
protect is disabled on P3 on the HP E-Series switch.
26. On HP-C, make sure that the uplinks are configured to permit only VLANs 1 (as
the untagged VLAN), 11, 12, and 13. For the switch to avoid a loop in VLAN
200, the uplink must not permit all VLANs.
[HP-C]int gig 1/0/1
[HP-C-GigabitEthernet1/0/1]port trunk permit vlan 1 11 to 13
[HP-C]int gig 1/0/2
[HP-C-GigabitEthernet1/0/2]port trunk permit vlan 1 11 to 13
27. On HP-E, you manually add VLANs to ports, so the uplink port should only
y
belong to VLAN 1 (as the untagged VLAN), and VLANs 11, 12, and 13. You can
nl
verify with this command:
O
HP-E# show vlan port 3
Note
H
The example commands show a specific IP address, but you should enter the
correct IP address for your POD number.
r
Fo
________________________________________________________________
________________________________________________________________
Now can you ping between HP-C and HP-E in VLAN 200?
________________________________________________________________
y
34. On HP-C, enable STP on P3 and define P3 as an access port in VLAN 1.
nl
O
Configure root guard
Se
Root Root
for Instances 0 and 1 for Instance 2
lU
P1 P1
Cisco-A Cisco-B
P3 P4 P3 P4
a
Root Guard
rn
Root Guard
te
MSTP
In
P
P1 P2 P2
H
P1
HP-C HP-E
r
P3 P3
Fo
Define as
Root
You will now simulate a situation in which the root and secondary root receive BPDU
with lower priorities.
35. On both Cisco-A and Cisco-B, enable root guard on ports P3 and P4, the ports
that connect to HP-C and HP-E.
Cisco-A(config-if)#int gig 1/0/3
Cisco-A(config-if)#span guard root
Cisco-A(config-if)#int gig 1/0/4
Cisco-A(config-if)#span guard root
Do not set root guard on port P1 between the Cisco switches. Why?
___________________________________________________________________
36. To test root guard, you will set the STP priority to 0 on HP-C or HP-E. However,
first make sure that the priorities on Cisco-A and Cisco-B are not 0 in instance 0.
If this is the case, change priority as follows in the instance 0:
Change any priority that is currently 0 to 4096.
Change any priority that is currently 4096 to 8192.
37. On HP-C, define the switch’s priority as 0.
[HP-C]stp instance 0 priority 0
y
38. What effects do you observe on the Cisco switches? Which ports are blocked?
nl
Cisco-A#show logging | include ROOTGUARD
O
Cisco-A#show spanning-tree inconsistentports
Se
Cisco-A#show spanning-tree mst 0
___________________________________________________________________
lU
39. On HP-C, reverse the priority to the default setting:
a
rn
40. Does root guard automatically recover the ports blocked by root guard?
te
___________________________________________________________________
H
On what type of switch and on what type of ports do you configure various
Fo
features:
Enable root guard:
Type of switch: ______________________________________________
Type of ports: : ______________________________________________
Enable BDPU guard:
Type of switch: : _____________________________________________
Type of ports: : ______________________________________________
Enable loop protect:
Type of switch: : _____________________________________________
Type of ports: : ______________________________________________
y
nl
O
Se
lU
a
rn
te
In
P
r H
Fo
Command reference
HP E-Series Commands
Description Command syntax
Copy a configuration from a TFTP server to copy tftp startup-config | running-config > <server IP
the running-config or startup-config. address > <filename >
Configure a port as an administratively spanning-tree <port ID list> admin-edge-port
assigned edge port.
Configure how the port determines its type spanning-tree <port ID list> point-to-point-mac [true | false
(point-to-point or not). | auto]
Enable (or disable) BPDU protection on a [no] spanning-tree <port ID list> bpdu-protection
port.
Configure the timeout for recovery on a port spanning-tree <port ID list> bpdu-protection-timeout
blocked by BPDU protection. <seconds>
Enable (or disable) loop protection on a [no] loop-protect <port ID list>
y
port.
nl
Configure the timeout for recovery on a port loop-protect <port ID list> disable-timer <seconds>
O
blocked by loop protection.
Configure ports as untagged members of vlan <ID> untagged <port ID list>
VLANs.
Se
Assign an IP address to a VLAN interface. vlan <ID> ip address <IP address subnet mask | IP
address/prefix length]
lU
Enable (or disable) BPDU filtering on a port. [no] spanning-tree <port ID list> bpdu-filter
Enable or disable a port. interface <port ID> [enable | disable]
View the global STP (or MSTP) status. show spanning-tree
a
View the spanning-tree status for ports. show spanning-tree <port ID list>
rn
View information about the MSTP instance. show spanning-tree instance <ist | instance ID> [detail]
te
View the MSTP configuration for specific show spanning-tree <port ID list> config [ist | instance ID]
ports.
P
Set the configuration file for the startup- startup-default config <filename>
config.
r
HP A-Series Commands
Description Command syntax
Set a named configuration file as the startup saved-configuration <filename>
startup-config.
Reboot the switch. reboot
Set the tagged VLANs. Port trunk permit vlan <VLAN ID list>
y
Configure a port as an access port in a Interface <type> <number>
nl
VLAN. port-link-type access
O
port access vlan <ID>
Assign an IP address to a VLAN interface. Interface vlan-interface <ID>
Se
ip address <IP address> <subnet mask | prefix length>
Enable (or disable) STP on a particular port. interface <type> <number>
[undo] stp enable
lU
View the MSTP status and statistics. display stp
View the MSTP status and statistics for an display stp instance <instance ID>
a
instance.
rn
View the MSTP status and statistics for ports. display stp [instance <instance ID>] interface <interface
te
list>
View the MSTP region configuration. display stp region-configuration
In
Set the configuration file for the startup- startup saved-configuration <filename>
config.
Reboot the switch. reboot
Cisco Commands
Description Command syntax
Configure the STP mode to MSTP. spanning-tree mode mst
y
Configure root guard on a port. interface <type> <ID>
nl
spanning-tree guard root
Configure the switch’s priority for an MSTP spanning-tree mst <instance ID> priority <priority>
O
instance.
View the switch log and filter for root guard show logging | include ROOTGUARD
Se
events.
View the root inconsistency state. show spanning-tree inconsistentports
lU
View information about MSTP. show spanning-tree mst
a
y
nl
O
Se
lU
a
rn
te
In
P
r H
Fo
Objectives
After completing this lab, you will be able to:
Configure IRF on HP A-Series switches
Create a link-aggregation between a Cisco switch and the HP IRF virtual device
Lab equipment
y
nl
O
Server_1 IP addressing:
10.POD.VLAN.X/24
Cisco-A
Se
P3 P4 X=1 on Cisco-A
PO2
X=3 on IRF
lU
P1 BR3 P1 X=5 on HP-E
XP1 XP1
a
XP2 XP2
IRF IRF X=101 on Client_1
P2 P2
Master BR4 Slave
te
P1 trk1 P2
HP-E
P
P3
H
Client_1
r
When this lab activity is complete, your network’s topology should resemble the
diagram above.
You will need the following equipment to complete this lab:
Devices:
One Cisco 3750 switch at the access layer (Cisco-A)
One HP 3500 switch at the access layer (HP-E)
Two HP A5800 switches in the distribution layer (HP-C and HP-D)
Two laptops: Server_1 and Client_1
Cabling:
Two 10 Gigabit links between HP-C and D, which will form the IRF port
These ports are named XP1 and XP2 in following text
One link-aggregation of two Gigabit links between Cisco-A and the IRF
One cable connects to a port on HP-C
One cable connects to a port on HP-D
One connection in VLAN 12 between laptop 1 and Cisco-A
One connection in VLAN 12 between laptop 2 and HP-C
Port naming
For Gigabit ports, continue to use the port mapping table that you defined in Lab 2.1:
y
Management.
nl
You instructor will tell you how to select the 10 Gigabit interfaces to be used on HP-C
O
and HP-D. Record the interface IDs for these ports in the table below.
Se
Port mapping (10 Gigabit ports)
Switches Port Interface TEN-Gigabit
lU
HP-C XP1
XP2
a
HP-D XP1
rn
XP2
te
Lab steps
In
1. Load the interop3a configuration on Cisco-A, HP-C, HP-D, and HP-E. You will not
P
Configure IRF
r
Fo
2. First, you will configure the IRF virtual device, which consists of:
HP-C: IRF master
HP-D: IRF slave
You will use the IRF settings shown in the table below.
IRF settings
Parameter Setting on HP-C Setting on HP-D
Member ID 1 2
Priority 32 1
3. Make sure that the 10 Gigabit ports on HP-C and HP-D are shutdown. After
shutting down the ports, save your configuration on both switch.
4. Make sure that IRF is not already configured on HP-C or HP-D (perhaps by
another class).
[HP-C] display irf
On both switches, the IRF member ID should be 1. If this is not the case, you
must change the ID to 1 and reboot the switch. Enter these commands (on either
HP C or D as necessary):
[HP-C] irf member X renumber 1
[HP-C] quit
<HP-C> reboot
5. On HP-C, the IRF master, complete these tasks:
a. Set the IRF priority to 32.
b. Define IRF port 1/1 and associate the 10 Gigabit port XP1 with this port.
y
c. Define IRF port 1/2 and associate the 10 Gigabit port XP2 with this port.
nl
d. Activate the IRF port configuration.
O
e. Keep XP1 and XP2 shutdown until you have configured the IRF slave and
Se
saved its configuration.
On the HP A-Series switch, enter:
lU
[HP-C] irf member 1 priority 32
a
[HP-C] display irf
rn
Note
For this and all subsequent commands, use the proper port IDs that you recorded
in the table at the beginning of the lab.
d. Define IRF port 2/1 and associate the 10 Gigabit port XP2 with this port.
e. Activate the IRF port configuration.
f. Enable the 10 Gigabit ports XP1 and XP2.
g. Save your configuration before opening the ports on the IRF master.
On the HP A-Series switch, enter:
[HP-D]irf member 1 renumber 2
[HP-D]quit
<HP-D>save
<HP-D>reboot
After reboot, verify the IRF member ID is 2.
Verify that the port numbering has changed to this format: “2/0/X.”
y
nl
<HP-D> display IRF
O
<HP-D> display brief interfaces
Se
[HP-D] irf-port 2/2
lU
[HP-D-irf-port 2/2] port group interface Ten-Gigabit
2/0/25
a
[HP-D]irf-port-configuration active
r H
[HP-D-Ten-GigabitEthernet2/0/25]undo shutdown
[HP-D-Ten-GigabitEthernet2/0/25]interface ten 2/0/26
[HP-D-Ten-GigabitEthernet2/0/26]undo shutdown
[HP-D-Ten-GigabitEthernet2/0/26]save
7. Now that IRF slave’s configuration is ready and saved, enable the 10 Gigabit
ports on the IRF master, HP-C. (If the physical connections are not yet made,
make them.)
[HP-C-irf-port 1/1] int ten 1/0/25
[HP-C-Ten-GigabitEthernet1/0/25] undo shutdown
[HP-C-Ten-GigabitEthernet1/0/25] int ten 1/0/26
[HP-C-Ten-GigabitEthernet1/0/26] undo shutdown
[HP-C-Ten-GigabitEthernet1/0/26] save
y
output such as this:
nl
O
<HP-C>display irf
Switch Role Priority CPU-Mac
Se
*1 Master 32 0023-89d9-c4dd
+2 Slave 1 0023-89d9-c399
lU
--------------------------------------------------
a
rn
Is the IRF active? Which switches are the IRF master and the slave?:
______________________________________________________________
______________________________________________________________
+2:______________________________________________________________
Mac persistent:____________________________________________________
IRF 1/2:__________________________________________________________
IRF 2/1:__________________________________________________________
y
nl
IRF 2/2:__________________________________________________________
O
10. View the IRF topology:
Se
<HP-C>display irf topology
______________________________________________________________
P
What information can you view with the display irf topology command that you
H
______________________________________________________________
Fo
______________________________________________________________
______________________________________________________________
Note
Although this lab uses static LACP mode, you could alternatively configure static
link aggregation.
1. Before you set up link aggregation, shut down the interfaces on the access
switches. You will enable the interfaces after configuring link aggregation on
both sides.
2. On access switches Cisco-A, configure link aggregation in static LACP mode:
Configure Port-Channel PO2 in Active mode.
PO2 includes ports P3 and P4, which connect to ports P1 of HP-C and P1
of HP-D, respectively.
y
Configure the port channels as trunk ports.
nl
On Cisco-A, enter:
O
Cisco-A(config)# interface Port-channel 2
Se
Cisco-A(config-if)# interface range GigabitEthernet 1/0/3-4
Cisco-A(config-if)# shutdown
lU
Cisco-A(config-if)# channel-group 1 mode active
Cisco-A(config-if)# interface Port-channel 2
a
3. Also configure link aggregation in static LACP mode on the HP E-Series edge
switch (HP-E):
In
Trk1 includes ports P1 and P2, which connect to ports P2 of HP-C and P2 of
H
HP-D, respectively.
r
[HP-C]interface Bridge-Aggregation 3
[HP-C-Bridge-Aggregation3]port link-type trunk
[HP-C-Bridge-Aggregation3]port trunk permit vlan all
y
nl
[HP-C]interface Bridge-Aggregation 4
O
[HP-C-Bridge-Aggregation4]link-aggregation mode dynamic
[HP-C-Bridge-Aggregation4]interface gi1/0/2
Se
[HP-C-GigabitEthernet1/0/2]port link-aggregation group 4
lU
[HP-C-GigabitEthernet1/0/2]interface gi2/0/1
[HP-C-GigabitEthernet2/0/2]port link-aggregation group 4
a
rn
[HP-C]interface Bridge-Aggregation 4
te
5. Now that both sides are configured, create the physical connections:
P
Does the IRF virtual device appear as one switch or as two switches?
________________________________________________________________
________________________________________________________________
y
________________________________________________________________
nl
O
a. Verify the Link Layer Discovery Protocol (LLDP) neighbors. Is neighboring
established per-link aggregation port or per-physical port?
Se
________________________________________________________________
lU
________________________________________________________________
a
rn
8. If the link-aggregation does not come up, try the following troubleshooting tips:
te
Verify the setup of physical interfaces. Have they been associated with the
P
If these steps are not sufficient, then disable physical interfaces and
complete these steps:
1) Delete the configuration of physical interfaces and delete the link-
aggregation groups.
2) Make sure physical ports are shutdown.
3) Reconfigure the link aggregation by completing these steps in this exact
order:
Create the link-aggregation group: port-channel on Cisco, bridge-
aggregation interface on HP A-series, Trunk on HP E-Series.
Assign physical interfaces to the port channel, bridge-aggregation, or
trunk.
y
13. Test connectivity.
nl
a. On Client_1, open the command prompt window and start a continuous
O
fping to Server_1 with a 10 ms timeout.
Se
C> fping 10.POD.1.100 –c -t 10 –w 10
HP-E# menu
In
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
14. Before ending this lab, split the IRF virtual device:
a. Delete the bridge-aggregation interfaces:
[HP-C]undo int br 3
[HP-C]undo int br 4
y
nl
[HP-C-Ten-GigabitEthernet2/0/25]int ten 2/0/26
O
[HP-C-Ten-GigabitEthernet2/0/26]shut
d. The IRF is now split. You must now connect to individual CLI sessions with
Se
HP-C and HP-D (note that HP-D is still named HP-C).
e. On HP-C, delete the configurations for the IRF ports:
lU
[HP-C]undo irf-port 1/1
a
[HP-C]sysname HP-D
Fo
Command reference
HP A-Series Commands
Description Command syntax
Change the default IRF member ID (1) irf member 1 renumber <member ID>
to a new ID.
Configure the IRF priority. irf member <member ID> priority <value>
y
Add a port to the IRF virtual port. port group interface <type> <number>
nl
O
Enable a switch port. interface <type> <number>
no shutdown
Se
Create a link aggregation interface. interface bridge-aggregation <group ID>
Set the native (untagged) port trunk pvid vlan <VLAN ID>
In
VLAN.
Set the tagged VLANs. port trunk permit vlan <VLAN ID list>
P
HP E-Series Commands
Description Command syntax
Configure ports as untagged vlan <ID> untagged <port ID list>
members of VLAN.
Configure ports as tagged members vlan <ID> tagged <port ID list>
of a VLAN.
Create a static link aggregation trunk <port ID list> trk<ID> trunk
group and assign physical ports to it.
Create an LACP link aggregation trunk <port ID list> trk<ID> lacp
group and assign physical ports to it.
Configure a link aggregation group vlan <ID> untagged trk<ID>
(trunk) as an untagged member of a
VLAN.
Configure a link aggregation group vlan <ID> tagged trk<ID>
(trunk) as a tagged member of a
VLAN.
y
Enable ports. interface <port ID list> enable
nl
Disable ports. interface <port ID list> disable
O
Show the saved configuration files. show config-files
Set the configuration file for the startup-default config interop2a
startup-config.
Se
Reboot the switch. reload
Save the running configuration. write memory
lU
Copy a saved configuration to a new copy config <source filename> config <destination
configuration file. filename>
a
rn
Cisco Commands
Description Command syntax
te
y
nl
O
Se
a lU
rn
te
In
P
r H
Fo
Objectives
This lab is optional. Your instructor will determine whether you have time to complete
it.
After completing this lab, you will be able to:
Configure Virtual Router Redundancy Protocol (VRRP) on HP A-Series switches
Migrate access layer switches from Cisco aggregation layer switches (in this lab,
called distribution switches) to HP distribution switches
y
nl
Migrate the PCs from using the HSRP virtual IP address for their default router to
using the VRRP virtual IP address
O
Lab equipment
Se
lU
MSTP Region
Name: HP-Cisco
Revision: 1
a
Cisco-A Cisco-B
HSRP IP addressing:
P1 P1
P
10.POD.VLAN.X/24
X=1 on Cisco-A
H
P3 P4 P3 P4 X=2 on Cisco-B
Trunks X=3 on HP-C
r
VLANs1, 11,
X=4 on HP-D
Fo
12, 13
X=5 on HP-E
P1 P2 P1 P2 X=6 on HP-F
X=100 on Server_1
X=DHCP on Client_1
P3 HP-E P3 HP-F
Edge Edge
VLAN 1 VLAN 12
Server_1 Client_1
MSTP Region
Name: HP-Cisco
Revision: 1
MST Instance 1: VLAN 12
MST Instance 2: VLAN 1,11,13
y
X=3 on HP-C HP-E HP-F
nl
X=4 on HP-D
X=5 on HP-E P3 P3
O
X=6 on HP-F
X=100 on Server_1
Se
X=DHCP on Client_1
lU Server_1 Client_1
In other words, from an initial network in which Cisco-A and Cisco-B act as
a
network, in which HP-C and HP-D act as the new distribution routing switches
te
implementing VRPP.
In
Devices
P
Two Cisco 3750 switches , Cisco-A and Cisco-B, acting as initial distribution
H
routing switches
Two HP A-Series A5800 switches, HP-C and HP-D, acting as final distribution
r
Fo
routing switches
Two HP E-Series 3500 switches, HP-E and HP-F, acting as the edge switches
Server_1 and Client_1
Cabling
The exact cabling for this lab will be explained in next steps and shown in the
accompanying figures.
Lab steps
Setup of the initial LAN
MSTP Region
Name: HP-Cisco
Revision: 1
MST Instance 1: VLAN 12
MST Instance 2: VLAN 1,11,13
Cisco-A Cisco-B
HSRP IP addressing:
P1 P1
10.POD.VLAN.X/24
X=1 on Cisco-A
y
P3 P4 P3 P4 X=2 on Cisco-B
nl
Trunks X=3 on HP-C
VLANs1, 11,
O
X=4 on HP-D
12, 13
X=5 on HP-E
P1 P2 P1 P2 X=6 on HP-F
Se
X=100 on Server_1
X=DHCP on Client_1
P3 HP-E HP-F
lU
P3
Edge Edge
VLAN 1 VLAN 12
a
Server_1 Client_1
rn
1. Load the interop5a configuration from Lab 5.1 on Cisco-A, Cisco-B, and HP-E.
In
3. To configure HP-F, you will copy HP-E’s configuration to it. Copy and paste HP-
E’s configuration into a text editor. The make these alterations to the file:
Change the hostname to HP-F
Change the IP address VLAN 1 to HP-F’s address (10.POD.1.6/24)
4. Paste the content into your CLI session with HP-F. Save the configuration.
5. On HP-E and HP-F, change the default gateway to 10.POD.1.254 (the virtual IP
address that you will configure for HSRP).
HP-E(config)# ip default-gateway 10.1.1.254
HP-F(config)# ip default-gateway 10.1.1.254
y
nl
Connect Client_1 to P3 on HP-F.
O
7. Configure port P3 in VLAN 12 on HP-F as untagged in VLAN 12:
Se
HP-F(config)# vlan 12 untagged 3
8. On Cisco-A and Cisco-B, make sure the MSTP priority is defined as follows:
lU
Cisco-A(config)#spanning-tree mst 0-1 priority 0
Cisco-A(config)#spanning-tree mst 2 priority 4096
a
rn
Later you will set the MSPT priority on the HP distribution switches as 8192 and
16384 in the migration phase.
P
a. Enable IP routing
b. Make sure that you have defined these IP addresses in VLAN 12:
Cisco-A: 10.POD.12.1/24
Cisco-B: 10.POD.12.2/24
c. Change the IP helper address for DHCP relay in VLAN 12 (you do not need
to change the address in VLAN 1 because the DHCP server is in VLAN 1).
DHCP server: 10.POD.1.100 (Server_1)
d. Enable HSRP on Cisco-A and Cisco-B in VLAN 1 and VLAN 12:
Virtual IP: 10.POD.VLAN.254
Master: Root in that VLAN
Cisco-A(config-if)#interface vlan 1
Cisco-A(config-if)#ip add 10.1.1.1 255.255.255.0
Cisco-A(config-if)#standby 1 ip 10.1.1.254
Cisco-A(config-if)#standby 1 priority 100
Cisco-A(config-if)#interface vlan 12
y
Cisco-A(config-if)#ip add 10.1.12.1 255.255.255.0
nl
Cisco-B(config-if)#ip helper-address 10.1.1.100
O
Cisco-A(config-if)#standby 1 ip 10.1.12.254
Se
Cisco-A(config-if)#standby 1 preempt
Cisco-A(config-if)#standby 1 priority 255
lU
On Cisco-B (master in VLAN 1, backup in VLAN 12), enter:
a
rn
Cisco-B(config)#ip routing
te
Cisco-B(config-if)#interface vlan 1
In
Cisco-B(config-if)#standby 1 ip 10.1.12.254
H
Cisco-B(config-if)#standby 1 preempt
Cisco-B(config-if)#standby 1 priority 255
r
Fo
Cisco-B(config-if)#interface vlan 12
Cisco-B(config-if)#ip add 10.1.12.2 255.255.255.0
Cisco-B(config-if)#ip helper-address 10.1.1.100
Cisco-B(config-if)#standby 12 ip 10.1.12.254
Cisco-B(config-if)#standby 12 priority 100
Configure DHCP
11. Server_1 (the Windows Server 2008) is connected to P3 on HP-E in VLAN 1. Its
IP address is 10.POD.1.100/24. On Server_1, change the default gateway to
10.POD.1.254 (the virtual IP address used by HSRP).
Rev. 11.12 L9.1 –5
HP Networking Interoperability
y
nl
Default gateway: 10.POD.12.254
O
a. Start the DHCP server by clicking Start -> Administrative Tools -> DHCP.
b. Right-click the server name and select All Tasks > Start if the server is not
Se
already started.
a lU
rn
te
In
P
r H
Fo
c. Expand the server’s name. You will see IPv4 and IPv6 folders.
d. If IPv4 does not show a green sign, which indicates that it is started, you
need to authorize the server. Right-click the server name and select
Authorize, as shown below.
y
nl
O
Figure 9-5: Windows Server 2008 > DHCP > Authorize
e.
Se
To create a scope, right-click IPv4 and select New Scope.
a lU
rn
te
In
P
r H
Fo
Figure 9-6: Windows Server 2008 > DHCP > New Scope
y
nl
O
Se
lU
Figure 9-7: Windows Server 2008 > DHCP > New Scope Wizard > IP Address Range window
a
14. On Client_1, configure its Ethernet NIC to obtain an IP address using DHCP.
te
15. Client_1 is connected to P3 on HP-F in VLAN 12. Verify that Client_1 has
In
address. Also verify that the obtained lease time is equal to 10 minutes.
H
y
HP-E HP-F
X=100 on Server_1
nl
P3 P3 X=DHCP on Client_1
O
Server_1 Client_1
Se
Figure 9- 8: Virtual IP step 2
lU
16. Configure HP-C and HP-D as the new distribution switches for your lab. They will
implement IP routing with VRRP. They will be the new default gateway (virtual IP
a
For now, you will connect these switches to the existing network in order to
te
maintain the Layer 2 continuity (VLAN). However, you will set up the uplinks that
will connect to the access layer switches in a later migration step.
In
17. Load the interop5a configuration from Lab 5.1 on HP-C and HP-D.
P
<HP> reboot
Fo
Note
As always, specify the interface IDs for your environment based on your Port
Mapping table. Remember to configure each port that is not already a trunk.
20. Change MSTP priorities on HP-C and HP-D to prepare them to be root and
secondary root when you disconnect them from the original network.
[HP-C]stp instance 0 priority 8192
[HP-C]stp instance 1 priority 8192
[HP-C]stp instance 2 priority 16384
y
[HP-D]stp instance 2 priority 8192
nl
21. On HP-C and HP-D, configure IP and VRRP settings in VLANs 1 and 12:
O
a. Enable IP routing (routing is enabled by default).
b. Define IP address in VLAN 12
HP-C: 10.POD.12.3/24
Se
lU
HP-D: 10.POD.12.4/24
a
H
[HP-C]interface Vlan-interface1
Fo
[HP-C]interface Vlan-interface12
[HP-C-Vlan-interface12] ip address 10.1.12.3 24
[HP-C-Vlan-interface12] vrrp vrid 12 virtual-ip 10.1.12.253
[HP-C-Vlan-interface12] vrrp vrid 12 priority 254
[HP-D]interface Vlan-interface12
[HP-D-Vlan-interface12] ip address 10.1.12.4 24
[HP-D-Vlan-interface12] vrrp vrid 12 virtual-ip 10.1.12.253
Note
By default, preempt mode is enabled, so this command is not shown. The default
VRRP priority is 100.
22. If HP-C is providing DHCP services, remove the pools for VLANs 1 and 12.
[HP-C] undo dhcp-server ip-pool vlan1-pool
y
[HP-C] undo dhcp-server ip-pool vlan12-pool
nl
23. On both HP-C and HP-D, configure DHCP relay on VLAN 1 and 12 interfaces.
O
Use this DHCP server address: 10.POD.1.100.
Se
[HP] dhcp enable
[HP] dhcp relay server-group 1 ip 10.1.1.100
lU
[HP] interface vlan-interface 1
a
24. Determine HP-C’s and HP-D’s root ports in MSTP instances 0, 1, and 2.
r
Fo
Instance 0: ___________________________________________________________
Instance 1: ___________________________________________________________
Instance 2: ___________________________________________________________
25. Verify that HP-C and HP-D can ping these IP addresses:
HP-E and HP-F
Cisco-A and Cisco-B in vlan 1 and VLAN 12
Server_1 and Client_1
Note
Refer to Figure 9-1 to find the IP addresses.
HP-C and HP-D are now ready to be connected to the access layer switches.
y
P3 P2 P2 P3 10.POD.VLAN.X/24
P2
nl
Trunks X=1 on Cisco-A
VLANs 1, 11, X=2 on Cisco-B
O
12, 13 P1 P2 X=3 on HP-C
P1 P2 P1 P2 P2 P1 X=4 on HP-D
X=5 on HP-E
Se
HP-E P3 HP-E X=6 on HP-F
P3 P3 HP-F P3 HP-F
X=100 on Server_1
X=DHCP on Client_1
lU
Server_1 Client_1 Server_1 Client_1
a
In this task, you will migrate the edge to the new distribution switches:
te
Move uplinks from the Cisco distribution routing switches to the HP distribution
In
routing switches.
P
Use the DHCP scope to alter PCs’ default gateway from the IP address used by
H
MSTP Region
Name: HP-Cisco
Revision: 1
MST Instance 1: VLAN 12
MST Instance 2: VLAN 1,11,13
y
X=6 on HP-F
nl
X=100 on Server_1
X=DHCP on Client_1 Server_1 Client_1
O
Figure 9-10: Virtual IP step 4
Se
26. To evaluate the downtime that a user would experience during the migration,
lU
start a continuous ping from Client_1 to Server_1:
C:> ping –t 10.1.1.100
a
27. First, move HP-E’s uplinks from the Cisco routing switches to the HP routing
rn
switches.
te
From P3 on Cisco-B
P
To P2 on HP-D
H
_____________________________________________________________________
Fo
y
d. On HP-F, verify P1’s STP status.
nl
_____________________________________________________________________
O
Se
e. What is the failover delay?
_____________________________________________________________________
a lU
29. Now you must change the default gateway IP addresses on Server_1 and
rn
Client_1:
te
b. Now change the default gateway setting in the DHCP server’s scope for
P
VLAN 12.
H
y
Figure 9-11: Windows Server 2008 > DHCP > <Server> > IPv4 > <VLAN 12 scope> Scope Options
nl
O
3) Right-click the Scope Options folder and chose to edit the options.
4) Select the Router option and remove 10.POD.12.254.
5)
Se
For IP address, type 10.POD.12.253. Click Add.
a lU
rn
te
In
P
r H
Fo
Figure 9-12: Windows Server 2008 > DHCP > Scope Options window
6) Click OK.
c. On Client_1, either wait for end of lease duration or trigger an IP address
change by entering ipconfig /renew in command prompt.
What is the failover delay?
_____________________________________________________________________
y
P1 P2
X=2 on Cisco-B P2 P1
nl
X=3 on HP-C HP-E HP-F
X=4 on HP-D
O
X=5 on HP-E P3 P3
X=6 on HP-F
X=100 on Server_1
Se
X=DHCP on Client_1 Server_1 Client_1
_____________________________________________________________________
te
In
_____________________________________________________________________
P
_____________________________________________________________________
r H
_____________________________________________________________________
Fo
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
32. Save the configuration of your devices for later use and define the saved
configuration as the startup-config.
On Cisco switches:
Cisco-A# write memory
Cisco-A# copy running flash:interop-9a.cfg
Cisco-A# dir flash:
Cisco-A(config)#boot config flash:interop-9a.cfg
Cisco-A# show boot
Entering write mem later will overwrite this configuration, so take care.
On HP A-Series switches:
<HP-C> save interop-9a.cfg
y
<HP-C> dir /all
nl
<HP-C> startup saved interop-9a.cfg
O
<HP-C> display startup
Se
Entering save later will overwrite this configuration, so take care.
On HP E-Series switches:
lU
HP-E# write mem
a
HP-E# show config-files
rn
The config file name should be interop5a. Rename the file to interop9a.
te
Command reference
HP E-Series Commands
Description Command syntax
Configure ports as untagged members of vlan <ID> untagged <port ID list>
VLANs.
Configure ports as tagged members of vlan <ID> tagged <port ID list>
VLANs.
Assign an IP address to a VLAN interface. vlan <ID> ip address <IP address subnet
mask | IP address/prefix length]
Show the saved configuration files. show config-files
Set the configuration file for the startup- startup-default config <filename>
config.
Reboot the switch. reload
Save the running configuration. write memory
y
Copy a saved configuration to a new copy config <source filename> config
nl
configuration file. <destination filename>
O
HP A-Series Commands
Se
Description Command syntax
Configure a port as a trunk port. interface <type> <number>
lU
port-link-type trunk
Set the native (untagged) VLAN. port trunk pvid vlan <ID>
a
Set the tagged VLANs. port trunk permit vlan <VLAN ID list>
rn
te
Configure a DHCP server group for DHCP dhcp relay server-group <ID> ip <DHCP server IP
relay. address>
P
Configure the switch priority for an MSTP stp instance <ID> priority <priority>
Fo
instance.
Configure the switch as the secondary root stp instance <ID> root secondary
for an MSTP instance.
Assign an IP address to a VLAN interface. interface vlan-interface <ID>
ip address <IP address> <subnet mask | prefix length>
Create a VRRP group on a VLAN interface interface vlan-interface <ID>
and set the virtual IP address. vrrp vrid <ID> virtual-ip <IP address>
Enable preemption (from the VLAN vrrp vrid <ID> preempt-mode [timer delay <seconds>]
interface view).
Assign the switch a priority for the vrrp vrid <ID> priority <value>
VRRP group (from the VLAN
interface view).
Show the file system. dir /all
Cisco Commands
Description Command syntax
Configure the switch’s priority for an MSTP spanning-tree mst <instance ID> priority <priority>
instance.
y
Enable routing. ip routing
nl
Configure an IP address on a VLAN. interface vlan <VLAN_ID>
O
ip address <IP address> <subnet mask>
Configure DHCP relay (a helper address) on interface vlan <VLAN_ID>
Se
a VLAN. ip helper-address <DHCP server IP address>
Enable HSRP on a VLAN and set the virtual interface vlan <ID>
IP address. standby <group number> ip <virtual IP address>
lU
Set the HSRP priority for the VLAN. standby <group number> priority <priority>
a
the VLAN.
te
y
nl
O
Se
lU
a
rn
te
In
P
r H
Fo
Objectives
After completing this lab, you will be able to:
Define an OSPF area
Configure router summarization for OSPF areas
Lab equipment
y
Server_1
nl
P3
VLAN 101
O
HP-E
P1
VLAN 100 Area 1
Se
P3
Cisco-B OSPF Router-Id:
POD.X.X.X
lU
VLAN 2 P1 P2
VLAN 3
IP addressing:
P1 P1
a
P2 P2 X=1 on Cisco-A
X=2 on Cisco-B
X=3 on HP-C
te
VLAN 4 VLAN 5
P1 P2 X=4 on HP-D
X=5 on HP-E
In
P1 Area 2
H
HP-F P3
Client_1
VLAN 201
r
Fo
When this lab activity is complete, your network’s topology should resemble the
diagram above.
You will need the following equipment to complete this lab:
Devices:
Two Cisco 3750 switches (Cisco-A and Cisco-B)
Two HP A5800 switches (HP-C and HP-D)
Two HP-E3500 switches (HP-E and HP-F)
Two PCs: Server_1 and Client_1
Cabling:
Connections between the switches as shown in the Figure 10.1-1
One connection in VLAN 101 between Server_1 and HP-E
One connection in VLAN 201 between Client_1 and HP-F
Important
! Do not establish the connections yet. The lab will indicate when you should do
so.
Lab steps
Complete the tasks in the sections below. As you complete the lab, record any
display or show commands that provide you with interesting information or that help
y
you to verify configurations and status. In particular, record show or display
nl
commands that best display the following information:
O
OSPF router-ID
Se
OSPF interfaces and their respective neighbors
OSPF neighbors
lU
OSPF link state advertisements of various types along with their costs
rn
Initial setup
te
In
Enable LLDP.
r
Fo
Note
In order to save time, your instructor might provide you with a configuration file
in text format, which you can copy and paste into your switches CLI. Ask your
instructor if he or she intends to provide this configuration.
y
X=6 on HP-F
nl
e. Disable STP either globally or on the physical interfaces.
O
4. Verify connectivity with ping commands.
Se
Configure OSPF areas and interfaces
lU
5. On each device, complete these steps:
a. Enable OSPF
a
rn
Replace POD with the number of your group. Replace X with the device’s
number as you did for the IP address.
In
On Cisco-A, enter:
r
Fo
On Cisco-B, enter:
Cisco-B(config)# router ospf 1
Cisco-B(config-router)# router-id POD.2.2.2
Cisco-B(config-router)# network 10.POD.2.2 0.0.0.0 area 0
Cisco-B(config-router)# network 10.POD.3.2 0.0.0.0 area 0
Cisco-B(config-router)# network 10.POD.100.2 0.0.0.0 area 1
On HP-C, enter:
[HP-C] ospf 1 router-id POD.3.3.3
[HP-C-ospf-1] area 0
[HP-C-ospf-1-area-0.0.0.0] network 10.0.0.0 0.255.255.255
On HP-D, enter:
[HP-C] ospf 1 router-id POD.4.4.4
[HP-C-ospf-1] area 0
[HP-C-ospf-1-area-0.0.0.0] network 10.POD.4.4 0.0.0.0
[HP-C-ospf-1-area-0.0.0.0] network 10.POD.5.4 0.0.0.0
[HP-C-ospf-1-area-0.0.0.0] area 2
[HP-C-ospf-1-area-0.0.0.2] network 10.POD.200.4 0.0.0.0
y
On HP-E, enter:
nl
HP-E(config)# ip router-id POD.5.5.5
O
HP-E(ospf)# router ospf
Se
HP-E(ospf)# area 1
lU
HP-E(config)# vlan 100
HP-E(config-vlan)# ip ospf area 1
a
On HP-F, enter:
In
HP-F(ospf)# area 2
r
Fo
_____________________________________________________________________
_____________________________________________________________________
y
nl
_____________________________________________________________________
O
On HP A-Series:
Se
_____________________________________________________________________
lU
_____________________________________________________________________
a
rn
_____________________________________________________________________
te
In
_____________________________________________________________________
P
On HP E-Series:
H
_____________________________________________________________________
r
Fo
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
y
nl
Use these guidelines:
O
You can summarize contiguous /24 subnets in multiples of two and in
multiples of powers of two. For example, you can summarize two /24
Se
subnets as one /23 subnet. You can summarize four /24 subnets as one
/22 subnet.
lU
In your area, determine the number of continuous /24 IP subnets. Round the
number up to the nearest power of 2 (2, 4, 8, 16, and so forth).
a
rn
Find the first /24 subnet in the summary for this range.
te
Remember that first /24 subnet in the summary has, as its third octet, a
multiple of the power of two with which you are dealing. For example, if
In
you are trying to summarize eight /24 subnets, the first /24 subnet has a
multiple of 8 for its third octet. Therefore, the first /24 subnet in the
P
summary might be different from the first in your range. Determine whether
H
subnets. Then determine the correct subnet mask for the summary.
Fo
Note
As you see, it is important to plan your IP addressing carefully to make the most
efficient summaries.
13. How do you verify that Cisco-B and HP-D are summarizing the areas correctly?
What command would you enter?
_____________________________________________________________________
y
On which devices would you enter the command?
nl
O
_____________________________________________________________________
_____________________________________________________________________
r H
Fo
_____________________________________________________________________
Can you see individual networks in area 0 and area 2 in HP-E’s routing table?
_____________________________________________________________________
_____________________________________________________________________
Can you see individual networks in area 0 and area 2 in HP-E’s routing table?
_____________________________________________________________________
y
routes. You might configure a branch office with a single connection to the main
nl
office as a totally stubby area.
O
16. On the ABR Cisco-B, define area 1 as a totally stubby area.
Se
Cisco-B(config)#router ospf 1
Cisco-B(config-router)#area 1 stub no-summary
lU
17. On HP-E, define area 1 as a totally stubby area.
HP-E(ospf)# area 1 stub 20
a
_____________________________________________________________________
te
In
_____________________________________________________________________
P
H
18. On HP-E, verify that the ABR Cisco-B has generated and sent the default route.
_____________________________________________________________________
r
Fo
_____________________________________________________________________
19. If you do not see the default route, you may have to reconfigure OSPF on HP-E.
HP-E(config)# no router ospf
HP-E(config)# router ospf
HP-E(ospf)# area 1 stub 20
22. On HP-F can you see a default route generated by HP-D? Why?
_____________________________________________________________________
23. What command do you need to enter on HP-D to generate a default route into
NSSA area 2 only?
_____________________________________________________________________
y
_____________________________________________________________________
nl
O
Note
As a tip, try moving to the area 2 view on HP-D. Type nssa and use the help to
Se
check the command options.
lU
24. Disable OSPF on VLAN 201 on HP-F.
HP-F(config)# vlan 201
a
rn
HP-F(config-vlan)# no ip ospf
Can you see the external route to 10.POD.201.0/24 in Cisco-B’s routing table?
H
_____________________________________________________________________
Fo
_____________________________________________________________________
Note
If during these steps, you have trouble, try to reset the OSPF processes. On HP A-
Series devices, enter reset ospf 1 process. On HP E-Series devices, enter clear ip
ospf.
26. Save the configuration of your devices for later use. Name the file interop-10a
and define this configuration as the startup-config.
On Cisco switches:
Cisco-A# write memory
Cisco-A# copy running flash:interop-10a.cfg
Cisco-A# dir flash:
Cisco-A(config)#boot config flash:interop-10a.cfg
Cisco-A# show boot
Entering write mem later will overwrite this configuration, so take care.
On HP A-Series switches:
<HP-C> save interop-10a.cfg
<HP-C> dir /all
<HP-C> startup saved interop-10a.cfg
y
<HP-C> display startup
nl
Entering save later will overwrite this configuration, so take care.
O
On HP E-Series switches:
Se
HP-E# write mem
HP-E# show config-files
lU
The config file name should be interop9a. Rename the file to interop10a.
a
Command reference
HP-E-Series Commands
Description Command syntax
Reset to factory default settings. erase startup-config
Configure ports as untagged members of vlan <ID> untagged <port ID list>
VLANs.
Assign an IP address to a VLAN interface. vlan <ID> ip address <IP address subnet mask | IP
address/prefix length]
Enable IP routing. ip routing
Enable OSPF and enter OSPF configuration router ospf
mode.
Set the OSPF router ID. ip router-id <router ID>
Enable (or disable) OSPF on a VLAN vlan <VLAN ID>
interface and assign the interface to an [no] ip ospf area <area ID>
y
area.
nl
Configure a passive OSPF interface. vlan <VLAN ID>
ip ospf passive
O
Define an area as a stub area or NSSA. router ospf
area <area ID> [stub | nssa] [no-summary]
Se
Redistribute connected routes into OSPF. router ospf redistribute connected
Show the route table. Optionally, show only show ip route [ospf]
lU
the OSPF routes.
View general information about OSPF. show ip ospf
View information about OSPF neighbors. show ip ospf neighbor
a
config.
Reboot the switch. reload
In
HP A-Series Commands
Fo
y
View information about OSPF neighbors. display ospf [process ID] peer
nl
O
View information about OSPF ABR and display ospf [process ID] abr-asbr
ASBR functions.
Se
View the OSPF database. display ospf [process ID] lsdb
lU
Show the file system. dir /all
Set the configuration file for the startup- startup saved-configuration <filename>
a
config.
rn
file.
View the current file for the startup-config. display startup
P
r H
Cisco Commands
Fo
y
nl
View the OSPF database. show ip ospf database
O
View the files used on booting. show boot
Specify the saved configuration file for the boot config flash:<filename>
configuration that loads on startup.
In
P
r H
Fo
y
nl
O
Se
lU
a
rn
te
In
P
r H
Fo
Objectives
In this lab, you practice configuring more complicated OSPF scenarios on Cisco and
HP routers. It allows you to compare the configuration of redistribution and filtering
on Cisco and HP A-series and E-Series devices.
This lab is optional. Your instructor will determine whether you have time to complete
it.
y
nl
After completing this lab, you will be able to:
O
Enable OSPF redistribution
Configure filters to control which routes are redistributed
Se
Lab equipment
lU
Server_1
a
P3
rn
VLAN 101
HP-E
te
P1
VLAN 100
In
P3
OSPF1 Area 0
Cisco-B
OSPF Router-Id:
POD.X.X.X
P
P1 P2
VLAN 2 VLAN 3
H
P1
IP addressing:
P1
HP-C Cisco-A 10.POD.VLAN.X/24
r
P2 X=1 on Cisco-A
P2
Fo
X=2 on Cisco-B
VLAN 4
X=3 on HP-C
VLAN 5 X=4 on HP-D
P1 P2
X=5 on HP-E
X=6 on HP-F
OSPF2 HP-D
Area 0 X=100 on Server_1
P3 X=101 on Client_1
VLAN 200 P1
HP-F P3
Client_1
VLAN 201
When this lab activity is complete, your network’s topology should resemble the
diagram above.
Important
! Establish the connections now if you have not already done so.
Lab steps
y
nl
Complete the tasks in the sections below. As you complete the lab, record any
O
display or show commands that provide you with interesting information or that help
Se
you to verify configurations and status. In particular, record show and display
commands that best display the following information:
lU
OSPF routes and the advertising routers
OSPF link state advertisements of various types and the associated costs
a
rn
Initial setup
te
1. The physical connections, VLANs, and IP addresses are identical to OSPF Lab
In
10.1.
2. If your devices are not running the Lab 10.1 configuration, load interop-10a now.
P
(Alternatively, your instructor might provide you this configuration to copy and
H
On Cisco switches:
Fo
On HP A-Series switches:
<HP-C> display startup
<HP-C> startup saved interop-10a.cfg
<HP-C> reboot
On HP E-Series switches:
HP-E# show config-files
HP-E(config)# startup-default config interop10a
HP-E# reload
3. Once the switches are running the interop-10a configuration, verify the following:
Interfaces are up.
The switches have discovered their LLDP neighbors.
IP interfaces are up, and each switch can ping its neighbors.
Set up OSPF
In this task, you will reconfigure OSPF for this lab:
Remove the OSPF process on each switch.
Reconfigure a single OSPF process on HP-D, HP-E, HP-F, and Cisco-B.
Configure two OSPF processes on HP-C and Cisco-A, which act as ASBRs.
y
Assign IP interfaces in the correct OSPF processes and to area 0.
nl
Verify that OSPF neighboring is established.
O
The precise steps follow.
Se
4. On all devices, remove the OSPF configuration.
On Cisco switches, enter:
lU
Cisco(config)# no router ospf 1
a
5. In this network, HP-D, HP-F, Cisco-B, and HP-E are internal devices in area 0.
P
y
HP-F(config)# router ospf
nl
HP-F(ospf)# area 0
O
Se
HP-F(config)# vlan 200
HP-F(config-vlan)# ip ospf area 0
lU
HP-F(config-vlan)#vlan 201
HP-F(config-vlan)#ip ospf area 0
a
Associate VLANs with OSPF according to Figure 10.2-1. All VLANs are in
te
area 0.
In
On Cisco-A:
Interface VLAN 3 is in OSPF process 1.
P
On HP-C:
r
Interface VLAN 4 is in OSPF process 2.
In both OSPF process, use this format for the router ID: Router-
ID=POD.X.X.X.
On Cisco-A, enter:
Cisco-A(config)# router ospf 1
Cisco-A(config-router)# router-id POD.1.1.1
Cisco-A(config-router)# network 10.POD.3.1 0.0.0.0 area 0
On HP-C, enter:
[HP-C] ospf 1 router-id POD.4.4.4
[HP-C-ospf-1] area 0
[HP-C-ospf-1-area-0.0.0.0] network 10.POD.2.3 0.0.0.0
y
8. Check each router’s IP routing table.
nl
Can you see routes to all IP subnets on HP-C and Cisco-A?
O
Se
___________________________________________________________________
lU
___________________________________________________________________
a
rn
___________________________________________________________________
In
P
___________________________________________________________________
H
___________________________________________________________________
___________________________________________________________________
9. Check the cost on all OPSF interfaces. Make sure that all interfaces are set with
the same cost. For example, set the cost to 1.
1. On HP-C and Cisco-A, redistribute routes from OSPF 1 to OSPF 2 and vice
versa. Configure redistribution with metric of 100. Metric-type is 2 by default.
On Cisco-A, enter:
Cisco-A(config)# router ospf 1
Cisco-A(config-router)# redistribute ospf 2 subnets metric
100
On HP-C, enter:
[HP-C] ospf 1
y
[HP-C-ospf-1] import-route ospf 2 cost 100
nl
O
[HP-C] ospf 2
Se
[HP-C-ospf-2] import-route ospf 1 cost 100
___________________________________________________________________
te
___________________________________________________________________
H
___________________________________________________________________
___________________________________________________________________
3. Shut down HP-C’s VLAN 2 port (the port that connects to Cisco-B).
Do you see a change in HP-C’s and Cisco-A’s routing tables?
___________________________________________________________________
5. If this action did not cause a change, try disabling HP-C’s VLAN 4 port (the port
that connects to HP-D) and looking for a change. Then re-enable the port.
6. Explore disabling ports on Cisco-A in a similar manner.
7. What do you conclude?
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
y
nl
___________________________________________________________________
O
___________________________________________________________________
8.
Se
After you have finished experimenting, make sure that all Cisco-A and HP-C
lU
ports are up.
You will now implement one of the best practices about which you learned in the
In
module.
On HP-C and Cisco-A, you will tag networks imported from one process into another.
P
You will then filter the redistributed networks so that they are not redistributed back
H
y
Cisco-A(config)# route-map filter_ospf1 deny 10
nl
Cisco-A(config-route-map)# match tag 11
O
Se
CiscoA(config)# route-map filter_ospf1 permit 20
CiscoA(config)# route-map filter_ospf2 deny 10
lU
Cisco-A(config-route-map)# match tag 22
a
On HP-C, enter:
te
[HP-C] ospf 1
In
[HP-C] ospf 2
[HP-C-ospf-2] import-route ospf 1 tag 11 route-policy
filter_ospf2
[HP-C-ospf-2] preference ase 200
10. Check the routing tables of HP-D and Cisco-B. Do you see external networks that
are part of their own OSPF systems?
___________________________________________________________________
___________________________________________________________________
11. On HP-C, disable the VLAN 2 interface. Do you observe the same effect on the
routing table as in previous task?
___________________________________________________________________
___________________________________________________________________
y
nl
12. Enable the VLAN 2 interface and disable the VLAN 4 interface. Do you observe
the same effect as in the previous task?
O
___________________________________________________________________
Se
___________________________________________________________________
a lU
13. On HP-C enable both the VLAN 2 and the VLAN 4 interface.
rn
15. Shut down the VLAN 5 port on Cisco-A (the port that connects to HP-D).
16. Check HP-F’s routing table. What change do you observe?
P
H
___________________________________________________________________
r
Fo
17. Implement a traceroute on HP-E to HP-F, using an address in VLAN 101 as the
source. Observe the result.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
18. You have completed this lab. Because this is the last lab in the course, you do
not have to save the configuration (unless you want to save it for your own
purposes). If your facilitator asks you to, reset your switches to factory default
settings.
y
nl
O
Se
a lU
rn
te
In
P
r H
Fo
Command reference
HP-E-Series Commands
Description Command syntax
Enable (or disable) OSPF on a VLAN vlan <VLAN ID>
interface and assign the interface to an [no] ip ospf area <area ID>
area.
Implement a traceroute. traceroute
View the routing table. Optionally, view only show ip route [ospf]
the OSPF routes.
View general information about OSPF. show ip ospf
View information about OSPF neighbors. show ip ospf neighbor
View the OSPF LSAs. show ip ospf link-state
Reset to factory default settings. erase startup-config
y
HP A-Series Commands
nl
Description Command syntax
O
Enable or disable an OSPF process. [undo] ospf <process ID>
Se
Define or remove an area. [undo] area <area ID>
Enable OSPF on a network <network address>
lU
network interface and <wildcard>
place the interface in this
a
area.
rn
routes.
Redistribute routes from another import-route ospf <process ID>-tag <tag ID>
P
View the routing table. Optionally, view display ip routing-table [protocol ospf]
OSPF routes.
r
Fo
View information about OSPF neighbors. display ospf [process ID] peer
View information about OSPF ABR and display ospf [process ID] abr-asbr
ASBR functions.
View the OSPF database. display ospf [process ID] lsdb
Create a route policy that denies all routes route-policy <name> deny node 10
with a specific tag and permits all others. if-match tag <ID>
route-policy <name> permit node 20
Redistribute routes from another OSPF ospf <process ID>
process and set a tag and route policy. import-route ospf <process ID>-tag <tag ID>
route-policy <name>
Shut down (or enable) a port. interface <type> <number>
[undo] shutdown
Cisco Commands
Description Command syntax
Enable or disable an OSPF process. [no] router ospf <process ID>
y
this area.
nl
Redistribute routes from one OSPF redistribute ospf <process> subnets metric
process into this process.
O
Create a route policy that denies all routes route-map <mapname> deny 10
with a specific tag and permits all others. match tag <ID>
Se
route-map <mapname> permit 20
Redistribute routes from another OSPF router ospf <process ID>
lU
process and set a tag and route policy. redistribute ospf <process> subnets tag <tag ID>
route-map <map name>
View the routing table. Optionally, view show ip route [ospf]
a
Lab 2.1
Cisco-A
conf t
!
hostname Cisco-A
!
y
lldp run
nl
!
O
!
interface Vlan1
Se
ip address 10.1.1.1 255.255.255.0
lU
!
!
a
line vty 0 4
rn
no login
te
privilege level 15
In
!
End
P
Cisco-B
H
conf t
r
Fo
!
hostname Cisco-B
!
lldp run
!
!
interface Vlan1
ip address 10.1.1.2 255.255.255.0
!
!
!
line vty 0 4
no login
Rev. 11.12 A–1
HP Networking Interoperability
privilege level 15
end
HP-C
system-view
#
sysname HP-C
#
lldp enable
#
telnet server enable
y
#
nl
#
O
vlan 1
Se
#
#
lU
interface Vlan-interface1
ip address 10.1.1.3 255.255.255.0
a
#
rn
#
te
#
In
interface Ten-GigabitEthernet1/0/25
shutdown
P
#
H
interface Ten-GigabitEthernet1/0/26
r
Fo
shutdown
#
interface Ten-GigabitEthernet1/0/27
shutdown
#
interface Ten-GigabitEthernet1/0/28
shutdown
#
#
#
user-interface vty 0 15
authentication-mode none
user privilege level 3
A–2 Rev. 11.12
Switch Configurations
#
Return
HP-D
system-view
#
sysname HP-D
#
lldp enable
#
telnet server enable
#
y
#
nl
vlan 1
O
#
Se
#
interface Vlan-interface1
lU
ip address 10.1.1.4 255.255.255.0
#
a
#
rn
#
te
interface Ten-GigabitEthernet1/0/25
In
shutdown
#
P
interface Ten-GigabitEthernet1/0/26
H
shutdown
r
Fo
#
interface Ten-GigabitEthernet1/0/27
shutdown
#
interface Ten-GigabitEthernet1/0/28
shutdown
#
#
#
user-interface vty 0 15
authentication-mode none
user privilege level 3
#
Rev. 11.12 A–3
HP Networking Interoperability
Return
HP-E
configure
hostname "HP-E"
ip default-gateway 10.1.1.1
vlan 1
name "DEFAULT_VLAN"
untagged 1-24
y
ip address 10.1.1.5 255.255.255.0
nl
exit
O
Se
end
HP-F
lU
configure
a
rn
hostname "HP-F"
te
ip default-gateway 10.1.1.1
In
P
vlan 1
H
name "DEFAULT_VLAN"
r
untagged 1-24
Fo
end
Lab 3.1
Cisco-A
conf t
!
hostname Cisco-A
!
lldp run
A–4 Rev. 11.12
Switch Configurations
!
!
Vlan 11
Vlan 12
Vlan 13
!
!
interface GigabitEthernet1/0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,11-13
switchport mode trunk
!
y
nl
interface GigabitEthernet1/0/2
O
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,11-13
Se
switchport mode trunk
!
lU
interface GigabitEthernet1/0/3
a
switchport trunk encapsulation dot1q
rn
interface GigabitEthernet1/0/4
P
!
!
interface Vlan1
ip address 10.1.1.1 255.255.255.0
!
!
!
line vty 0 4
no login
privilege level 15
!
End
Cisco-B
conf t
!
hostname Cisco-B
!
lldp run
!
ip routing
y
!
nl
Vlan 11
O
Vlan 12
Se
Vlan 13
!
lU
!
interface GigabitEthernet1/0/1
a
!
interface GigabitEthernet1/0/2
P
!
interface Vlan1
ip address 10.1.1.2 255.255.255.0
!
!
!
line vty 0 4
no login
privilege level 15
end
HP-C
y
nl
system-view
O
#
Se
sysname HP-C
#
lU
dhcp server ip-pool vlan1
network 10.1.1.0 mask 255.255.255.0
a
gateway-list 10.1.1.1
rn
#
te
#
H
dhcp enable
#
lldp enable
#
telnet server enable
#
#
vlan 1
#
vlan 11 to 13
#
interface Vlan-interface1
y
nl
ip address 10.1.1.3 255.255.255.0
O
#
#
Se
#
interface GigabitEthernet1/0/1
lU
port link-type trunk
a
port trunk permit vlan 1 11 to 13
rn
#
te
interface GigabitEthernet1/0/2
port link-type trunk
In
#
H
interface GigabitEthernet1/0/3
port link-type access
r
Fo
shutdown
#
#
#
user-interface vty 0 15
authentication-mode none
user privilege level 3
#
return
HP-D
system-view
y
#
nl
sysname HP-D
O
#
Se
lldp enable
#
lU
telnet server enable
#
a
#
rn
vlan 1
te
#
In
vlan 11 to 13
#
P
interface Vlan-interface1
H
#
#
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan 1 11 to 13
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan 1 11 to 13
#
interface GigabitEthernet1/0/3
port link-type access
Rev. 11.12 A–9
HP Networking Interoperability
y
nl
shutdown
O
#
#
Se
#
user-interface vty 0 15
lU
authentication-mode none
a
user privilege level 3
rn
#
te
return
HP-E
In
configure
P
H
hostname "HP-E"
r
Fo
ip default-gateway 10.1.1.1
vlan 1
name "DEFAULT_VLAN"
untagged 1-24
ip address 10.1.1.5 255.255.255.0
exit
vlan 11
name "VLAN11"
tagged 1-2
exit
vlan 12
A – 10 Rev. 11.12
Switch Configurations
name "VLAN12"
tagged 1-2
exit
vlan 13
name "VLAN13"
tagged 1-2
exit
end
HP-F
configure
y
nl
hostname "HP-F"
O
Se
ip default-gateway 10.1.1.1
lU
vlan 1
name "DEFAULT_VLAN"
a
untagged 1-24
rn
exit
In
vlan 11
name "VLAN11"
P
tagged 1-2
H
exit
r
Fo
vlan 12
name "VLAN12"
tagged 1-2
untagged 3
exit
vlan 13
name "VLAN13"
tagged 1-2
exit
end
Rev. 11.12 A – 11
HP Networking Interoperability
Lab 4.1
Cisco-A
conf t
!
hostname Cisco-A
!
lldp run
!
!
Vlan 11
y
Vlan 12
nl
Vlan 13
O
!
Se
spanning-tree mode mst
spanning-tree extend system-id
lU
spanning-tree pathcost method long
!
a
name HP-Cisco
te
revision 1
In
instance 1 vlan 12
instance 2 vlan 1, 11, 13
P
!
H
!
!
interface GigabitEthernet1/0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,11-13
switchport mode trunk
!
interface GigabitEthernet1/0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,11-13
switchport mode trunk
!
A – 12 Rev. 11.12
Switch Configurations
interface GigabitEthernet1/0/3
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,11-13
switchport mode trunk
!
interface GigabitEthernet1/0/4
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,11-13
switchport mode trunk
!
!
interface Vlan1
y
nl
ip address 10.1.1.1 255.255.255.0
O
!!
!
Se
!
line vty 0 4
lU
no login
a
privilege level 15
rn
!
te
End
Cisco-B
In
conf t
P
!
H
hostname Cisco-B
r
Fo
!
lldp run
!
!
Vlan 11
Vlan 12
Vlan 13
!
!
!
spanning-tree mode mst
spanning-tree portfast default
spanning-tree extend system-id
Rev. 11.12 A – 13
HP Networking Interoperability
y
nl
switchport trunk encapsulation dot1q
O
switchport trunk allowed vlan 1,11-13
switchport mode trunk
Se
!
interface GigabitEthernet1/0/2
lU
switchport trunk encapsulation dot1q
a
switchport trunk allowed vlan 1,11-13
rn
!
interface GigabitEthernet1/0/3
In
interface GigabitEthernet1/0/4
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,11-13
switchport mode trunk
!
!
!
interface Vlan1
ip address 10.1.1.2 255.255.255.0
!
!
!
A – 14 Rev. 11.12
Switch Configurations
line vty 0 4
no login
privilege level 15
end
HP-C
system-view
#
sysname HP-C
#
lldp enable
y
#
nl
telnet server enable
O
#
Se
#
vlan 1
lU
#
vlan 11 to 13
a
#
rn
stp enable
In
#
stp region-configuration
P
region-name HP-Cisco
H
revision-level 1
r
Fo
instance 1 vlan 12
instance 2 vlan 1 11 13
active region-configuration
#
#
interface Vlan-interface1
ip address 10.1.1.3 255.255.255.0
#
#
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan 1 11 to 13
Rev. 11.12 A – 15
HP Networking Interoperability
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan 1 11 to 13
#
interface GigabitEthernet1/0/3
port link-type access
port access vlan 1
#
interface Ten-GigabitEthernet1/0/25
shutdown
#
y
nl
interface Ten-GigabitEthernet1/0/26
O
shutdown
#
Se
interface Ten-GigabitEthernet1/0/27
shutdown
lU
#
a
interface Ten-GigabitEthernet1/0/28
rn
shutdown
te
#
#
In
#
P
user-interface vty 0 15
H
authentication-mode none
user privilege level 3
r
Fo
#
Return
HP-D
system-view
#
sysname HP-D
#
lldp enable
#
telnet server enable
#
#
A – 16 Rev. 11.12
Switch Configurations
vlan 1
#
vlan 11 to 13
#
stp pathcost-standard dot1t
stp enable
#
stp region-configuration
region-name HP-Cisco
revision-level 1
instance 1 vlan 12
instance 2 vlan 1 11 13
y
nl
active region-configuration
O
#
#
Se
interface Vlan-interface1
ip address 10.1.1.4 255.255.255.0
lU
#
a
#
rn
#
te
interface GigabitEthernet1/0/1
port link-type trunk
In
#
H
interface GigabitEthernet1/0/2
port link-type trunk
r
Fo
Rev. 11.12 A – 17
HP Networking Interoperability
interface Ten-GigabitEthernet1/0/27
shutdown
#
interface Ten-GigabitEthernet1/0/28
shutdown
#
#
#
user-interface vty 0 15
authentication-mode none
user privilege level 3
#
y
nl
Return
HP-F
O
Se
configure
lU
hostname "HP-F"
a
ip default-gateway 10.1.1.1
rn
te
vlan 1
In
name "DEFAULT_VLAN"
untagged 1-24
P
exit
r
Fo
vlan 11
name "VLAN11"
tagged 1-2
exit
vlan 12
name "VLAN12"
tagged 1-2
untagged 3
exit
vlan 13
name "VLAN13"
tagged 1-2
exit
A – 18 Rev. 11.12
Switch Configurations
spanning-tree
spanning-tree config-name "HP-Cisco"
spanning-tree config-revision 1
spanning-tree instance 1 vlan 12
spanning-tree instance 2 vlan 1 11 13
end
Lab 9.1
Cisco-A
conf t
y
!
nl
hostname Cisco-A
O
!
Se
lldp run
!
lU
ip routing
!
a
Vlan 11
rn
Vlan 12
te
Vlan 13
In
!
spanning-tree mode mst
P
!
spanning-tree mst configuration
name HP-Cisco
revision 1
instance 1 vlan 12
instance 2 vlan 1, 11, 13
!
spanning-tree mst 0-1 priority 0
spanning-tree mst 2 priority 4096
!
!
interface GigabitEthernet1/0/1
Rev. 11.12 A – 19
HP Networking Interoperability
y
nl
switchport mode trunk
O
!
interface GigabitEthernet1/0/4
Se
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,11-13
lU
switchport mode trunk
a
!
rn
!
te
interface Vlan1
ip address 10.1.1.1 255.255.255.0
In
standby 1 ip 10.1.1.254
P
standby 1 preempt
!
r
Fo
interface Vlan11
ip address 10.1.11.1 255.255.255.0
!
interface Vlan12
ip address 10.1.12.1 255.255.255.0
ip helper-address 10.1.1.100
standby 12 ip 10.1.12.254
standby 12 preempt
!
interface Vlan13
ip address 10.1.13.1 255.255.255.0
!
A – 20 Rev. 11.12
Switch Configurations
!
!
line vty 0 4
no login
privilege level 15
end
Cisco-B
conf t
!
hostname Cisco-B
y
!
nl
lldp run
O
!
Se
ip routing
!
lU
Vlan 11
Vlan 12
a
Vlan 13
rn
!
te
!
In
!
spanning-tree mode mst
P
y
nl
!
O
interface GigabitEthernet1/0/4
switchport trunk encapsulation dot1q
Se
switchport trunk allowed vlan 1,11-13
switchport mode trunk
lU
!
a
!
rn
!
te
interface Vlan1
ip address 10.1.1.2 255.255.255.0
In
standby 1 ip 10.1.1.254
P
standby 1 preempt
H
!
interface Vlan11
r
Fo
A – 22 Rev. 11.12
Switch Configurations
!
line vty 0 4
no login
privilege level 15
end
HP-C
system-view
#
sysname HP-C
#
y
lldp enable
nl
#
O
telnet server enable
Se
#
#
lU
vlan 1
#
a
vlan 11 to 13
rn
#
te
stp enable
r
Fo
#
stp region-configuration
region-name HP-Cisco
revision-level 1
instance 1 vlan 12
instance 2 vlan 1 11 13
active region-configuration
#
#
interface Vlan-interface1
ip address 10.1.1.3 255.255.255.0
dhcp select relay
dhcp relay server-select 1
Rev. 11.12 A – 23
HP Networking Interoperability
y
nl
#
O
interface GigabitEthernet1/0/1
port link-type trunk
Se
port trunk permit vlan 1 11 to 13
#
lU
interface GigabitEthernet1/0/2
a
port link-type trunk
rn
#
interface GigabitEthernet1/0/3
In
#
interface Ten-GigabitEthernet1/0/26
r
Fo
shutdown
#
interface Ten-GigabitEthernet1/0/27
shutdown
#
interface Ten-GigabitEthernet1/0/28
shutdown
#
#
dhcp enable
dhcp relay server-group 1 ip 10.1.1.100
#
A – 24 Rev. 11.12
Switch Configurations
#
user-interface vty 0 15
authentication-mode none
user privilege level 3
#
Return
HP-D
system-view
#
#
sysname HP-D
y
#
nl
lldp enable
O
Se
#
telnet server enable
lU
#
#
a
vlan 1
rn
#
te
vlan 11 to 13
In
#
stp instance 0 priority 16384
P
stp enable
#
stp region-configuration
region-name HP-Cisco
revision-level 1
instance 1 vlan 12
instance 2 vlan 1 11 13
active region-configuration
#
#
interface Vlan-interface1
ip address 10.1.1.4 255.255.255.0
dhcp select relay
Rev. 11.12 A – 25
HP Networking Interoperability
y
nl
port link-type trunk
O
port trunk permit vlan 1 11 to 13
#
Se
interface GigabitEthernet1/0/1
port link-type trunk
lU
port trunk permit vlan 1 11 to 13
a
#
rn
interface GigabitEthernet1/0/2
te
#
P
interface GigabitEthernet1/0/3
H
#
#
interface Ten-GigabitEthernet1/0/26
shutdown
#
interface Ten-GigabitEthernet1/0/27
shutdown
#
interface Ten-GigabitEthernet1/0/28
shutdown
#
A – 26 Rev. 11.12
Switch Configurations
dhcp enable
dhcp relay server-group 1 ip 10.1.1.100
#
#
user-interface vty 0 15
authentication-mode none
user privilege level 3
#
#
return
<HP-D>
HP-E
y
nl
configure
O
Se
hostname "HP-E"
lU
ip default-gateway 10.1.1.253
a
vlan 1
rn
name "DEFAULT_VLAN"
te
untagged 1-24
In
vlan 11
H
name "VLAN11"
r
Fo
tagged 1-2
exit
vlan 12
name "VLAN12"
tagged 1-2
exit
vlan 13
name "VLAN13"
tagged 1-2
exit
spanning-tree
spanning-tree config-name "HP-Cisco"
spanning-tree config-revision 1
Rev. 11.12 A – 27
HP Networking Interoperability
end
HP-F
configure
hostname "HP-F"
ip default-gateway 10.1.1.253
y
vlan 1
nl
name "DEFAULT_VLAN"
O
untagged 1-24
Se
ip address 10.1.1.6 255.255.255.0
exit
lU
vlan 11
name "VLAN11"
a
tagged 1-2
rn
exit
te
vlan 12
In
name "VLAN12"
tagged 1-2
P
untagged 3
H
exit
r
Fo
vlan 13
name "VLAN13"
tagged 1-2
exit
spanning-tree
spanning-tree config-name "HP-Cisco"
spanning-tree config-revision 1
spanning-tree instance 1 vlan 12
spanning-tree instance 2 vlan 1 11 13
end
A – 28 Rev. 11.12
Switch Configurations
Lab 10.1
Before OSPF configuration
The sections below provide the switches’ configurations before you configure OSPF.
Cisco-A
conf t
!
hostname Cisco-A
!
ip routing
!
y
nl
!
O
! To disable globally STP
! spanning-tree mode pvst
Se
! no spanning-tree vlan 1-4094
!
lU
lldp run
a
!
rn
!
te
interface GigabitEthernet1/0/1
description to-Cisco-B
In
!
interface GigabitEthernet1/0/2
r
Fo
description to-HP-D
switchport access vlan 5
spanning-tree bpdufilter enable
!
!
!
interface Vlan3
ip address 10.1.3.1 255.255.255.0
!
interface Vlan5
ip address 10.1.5.1 255.255.255.0
!
Rev. 11.12 A – 29
HP Networking Interoperability
line vty 0 15
privilege level 15
no login
end
Cisco-B
conf t
!
hostname Cisco-B
!
ip routing
y
!
nl
!
O
! To disable globally STP
! spanning-tree mode pvst
Se
! no spanning-tree vlan 1-4094
lU
!
lldp run
a
!
rn
!
te
!
In
interface GigabitEthernet1/0/1
description to-HP-C
P
!
Fo
interface GigabitEthernet1/0/2
description to-Cisco-A
switchport access vlan 3
spanning-tree bpdufilter enable
!
interface GigabitEthernet1/0/3
description to-HP-E
switchport access vlan 100
spanning-tree bpdufilter enable
!
!
interface Vlan2
A – 30 Rev. 11.12
Switch Configurations
y
nl
!
O
End
HP-C
Se
sysname HP-C
lU
#
#
a
#
te
vlan 1
In
#
vlan 2
P
#
H
vlan 4
r
#
Fo
#
interface Vlan-interface2
ip address 10.1.2.3 255.255.255.0
#
interface Vlan-interface4
ip address 10.1.4.3 255.255.255.0
#
interface GigabitEthernet1/0/1
port access vlan 2
#
interface GigabitEthernet1/0/2
port access vlan 4
Rev. 11.12 A – 31
HP Networking Interoperability
#
#
interface Ten-GigabitEthernet1/0/25
shutdown
#
interface Ten-GigabitEthernet1/0/26
shutdown
#
interface Ten-GigabitEthernet1/0/27
shutdown
#
interface Ten-GigabitEthernet1/0/28
y
nl
shutdown
O
#
#
Se
user-interface vty 0 15
authentication-mode none
lU
user privilege level 3
a
#
rn
Return
HP-D
te
In
sysname HP-D
#
P
#
H
lldp enable
r
#
vlan 1
#
vlan 4 to 5
#
vlan 200
#
#
interface Vlan-interface4
ip address 10.1.4.4 255.255.255.0
#
interface Vlan-interface5
A – 32 Rev. 11.12
Switch Configurations
y
nl
port access vlan 200
O
#
interface Ten-GigabitEthernet1/0/25
Se
shutdown
#
lU
interface Ten-GigabitEthernet1/0/26
a
shutdown
rn
#
te
interface Ten-GigabitEthernet1/0/27
shutdown
In
#
P
interface Ten-GigabitEthernet1/0/28
H
shutdown
#
r
Fo
#
user-interface vty 0 15
authentication-mode none
user privilege level 3
#
Return
HP-E
conf t
hostname "HP-E"
ip routing
Rev. 11.12 A – 33
HP Networking Interoperability
vlan 100
ip address 10.1.100.5 255.255.255.0
exit
vlan 101
untagged 3
ip address 10.1.101.5 255.255.255.0
exit
end
HP-F
y
conf t
nl
O
hostname "HP-F"
Se
ip routing
lU
vlan 200
a
untagged 1
rn
exit
In
vlan 201
P
untagged 3
H
exit
Fo
end
A – 34 Rev. 11.12
Switch Configurations
!
! To disale globally STP
! no spanning-tree vlan 1-4094
!
lldp run
!
!
interface GigabitEthernet1/0/1
description to-Cisco-B
switchport access vlan 3
spanning-tree bpdufilter enable
!
y
nl
interface GigabitEthernet1/0/2
O
description to-HP-D
switchport access vlan 5
Se
spanning-tree bpdufilter enable
!
lU
!
a
!
rn
interface Vlan3
te
interface Vlan5
P
!
router ospf 1
r
Fo
router-id 1.1.1.1
log-adjacency-changes
network 10.0.0.0 0.255.255.255 area 0
!
line vty 0 15
privilege level 15
no login
end
Cisco-B
conf t
!
Rev. 11.12 A – 35
HP Networking Interoperability
hostname Cisco-B
!
ip routing
!
!
! To disable globally STP
! no spanning-tree vlan 1-4094
! spanning-tree mode pvst
! no spanning-tree vlan 1-4094
!
lldp run
!
y
nl
!
O
!
!
Se
interface GigabitEthernet1/0/1
description to-HP-C
lU
switchport access vlan 2
a
spanning-tree bpdufilter enable
rn
!
te
interface GigabitEthernet1/0/2
description to-Cisco-A
In
!
interface GigabitEthernet1/0/3
r
Fo
description to-HP-E
switchport access vlan 100
spanning-tree bpdufilter enable
!
!
interface Vlan2
ip address 10.1.2.2 255.255.255.0
!
interface Vlan3
ip address 10.1.3.2 255.255.255.0
!
interface Vlan100
A – 36 Rev. 11.12
Switch Configurations
y
nl
line vty 0 15
O
privilege level 15
no login
Se
!
End
lU
HP-C
a
sysname HP-C
rn
#
te
#
In
vlan 1
H
#
r
vlan 2
Fo
#
vlan 4
#
#
interface Vlan-interface2
ip address 10.1.2.3 255.255.255.0
#
interface Vlan-interface4
ip address 10.1.4.3 255.255.255.0
#
interface GigabitEthernet1/0/1
port access vlan 2
Rev. 11.12 A – 37
HP Networking Interoperability
#
interface GigabitEthernet1/0/2
port access vlan 4
#
#
interface Ten-GigabitEthernet1/0/25
shutdown
#
interface Ten-GigabitEthernet1/0/26
shutdown
#
interface Ten-GigabitEthernet1/0/27
y
nl
shutdown
O
#
interface Ten-GigabitEthernet1/0/28
Se
shutdown
#
lU
ospf 1 router-id 1.3.3.3
a
area 0.0.0.0
rn
#
user-interface vty 0 15
In
authentication-mode none
P
#
Return
r
Fo
HP-D
sysname HP-D
#
#
lldp enable
telnet server enable
#
vlan 1
#
vlan 4 to 5
#
vlan 200
A – 38 Rev. 11.12
Switch Configurations
#
#
interface Vlan-interface4
ip address 10.1.4.4 255.255.255.0
#
interface Vlan-interface5
ip address 10.1.5.4 255.255.255.0
#
interface Vlan-interface200
ip address 10.1.200.4 255.255.255.0
#
interface GigabitEthernet1/0/1
y
nl
port access vlan 4
O
#
interface GigabitEthernet1/0/2
Se
port access vlan 5
#
lU
interface GigabitEthernet1/0/3
a
port access vlan 200
rn
#
te
interface Ten-GigabitEthernet1/0/25
shutdown
In
#
P
interface Ten-GigabitEthernet1/0/26
H
shutdown
#
r
Fo
interface Ten-GigabitEthernet1/0/27
shutdown
#
interface Ten-GigabitEthernet1/0/28
shutdown
#
ospf 1 router-id 1.4.4.4
area 0.0.0.0
abr-summary 10.1.0.0 255.255.248.0
network 10.1.4.4 0.0.0.0
network 10.1.5.4 0.0.0.0
area 0.0.0.2
Rev. 11.12 A – 39
HP Networking Interoperability
HP-E
y
nl
conf t
O
Se
hostname "HP-E"
lU
ip routing
a
vlan 100
rn
exit
In
vlan 101
untagged 3
P
exit
r
Fo
ip router-id 1.5.5.5
router ospf
area 0.0.0.1 stub 20
exit
vlan 100
ip ospf area 1
exit
vlan 101
ip ospf area 1
A – 40 Rev. 11.12
Switch Configurations
exit
end
HP-F
hostname "HP-F"
ip routing
vlan 200
untagged 1
ip address 10.1.200.6 255.255.255.0
y
exit
nl
O
vlan 201
Se
untagged 3
ip address 10.1.201.6 255.255.255.0
lU
exit
a
ip router-id 1.6.6.6
rn
te
router ospf
In
area 2 nssa 20
redistribute connected
P
exit
r H
Fo
vlan 200
ip ospf 10.1.200.6 area 0.0.0.2
exit
end
Rev. 11.12 A – 41
HP Networking Interoperability
y
nl
O
Se
lU
a
rn
te
In
P
r H
Fo
A – 42 Rev. 11.12
PAGE INTENTIONALLY LEFT BLANK
y
nl
O
Se
a lU
rn
te
In
P
r H
Fo
y
nl
O
Se
a lU
rn
te
In
P
rH
Fo