H3C S9500 Series Operation Manual
H3C S9500 Series Operation Manual

H3C S9500 Series Operation Manual

Mpls basics, routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual - MPLS Basics
H3C S9500 Series Routing Switches
Chapter 1 MPLS Basics Configuration........................................................................................ 1-1
1.1 MPLS Overview ................................................................................................................. 1-1
1.1.1 Basic Concepts of MPLS ........................................................................................ 1-2
1.1.2 Architecture of MPLS .............................................................................................. 1-5
1.1.3 MPLS and Routing Protocols .................................................................................. 1-7
1.1.4 Applications of MPLS .............................................................................................. 1-7
1.2 MPLS Configuration Basics ............................................................................................... 1-9
1.2.1 Label Advertisement and Management .................................................................. 1-9
1.2.2 PHP ....................................................................................................................... 1-10
1.2.3 TTL Processing in MPLS ...................................................................................... 1-10
1.2.4 Inspecting an MPLS LSP ...................................................................................... 1-12
1.3 LDP Overview .................................................................................................................. 1-12
1.3.1 LDP Basic Concepts ............................................................................................. 1-12
1.3.2 LDP Label Distribution .......................................................................................... 1-14
1.3.3 Fundamental Operation of LDP ............................................................................ 1-15
1.3.4 LDP Loop Detection .............................................................................................. 1-17
1.4 Configuring MPLS Basic Capability ................................................................................. 1-17
1.4.1 Configuration Prerequisites................................................................................... 1-17
1.4.2 Configuration Procedure ....................................................................................... 1-18
1.5 Configuring PHP .............................................................................................................. 1-18
1.5.1 Configuration Prerequisites................................................................................... 1-18
1.5.2 Configuration Procedure ....................................................................................... 1-18
1.6 Configuring a Static LSP.................................................................................................. 1-19
1.6.1 Configuration Prerequisites................................................................................... 1-19
1.6.2 Configuration Procedure ....................................................................................... 1-19
1.7 Configuring MPLS LDP.................................................................................................... 1-20
1.7.1 Configuration Prerequisites................................................................................... 1-20
1.7.2 MPLS LDP Configuration Tasks ........................................................................... 1-20
1.7.3 Configuring MPLS LDP Capability ........................................................................ 1-21
1.7.4 Configuring Local LDP Session Parameters......................................................... 1-22
1.7.5 Configuring Remote LDP Session Parameters..................................................... 1-22
1.7.6 Configuring the Policy for Triggering LSP Establishment ..................................... 1-23
1.7.7 Specifying the Label Processing Modes ............................................................... 1-24
1.7.8 Configuring LDP Loop Detection........................................................................... 1-25
1.7.9 Configuring LDP MD5 Authentication ................................................................... 1-26
1.7.10 Enabling MTU Signaling...................................................................................... 1-26
1.8 Configuring LDP Instances .............................................................................................. 1-26
1.8.1 Configuration Prerequisites................................................................................... 1-27

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S9500 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S9500 Series

  • Page 1: Table Of Contents

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 MPLS Basics Configuration..................1-1 1.1 MPLS Overview ......................... 1-1 1.1.1 Basic Concepts of MPLS ..................1-2 1.1.2 Architecture of MPLS ....................1-5 1.1.3 MPLS and Routing Protocols ..................
  • Page 2 Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Table of Contents 1.8.2 Configuration Procedure ..................1-27 1.9 Configuring MPLS IP TTL Processing................1-28 1.9.1 Configuration Prerequisites................... 1-28 1.9.2 Configuring MPLS IP TTL Propagation..............1-28 1.9.3 Specifying the Type of Path for ICMP Responses..........1-28 1.10 Setting the Interval for Reporting Statistics ..............
  • Page 3: Chapter 1 Mpls Basics Configuration

    Layer 3 Ethernet switch running MPLS. For the S9500 Series Routing Switches, only the line processor units (LPUs) and VPLS service processor cards (SPCs) whose names contain such suffix like C, CA or CB support MPLS.
  • Page 4: Basic Concepts Of Mpls

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Internet packet exchange (IPX), and connectionless network protocol (CLNP). That is what the term multiprotocol means. MPLS integrates both Layer 2 fast switching and Layer 3 routing and forwarding, satisfying the requirements of various new applications for network performance.
  • Page 5 Figure 1-2 Place of a label in a packet Note: Currently, the S9500 series does not support the cell mode. III. LSR Label switching router (LSR) is a fundamental component on an MPLS network. All LSRs support MPLS.
  • Page 6 For information about CR-LDP and RSVP, refer to MPLS TE Configuration in the MPLS VPN Volume. For information about BGP, refer to BGP Configuration in the IP Routing Volume. Currently, the S9500 series does not support CR-LDP. VI. LSP tunneling MPLS support LSP tunneling.
  • Page 7: Architecture Of Mpls

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration If the path that a tunnel traverses is exactly the hop-by-hop route established by the routing protocol, the tunnel is called a hop-by-hop routed tunnel. Otherwise, the tunnel is called an explicitly routed tunnel.
  • Page 8 Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration The following describes how MPLS operates: First, the LDP protocol and the traditional routing protocol (such as OSPF and ISIS) work together on each LSR to establish the routing table and the label information base (LIB) for intended FECs.
  • Page 9: Mpls And Routing Protocols

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration An LER forwards both labeled packets and IP packets on the forwarding plane and therefore uses both the LFIB and the FIB. An ordinary LSR only needs to forward labeled packets and therefore uses only the LFIB.
  • Page 10 Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration VPN 3 CE 3 PE 3 MPLS backbone VPN 2 VPN 1 CE 1 PE 1 PE 2 CE 2 Figure 1-6 MPLS-based VPN Figure 1-6 shows the basic structure of an MPLS-based VPN.
  • Page 11: Mpls Configuration Basics

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration 1.2 MPLS Configuration Basics Note: Currently, the device supports the graceful restart (GR) feature of LDP. For details about GR, refer to GR Configuration in System Volume.
  • Page 12: Php

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Liberal: In this mode, an LSR keeps any received label to FEC binding regardless of whether the binding is from its next hop for the FEC or not.
  • Page 13 Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration According to RFC 3031 “Multiprotocol Label Switching Architecture”, when an LSR labels a packet, it copies the TTL value of the original IP packet or the upper level label to the TTL field of the newly added label.
  • Page 14: Inspecting An Mpls Lsp

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration For an MPLS packet with only one level of label, the ICMP response message travels along the IP route when the TTL expires. 1.2.4 Inspecting an MPLS LSP In MPLS, the MPLS control plane is responsible for establishing an LSP.
  • Page 15 Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Using LDP, LSRs can map network layer routing information to data layer switching paths directly and further establish LSPs. LSPs can be established between both neighboring LSRs and LSRs that are not directly connected, making label switching possible at all transit nodes on the network.
  • Page 16: Ldp Label Distribution

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration An LDP identifier is used to identify an LSR label space. It is a six-byte numerical value in the format of <LSR ID>:<Label space ID>, where LSR ID is four-byte long. A label space ID of 1 means per interface, a label space ID of 0 means per platform.
  • Page 17: Fundamental Operation Of Ldp

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration In independent mode, an LSR immediately responds to its upstream LSR with label binding information no matter whether it receives that of its downstream LSR or not.
  • Page 18 Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration At the end of the discovery phase, Hello adjacency is established between LSRs, and LDP is ready to initiate session establishment. II. Session establishment and maintenance In this phase, LSRs pass through two steps to establish sessions between them: Establishing transport layer connections (that is, TCP connections) between them.
  • Page 19: Ldp Loop Detection

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration 1.3.4 LDP Loop Detection LSPs established in MPLS may be looping. The LDP loop detection mechanism can detect looping LSPs and prevent LDP messages from looping forever.
  • Page 20: Configuration Procedure

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration 1.4.2 Configuration Procedure Follow these steps to configure MPLS basic capability: To do… Use the command… Remarks Enter system view — system-view Required Configure the MPLS LSR...
  • Page 21: Configuring A Static Lsp

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration A label value of 3 represents an implicit null label and never appears in the label stack. When an LSR finds that it is assigned an implicit null label, it directly performs a pop operation, rather than substitutes the value for the original label at the stack top.
  • Page 22: Configuring Mpls Ldp

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration To do… Use the command… Remarks Enter system view — system-view static-lsp ingress lsp-name destination dest-addr { mask | Configure a static LSP mask-length } { nexthop...
  • Page 23: Configuring Mpls Ldp Capability

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Task Remarks Configuring MPLS LDP Capability Required Configuring Local LDP Session Parameters Optional Configuring Remote LDP Session Parameters Optional Configuring the Policy for Triggering LSP Establishment...
  • Page 24: Configuring Local Ldp Session Parameters

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Note: Disabling LDP on an interface terminates all LDP sessions on the interface, causing all LSPs using the sessions to be deleted. Usually, the default value of the LDP LSR ID, that of the MPLS LSR ID, answers the requirement.
  • Page 25: Configuring The Policy For Triggering Lsp Establishment

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration To do… Use the command… Remarks Specify the LDP remote Required remote-ip ip-address peer IP address Optional Set the targeted Hello mpls ldp timer hello-hold...
  • Page 26: Specifying The Label Processing Modes

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration To do… Use the command… Remarks Enter system view — system-view Enter MPLS view — mpls Optional Configure the LSP Only local loopback lsp-trigger { all | ip-prefix...
  • Page 27: Configuring Ldp Loop Detection

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration To do… Use the command… Remarks Optional liberal by default Specify the label retention label-retention { liberal | Note that you must reset mode conservative }...
  • Page 28: Configuring Ldp Md5 Authentication

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration 1.7.9 Configuring LDP MD5 Authentication To improve the security of LDP sessions, you configure MD5 authentication for the used TCP connections. Follow these steps to configure LDP MD5 authentication: To do…...
  • Page 29: Configuration Prerequisites

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Except for the command for the LDP GR feature, all commands available in MPLS LDP view can be configured in MPLS LDP VPN instance view.
  • Page 30: Configuring Mpls Ip Ttl Processing

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration 1.9 Configuring MPLS IP TTL Processing 1.9.1 Configuration Prerequisites Before configuring MPLS IP TTL propagation, be sure to complete this task: Configuring MPLS basic capability 1.9.2 Configuring MPLS IP TTL Propagation...
  • Page 31: Setting The Interval For Reporting Statistics

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Configure the ttl propagate vpn command on all the related PEs to allow IP TTL propagation of VPN packets. Configure the undo ttl expiration pop command on the ASBRs and SPEs to assure that ICMP responses can be transported back through the original LSPs.
  • Page 32: Inspecting An Mpls Lsp

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration To do… Use the command… Remarks Required 0 seconds by default, Set the interval for statistics interval meaning that the system reporting statistics interval-time should not report any statistics.
  • Page 33: Displaying Mpls Operation

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration To do… Use the command… Remarks reset mpls ldp [ all | Optional [ vpn-instance Reset LDP sessions vpn-instance-name ] [ peer Available in user view...
  • Page 34: Displaying Mpls Ldp Operation

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration 1.13.3 Displaying MPLS LDP Operation To do… Use the command… Remarks display mpls ldp [ all [ verbose ] [ | Display information about Available in any...
  • Page 35: Clearing Mpls Statistics

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration 1.13.4 Clearing MPLS Statistics To do… Use the command… Remarks Clear MPLS statistics for reset mpls statistics a specified or all MPLS interface { interface-type...
  • Page 36 Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration [SwitchA-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0 [SwitchA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 [SwitchA-ospf-1-area-0.0.0.0] quit [SwitchA-ospf-1] quit # Configure Switch B. <Sysname> system-view [Sysname] sysname SwitchB [SwitchB] ospf [SwitchB-ospf-1] area 0 [SwitchB-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0...
  • Page 37 Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration verbose command, you will find that the interfaces are at the state of Full. The following takes Switch A as an example: [SwitchA] display ospf peer verbose OSPF Process 1 with Switch ID 1.1.1.9...
  • Page 38 Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration [SwitchC] mpls ldp [SwitchC-mpls-ldp] quit [SwitchC] interface Vlan-interface 1 [SwitchC-Vlan-interface1] mpls [SwitchC-Vlan-interface1] mpls ldp [SwitchC-Vlan-interface1] quit After completing the above configurations, the local session between Switch A and Switch B and that between Switch B and Switch C should be established successfully.
  • Page 39: Configuring Ldp To Establish Lsps

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration [SwitchA] display mpls ldp session LDP Session(s) in Public Network Total number of sessions: 2 ---------------------------------------------------------------- Peer-ID Status SsnRole KA-Sent/Rcv ---------------------------------------------------------------- 2.2.2.9:0 Operational Passive 35/35 3.3.3.9:0...
  • Page 40 Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration [SwitchA] mpls [SwitchA-mpls] lsp-trigger all [SwitchA-mpls] quit # Configure Switch B. [SwitchB] mpls [SwitchB-mpls] lsp-trigger all [SwitchB-mpls] quit # Configure Switch C. [SwitchC] mpls [SwitchC-mpls] lsp-trigger all...
  • Page 41: Troubleshooting Mpls

    Operation Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration round-trip min/avg/max = 1/1/1 ms 1.15 Troubleshooting MPLS Symptom: An interface with LDP enabled cannot establish an LDP session with its peer. Analysis: An LDP session is established in two steps: establishing the TCP connection;...

Table of Contents