mpls10s06-configuring cell-mode mpls on ios platforms

Upload: engayem

Post on 30-May-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    1/38

    2001, Cisco Systems, Inc.

    Configuring Cell-

    Mode MPLS on IOSPlatforms

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    2/38

    2001, Cisco Systems, Inc. MPLS v1.05-2

    Objectives

    Upon completion of this lesson, youwill be able to perform the followingtasks:

    Configure cell-mode MPLS on ATMinterfaces on IOS platforms

    Configure cell-mode MPLS on ATM

    Virtual Path on IOS platformsMonitor and troubleshoot cell-modeMPLS on IOS platforms

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    3/38

    Configuring and

    Monitoring LC-ATM

    MPLS

    2001, Cisco Systems, Inc. MPLS v1.06-3

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    4/38

    2001, Cisco Systems, Inc. MPLS v1.05-4

    Objectives

    Upon completion of this section,you will be able to perform thefollowing tasks:

    Configure Tag Switching and MPLS onrouter LC-ATM interfaces

    Configure Tag Switching and MPLS on

    IOS-based ATM switches

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    5/38

    2001, Cisco Systems, Inc. MPLS v1.05-5

    Configuring MPLS onLC-ATM Interfaces

    Configuration tasks on routers:

    Create an LC-ATM subinterface.

    Enable Tag Distribution Protocol (TDP) or label

    distribution protocol (LDP) on thesubinterface.

    Configuration tasks on Catalyst 8510 andCatalyst 8540 ATM switches

    Configure tag switching or MPLS on the ATMinterface.

    Common optional configuration tasks

    Configure additional LC-ATM parameters.

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    6/38

    2001, Cisco Systems, Inc. MPLS v1.05-6

    interface atm number.sub-numbertag-switching

    router(config)#

    Creates an LC-ATM subinterface. By default, this subinterface uses VC 0/32 for label

    control protocols and VP=1 for label allocation.

    Configuring an LC-ATMInterface on a Router

    tag-switching ip

    mpls ip Cisco IOS Release 12.1(3)T

    mpls label-protocol [ldp | tdp | both] Cisco IOS Release 12.2T

    router(config-if)#

    Enables MPLS on an LC-ATM subinterface. Starts LDP or TDP on an LC-ATM subinterface.

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    7/38 2001, Cisco Systems, Inc. MPLS v1.05-7

    interface atm number

    tag-switching ip

    mpls ip Cisco IOS Release 12.1(3)T

    mpls label-protocol [ldp | tdp | both] Cisco IOS Release 12.2T

    router(config)#

    Enables LC-ATM control on an ATM interface Starts LDP or TDP on the interface Default control VC=0/32, label allocation uses VP=1

    on gur ng an -Interface on a Catalyst ATM

    Switch

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    8/38 2001, Cisco Systems, Inc. MPLS v1.05-8

    Basic LC-ATM Configuration

    MPLS-Enabled ATM Network

    ip cef

    !

    interface atm0/0.2tag-switching

    mpls ip

    ip unnumbered loopback 0

    interface atm0/1/3

    mpls ip

    ip unnumbered loopback 0

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    9/38 2001, Cisco Systems, Inc. MPLS v1.05-9

    no tag-switching vc-merge

    router(config)#

    VC merge is enabled by default on all ATM switches

    that support VC merge functionality. This command disables VC merge.

    Configuring Additional LC-ATM Parameters

    tag-switching atm maxhops max-hops

    router(config)#

    This command configures the maximum hops value

    for downstream on demand LDP or TDP loop

    detection.

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    10/38 2001, Cisco Systems, Inc. MPLS v1.05-10

    Disabling VC Merge

    MPLS-Enabled ATM Network

    no tag-switching vc-merge

    no tag-switching vc-merge

    A

    B

    C

    VC Merge is enabled by default on switches

    supporting it. VC Merge prevents interleaving of cells toward a

    common

    destination when they traverse the ATM network.

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    11/38 2001, Cisco Systems, Inc. MPLS v1.05-11

    tag-switching atm control-vc vpivci

    router(config-if)#

    Configures control virtual circuit between LC-ATM

    peers Default value is 0/32

    The setting has to match between LC-ATM peers

    Configuring Additional LC-ATM Parameters

    tag-switching atm vpi start-vpi[- end-vpi]

    router(config-if)#

    Configures the virtual path values that can be used

    for label allocation Default value is 1-1 (only virtual path value 1 is

    used) LC-ATM peers need at least some overlapping

    virtual path values to start a TDP or LDP session

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    12/38 2001, Cisco Systems, Inc. MPLS v1.05-12

    Configuring MPLS on VirtualPaths 5 and 6

    MPLS-Enabled ATM Network

    ip cef

    !

    interface atm 0/0.2 tag-switching

    tag-switching ip

    tag-switching atm vpi 5-6

    tag-switching atm control-vc 5 32ip unnumbered loopback 0

    !

    interface loopback 0

    ip address 1.0.0.1 255.255.255.255

    !

    router ospf 1

    network 1.0.0.1 0.0.0.0 area 0

    interface atm 0/1/3

    tag-switching iptag-switching atm vpi 5-6

    tag-switching atm control-vc 5 32

    ip unnumbered loopback 0

    !interface loopback 0

    ip address 1.0.0.2 255.255.255.255

    !

    router ospf 1

    network 1.0.0.2 0.0.0.0 area 0

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    13/38 2001, Cisco Systems, Inc. MPLS v1.05-13

    Summary

    After completing this section, youshould be able to perform thefollowing tasks:

    Configure Tag Switching and MPLS onrouter LC-ATM interfaces

    Configure Tag Switching and MPLS on

    IOS-based ATM switches

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    14/38 2001, Cisco Systems, Inc. MPLS v1.05-14

    Review Questions

    What are the steps needed toconfigure an LC-ATM interface on a

    router?

    What are the steps needed toconfigure an LC-ATM interface on an

    ATM switch?Which additional LC-ATM parameterscan you configure?

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    15/38

    Configuring LC-ATMMPLS over ATM Virtual

    Path

    2001, Cisco Systems, Inc. MPLS v1.06-15

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    16/38 2001, Cisco Systems, Inc. MPLS v1.05-16

    Objectives

    Upon completion of this section,you will be able to perform thefollowing tasks:

    Identify the scenarios where it mightbe advantageous to run MPLS overATM Virtual Path (VP)

    Describe the potential router switch

    combinations that support MPLS overATM VP

    Configure MPLS over ATM VP

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    17/38 2001, Cisco Systems, Inc. MPLS v1.05-17

    Introduction to ATM VirtualPath

    ATM VP was designed to establishswitch-to-switch connectivity betweenparts of a private ATM network over a

    public ATM network.The same concept can be used to linktwo LC-ATM domains across a publicnetwork.

    The public network switches all cellsbelonging to a path, and the ATM LSRsat each end of the path establish

    individual virtual circuits inside the-

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    18/38 2001, Cisco Systems, Inc. MPLS v1.05-18

    ATM Virtual Path Usages

    Connecting two LC-ATM domainsacross a public network

    ATM PVC can be used to link two

    routers.

    ATM VP has to be used to link an ATMswitch to another switch or a router.

    Network migration toward IP+ATMParts of the network already migratedcan be linked with virtual paths duringthe transition period.

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    19/38 2001, Cisco Systems, Inc. MPLS v1.05-19

    Public ATM Network MPLS-Enabled NetworkMPLS-Enabled Network

    ATM Virtual Path Example

    An ATM VP is created

    across the public ATM

    network

    LDP Session

    The LDP session runs directly

    between endpoints of the virtual

    path.

    MPLS data is sent in cellswith the VP value of the

    virtual path. Public ATM

    switches switch on VP

    value only.

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    20/38 2001, Cisco Systems, Inc. MPLS v1.05-20

    ATM Virtual Path UsageScenarios

    The following combinations aresupported:

    ATM switch to ATM switchATM switch to a router

    Router to router (not advisable; useframe-mode MPLS over ATM PVCinstead)

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    21/38 2001, Cisco Systems, Inc. MPLS v1.05-21

    Configuring MPLS over ATMVirtual PathSwitches

    ATM VP is configured on an ATM interface.

    An MPLS-enabled subinterface is created. The

    virtual path number equals the subinterface

    number.

    The virtual path number has to match between

    peers.! Configure LC-ATM MPLS over VP 17!

    interface atm 0/1/3

    atm pvp 17!

    interface atm 0/0.17 point-to-point

    ip unnumbered loopback 0

    tag-switching ip

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    22/38 2001, Cisco Systems, Inc. MPLS v1.05-22

    Public ATM Network MPLS-Enabled NetworkMPLS-Enabled Network

    ATM VP Switch-to-SwitchExample

    interface atm 0/1/3

    description MPLS router

    tag-switching ip

    ip unnumbered loopback 0

    !interface atm 1/0/1

    description Public ATM network

    atm pvp 35

    !

    interface atm 0/0.35 point-to-point

    tag-switching ip

    ip unnumbered loopback 0

    interface atm 0/1/1

    description MPLS router

    tag-switching ip

    ip unnumbered loopback 0

    !interface atm 2/0/1

    description Public ATM network

    atm pvp 35

    !

    interface atm 0/0.35 point-to-point

    tag-switching ip

    ip unnumbered loopback 0

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    23/38

    2001, Cisco Systems, Inc. MPLS v1.05-23

    Configuring MPLS over ATMVirtual PathRouters

    An LC-ATM interface is created. The ATM VPI value is set to the virtual path

    number.

    The control virtual circuit needs to be

    established within the virtual path. The virtual path number has to match between

    peers.!

    ! Configure LC-ATM tag switching over VP 17

    !

    interface atm 0/0.2 tag-switching

    ip unnumbered loopback 0

    tag-switching atm control-vc 17/32

    tag-switching atm vpi 17-17

    tag-switching ip

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    24/38

    2001, Cisco Systems, Inc. MPLS v1.05-24

    Public ATM Network MPLS-Enabled NetworkMPLS-Enabled Network

    ATM VP Switch-to-RouterExample

    interface atm 0/1/3

    description MPLS router

    tag-switching ip

    ip unnumbered loopback 0

    !interface atm 1/0/1

    description Public ATM network

    atm pvp 35

    !

    interface atm 0/0.35 point-to-point

    tag-switching ip

    ip unnumbered loopback 0

    ip cef

    !

    interface atm 5/0/0

    description Public ATM network

    !interface atm 5/0/0.1 tag-switching

    tag-switching ip

    ip unnumbered loopback 0

    tag-switching atm vpi 35

    tag-switching atm control-vc 35 32

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    25/38

    2001, Cisco Systems, Inc. MPLS v1.05-25

    Summary

    After completing this section, youshould be able to perform thefollowing tasks:

    Identify the scenarios where it mightbe advantageous to run MPLS overATM Virtual Path

    Describe the potential router switchcombinations that support MPLS overATM VP

    Configure MPLS over ATM VP

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    26/38

    2001, Cisco Systems, Inc. MPLS v1.05-26

    Review Questions

    Why would you deploy cell-mode MPLSover an ATM virtual path?

    How does the MPLS work over an ATMvirtual path?

    Which router/switch combinations aresupported across an ATM virtual path?

    What could be an alternate method ofconnecting two routers across public ATM

    network? What are the steps needed to configure an

    ATM virtual path?

    Why does the ATM virtual path number

    have to match between LC-ATM peers?

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    27/38

    Monitoring LC-ATMMPLS on IOS

    Platforms

    2001, Cisco Systems, Inc. MPLS v1.06-27

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    28/38

    2001, Cisco Systems, Inc. MPLS v1.05-28

    Objectives

    Upon completion of this section,you will be able to perform thefollowing tasks:

    Describe procedures for monitoringMPLS over LC-ATM interfaces on IOSplatforms

    List the debugging commandsassociated with label switching, LDP,and TDP on LC-ATM interfaces

    M it i LC ATM S ifi

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    29/38

    2001, Cisco Systems, Inc. MPLS v1.05-29

    show tag-switching atm-tdp summary

    router(config)#

    Displays the summary of ATM-TDP

    Monitoring LC-ATM SpecificLabel Switching Functions

    show tag-switching atm-tdp bindings

    router(config)#

    Displays ATM-TDP Tag Information Base (TIB)

    show tag-switching atm-tdp capabilities

    router(config)#

    Displays the LC-ATM capabilities of this label

    switch router (LSR) and peering LC-ATM LSRs

    Several other commands display labels in ATM

    format.

    h t it hi t td

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    30/38

    2001, Cisco Systems, Inc. MPLS v1.05-30

    show tag-switching atm-tdpsummary

    Router#show tag-switching atm-tdp summary

    Total number of destinations: 788

    TC-ATM bindings summary

    interface total active bindwait local remote other

    ATM0/0/0 594 592 1 296 298 1

    ATM0/0/1 590 589 0 294 296 1 ATM0/0/2 1179 1178 0 591 588 1

    ATM0/0/3 1177 1176 0 592 585 1

    ATM0/1/0 1182 1178 4 590 588 0

    Waiting for bind on ATM0/0/0 10.21.0.0/24

    Sh t it hi t td

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    31/38

    2001, Cisco Systems, Inc. MPLS v1.05-31

    Show tag-switching atm-tdpbindings

    Router#show tag-switching atm-tdp bindings

    Destination: 6.6.6.6/32

    Tailend Switch ATM0/0/3 1/34 Active -> Terminating Active

    Destination: 150.0.0.0/16

    Tailend Switch ATM0/0/3 1/35 Active -> Terminating ActiveDestination: 4.4.4.4/32

    Transit ATM0/0/3 1/33 Active -> ATM0/1/1 1/33 Active

    Sh t it hi t td

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    32/38

    2001, Cisco Systems, Inc. MPLS v1.05-32

    Show tag-switching atm-tdpcapability

    Router#show tag-switching atm-tdp capability

    VPI VCI Alloc Odd/Even VC Merge

    ATM0/1/0 Range Range Scheme Scheme IN OUT

    Negotiated [100 - 101] [33 - 1023] UNIDIR - -

    Local [100 - 101] [33 - 16383] UNIDIR EN EN

    Peer [100 - 101] [33 - 1023] UNIDIR - -

    VPI VCI Alloc Odd/Even VC Merge

    ATM0/1/1 Range Range Scheme Scheme IN OUT

    Negotiated [201 - 202] [33 - 1023] BIDIR - -

    Local [201 - 202] [33 - 16383] UNIDIR ODD NO NO

    Peer [201 - 202] [33 - 1023] BIDIR EVEN - -

    D b i ATM S ifi TDP

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    33/38

    2001, Cisco Systems, Inc. MPLS v1.05-33

    debug tag-switching atm-tdp routes

    router(config)#

    Debugs TDP requests over LC-ATM interfaces

    Debugging ATM-Specific TDPFunctions

    debug tag-switching atm-tdp states

    router(config)#

    Details TVC state transition debugging

    There should be no need to use thesedebugging commands under usual

    circumstances.

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    34/38

    2001, Cisco Systems, Inc. MPLS v1.05-34

    Summary

    After completing this section, youshould be able to perform the

    following tasks:Describe procedures for monitoringMPLS over LC-ATM interfaces on IOSplatforms

    List the debugging commandsassociated with label switching, LDP,and TDP on LC-ATM interfaces

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    35/38

    2001, Cisco Systems, Inc. MPLS v1.05-35

    Review Questions

    Which command would you use todisplay the LC-ATM capabilities of yourdevice?

    What is the unidirectional labelallocation on an LC-ATM interface?

    How can you identify an ATM switch by

    looking at the show tag-switching atm-tdp bindings printout?

    How can you display Label SwitchedPaths that havent been fully

    established yet?

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    36/38

    2001, Cisco Systems, Inc. MPLS v1.05-36

    Summary

    After completing this lesson, youshould be able to perform the

    following tasks:Configure cell-mode MPLS on ATMinterfaces on Cisco IOS platforms

    Configure cell-mode MPLS on ATM VPon Cisco IOS platforms

    Monitor and troubleshoot cell-modeMPLS on Cisco IOS platforms

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    37/38

    2001, Cisco Systems, Inc. MPLS v1.05-37

  • 8/14/2019 MPLS10S06-Configuring Cell-Mode MPLS on IOS Platforms

    38/38

    Blank for Pagination