LG1_00314282

download LG1_00314282

of 211

Transcript of LG1_00314282

  • 7/30/2019 LG1_00314282

    1/211

    Rev. 11.31 - Course #:00314282Part Number: 00314282L11104 - Book 1 of 2

    Accelerated Interoperability and Troubleshooting HP NetworksPart 1: HP Networking Interoperability

    Lab guideHP Partner Learning

  • 7/30/2019 LG1_00314282

    2/211

  • 7/30/2019 LG1_00314282

    3/211

    Rev. 11.31 - Course #: 00314282Part Number: 00314282L11104 - Book 1 of 2

    Accelerated Interoperability and Troubleshooting HP NetworksPart 1: HP Networking Interoperability

    Lab guideHP Partner Learning

  • 7/30/2019 LG1_00314282

    4/211

    Copyright 2011 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 suchproducts and services. Nothing herein should be construed as constituting an additionalwarranty. HP shall not be liable for technical or editorial errors or omissions containedherein.

    This is an HP copyrighted work that may not be reproduced without the written permission ofHP. You may not use these materials to deliver training to any person outside of yourorganization without the written permission of HP.

    Printed in United States of America

    Accelerated Interoperability and Troubleshooting HP Networks v11.31Lab guide Book 1 of 2April 2011

    HP Restricted

  • 7/30/2019 LG1_00314282

    5/211

    Rev. 11.12 i

    Contents

    Lab 2.1: ManagementObjectives ................................................................................................. L2.1-1Lab equipment ........................................................................................... L2.1-1Lab steps ................................................................................................... L2.1-2

    Cabling ....................................................................................... L2.1-3Initial setup .................................................................................. L2.1-4

    Command reference ................................................................................. L2.1-13

    Lab 3.1: Configuring VLANs

    Objectives ................................................................................................. L3.1-1Lab equipment ........................................................................................... L3.1-1

    Port naming ................................................................................. L3.1-2

    Lab steps .................................................................................................. L3.1-2Command reference ................................................................................. L3.1-12

    Lab 4.1: Implementing MSTP on Cisco and HP Switches

    Objectives ................................................................................................. L4.1-1Lab equipment ........................................................................................... L4.1-1Lab steps .................................................................................................. L4.1-2

    Activate MSTP ..................................................................................... L4.1-3Configure the MSTP region ................................................................... L4.1-7Explore MSTP operations ................................................................... L4.1-10

    Command reference ................................................................................. L4.1-13

    Lab 5.1: Configuring PVST+/MSTP Interoperability: Cisco at theAggregation Layer

    Objectives ................................................................................................. L5.1-1Lab equipment ........................................................................................... L5.1-1Lab steps .................................................................................................. L5.1-2

    Complete initial setup .......................................................................... L5.1-2Configure PVST+ on Cisco and MSTP on HP ........................................... L5.1-3Verify the -spanning tree operations ....................................................... L5.1-6Configure PVST+ ................................................................................. L5.1-8Implement load balancing between VLANs (optional) .............................. L5.1-9Save your configuration ...................................................................... L5.1-11

    Command reference ................................................................................. L5.1-12

  • 7/30/2019 LG1_00314282

    6/211

    HP Networking Interoperability

    ii Rev. 11.12

    Lab 5.2: Configuring PVST+/MSTP Interoperability: HPat the Aggregation Layer

    Objectives ................................................................................................ L5.2-1Lab equipment .......................................................................................... L5.2-1Lab steps .................................................................................................. L5.2-2Complete the initial setup .................................................................... L5.2-2

    Configure PVST+ on Cisco and MSTP on HP .......................................... L5.2-3Verify the configuration ....................................................................... L5.2-4Adjust the configuration ...................................................................... L5.2-5Implement load balancing ................................................................... L5.2-5Implement VRRP on HP Distribution ....................................................... L5.2-6

    Command reference ................................................................................. L5.2-9

    Lab 6.1: Implementing Redundant Links Without STP

    Objectives ................................................................................................. L6.1-1Lab equipment ........................................................................................... L6.1-1Lab steps .................................................................................................. L6.1-2

    Complete the initial setup ..................................................................... L6.1-2Disable STP on the HP Edge switches ..................................................... L6.1-3Configure and test smart link ................................................................ L6.1-7Configure a monitor link on the HP A-Series switches (optional) ................ L6.1-9

    Command reference ................................................................................. L6.1-13

    Lab 7.1: Configuring Spanning Tree Hardening

    Objectives ................................................................................................. L7.1-1Lab equipment ........................................................................................... L7.1-1Lab steps ................................................................................................... L7.1-2

    Configure and test BPDU guard/BPDU protection ..................................... L7.1-3Configure loop protect on an HP E-Series switch ....................................... L7.1-7Implement BPDU filtering ..................................................................... L7.1-10Configure root guard .......................................................................... L7.1-12

    Command reference .................................................................................. L7.1-15

    Lab 8.1: Configuring Link Aggregation and IRF

    Objectives ................................................................................................. L8.1-1Lab equipment ........................................................................................... L8.1-1

    Port naming ................................................................................. L8.1-2Lab steps .................................................................................................. L8.1-2

    Configure IRF ...................................................................................... L8.1-2Configure a link aggregation between the access switchesand the IRF ......................................................................................... L8.1-6

    Command reference ................................................................................. L8.1-12

  • 7/30/2019 LG1_00314282

    7/211

    Contents

    Rev. 11.12 iii

    Lab 9.1: Configuring VRRP

    Objectives ................................................................................................. L9.1-1Lab equipment ........................................................................................... L9.1-1

    Devices .............................................................................................. L9.1-2Cabling ............................................................................................. L9.1-2

    Lab steps .................................................................................................. L9.1-3Setup of the initial LAN ........................................................................ L9.1-3Configure HSRP on Cisco routing switches .............................................. L9.1-4 Configure DHCP ................................................................................. L9.1-5VRRP configuration on HP routing switches ............................................. L9.1-9Migration of the access layer switches .................................................. L9.1-12

    Command reference ................................................................................. L9.1-18

    Lab 10.1: Configuring OSPF Areas

    Objectives ............................................................................................... L10.1-1Lab equipment ......................................................................................... L10.1-1Lab steps ................................................................................................. L10.1-2

    Initial setup ....................................................................................... L10.1-2Configure OSPF areas and interfaces .................................................. L10.1-3Configure area summarization ............................................................ L10.1-6Configure a totally stubby area and NSSA ........................................... L10.1-8

    Command reference ................................................................................ L10.1-11

    Lab 10.2: Configuring OSPF Redistribution

    Objectives .............................................................................................. L10.2-1Lab equipment ........................................................................................ L10.2-1

    Lab steps ................................................................................................ L10.2-2

    Initial setup ....................................................................................... L10.2-2Set up OSPF ..................................................................................... L10.2-3Configure OSPF redistribution ............................................................. L10.2-5Change the administrative distance of external networks, tag importednetworks, and filter the tagged networks .............................................. L10.2-7

    Command reference ............................................................................... L10.2-11Appendix A: Switch Configurations

  • 7/30/2019 LG1_00314282

    8/211

    HP Networking Interoperability

    iv Rev. 11.12

  • 7/30/2019 LG1_00314282

    9/211

    Rev. 11.12 L2.1 1

    ManagementModule 2 Lab 1

    ObjectivesIn this lab, you will practice configuring VLANs on HP A-Series, HP-E-Series, andCisco switches. You will ensure that uplink ports are configured to enable traffic flowon a multivendor network.

    After completing this lab, you will be able to:

    Configure the minimal commands required to enable HP Intelligent ManagementCenter (IMC) to discover HP A-Series, HP-E-Series, and Cisco switches

    Create templates in IMC to secure access to HP A-Series, HP-E-Series, and Ciscoswitches

    Lab equipment

    Figure 2-1: Configuring VLANs

    You will need the following equipment:

    Devices: Two Cisco 3750 switches in the aggregation layer Two HP A5800 switches and two HP-E3500 switch in the access layer Two laptops

    The table above gives you: the names for the devices and their IP addresses

    Cisco-A Cisco-B

    HP-C HP-D

    IP addressing:10.POD.VLAN.X/24

    X=1 on Cisco-AX=2 on Cisco-B

    X=3 on HP-CX=4 on HP-D

    X=5 on HP-EX=6 on HP-F

    X=100 on Server_1X=101 on Client_1

    Client_1XP

    Server_1IMC

    HP-E HP-F

    Names:

    Cisco-A=Catalyst 3750Cisco-B=Catalyst 3750

    HP-C=HP A5800HP-D= HP A5800

    HP-E= HP E3500HP-F=HP E3500

    Server_1= Windows 2008 ServerClient_1= Client

  • 7/30/2019 LG1_00314282

    10/211

    HP Networking Interoperability

    L2.1 2 Rev. 11.12

    Lab stepsComplete 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 failingAlong your lab, list useful display or show commands and note the type ofinformation 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,remote ports

    IP addressing Simple Network Management Protocol (SNMP) setup and status Logging setup and logging information in buffer and on terminal____________________________________________________________________

    ____________________________________________________________________

    ____________________________________________________________________

    ____________________________________________________________________

    ____________________________________________________________________

    ____________________________________________________________________

    ____________________________________________________________________

    ____________________________________________________________________

    ____________________________________________________________________

    ____________________________________________________________________

    You will share these commands in the lab debrief.

  • 7/30/2019 LG1_00314282

    11/211

    Lab 2.1: Management

    Rev. 11.12 L2.1 3

    Cabling

    2. Connect the switches and PCs as shown in Figure 2.2.

    Figure 2-2: Configuring VLANs

    In the figure, the ports used for various connections are labeled P1, P2, and P3.Ask your instructor what guidelines to use for selecting the interfaces for P1, P2and P3 on each device. Record the interface IDs in the table below.

    Switches Port Interface Gigabit

    Cisco-A P1P2P3

    P4Cisco-B P1

    P2P3P4

    HP-C P1P2P3

    HP-D P1P2P3

    HP-E P1P2

    P3HP-F P1

    P2P3

    Cisco-A Cisco-B

    HP-C

    Client_1XP

    Server_1IMC

    HP-E

    VLAN 1

    P1P2

    P1

    P3

    P1

    P3

    IP addressing:10.POD.VLAN.X/24

    X=1 on Cisco-AX=2 on Cisco-B

    X=3 on HP-CX=4 on HP-D

    X=5 on HP-EX=6 on HP-F

    X=100 on Server_1X=101 on Client_1

    Px=Gigabit Port,Px= 10 Gigabit port

    HP-C HP-E

    P1 P2

    P1 P1

  • 7/30/2019 LG1_00314282

    12/211

    HP Networking Interoperability

    L2.1 4 Rev. 11.12

    Initial setup

    3. Verify that the switch is set to factory default settings. If necessary, erase theconfiguration and the reboot switch.

    On Cisco switches, enter:

    Ci sco- A# er ase st ar t up- conf i gur at i on

    Ci sco- A# r el oad

    On HP A-Series switches, enter:

    r eset saved- conf i gur at i on

    r eboot

    NoteYou can verify that no config.cfg file exists in the HP A-Series devices flashmemory with this command: dir flash:

    On HP E-Series switches, enter:HP- E# erase st art up

    HP- E# r el oad

    ____________________________________________________________________

    4. On Server_1 (Windows 2008 server/IMC) set the IP address to 10.POD.1.100,in which POD is your POD number.

    ____________________________________________________________________

    5. On Client_1 (Windows XP) set the IP address to 10.POD.1.101____________________________________________________________________

    6. On every switch, set the system or hostname as shown in Figure 2-2.7. Configure static IP addresses on switches in VLAN 1 as shown in Figure 2-2. Set

    the IP address to 10.POD.VLAN.X/24, in which POD is your POD number andthe VLAN is 1.

    8. Configure a default gateway for each switch at 10.POD.1.254.NoteOn Cisco and HP A-Series switches, make sure that the VLAN interfaces are notshutdown.

    9. On Server_1 (IP address 10.POD.1.100), which is running IMC, verifyconnectivity with each switch.

    10.On all switches, complete the following steps:a. Enable LLDP and verify LLDP neighbors.On Cisco switches, enter:

    Ci sco- A( conf i g) # l l dp r un

  • 7/30/2019 LG1_00314282

    13/211

    Lab 2.1: Management

    Rev. 11.12 L2.1 5

    On HP A-Series switches, enter:

    [ HP- C] l l dp enabl e

    On HP E-Series switches, LLDP is enabled by default:

    HP- E( conf i g) # l l dp r un

    b. Verify the LLDP information that your switches are receiving from theirneighbors, including the neighbors name, IP address, and connections.

    On Cisco switches, enter:

    Ci sco- A# show l l dp nei ghbors

    On HP A-Series switches, enter:

    [ HP- C] di spl ay l l dp nei ghbor - i nf or mat i on l i st

    On HP E-Series switches, enter:

    HP- E( conf i g) # show l l dp i nf o remote

    Does the LLDP information match your connection settings?_____________________________________________________________________

    _____________________________________________________________________

    Enter show cdp neighbors on Cisco-A or B and on HP-E or F. Do you seeCDP neighbors? What can you conclude?

    _____________________________________________________________________

    _____________________________________________________________________

    11.On all switches, enable SNMP V2c if it is not enabled yet. Then complete thesetasks:

    a. Define a SNMP V2 RO community called public.b. Define a SNMP V2 RW community called private.c. Define interface vlan 1 as source-interface for trapOn Cisco switches, enter:

    Ci sco- A( conf i g)# snmp- server communi t y publ i c r o

    Ci sco- A( conf i g)# snmp- server communi t y pr i vat e r w

    Ci sco- A( conf i g) # snmp- ser ver sour ce- i nt er f ace vl an 1

    On HP A-Series switches, you must enable the SNMP agent

    [ HP- C] snmp- agent sys- i nf o ver si on v2c

    [ HP- C] snmp- agent communi t y wr i t e pr i vate

    [ HP- C] snmp- agent communi t y read publ i c

  • 7/30/2019 LG1_00314282

    14/211

    HP Networking Interoperability

    L2.1 6 Rev. 11.12

    [ HP- C] snmp- agent t r ap sour ce vl an- i nt er f ace 1

    On HP E-Series switches, SNMP V2 is enabled by default with public set as theRW community. On these switches, you specify the source interface as an IPaddress if you want to use a VLAN interface or using a loopback keyword if youwant to use a loopback interface.

    HP- E(conf i g)# no snmp- ser ver communi t y publ i c

    HP- E( conf i g)# snmp- ser ver communi t y pr i vate managerunr est r i cted

    HP- E(conf i g)# snmp- ser ver communi t y publ i c oper atorunr est r i cted

    On HP-E, enter:

    HP- E(conf i g) # snmp- server t r ap- sour ce 10. POD. 1. 5

    On HP-F, enter:

    HP- E(conf i g) # snmp- server t r ap- sour ce 10. POD. 1. 6

    12.Enable Telnet authentication. For the lab environment, you will configure Telnet toprovide enabled/privileged level access without the user authenticating.

    On Cisco switches, enter:

    Ci sco- A( conf i g) # l i ne vty 0 4

    Ci sco- A( conf i g- l i ne) # no l ogi n

    Ci sco- A( conf i g- l i ne) pri vi l ege l evel 15

    On HP A-Series switches, you must enable the Telnet server. Enter thesecommands:

    [ HP- C] t el net ser ver enabl e

    [ HP- C] user - i nt er f ace vty 0 4

    [ HP- C- ui - vty0- 4] aut hent i cat i on- mode none

    [ HP- C- ui - vt y0- 4] user pr i vi l ege l evel 3

    On HP E-Series switches, Telnet is enabled by default. In addition, the defaultsetting 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 toeach device.

    Verify that you have received enabled/privileged level access._____________________________________________________________

    _____________________________________________________________

    _____________________________________________________________

  • 7/30/2019 LG1_00314282

    15/211

    Lab 2.1: Management

    Rev. 11.12 L2.1 7

    How do you determine which Telnet sessions are established with whichdevices?

    _____________________________________________________________

    _____________________________________________________________

    _____________________________________________________________

    How do you break a Telnet session?_____________________________________________________________

    _____________________________________________________________

    _____________________________________________________________

    13.Save the configuration of your devices for later use and define it as the startup-config.

    On Cisco switches, enter:

    Ci sco- A# wr i t e memor y

    Ci sco- A# copy r unni ng f l ash: i nt er op- 2a. cf g

    Ci sco- A# di r f l ash:

    Cisco-A(config)# boot conf i g f l ash: i nt er op- 2a. cf gCisco-A# show boot

    Enteringwrite mem later will overwrite this configuration, so take care.

    On HP A-Series switches, enter:

    save i nterop- 2a. cf g

    di r / al l

    st art up saved i nterop- 2a. cf g

    di spl ay st art up

    Entering save later will overwrite this configuration, so take care.

    On HP E-Series switches:

    HP- E# wr i t e mem

    HP- E# show conf i g- f i l es

    The default config file name should be config1. Rename the file to interop2a.

    HP- E# copy conf i g conf i g1 conf i g i nt er op2a

    Enter this command to make this configuration the default startup-config:

    HP- E( conf i g) # st ar t up- def aul t conf i g i nt er op2a

  • 7/30/2019 LG1_00314282

    16/211

    HP Networking Interoperability

    L2.1 8 Rev. 11.12

    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 theAuto-Discovery shortcut.

    Figure 2-3: IMCHome > Auto Discovery

    f. You have two ways to enable auto-discovery: Basic Auto-Discovery, which is quicker Advanced Auto-Discovery, which provides more options

  • 7/30/2019 LG1_00314282

    17/211

    Lab 2.1: Management

    Rev. 11.12 L2.1 9

    Figure 2-4: IMCResource > Resource Management > Auto Discovery

    g. You will first use Basic Auto-Discovery. Follow these steps:1) ClickAuto-Discovery.2) In theAuto-Discovery (Basic) page, configure these settings: Start IP: 10.POD.VLAN.1 End IP: 10.POD.VLAN.6 SNMP Read Community: public SNMP write Community: private3) Select the Telnet settings check box.

    What settings should you configure for Telnet considering your switchsetup?

    ___________________________________________________________

    ___________________________________________________________

    ___________________________________________________________

    4) Select the Enable periodic discovery check box. Schedule the recurrentdiscovery to 1 hour for the lab environment.

    In a real-world environment, what value would you set?

    ___________________________________________________________

    ___________________________________________________________

  • 7/30/2019 LG1_00314282

    18/211

    HP Networking Interoperability

    L2.1 10 Rev. 11.12

    Figure 2-5: IMCResource > Resource Management > Auto Discovery (Basic Settings)

    5) ClickAuto Discovery to initiate discovery of your devices.15. List auto-discovered devices.

    a. Click the Home tab.b. Do you see your devices listed underView snapshot and Switches?

    If not, troubleshoot as follows, beginning by verifying the basics:

    1) Can you ping the device from Server_1 (the Windows Server 2008)?2) Are the SNMP RO and RW communities the same on the device and

    on IMC?

    RO = public RW = private3) Verify that you can access the devices using Telnet without a password

    and that you access the privileged level. You can also review yourTelnet 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 theAdd Device option.3) Enter your devices IP address, SNMP information, and Telnet settings

    to discover the device manually.

  • 7/30/2019 LG1_00314282

    19/211

    Lab 2.1: Management

    Rev. 11.12 L2.1 11

    Figure 2-6: IMC > Resource > Resource Management > Add Device

    Your devices might be classified as Desktop, which refers to devices withICMP enabled (they are pingable) but SNMP disabled. If your devices areclassified as Desktop, what can you do to fix this?

    1) Double-check the SNMP setup on the devices and in IMC.2) Try to discover the device manually after have deleted it from the Snap-

    Shot views.

    16. In this step, you enable SSH on devices. Keep in mind that IMC does not createSSH public keys. On all your switches, configure the following:

    a. Set the crypto public key and enable SSH if it is not enabled yet.On Cisco switches, enter:

    Ci sco- A( conf i g)# cr ypt o key generate rsa usage- keys modul us1024

    Ci sco- A( conf i g) # i p ssh ver si on 2

    On HP A-Series switches, enter:

    [ HP- C] publ i c- key l ocal creat e r sa

    [ HP- C] ssh ser ver enabl e

    On HP E-Series, a key is created by default (in the up-to-date software). If youneed to generate a key, enter this command:

    HP- E(conf i g) # cr ypt o key generat e ssh rsa

    HP- E( conf i g) # i p ssh

    The latter command is enabled by default.

  • 7/30/2019 LG1_00314282

    20/211

    HP Networking Interoperability

    L2.1 12 Rev. 11.12

    b. Attempt to establish an SSH connection from Server_1 (the Windows Server2008) using TeraTerm 4.1 or the Putty application.

    17.Do not save your configuration. You will not use this configuration in later labs.However, you can save the configuration for your own records if you want. In

    this case, you can either: View the running-config and copy and paste it in your own text file. Save the configuration using a different name than the one previously set

    (which was interop2a).

  • 7/30/2019 LG1_00314282

    21/211

    Lab 2.1: Management

    Rev. 11.12 L2.1 13

    Command referenceHP-E-Series CommandsDescription Command syntax

    Configure hostname hostname

    Configure ports as untaggedmembers of VLANs.

    vlan untagged

    Configure ports as tagged membersof VLANs.

    vlan tagged

    Assign an IP address to a VLANinterface.

    vlan ip address [IP address subnet mask | IPaddress/prefix length]

    Disable SNMP v2 public community no snmp-server community publicConfigure a read-write SNMP v2ccommunity

    snmp-server community managerunrestricted

    Configure a read-only SNMP v2ccommunity

    snmp-server community operatorrestricted

    Set the SNMP trap source address. snmp-server trap-source [loopback | IP address]Show the saved configuration files. show config-filesSet the configuration file for thestartup-config.

    startup-default config

    Reboot the switch. reloadSave the running configuration. write memoryCopy a saved configuration to a newconfiguration file.

    copy config config

    HP A-Series CommandsDescription Command syntax

    Configure a host, or system, name sysname Create a VLAN interface interface vlan-interface

    Configure a port as a trunk port. interface port-link-type trunk

    Set the native (untagged)VLAN.

    port trunk pvid vlan

    Set the tagged VLANs. port trunk permit vlan

    Configure a port as an access port ina VLAN.

    interface port-link-type accessport access vlan

    Assign an IP address to a VLANinterface.

    interface vlan-interface ip address

    Create a default route. ip route-static 0.0.0.0 0

    Configure a VLAN to receive an IPaddress through DHCP

    interface vlan ip address dhcp-allocquit

    Configure SNMP v2c communities snmp-agent trap source vlan-interface snmp-agent sys-info version v2csnmp-agent community write snmp-agent community read

  • 7/30/2019 LG1_00314282

    22/211

    HP Networking Interoperability

    L2.1 14 Rev. 11.12

    Configure SNMP trap receiver snmp-agent target-host trap address udp-domain params securityname public V2C

    Enable Telnet access withoutauthentication

    user-interface vty 0 15authentication-mode noneuser privilege level 3

    quit

    Show the file system. dir /all

    Set the configuration file for thestartup-config.

    startup saved-configuration

    Reboot the switch. reboot

    Save the running configuration as anamed file.

    save

    View the current file for the startup-config.

    display startup

    Cisco CommandsDescription Command syntax

    System name hostname Configure a VLAN to receive an IPaddress through DHCP

    interface vlan ip address dhcpno shut

    Configure an SNMP v2c read-writecommunity

    snmp-server community rw

    Configure SNMP traps snmp-server enable trapssnmp-server source-interface loopback 0snmp-server host version 2c

    Enable Telnet access withoutauthentication

    line vty 0 4no loginprivilege level 15

    View the files used on booting. show boot

    View the file system dir flash:

    Save the running-config. write memory

    Copy the running-config to a savedconfiguration file.

    copy running flash:

    Specify the saved configuration file

    for the configuration that loads onstartup.

    boot config flash:

    Reboot. reload

  • 7/30/2019 LG1_00314282

    23/211

    Rev. 11.12 L3.1 1

    Configuring VLANsModule 3 Lab 1

    ObjectivesAfter 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)

    Lab equipment

    Figure 3-1: Configuring VLANs

    In this lab, you will practice configuring VLANs. You will need the followingequipment:

    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

    Trunk/802.1q portNot Connected

    To be configuredfor later labs

    Trunk 802.1q portConnected

    Cisco-A

    HP-EE-Series

    HP-CA-Series

    Cisco-BP3

    P1

    P2

    P2

    P1

    P1 P1 P2P2

    P3 P3

    PC1 PC2

    P3

    UplinksUntagged in VLAN 1,

    Tagged in VLAN 11, 12 & 13

  • 7/30/2019 LG1_00314282

    24/211

    HP Networking Interoperability

    L3.1 2 Rev. 11.12

    Port naming

    Use the port mapping table that you created during Lab 2.1: Management.

    Switches Port Interface Gigabit

    Cisco-A P1P2P3P4

    Cisco-B P1P2P3P4

    HP-C P1P2P3

    HP-E P1

    P2P3

    Lab steps1. As you complete the lab, take note of the show and display commands you will

    use to verify and troubleshoot your configuration. Specifically, note whichcommands allow you to answer questions such as:

    Which VLANs are configured?

    Which ports are trunk ports? Which are access ports? Which ports are in VLAN X? Are they tagged or untagged? Which VLANs are configured on a given port?You will share these commands in the lab debrief.

    _____________________________________________________________________

    _____________________________________________________________________

    _____________________________________________________________________

    _____________________________________________________________________

    _____________________________________________________________________

    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 representconnections that you do notcreate in this lab. You are configuring the ports forlater use in the labs that cover spanning tree protocols (STP).

  • 7/30/2019 LG1_00314282

    25/211

    Configuring VLANs

    Rev. 11.12 L3.1 3

    3. On each switch, load the interop2a configuration that you saved in the previouslab (Lab 2: Management). This configuration contains the switchs basicconfiguration: name of the device, IP address in VLAN 1, default gateway, LLDPenabled, 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:

    Ci sco- A# show boot

    Ci sco- A( conf i g) # boot conf i g f l ash: i nt er op2a. cf g

    Ci sco- A# r el oad

    On the HP A-Series switch (HP-C), enter:

    di spl ay st ar t up

    st art up saved i nterop2a. cf g

    r eboot

    On the HP E-Series switch (HP-E), enter:

    HP- E# show conf i g- f i l es

    HP- E( conf i g) # st ar t up- def aul t conf i g i nt er op2a

    HP- E# r el oad

    4. In this step, you will create the VLANs, configure the trunk/tagged ports, andconfigure the access ports.

    a. Create VLANs 11, 12, and 13 on allswitches.On Cisco switches (both Cisco-A ad Cisco-B), enter:

    Ci sco- A( conf i g) # vl an 11- 13

    On the HP A-Series switch (HP-C), enter:

    [ HP- C] vl an 11 t o 13

    On the HP E-Series switch (HP-E), enter:

    HP- E( conf i g) # vl an 11

    HP- E( vl an- 11) # vl an 12

    HP- E( vl an- 12) # vl an 13

    What are the show and display commands that list the created VLANs?

    Cisco:______________________________________________________________

    _____________________________________________________________________

    HP A-Series:__________________________________________________________

    _____________________________________________________________________

  • 7/30/2019 LG1_00314282

    26/211

    HP Networking Interoperability

    L3.1 4 Rev. 11.12

    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-Seriesswitches, the term trunk refers to a link-aggregation group. All ports can acceptuntagged and tagged VLAN assignments.

    On Cisco switches, configure a range of ports, P1 to P4, as trunks:

    Ci sco- A( conf i g) # i nt er f ace r ange gi 1/ 0/ 1- 4

    Ci sco- A( conf i g- i f - r ange) # swi t chpor t t r unk encapsul at i ondot 1q

    Ci sco- A( conf i g- i f - r ange) # swi t chpor t mode t r unk

    On the HP A-Series switch, configure both uplinks as trunks:

    [ HP- C] i nt er f ace Gi gabi t Et her net 1/ 0/ 1

    [ HP- C- Gi gabi t Et her net 1/ 0/ 1] por t l i nk- t ype t r unk

    [ HP- C- Gi gabi t Et her net 1/ 0/ 1] por t t r unk per mi t vl an al l

    [ HP- C] i nt er f ace Gi gabi t Et her net 1/ 0/ 2

    [ HP- C- Gi gabi t Et her net 1/ 0/ 2] por t l i nk- t ype t r unk

    [ HP- C- Gi gabi t Et her net 1/ 0/ 2] por t t r unk per mi t vl an al l

    Note

    Do not forget to permit VLANs on the trunk. On HP A-Series switches, none areenabled by default except VLAN 1.

    On HP A-Series switches, you can alternatively create a manual port group andthen configure that group as a trunk:

    [ HP- C] por t - group manual Upl i nks

    [ HP- C- por t - gr oup- manual - Upl i nks] gr oup- member Gi 1/ 0/ 1 t oGi 1/ 0/ 2

    [ HP- C- por t - gr oup- manual - Upl i nks] por t l i nk- t ype t r unk

    [ HP- C- port - gr oup- manual - Upl i nks] por t t r unk per mi t vl an al l

    [ HP- C] di spl ay vl an 11 t o 13

    On the HP E-Series switch, you configure VLAN tagging on a port from theVLAN context:

    HP- E( conf i g) # vl an 11

    HP- E( vl an- 11) # t agged 1- 2

    HP- E( vl an- 11) # vl an 12

    HP- E( vl an- 12) # t agged 1- 2

  • 7/30/2019 LG1_00314282

    27/211

    Configuring VLANs

    Rev. 11.12 L3.1 5

    HP- E( vl an- 11) # vl an 13

    HP- E( vl an- 12) # t agged 1- 2

    You can also enter this command in this way:

    HP- E( conf i g) # vl an 11 t agged 1- 2

    HP- E( conf i g) # vl an 12 t agged 1- 2HP- E( conf i g) # vl an 13 t agged 1- 2

    NoteBy default, all E-Series switch ports are untagged in VLAN 1 by default. You canchanged the untagged membership with this command:vlan untagged .

    What are the show and display commands on the different platforms thatdisplay the status of trunk ports and the VLANs that they support?

    Cisco: ______________________________________________________________

    _____________________________________________________________________

    HP A-Series:__________________________________________________________

    _____________________________________________________________________

    HP E-Series:__________________________________________________________

    _____________________________________________________________________

    c. On HP-C and E, make sure that P3 is configured as an access port in VLAN1.

    d. Make sure that Server_1 is connected on port P3 of HP-C and that PC2 isconnected 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 enoughports are available, you can choose fewer.)

    On Cisco switches, enter:

    Ci sco- A( conf i g) #i nt er f ace range gi gabi t 1/ 0/ 10- 12

    Ci sco- A( conf i g- i f - r ange)#swi t chport mode access

    Ci sco- A( conf i g- i f - r ange) #swi t chpor t access vl an 11

    On HP A-Series switches, configure the ports using a manual port group. Enter:

  • 7/30/2019 LG1_00314282

    28/211

    HP Networking Interoperability

    L3.1 6 Rev. 11.12

    [ HP- C] por t - group manual Edges

    [ HP- C- por t - group- manual - Edges] group- member Gi 1/ 0/ 10 t o Gi1/ 0/ 12

    [ HP- C- por t - gr oup- manual - Edges] por t l i nk- t ype access

    [ HP- C- por t - gr oup- manual - Edges] por t access vl an 11

    On HP A-Series switches, you can also easily set access ports this way:

    [ HP- C] vl an 11

    [ HP- C- vl an11] por t Gi g 1/ 0/ 10 to Gi g 1/ 0/ 12

    On HP E-Series switches, you complete the configuration in this way:

    HP- E( conf i g) # vl an 11

    HP- E(vl an- 11) # unt agged 10- 12

    Also configure P3 on the HP E-Series switch as an untagged member of VLAN11. You will connect PC2 to this port in order to test DHCP:

    HP- E(conf i g)# vl an 11 unt agged 3What are the show and display commands that display the status of accessports and what VLANs theyre in with on the different platform?

    Cisco:_______________________________________________________________

    _____________________________________________________________________

    HP A-Series:__________________________________________________________

    _____________________________________________________________________

    HP E-Series:___________________________________________________________

    _____________________________________________________________________

    g. Configure the voice ports. Select another range of three ports on HP-C andE. (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:

    Ci sco- A( conf i g) #i nt er f ace range gi gabi t 1/ 0/ 13- 15

    Ci sco(conf i g- i f - r ange) # swi t chpor t mode access

  • 7/30/2019 LG1_00314282

    29/211

    Configuring VLANs

    Rev. 11.12 L3.1 7

    Ci sco( conf i g- i f - r ange) # swi t chport access vl an 11

    Ci sco( conf i g- i f - r ange) # swi t chpor t voi ce vl an 12

    On HP A-Series switches, configure the ports using a manual port group. Enter:

    [ HP- C] por t - group manual Phones

    [ HP- C- por t - group- manual - Phones] group- member Gi 1/ 0/ 13 t o Gi1/ 0/ 15

    [ HP- C- port - gr oup- manual - Phones] por t l i nk- t ype hybr i d

    [ HP- C- por t - gr oup- manual - Phones] por t hybr i d vl an 11 unt agged

    [ HP- C- por t - gr oup- manual - Phones] port hybr i d vl an 12 t agged

    [ HP- C- por t - gr oup- manual - Phones] port hybr i d pvi d vl an 11

    [ HP- C- por t - gr oup- manual - Phones] UNDO por t hybr i d vl an 1

    NoteOn hybrid A-Series ports (as on trunk ports), when you change the PVID (ornative VLAN), VLAN 1 remains on the ports as an untagged VLAN. For thisreason, you must remove VLAN 1 if you do not want it to remain untagged onthe port.

    On HP E-Series switches, you create voice ports by giving the ports an untaggedassignment in the data VLAN and a tagged assignment in the voice VLAN.Enter:

    HP- E(conf i g)# vl an 11 unt agged 13- 15

    HP- E( conf i g) # vl an 12

    HP- E( vl an- 12) # voi ce

    HP- E(vl an- 12) # t agged 13- 15

    5. On Cisco-A and Cisco-B, complete these steps:a. Enable IP routing.b. Configure an IP address on interfaces VLAN 11, 12 and 13.

    Use this addressing scheme: 10.POD.VLAN.X/24

    POD is the number of your group, and VLAN is the VLAN ID. Replace Xdepending on the device as follows:

    X=1 on Cisco-A X=2 on Cisco-B

    c. Configure DHCP relay to direct DHCP requests to 10.POD.1.3.On Cisco switches, enter:

    Ci sco- A( conf i g) # i p r out i ng

    Ci sco- A( conf i g) # i nt er f ace vl an 11

    Ci sco- A( conf i g- i f ) # i p addr ess 10. POD. 11. 1 255. 255. 255. 0

    Ci sco- A( conf i g- i f ) # i p hel per - addr ess 10. POD. 1. 3

  • 7/30/2019 LG1_00314282

    30/211

    HP Networking Interoperability

    L3.1 8 Rev. 11.12

    Ci sco- A( conf i g) # i nt er f ace vl an 12

    Ci sco- A( conf i g- i f ) # i p addr ess 10. POD. 12. 1 255. 255. 255. 0

    Ci sco- A( conf i g- i f ) # i p hel per - addr ess 10. POD. 1. 3

    Ci sco- A( conf i g) # i nt er f ace vl an 13

    Ci sco- A( conf i g- i f ) # i p addr ess 10. POD. 13. 1 255. 255. 255. 0

    Ci sco- A( conf i g- i f ) # i p hel per - addr ess 10. POD. 1. 3

    Ci sco- B( conf i g) # i p r out i ng

    Ci sco- B( conf i g) # i nt er f ace vl an 11

    Ci sco- B( conf i g- i f ) # i p addr ess 10. POD. 11. 2 255. 255. 255. 0

    Ci sco- A( conf i g- i f ) # i p hel per - addr ess 10. POD. 1. 3

    Ci sco- B( conf i g) # i nt er f ace vl an 12

    Ci sco- B( conf i g- i f ) # i p addr ess 10. POD. 12. 2 255. 255. 255. 0

    Ci sco- A( conf i g- i f ) # i p hel per - addr ess 10. POD. 1. 3Ci sco- B( conf i g) # i nt er f ace vl an 13

    Ci sco- B( conf i g- i f ) # i p addr ess 10. POD. 13. 2 255. 255. 255. 0

    Ci sco- B( conf i g- i f ) # i p hel per - addr ess 10. POD. 1. 3

    NoteIn this lab, the HP switches do not need to implement DHCP relay.

    For your reference, if you did need to configure DHCP relay, you would do sowith these commands on an HP E-Series switch:

    HP-E(config)# vlan x ip address 10.POD.X.5/24

    HP-E(config)# vlan x ip helper 10.POD.1.3

    And you would enter these commands on the HP A-Series switch:[HP-C] dhcp enable

    [HP-C] dhcp relay server-group 1 ip 10.POD.1.3

    [HP-C] interface vlan-interface X

    [HP-C-Vlan-interfaceX] ip address 10.POD.1.3

    [HP-C-Vlan-interfaceX] dhcp select relay

    [HP-C-Vlan-interfaceX] dhcp relay server-select 1

    6. Configure DHCP on HP-C, which will act as the DHCP server.Enable the DHCP server on VLANs 1, 11, 12, and 13. Then create pools for the

    IP subnets associated with the VLANs. Use these settings for the DHCP pools: The network is 10.POD.VLAN.X/24. Exclude addresses from 10.POD.VLAN.1 to 10.POD.VLAN.101 as well as

    10.POD.VLAN.254. (10.POD.VLAN.254 will be used a virtual IP in a laterlab.)

    Define the default gateway to be 10.POD.VLAN.1. Set the lease time to 2 hours.

  • 7/30/2019 LG1_00314282

    31/211

    Configuring VLANs

    Rev. 11.12 L3.1 9

    The HP A-Series switch commands are:

    [ HP- C] dhcp enabl e

    [ HP- C] dhcp server i p- pool vl anX- pool

    [ HP- C- pool - vl anX- pool ] net work 10. POD. X. 0 24

    [ HP- C- pool - vl anX- pool ] gat eway- l i st 10. POD. X. 254[ HP- C- pool - vl an1- pool ] expi r ed day 0 hour 2

    NoteIn the commands, replace POD with your POD number and X with the VLANnumber. Repeat the commands for each VLAN.

    You can configure other settings, but these are not required for the lab.

    [ HP- C- pool - vl anX- pool ] dns- l i st 10. POD. 1. 100

    [ HP- C- pool - vl anX- pool ] domai n- name exampl e0X. hp. com

    [ HP- C- pool - vl anX- pool ] expi r ed day 0 hour 2

    [ HP- C- pool - vl anX- pool ] qui t

    [ HP- C] dhcp ser ver f orbi dden- i p 10. POD. X. 1 10. POD. X. 101

    [ HP- C] dhcp server f orbi dden- i p 10. POD. X. 254

    7. To verify that DHCP is working, connect PC2 to P3 HP-E. Configure PC2 toobtain its IP address using DHCP.

    8. Verify that PC2 receives an IP address in the subnet for VLAN 11(10.POD.11.0/24).

    9. Save the configuration of your devices for later use and define the savedconfiguration as the startup-config.

    On Cisco switches:

    Ci sco- A# wr i t e memor y

    Ci sco- A# copy r unni ng f l ash: i nt er op- 3a. cf g

    Ci sco- A# di r f l ash:

    Ci sco- A( conf i g) #boot conf i g f l ash: i nt er op- 3a. cf gCi sco- A# show boot

    Enteringwrite mem later will overwrite this configuration, so take care.

    On HP A-Series switches:

    save i nterop- 3a. cf g

    di r / al l

    st art up saved i nt erop- 3a. cf g

    di spl ay st ar t up

    Entering save later will overwrite this configuration, so take care.

  • 7/30/2019 LG1_00314282

    32/211

    HP Networking Interoperability

    L3.1 10 Rev. 11.12

    On HP E-Series switches:

    HP- E# wr i t e mem

    HP- E# show conf i g- f i l es

    The config file name should be interop2a. Rename the file to interop3a.

    HP- E# copy conf i g i nt er op2a conf i g i nt er op3a

    To make this configuration the startup-config, enter this command:

    HP- E( conf i g) # st ar t up- def aul t conf i g i nt er op3a

    10.The next steps are for an optional task, in which you activate GVRP on HP-C andE.

    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

    ports, which must be trunk ports. On HP E-Series, GVRP is enabled on allports by default when you enable the feature globally.

    On the HP A-Series switch, enter:

    [ HP- C] gvrp

    [ HP- C] i nt gi 1/ 0/ 1

    [ HP- C- Gi gabi t Et her net 1/ 0/ 1] gvrp

    [ HP- C- Gi gabi t Et her net 1/ 0/ 1] gvr p r egi st r at i on ?

    f i xed Fi xed t ype

    f orbi dden Forbi dden type

    normal Nor mal t ype

    [ HP- C- Gi gabi t Et her net 1/ 0/ 1] gvrp r egi st r at i on normal

    NoteBy default, GVRP registers all VLANs on the interfaces on which it is enabled.

    On HP E-Series switches, after you have enabled GVRP globally, the switch canautomatically learn VLANs on allports. Enter these commands:

    HP- E( conf i g) # gvrp

    HP- E(conf i g)# show gvr p

    11.Verify and explore the GVRP configuration.a. Create VLAN 100 on HP-C.

    Do you see the new VLAN on HP-E?

    ______________________________________________________________

    What ports belong to VLAN 100 on HP-C and E?

    ______________________________________________________________

  • 7/30/2019 LG1_00314282

    33/211

    Configuring VLANs

    Rev. 11.12 L3.1 11

    On HP A-Series switches, enter:

    [ HP- C] di spl ay vl an

    [ HP- C] di spl ay vl an al l

    [ HP- C] di spl ay gvr p st at e i nt gi 1/ 0/ 1 vl an 100

    On HP E-Series switches, enter:HP- E# show vl an

    HP- E# show vl an 100

    HP- E# show vl an por t 1 detai l

    b. Create VLAN 101 on HP-E.Do you see the new VLAN on port 1 of HP-E?

    _________________________________________________________________

    Do you see the new VLAN 101 on HP-C?

    _________________________________________________________________Create VLAN 101 on HP-C as well. Now does port 1 on HP-E belong toVLAN 101?_________________________________________________________________

    12.Delete VLAN 100 on HP-C. Is it removed on HP-E as well?_____________________________________________________________________

    13.Delete VLAN 101 on HP-E. Is it removed on HP-C as well? If not, delete it onHP-C.

    _________________________________________________________________

    14.Disable GVRP globally on HP-C and HP-E.15.You should have saved the configuration in step 7. Do notsave the configuration

    now; you will load the previously saved configuration for the next lab.

  • 7/30/2019 LG1_00314282

    34/211

    HP Networking Interoperability

    L3.1 12 Rev. 11.12

    Command referenceHP E-Series CommandsDescription Command syntax

    Configure ports as untagged

    members of VLANs.

    vlan untagged

    Configure ports as tagged membersof VLANs.

    vlan tagged

    Assign an IP address to a VLANinterface.

    vlan ip address

  • 7/30/2019 LG1_00314282

    35/211

    Configuring VLANs

    Rev. 11.12 L3.1 13

    Create a DHCP pool. dhcp server ip-pool

    Set the network. network mask

    Set the default gateway. gateway-list

    Configure a DHCP server group forDHCP relay.

    dhcp relay server-group ip

    Enable DHCP relay on a VLANinterface and specify the server group

    interface vlan-interface dhcp select relaydhcp relay server-select

    Enable or disable GVRP. [undo] gvrp

    Enable GVRP on a physical port. interface gvrp

    Show the file system. dir /all

    Set the configuration file for thestartup-config. startup saved-configuration

    Reboot the switch. reboot

    Save the running configuration as anamed file.

    save

    View the current file for the startup-config.

    display startup

    Cisco CommandsDescription Command syntax

    Create a VLAN interface vlan Configure trunk ports. interface range

    switchport trunk encapsulation dot1qswitchport mode trunk

    Configure access ports. interface range switchport mode accessswitchport access

    Configure voice ports. interface range switchport mode access

    switchport access Configure an IP address on a VLAN. interface vlan

    ip address

    Configure DHCP relay (a helperaddress) on a VLAN. interface vlan ip helper-address

    Enable IP routing. ip routing

    View the files used on booting. show boot

    View the file system dir flash:

    Save the running-config. write memory

  • 7/30/2019 LG1_00314282

    36/211

    HP Networking Interoperability

    L3.1 14 Rev. 11.12

    Copy the running-config to a savedconfiguration file.

    copy running flash:

    Specify the saved configuration filefor the configuration that loads onstartup.

    boot config flash:

    Reboot. reload

  • 7/30/2019 LG1_00314282

    37/211

    Rev. 11.12 L4.1 1

    Implementing MSTPon Cisco and HP Switches

    Module 4 Lab 1

    ObjectivesAfter 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

    Tree Protocol (RSTP)

    Understand the implications of MSTP not being VLAN-aware

    Lab equipment

    Figure 4-1: Configuring MSTP

    When this lab activity is completed, your networks topology should resemble theconfiguration 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

    HP-C

    Cisco-A Cisco-B

    Rootfor Instances 0 and 1

    Rootfor Instance 2

    HP-E

    MSTP

    MSTP RegionName: HP-CiscoRevision: 1MST Instance 1:VLAN 12

    MST Instance 2:VLAN 1,11,13

    IP addressing:10.POD.VLAN.X/24

    X=1 on Cisco-AX=2 on Cisco-BX=3 on HP-CX=4 on HP-DX=5 on HP-EX=6 on HP-FX=100 on Server_1X=101 on Client_1

    P1 P1

    P1 P2 P2P1

    P3 P3 P4P4

    P3 P3

    Server_1 Client_1

  • 7/30/2019 LG1_00314282

    38/211

    HP Networking Interoperability

    L4.1 2 Rev. 11.12

    Cabling (as shown in Figure 4-1): One Gigabit link between the two Cisco switches One link between each HP access layer switch and each of the two Cisco

    switches (four links total)

    One connection in VLAN 1 between Serv and HP-C One connection in VLAN 1 between Client_1 and HP-E!

    ImportantDo not make these connections now. The lab will tell you when to establish them.

    Lab stepsComplete the following tasks.

    1. On Cisco-A, Cisco-B, HP-C, HP-F, load the interop3a configuration that yousaved at the end of Lab 3.1. This configuration contains the switchsmanagement, VLAN, IP, and port configurations.

    2. Verify that the interop3a configuration file is the startup configuration.3. If it is not, make it the startup configuration and reboot.

    On Cisco switches:

    Ci sco- A# show boot

    Ci sco- A( conf i g) #boot conf i g f l ash: i nt er op- 3a. cf g

    Ci sco- A# r el oad

    On HP A-Series switches: di spl ay st art up

    st art up saved i nterop- 3a. cf g

    r eboot

    On HP E-Series switches:

    HP- E# show conf i g- f i l es

    HP- E( conf i g) # st ar t up- def aul t conf i g i nt er op3a

    HP- E# r el oad

    4. After you have loaded the configuration on each switch, quickly verify thefollowing on each switch:

    VLAN 1 has the correct IP address (see Figure 4-1). VLANs 1, 11, 12, and 13 are configured.

  • 7/30/2019 LG1_00314282

    39/211

    Implementing MSTP on Cisco and HP Switches

    Rev. 11.12 L4.1 3

    Uplinks are set as trunk ports, which permit all VLANs. On the HP E-Seriesdevice, the uplinks are untagged for VLAN 1 and tagged for all otherVLANs.

    LLDP is enabled.5.

    As you complete the lab, take note of the show and display commands you useto verify and troubleshoot your configuration. Specifically, note which commandsallow 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 pathcost)?

    Which ports are designated (forwarding), and which ports are alternate(blocked)?

    You will share these commands in the lab debrief.

    _____________________________________________________________________

    _____________________________________________________________________

    _____________________________________________________________________

    _____________________________________________________________________

    _____________________________________________________________________

    _____________________________________________________________________

    Activate MSTP6. Check the software version on the Cisco switches. Based on information given in

    the lecture, will they support MSTP?

    _____________________________________________________________________

  • 7/30/2019 LG1_00314282

    40/211

    HP Networking Interoperability

    L4.1 4 Rev. 11.12

    7. Enable spanning tree in MSTP modeon all switches. Do not set priorities, neitherMSTP region parameters.

    On Cisco switches, enter:

    Ci sco( conf i g)# spanni ng- t r ee 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] st p enabl e

    On HP E-Series switches, STP is not enabled but MSTP is the default STP mode.You simply need to enable STP:

    HP- F(conf i g) # spanni ng- t r ee

    8. Establish all of the connections between the switches and with Server_1 andClient_1 as displayed in Figure 4-1.

    9. When you enable MSTP without configuring other settings, each switch is itsown region, and the switches interact in RSTP using their setup in the ISTinstance.

    a. Which switch is root of the common and internal spanning tree (CIST)?_________________________________________________________________

    b. Why is this switch root?_________________________________________________________________

    c. Which commands do you enter on each switch to verify the switchs roleand the role of its ports (root port, alternate port, and designated port)?

    Cisco-A: _________________________________________________________

    _________________________________________________________________

    HP-C: ___________________________________________________________

    _________________________________________________________________

    HP-E:______________________ ______________________________________

    _________________________________________________________________

    d. Which commands tell you the current MSTP region configuration?Cisco-A: _________________________________________________________

    _________________________________________________________________

  • 7/30/2019 LG1_00314282

    41/211

    Implementing MSTP on Cisco and HP Switches

    Rev. 11.12 L4.1 5

    HP-C: ___________________________________________________________

    _________________________________________________________________

    HP-E:______________________ ______________________________________

    _________________________________________________________________

    e. Discover the following information on each switch platform: Default name of the MSTP region in this configuration Default revision number Default Instance name and VLAN mappingsCisco-A:Region name: ____________________________________________________

    Revision #: ______________________________________________________

    Instance and VLAN mapping: ______________________________________

    HP-C:

    Region name: ____________________________________________________

    Revision #: ______________________________________________________

    Instance and VLAN mapping: ______________________________________

    HP-E:

    Region name: ____________________________________________________

    Revision #: ______________________________________________________

    Instance and VLAN mapping: ______________________________________

    f. Verify the port cost on each switch of Gigabit Interface. The default settingis 20 000. Is it consistent between platforms?

  • 7/30/2019 LG1_00314282

    42/211

    HP Networking Interoperability

    L4.1 6 Rev. 11.12

    Write down the cost of Gigabit port on each switch:

    Cisco-A Gigabit port cost: _________________________________________

    HP-C Gigabit port cost: ___________________________________________

    HP-E Gigabit port cost: ____________________________________________

    10.On HP-C, enter the command to set standard MSTP port costs:[ HP- C] st p pat hcost - st andar d dot1t

    Verify that the cost value has changed. The standard cost for a Gigabit portis 20000.

    11.Configure uplink ports as non-edge ports. Other ports should be edge ports.On Cisco switches, you can configure all ports to be edge ports by default; ifthey receive BPDU, they transit to non-edge ports. You can also set the rolesmanually:

    Ci sco( conf i g- i f ) #spanni ng- t r ee por t f ast def aul t

    Ci sco( conf i g) #i nt er f ace gi g 1/ 0/ 1

    Ci sco ( conf i g- i f ) #no span por t f ast

    Ci sco #show span mst

    On HP A-Series switches, ports automatically change from edge to non-edgewhen they receives BPDU. You can also force the non-edge role on uplinks.

    [ HP- C] i nt er f ace Gi gabi t Et her net 1/ 0/ 1

    [ HP- C- Gi gabi t Et her net 1/ 0/ 1] undo st p edged- port

    [ HP- C] di spl ay st p

    On HP E-Series switches, ports automatically change from edge to non-Edgewhen they receive BPDU. You can also force the non-edge role on uplinks.

    HP- E( conf i g) # no span 1- 2 aut o- edge- por t

    HP- E(conf i g)# no span 1- 2 admi n- edge- por t

    HP- E( conf i g) # show span 1- 2 conf i g

    HP- E(conf i g)# show span 1- 2

  • 7/30/2019 LG1_00314282

    43/211

    Implementing MSTP on Cisco and HP Switches

    Rev. 11.12 L4.1 7

    Configure the MSTP region12.Configure the MSTP region on each switch. Use the settings indicated in the

    table.

    MSTP SettingsParameter SettingName HP-CiscoRevision 1MST Instance 1 VLAN 12MST Instance 2 VLANs 1, 11, and 13

    ! ImportantThe region name is case-sensitive

    On Cisco switches:

    Ci sco- A( conf i g) # spanni ng- t r ee mst conf i gur at i on

    Ci sco- A( conf i g- mst ) # name HP- Ci sco

    Ci sco- A( conf i g- mst ) # r evi si on 1

    Ci sco- A( conf i g- mst ) # i nst ance 1 vl an 12

    Ci sco- A( conf i g- mst ) # i nst ance 2 vl an 1, 11, 13

    Ci sco- A( conf i g- mst ) # exi t

    NoteOn Cisco, the MSTP Configuration is notvalidated until you enter the exit

    command. Beware of this common mistake.

    Ci sco- A# show span mst - conf i g

    Ci sco- A# show span mst 0- 2

    On HP A-Series switches, enter:

    [ HP- C] st p r egi on- conf i gur at i on

    [ HP- C- mst - r egi on] r egi on- name HP- Ci sco

    [ HP- C- mst - r egi on] r evi si on- l evel 1

    [ HP- C- mst - r egi on] i nst ance 1 vl an 12

    [ HP- C- mst - r egi on] i nst ance 2 vl an 1 11 13[ HP- C- mst - r egi on] act i ve r egi on- conf i gur at i on

    [ HP- C- mst - r egi on] di spl ay stp regi on- conf i g

    [ HP- C- mst - r egi on] di spl ay st p br i ef

  • 7/30/2019 LG1_00314282

    44/211

    HP Networking Interoperability

    L4.1 8 Rev. 11.12

    On HP E-Series switches, enter:

    HP- E( conf i g) # spanni ng- t r ee conf i g- name HP- Ci sco

    HP- E( conf i g) # spanni ng- t r ee conf i g- r evi si on 1

    HP- E( conf i g) # spanni ng- t r ee i nst ance 1 vl an 12

    HP- E( conf i g) # spanni ng- t r ee i nst ance 2 vl an 1 11 13HP- E( conf i g) # show spanni ng- t r ee mst - conf i g

    13.Define the roots and secondary roots for each instance as indicated in the table.Root and Secondary Root settingsInstance Root Secondary Root

    0 Cisco-A Cisco-B1 Cisco-A Cisco-B2 Cisco-B Cisco-A

    On Cisco-A, enter:

    Ci sco- A( conf i g) # spanni ng- t r ee mst 0 pr i or i t y 0

    Ci sco- A( conf i g) # spanni ng- t r ee mst 1 pr i or i t y 0

    Ci sco- A( conf i g) # spanni ng- t r ee mst 2 pr i or i t y 4096

    OR

    Ci sco- A( conf i g) #spanni ng- t r ee mst 0 r oot pr i mar y

    Ci sco- A( conf i g) #spanni ng- t r ee mst 1 r oot pr i mar y

    Ci sco- A( conf i g) #spanni ng- t r ee mst 2 root secondar y

    On Cisco-B, enter:

    Ci sco- B( conf i g) # spanni ng- t r ee mst 0 pr i or i t y 4096

    Ci sco- B( conf i g) # spanni ng- t r ee mst 1 pr i or i t y 4096

    Ci sco- B( conf i g) # spanni ng- t r ee mst 2 pr i or i t y 0

    OR

    Ci sco- B( conf i g) #spanni ng- t r ee mst 0 root secondar y

    Ci sco- B( conf i g) #spanni ng- t r ee mst 1 root secondar y

    Ci sco- B( conf i g) #spanni ng- t r ee mst 2 r oot pr i mar y

    14.Check MSTP operations on the HP-C or HP-E access layer switches.On HP-C, enter:

    [ HP- C] di spl ay st p i nst ance 0

    [ HP- C] di spl ay st p i nst ance 1

    [ HP- C] di spl ay st p i nst ance 2

  • 7/30/2019 LG1_00314282

    45/211

    Implementing MSTP on Cisco and HP Switches

    Rev. 11.12 L4.1 9

    On HP-E, enter

    HP- E#show span 1- 2 i nst ance I ST

    HP- E#show span 1- 2 i nst ance 1

    HP- E#show span 1- 2 i nst ance 2

    Which switch is root in instance 0? ___________________________________

    What is each switchs root priority and MAC address in instance 0?

    __________________________________________________________________

    Which switch is root in instance 1? ___________________________________

    What is each switchs root priority and MAC address in instance 2?

    __________________________________________________________________

    Which switch is root in instance 2? ___________________________________

    What is each switchs root priority and MAC address in instance 2?

    __________________________________________________________________

    15.On the HP Edge switches, in each instance, determine which port is plays eachrole:

    Root port Alternate portOn HP-C, enter:

    [ HP- C] di spl ay st p br i ef

    On HP-E, enter:

    HP- E#show span 1- 2 i nst ance I ST

    HP- E#show span 1- 2 i nst ance 1

    HP- E#show span 1- 2 i nst ance 2

    HP-C root port: ____________________________________________________

    HP-C alternate root port: ____________________________________________

  • 7/30/2019 LG1_00314282

    46/211

    HP Networking Interoperability

    L4.1 10 Rev. 11.12

    HP-E root port: ____________________________________________________

    HP-E alternate root port: ____________________________________________

    Explore MSTP operations16.Make sure that:

    Server_1 is connected on P3 of HP-C P3 is access port in VLAN1

    Client_1 is connected on port P3 of HP-F P3 is untagged port in VLAN1

    17.Verify that Server_1 can ping Client_1. If not check and modify their IPaddresses:

    Server_1: 10.POD.1.100 Client_1: 10.POD.1.101

    18.On Server_1, start a continuous fping in VLAN 1 to Server_1 with a 50 mstimeout.

    Fpi ng 10. POD. 1. 100 c - t 50 w 50

    19.On HP-C, change the MSTP revision name from HP-Cisco to Fakename.20.On Server_1, check the fping. How long did it take for failover to occur when

    HP-C left the MSTP region

    21.Check the MSTP operations and instances on HP-C.Which switch does HP-C list as the root in the CIST?

    _______________________________________________________________

    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?

    _______________________________________________________________

  • 7/30/2019 LG1_00314282

    47/211

    Implementing MSTP on Cisco and HP Switches

    Rev. 11.12 L4.1 11

    ! ImportantWhen you configure MSTP in a network, you might experience failovers of thismagnitude. Depending on your environment, this may or may not be acceptable.You would need to plan accordingly.

    24.On HP-C, remove VLAN 12.a. Does the instance 1 topology change?

    _________________________________________________________________

    b. Does failover occur?_________________________________________________________________

    c.

    Recreate VLAN 12.25.On HP-F, disconnect the root port.

    a. Does a failover occur?_________________________________________________________________

    b. Reconnect the port.c. Does a failover occur?

    _________________________________________________________________

    26.Save the configuration of your devices for later use and define the savedconfiguration as the startup-config.

    On Cisco switches:

    Ci sco- A# wr i t e memor y

    Ci sco- A# copy r unni ng f l ash: i nt er op- 5a. cf g

    Ci sco- A# di r f l ash:

    Ci sco- A( conf i g) #boot conf i g f l ash: i nt er op- 5a. cf g

    Ci sco- A# show boot

    Enteringwrite mem later will overwrite this configuration, so take care.

  • 7/30/2019 LG1_00314282

    48/211

    HP Networking Interoperability

    L4.1 12 Rev. 11.12

    On HP A-Series switches:

    save i nt erop- 5a. cf g

    di r / al l

    st art up saved i nterop- 5a. cf g

    di spl ay st art upEntering save later will overwrite this configuration, so take care.

    On HP E-Series switches:

    HP- E# wr i t e mem

    HP- E# show conf i g- f i l es

    The config file name should be interop3a. Rename the file to interop5a.

    HP- E# copy conf i g i nt er op3a conf i g i nt er op5a

    To make this configuration the startup-config, enter this command:

    HP- E( conf i g) # st ar t up- def aul t conf i g i nt er op5a

  • 7/30/2019 LG1_00314282

    49/211

    Implementing MSTP on Cisco and HP Switches

    Rev. 11.12 L4.1 13

    Command referenceHP-E-Series CommandsDescription Command syntax

    Configure ports as untagged members of

    VLANs.

    vlan untagged

    Configure ports as tagged members ofVLANs.

    vlan tagged

    Assign an IP address to a VLAN interface. vlan ip address

  • 7/30/2019 LG1_00314282

    50/211

    HP Networking Interoperability

    L4.1 14 Rev. 11.12

    Activate the region. active region-configuration

    Configure the path cost as 802.1t-compliant stp pathcost-standard dot1t

    Configure a port as an edge port or non-edge port.

    interface [no] stp edged-port enable

    Configure how the port determines its type(point-to-point or not).

    interface stp point-to-point [auto | force-false | force-true]

    View the MSTP status and statistics. display stp

    View the MSTP status and statistics for aninstance.

    display stp instance

    View the MSTP status and statistics for ports. display stp [instance ] interface

    View the MSTP region configuration. display stp region-configuration

    View the MSTP root. display stp root

    Show the file system. dir /all

    Set the configuration file for the startup-config.

    startup saved-configuration

    Reboot the switch. reboot

    Save the running configuration as a namedfile.

    save

    View the current file for the startup-config. display startup

    Cisco CommandsDescription Command syntax

    Configure the STP mode to MSTP. spanning-tree mode mst

    Configure PortFast as the default setting forports.

    spanning-tree portfast default

    Disable PortFast on an uplink port (make it anon-edge port).

    interface no spanning-tree portfast

    Enter the MSTP region configuration view. spanning-tree mst configuration

    Define the MSTP config name. name

    Define the MSTP revision. revision

    Assign VLANs to an MSTPinstance.

    instance vlan

    Validate and apply the settings. exit

    Configure the switchs priority for an MSTPinstance.

    spanning-tree mst priority

    Configure the switch as the root orsecondary root for an MSTP instance.

    spanning-tree mst root [primary |secondary]

    View information about MSTP. show spanning-tree mst

  • 7/30/2019 LG1_00314282

    51/211

    Implementing MSTP on Cisco and HP Switches

    Rev. 11.12 L4.1 15

    View the MSTP region configuration. show spanning-tree mst configuration

    View an MSTP instance. show spanning-tree mst

    View the files used on booting. show boot

    View the file system dir flash:

    Save the running-config. write memory

    Copy the running-config to a savedconfiguration file.

    copy running flash:

    Specify the saved configuration file for theconfiguration that loads on startup.

    boot config flash:

  • 7/30/2019 LG1_00314282

    52/211

    HP Networking Interoperability

    L4.1 16 Rev. 11.12

  • 7/30/2019 LG1_00314282

    53/211

    Rev. 11.12 L5.1 1

    Configuring PVST+/MSTP Interoperability:Cisco at the Aggregation Layer

    Module 5 Lab 1

    ObjectivesAfter completing this lab, you will be able to:

    Configure interoperation in an environment in which HP switches implementMSTP at the edge and Cisco switches implement PVST+ at the aggregation layer(or core)

    Test interoperability between MSTP on HP-Edge switches and PVST+ on Cisco-Aggregation switches

    Verify that switches interoperate in VLAN 1 using standard STP and RSTP

    Lab equipment

    Figure 5.1-1: Configuring PVST+/MSTP interoperability: Cisco at the aggregation layer

    When this lab activity is complete, your networks topology should resemble thediagram 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

    HP-C

    Rapid-PVST+Cisco-A Cisco-B

    RootFor VLANs 1,11,13

    Rootfor VLANs 12

    HP-EMSTP

    P1

    P1P2

    P2P1

    P3P3

    P4P4

    P3 P3

    Server_1 Client_1

    P1

    MSTP RegionName: HP-CiscoRevision: 1MST Instance 1:VLAN 12

    MST Instance 2:VLAN 1,11,13

  • 7/30/2019 LG1_00314282

    54/211

    HP Networking Interoperability

    L5.1 2 Rev. 11.12

    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 stepsComplete these tasks.

    Complete initial setup1. Establish the connections as shown in Figure 5.1-1.2. Reset the switches to the interop5a configuration. This configuration includes all

    the necessary management, VLAN, IP, and port configurationas well as theMSTP setup, in which Cisco-A and Cisco-B are root and secondary root in MSTPinstances 0, 1, and 2.

    a. Verify that the interop5a config is the startup-config.b. If it is not, make it the startup-config and reboot the switches.On Cisco switches, enter:

    Ci sco- A# show boot

    Ci sco- A( conf i g) #boot conf i g f l ash: i nt er op- 5a. cf g

    Ci sco- A# r el oad

    On HP A-Series switches, enter:

    di spl ay st art up

    st art up saved i nterop- 5a. cf g

    r eboot

    On HP E-Series switches, enter:

    HP- E# show conf i g- f i l es

    HP- E( conf i g) # st ar t up- def aul t conf i g i nt er op5a

    HP- E# r el oad

  • 7/30/2019 LG1_00314282

    55/211

    Configuring PVST+/MSTP Interoperability: Cisco at the Aggregation Layer

    Rev. 11.12 L5.1 3

    Configure PVST+ on Cisco and MSTP on HP3. HP-C and HP-E switches already implementing MSTP. You configured this feature

    in the previous lab.

    MSTP SettingsParameter SettingName HP-CiscoRevision 1MST Instance 1 VLAN 12MST Instance 2 VLANs 1, 11, and 13

    4. Verify HP switches are using their default priorities: HP A-Series (HP-C) = 32768 HP-E-Series (HP-E) = 8 (x4096)=32768

    5. Before enabling Rapid-PVST+ on Cisco switches, start an fping from Client_1 toServer_1 with a 100 ms timeout, to measure impact on changing mode on yournetwork.

    C: >f pi ng 10. POD. 1. 100 c - t 100 w 100

    6. Enable Rapid-PVST+mode on Cisco-A and B.On Cisco-A, enable Rapid PVST+:

    Ci sco- A( conf i g) #spanni ng- t r ee mode r api d- pvst

    On Cisco-B, enable Rapid PVST+:

    Ci sco- B( conf i g) #spanni ng- t r ee mode r api d- pvst

    7. Configure these settings: Cisco-A: Root in VLAN 1,11,13 Cisco-B: Root in VLAN 12You can enter the priorities manually as follows:

    a. Define Cisco-A as root for VLANs 1, 11 and 13 and secondary root forVLAN 12:

    Ci sco- A( conf i g) #spanni ng- t r ee vl an 1, 11, 13 pr i or i t y 0

    Ci sco- A( conf i g) #spanni ng- t r ee vl an 12 pr i ori t y 4096

    b. Define Cisco-B as root for VLANs 12 and secondary root for VLAN 1, 11,and 13:

    Ci sco- B( conf i g) #spanni ng- t r ee vl an 12 pr i or i t y 0

    Ci sco- B( conf i g) #spanni ng- t r ee vl an 1, 11, 13 pr i ori t y 4096

    Ci sco- A( conf i g) #spanni ng- t r ee vl an 1, 11, 13 r oot pr i mar y

    Ci sco- A( conf i g) #spanni ng- t r ee vl an 12 r oot secondar y

  • 7/30/2019 LG1_00314282

    56/211

    HP Networking Interoperability

    L5.1 4 Rev. 11.12

    Alternatively, you can configure the switches as the primary and secondaryroots, which configures the proper priorities for the role automatically. Enterthese commands on Cisco A:

    Ci sco- A( conf i g) #spanni ng- t r ee vl an 1, 11, 13 r oot pr i mar y

    Ci sco- A( conf i g) #spanni ng- t r ee vl an 12 r oot secondar y

    Enter these commands on Cisco B:

    Ci sco- B( conf i g) #spanni ng- t r ee vl an 12 r oot pr i mar y

    Ci sco- B( conf i g) #spanni ng- t r ee vl an 1, 11, 13 r oot secondar y

    If you use the root options, verify the priority that the Cisco IOS has assigned tothe root and secondary root switches.

    8. Verify the configuration with this command (replace X with each VLAN ID):Ci sco# show span vl an X

    For each VLAN on each Cisco switch, please note the switchs role, priority, and

    MAC address.Cisco Rapid PVST+ SettingsCisco-A Priority Root? Cisco-B Priority Root?

    VLAN 1 VLAN 1

    VLAN 11 VLAN 11

    VLAN 12 VLAN 12

    VLAN 13 VLAN 13

    MAC

    address

    MAC

    address

    9. On HP-C and HP-E, find which switch is root of the common spanning tree (CST).Also find each switchs root port and root path cost in the CST.

    On the HP A-Series switch (HP-C), enter:

    di spl ay st p

    On the HP E-Series switch (HP-E), enter:

    HP- E# show spanni ng- t r ee

    Record the information:

    Bridge ID and name of the root switch in the CST?_________________________________________________________________

    Root port in the CST on HP-C: _____________________________ Root port in the CST on HP-E: _____________________________

  • 7/30/2019 LG1_00314282

    57/211

    Configuring PVST+/MSTP Interoperability: Cisco at the Aggregation Layer

    Rev. 11.12 L5.1 5

    10.Enter these commands to find information about MSTP instances 1 and 2.On the HP A-Series switch (HP-C), enter:

    di spl ay st p i nst ance 1

    di spl ay st p i nst ance 2

    On the HP E-Series switch (HP-E), enter:HP- E# show spanni ng- t r ee i nst ance 1

    HP- E# show spanni ng- t r ee i nst ance 2

    Which switch is root in the instance 1? Why?_____________________________________________________________________

    _____________________________________________________________________

    _____________________________________________________________________

    Which switch is root in the instance 2? Why?_____________________________________________________________________

    _____________________________________________________________________

    _____________________________________________________________________

    NoteYou must understand MSTPs IST master.

    If an MST bridge is the root bridge for the CST, then it is the IST master of thatMST region. If the CST root is outside the MST region, as in this lab, in whichthe CST root is Cisco-A, one of the MST bridges at the boundary is selected asthe IST master. In this lab, the IST master for each region is the only HP switch inthat region. Other bridges on the boundary that belong to the same regioneventually block the boundary ports that lead to the root. However, this does notoccur in this lab because each HP switch communicates BPDUs through the

    Cisco switch.

    11.On the Cisco switches, find the following information:Which switch is root in the following VLANs:

    VLAN 1? ______________________________________________________ VLAN 11? ______________________________________________________

  • 7/30/2019 LG1_00314282

    58/211

    HP Networking Interoperability

    L5.1 6 Rev. 11.12

    VLAN 12? _____________________________________________________ VLAN 13? _____________________________________________________

    What are the port costs on Cisco switches?__________________________________________________________________

    12.On Cisco-A and Cisco-B, change the path cost method to long:Ci sco- A( conf i g) #spanni ng- t r ee pat hcost met hod l ong

    What are the port costs now on the Cisco switches?__________________________________________________________________

    Has this changed the status of the ports on the HP switches and their rootpath cost?

    __________________________________________________________________

    __________________________________________________________________

    Verify the -spanning tree operations13.Server_1 and Client_1 are connected to port P3 of HP-C and HP-E. Both are in

    VLAN 1.

    14.Start a continuous fping between Client_1 and Server_1 (if you have not yetstarted it).

    C: >f pi ng 10. POD. 1. 100 c - t 100 w 100

    15.Disable the root port on HP-C or HP-E. Determine how long failover takes. Thenre-enable the port.

    On HP-C, you would enter:

    [ HP- C] i nt er f ace Gi gabi t Et her net 1/ 0/ 1

    [ HP- C- Gi gabi t Et her net 1/ 0/ 1] shut down

    [ HP- C- Gi gabi t Ethernet1/ 0/ 1] undo shut down

    On HP-E, you would enter:

    HP- E( conf i g) # i nt er f ace 1 di sabl e

    HP- E( conf i g) # i nt er f ace 1 enabl e

    NoteIn these and all later commands, remember to specify the interface IDs that yourecorded in your Port Mapping table.

  • 7/30/2019 LG1_00314282

    59/211

    Configuring PVST+/MSTP Interoperability: Cisco at the Aggregation Layer

    Rev. 11.12 L5.1 7

    How long does it take for failover to occur?

    __________________________________________________________________

    __________________________________________________________________

    __________________________________________________________________

    16.Close all uplink ports (P1, P2 , and P3) on Cisco-A.How long does it take for failover to occur?

    __________________________________________________________________

    __________________________________________________________________

    __________________________________________________________________

    17.Open all uplink ports (P1, P2 , and P3) on Cisco-A.How long does it take for failover to occur?

    __________________________________________________________________

    __________________________________________________________________

    __________________________________________________________________

    NoteIf you have trouble, try these troubleshooting tips. If the fping times out and nevercompletes successfully again when you close a port, verify the VLAN setup onthe uplinks. Are they configured as trunks? Are all VLANs permitted? Remember:by default, the VLANs are not permitted on HP A-Series trunks.

  • 7/30/2019 LG1_00314282

    60/211

    HP Networking Interoperability

    L5.1 8 Rev. 11.12

    Configure PVST+18.On both Cisco switches, change the mode to PVST+.

    Ci sco- A( conf i g)#spanni ng- t r ee mode pvst

    19.On both HP switches, check port roles. Did they change?__________________________________________________________________

    __________________________________________________________________

    20.Disable the root port on HP-C or HP-E. Determine how long failover takes. Thenre-enable the port.

    On HP-C, you would enter:

    [ HP- C] i nt er f ace Gi gabi t Et her net 1/ 0/ 1

    [ HP- C- Gi gabi t Et her net 1/ 0/ 1] shut down[ HP- C- Gi gabi t Ethernet1/ 0/ 1] undo shut down

    On HP-E, you would enter:

    HP- E( conf i g) # i nt er f ace 1 di sabl e

    HP- E( conf i g) # i nt er f ace 1 enabl e

    How long are the failovers now? Are they (very) different? Why?

    __________________________________________________________________

    __________________________________________________________________

    __________________________________________________________________

    __________________________________________________________________

    __________________________________________________________________

    __________________________________________________________________

    21.On both Cisco switches, change the mode back to Rapid-PVST+.Ci sco- A( conf i g) #spanni ng- t r ee mode r api d- pvst

  • 7/30/2019 LG1_00314282

    61/211

    Configuring PVST+/MSTP Interoperability: Cisco at the Aggregation Layer

    Rev. 11.12 L5.1 9

    Implement load balancing between VLANs (optional)This part of lab is optional but recommended.

    In the module, you learned about how to adjust a configuration to implement loadbalancing by sending traffic over various uplinks depending on the VLAN. You will

    now implement load balancing by adjusting the cost on switches ports.

    22.On both Cisco switches, change the port cost of uplink P1 (the port between thetwo Cisco switches) as follows:

    30000 in VLAN 1 10000 in VLANs 11-13Ci sco( conf i g) #i nt er f ace gi g 1/ 0/ 1

    Ci sco( conf i g- i f ) #spanni ng- t r ee vl an 1 cost 30000

    Ci sco( conf i g- i f ) #spanni ng- t r ee vl an 11- 13 cost 10000

    NoteAs usual, enter the correct interface ID according to your Port Mapping table.

    23.Verify that the Cisco switches are correctly blocking ports. Each switch shouldblock the port for the VLAN in which it is secondary root:

    Ci sco# show spanni ng- t r ee vl an 1

    Ci sco# show spanni ng- t r ee vl an 11

    Ci sco# show spanni ng- t r ee vl an 12

    Which switch blocks the ports in the following VLANs:

    In VLAN 1: _______________________________________________________ In VLAN 11: ______________________________________________________ In VLAN 12: ______________________________________________________ In VLAN 13: ______________________________________________________

    24.Start a continuous fping between Client_1 and Server_1 (if not yet started).C: >f pi ng 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. Thenre-enable the port.

    On HP-C, you would enter:

    [ HP- C] i nt er f ace Gi gabi t Et her net 1/ 0/ 1

    [ HP- C- Gi gabi t Et her net 1/ 0/ 1] shut down

    [ HP- C- Gi gabi t Ethernet1/ 0/ 1] undo shut down

  • 7/30/2019 LG1_00314282

    62/211

    HP Networking Interoperability

    L5.1 10 Rev. 11.12

    On HP-E, you would enter:

    HP- E( conf i g) # i nt er f ace 1 di sabl e

    HP- E( conf i g) # i nt er f ace 1 enabl e

    How long are the failovers?

    __________________________________________________________________

    ______________________________________