H3C S9500 Series Operation Manual
H3C S9500 Series Operation Manual

H3C S9500 Series Operation Manual

Routing switches
Hide thumbs Also See for S9500 Series:

Advertisement

Quick Links

Operation Manual - MPLS L2VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L2VPN Configuration........................................................................................ 1-1
1.1 MPLS L2VPN Overview..................................................................................................... 1-1
1.1.1 Introduction to MPLS L2VPN .................................................................................. 1-2
1.1.2 CCC MPLS L2VPN ................................................................................................. 1-4
1.1.3 SVC MPLS L2VPN.................................................................................................. 1-5
1.1.4 Martini MPLS L2VPN .............................................................................................. 1-5
1.1.5 Kompella MPLS L2VPN .......................................................................................... 1-6
1.2 Configuring MPLS L2VPN ................................................................................................. 1-7
1.3 Configuring CCC MPLS L2VPN ........................................................................................ 1-7
1.3.1 Configuration Prerequisites..................................................................................... 1-7
1.3.2 Configuration Procedure ......................................................................................... 1-8
1.4 Configuring SVC MPLS L2VPN......................................................................................... 1-9
1.4.1 Configuration Prerequisites................................................................................... 1-10
1.4.2 Configuration Procedure ....................................................................................... 1-10
1.5 Configuring Martini MPLS L2VPN ................................................................................... 1-10
1.5.1 Configuration Prerequisites................................................................................... 1-11
1.5.2 Configuration Procedure ....................................................................................... 1-11
1.6 Configuring Kompella MPLS L2VPN ............................................................................... 1-12
1.6.1 Configuration Prerequisites................................................................................... 1-12
1.6.2 Configuration Procedure ....................................................................................... 1-12
1.7 Displaying and Maintaining MPLS L2VPN ...................................................................... 1-15
1.7.1 Displaying the Operation of MPLS L2VPN ........................................................... 1-15
1.7.2 Resetting BGP L2VPN Connections ..................................................................... 1-16
1.8 MPLS L2VPN Configuration Example ............................................................................. 1-16
1.8.1 Example for Configuring a Local CCC Connection............................................... 1-16
1.8.2 Example for Configuring a Remote CCC Connection........................................... 1-19
1.8.3 Example for Configuring SVC MPLS L2VPN........................................................ 1-23
1.8.4 Example for Configuring Martini MPLS L2VPN .................................................... 1-27
1.8.5 Example for Configuring Kompella MPLS L2VPN ................................................ 1-33
1.8.6 Example for Configuring a Kompella Local Connection ....................................... 1-36
1.9 Troubleshooting MPLS L2VPN........................................................................................ 1-38

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 L2VPN H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 MPLS L2VPN Configuration..................1-1 1.1 MPLS L2VPN Overview..................... 1-1 1.1.1 Introduction to MPLS L2VPN .................. 1-2 1.1.2 CCC MPLS L2VPN ....................1-4 1.1.3 SVC MPLS L2VPN....................
  • Page 2: Chapter 1 Mpls L2Vpn Configuration

    Layer 3 Ethernet switch running MPLS. For the S9500 series, only the interface boards with the suffixes C, CA, or CB and VPLS service processor cards support the MPLS function. To enable MPLS on the S9500 series, you need to use the interface cards that support MPLS or VPLS service processor cards.
  • Page 3: Introduction To Mpls L2Vpn

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Kompella MPLS L2VPN 1.1.1 Introduction to MPLS L2VPN I. Traditional VPN Traditional VPNs based on asynchronous transfer mode (ATM) or frame relay (FR) are quite popular. They share the network infrastructure of carriers. However, they have...
  • Page 4 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration III. Comparison with MPLS L3VPN Compared with MPLS L3VPN, MPLS L2VPN has the following advantages: High scalability: MPLS L2VPN establishes only Layer 2 connections. It does not involve the routing information of users.
  • Page 5: Ccc Mpls L2Vpn

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration L2PDU L2PDU PE 1 PE 2 L2PDU L2PDU CE 2 CE 1 1) L2 PDU: Layer 2 protocol data unit 2) T represents tunnel label. V represents VC label. T’ represents swapped tunnel label.
  • Page 6: Svc Mpls L2Vpn

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration The most significant advantage of this method is that no label signaling is required for transferring Layer 2 VPN information. As long as MPLS forwarding is supported and service provider networks are interconnected, this method works perfectly.
  • Page 7: Kompella Mpls L2Vpn

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Once LDP establishes an LSP between the two PEs and the label exchange and the binding to CE are finished, a VC is set up and ready to transfer Layer 2 data.
  • Page 8: Configuring Mpls L2Vpn

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration 1.2 Configuring MPLS L2VPN You can select any of the implementation methods for MPLS L2VPN as needed. However, no matter what method you select, you must complete these two tasks:...
  • Page 9: Configuration Procedure

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration For a local CCC connection: the types and numbers of the incoming and outgoing interfaces For a remote CCC connection: the type and number of the incoming interface, the...
  • Page 10: Configuring Svc Mpls L2Vpn

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Caution: You do not need to configure two static LSPs for each remote CCC connection. Instead, you only need to configure the incoming and outgoing labels, where the incoming label must be exclusively for the CCC connection.
  • Page 11: Configuration Prerequisites

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration 1.4.1 Configuration Prerequisites Before configuring SVC MPLS L2VPN, complete these tasks: Configuring IGP on the PEs and P devices to guarantee the IP connectivity of the...
  • Page 12: Configuration Prerequisites

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration 1.5.1 Configuration Prerequisites Before configuring Martini MPLS L2VPN, complete these tasks: Configuring IGP on the PEs and P devices to guarantee the IP connectivity of the...
  • Page 13: Configuring Kompella Mpls L2Vpn

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Caution: For an LDP connection, there are two main parameters: one is the IP address of the peer PE, the other is the VC ID. The combination of the VC ID and the encapsulation type must be unique on a PE.
  • Page 14 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration To do… Use the command… Remarks Enter system view system-view — Enter BGP view bgp as-number — Establish the peer peer { group-name | ip-address }...
  • Page 15 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Caution: The mtu command is not recommended. It affects only parameter negotiation, which may occur; it does not affect data forwarding. With Kompella MPLS L2VPN, you must create on the PE an L2VPN instance for each VPN where a directly connected CE resides.
  • Page 16: Displaying And Maintaining Mpls L2Vpn

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration usually abundant). This can reduce the configuration modification required when CEs are added in the VPN in future. When you create a CE connection, if you set the default offset value to 1: The CE offset defaults to 1 for the first connection of the CE.
  • Page 17: Resetting Bgp L2Vpn Connections

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration To do… Use the command… Remarks display mpls l2vpn connection Display information about [ vpn-name vpn-name Available in any Kompella MPLS L2VPN [ remote-ce ce-id | down | up |...
  • Page 18 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Note: Since a local CCC connection is bidirectional, one is enough. The PE interfaces connecting the CEs require no IP addresses. II. Network diagram CE B Vlan -int1 100.1.1.2/24...
  • Page 19 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration [PE-Vlan-interface1] quit # Configure interface VLAN-interface 2. [PE] interface Vlan-interface 2 [PE-Vlan-interface2] quit # Create a local connection between CE A and CE B. [PE] ccc CEA-CEB interface Vlan-interface 1 out-interface Vlan-interface 2 Configure CE B <Sysname>...
  • Page 20: Example For Configuring A Remote Ccc Connection

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration 1.8.2 Example for Configuring a Remote CCC Connection I. Network requirements The CEs are connected to the PEs through VLAN interfaces. A remote CCC connection is created between CE A and CE B.
  • Page 21 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration [PEA] mpls lsr-id 10.0.0.1 [PEA] mpls [PEA-mpls] quit # Enable MPLS L2VPN globally. [PE1-A] mpls l2vpn # Configure interface VLAN-interface 2 and enable MPLS. [PEA] interface Vlan-interface 2 [PEA-Vlan-interface2] ip address 10.1.1.1 24...
  • Page 22 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration [P-Vlan-interface2] ip address 10.2.2.2 24 [P-Vlan-interface2] mpls [P-Vlan-interface2] quit # Configure OSPF. [P] ospf [P-ospf-1] area 0 [P-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 [P-ospf-1-area-0.0.0.0] network 10.2.2.0 0.0.0.255 [P-ospf-1-area-0.0.0.0] network 10.0.0.2 0.0.0.0...
  • Page 23 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration [PEB] ospf [PEB-ospf-1] area 0 [PEB-ospf-1-area-0.0.0.0] network 10.2.2.0 0.0.0.255 [PEB-ospf-1-area-0.0.0.0] network 10.0.0.3 0.0.0.0 # Create a remote connection from CE B to CE A, using the interface connecting CE B as the incoming interface and that connecting the P device as the outgoing interface, setting the incoming label to 201 and the outgoing label to 101.
  • Page 24: Example For Configuring Svc Mpls L2Vpn

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 10/76/180 ms # On CE B, ping interface 100.1.1.1 of CE A. (Omitted) 1.8.3 Example for Configuring SVC MPLS L2VPN I.
  • Page 25 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration [CEA] interface Vlan-interface 1 [CEA-Vlan-interface1] ip address 100.1.1.1 24 Configure PE A. <Sysname> system-view [Sysname] sysname PEA [PEA] interface Loopback 0 [PEA-LoopBack0] ip address 192.2.2.2 32 [PEA-LoopBack0] quit # Configure the LSR ID and enable MPLS globally.
  • Page 26 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration <Sysname> system-view [Sysname] sysname P [P] interface Loopback 0 [P-LoopBack0] ip address 192.4.4.4 32 [P-LoopBack0] quit # Configure the LSR ID and enable MPLS globally.
  • Page 27 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration [PEB] interface Loopback 0 [PEB-LoopBack0] ip address 192.3.3.3 32 [PEB-LoopBack0] quit # Configure the LSR ID and enable MPLS globally. [PEB] mpls lsr-id 192.3.3.3 [PEB] mpls # Configure the LSP establishment triggering policy.
  • Page 28: Example For Configuring Martini Mpls L2Vpn

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration After completing the above configurations, you can display SVC L2VPN connection information on PE A or PE B. There should be one L2VPN connection established. CE A should be able to ping interface 100.1.1.2 of CE B and CE B should be able to ping...
  • Page 29 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration II. Network diagram Device Interface IP address Device Interface IP address CE A Vlan-int10 100.1.1.1/24 Loop0 192.4.4.4/32 PE A Loop0 192.2.2.2/32 Vlan-int12 10.1.1.2/24 Vlan-int12 10.1.1.1/24 Vlan-int23 10.2.2.2/24...
  • Page 30 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration [PEA] mpls ldp [PEA-mpls-ldp] quit # Establish a remote session between PE A and PE B. [PEA] mpls ldp remote-peer 1 [PEA-mpls-ldp-remote-1] remote-ip 192.3.3.3 [PEA-mpls-ldp-remote-1] quit # Configure the interface connected with the P device, namely VLAN-interface 12, and enable LDP on the interface.
  • Page 31 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration # Configure the LSP establishment triggering policy. [P-mpls] lsp-trigger all [P-mpls] quit # Enable LDP globally. [P] mpls ldp [P-mpls-ldp] quit # Configure the interface connected with PE A, namely VLAN-interface 12, and enable LDP on the interface.
  • Page 32 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration # Configure the LSR ID and enable MPLS globally. [PEB] mpls lsr-id 192.3.3.3 [PEB] mpls # Configure the LSP establishment triggering policy. [PEB-mpls] lsp-trigger all [PEB-mpls] quit # Enable MPLS L2VPN and LDP globally.
  • Page 33 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Configure CE B. <Sysname> system-view [Sysname] sysname CEB [CEB] vlan 10 [CEB-vlan10] port Ethernet 4/1/2 [CEB-vlan10] quit [CEB] interface Vlan-interface 10 [CEB-Vlan-interface10] ip address 100.1.1.2 24...
  • Page 34: Example For Configuring Kompella Mpls L2Vpn

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration # On CE B, ping interface 100.1.1.1 of CE A. (Omitted) 1.8.5 Example for Configuring Kompella MPLS L2VPN I. Configuration prerequisites CE A and CE B are respectively connected to PE A and PE B through VLAN interfaces.
  • Page 35 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration The detailed configuration steps are omitted. After configuration, you can issue the display mpls ldp session and display mpls ldp peer commands to view the LDP sessions and peer relationship established, or the display mpls lsp command to view the LSPs established.
  • Page 36 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration [PEA-mpls-l2vpn-vpn1] route-distinguisher 100:1 [PEA-mpls-l2vpn-vpn1] vpn-target 1:1 [PEA-mpls-l2vpn-vpn1] ce ce1 id 1 range 10 [PEA-mpls-l2vpn-ce-vpn1-ce1] connection ce-offset 2 interface vlan-interface [PEA-mpls-l2vpn-ce-vpn1-ce1] quit [PEA-mpls-l2vpn-vpn1] quit # Configure PE B.
  • Page 37: Example For Configuring A Kompella Local Connection

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration round-trip min/avg/max = 34/68/94 ms 1.8.6 Example for Configuring a Kompella Local Connection I. Network requirements A Kompella local connection is required between CE A and CE B.
  • Page 38 Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration After completing the above configurations, you can issue the display mpls l2vpn connection command on the PE. You should see that an L2VPN connection is established and is in the state of up.
  • Page 39: Troubleshooting Mpls L2Vpn

    Operation Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration 1.9 Troubleshooting MPLS L2VPN Symptom 1: After the L2VPN configuration, the peer PEs cannot ping each other. The output of the display mpls l2vc command shows that the VC is down and the remote VC label is invalid.

Table of Contents