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

Operation Manual - MPLS VLL
H3C S9500 Series Routing Switches
Chapter 1 MPLS VLL ..................................................................................................................... 1-1
1.1 MPLS VLL Overview.......................................................................................................... 1-2
1.1.1 Concepts in MPLS VLL ........................................................................................... 1-2
1.1.2 Introduction to MPLS VLL ....................................................................................... 1-2
1.1.3 Packet Forwarding .................................................................................................. 1-3
1.1.4 Implementation........................................................................................................ 1-4
1.2 CCC MPLS VLL Configuration .......................................................................................... 1-6
1.2.1 Configuring CCC MPLS VLL................................................................................... 1-6
1.2.2 CCC MPLS VLL Configuration Example (1) ........................................................... 1-8
1.2.3 CCC MPLS VLL Configuration Example (2) ......................................................... 1-11
1.3 Martini MPLS VLL Configuration ..................................................................................... 1-13
1.3.1 Configuring Martini MPLS VLL.............................................................................. 1-13
1.3.2 Martini MPLS VLL Configuration Example............................................................ 1-16
1.4 Kompella MPLS VLL Configuration ................................................................................. 1-25
1.4.1 Configuring Kompella MPLS VLL.......................................................................... 1-25
1.4.2 Kompella MPLS VLL Configuration Example (1) .................................................. 1-28
1.4.3 Kompella MPLS VLL Configuration Example (2) .................................................. 1-31
1.5 Displaying and Debugging MPLS VLL ............................................................................ 1-34
1.6 Troubleshooting MPLS VLL............................................................................................. 1-34

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 VLL H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 MPLS VLL ........................1-1 1.1 MPLS VLL Overview......................1-2 1.1.1 Concepts in MPLS VLL ................... 1-2 1.1.2 Introduction to MPLS VLL ..................1-2 1.1.3 Packet Forwarding ....................
  • Page 2: Chapter 1 Mpls Vll

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL Chapter 1 MPLS VLL When configuring MPLS VLL, go to these sections for information you are interested in: MPLS VLL Overview CCC MPLS VLL Configuration Martini MPLS VLL Configuration...
  • Page 3: Mpls Vll Overview

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL 1.1 MPLS VLL Overview 1.1.1 Concepts in MPLS VLL MPLS Virtual Leased Line (MPLS VLL) provides transparently transmission of Layer 2 data of users over an MPLS network. From the users’ perspective, this MPLS network is a Layer switched network through which Layer 2 connections can be set up between different sites.
  • Page 4: Packet Forwarding

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL Tunnel label Tunnel label VC label VC label Tunnel label Tunnel label VC label VC label L2 PDU L2 PDU L2 PDU L2 PDU Label Stack...
  • Page 5: Implementation

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL 1.1.4 Implementation At present, the official standard for MPLS VLL has not been established yet. However, the PPVPN (Provider-provisioned Virtual Private Network) group of IETF (Internet Engineering Task Force) defines multiple framework drafts, two of which are commonly used.
  • Page 6 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL VPN type Implementation Feature Uses extended LDP as the signaling to transmit the VC information. Uses VC-TYPE and VC-ID to Local switching like CCC is not identify VCs.
  • Page 7: Ccc Mpls Vll Configuration

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL Caution: MPLS VLL does not support NDP transparent transmission. It is not recommended to bind VLLs on the default VLAN interface. Martini VLL and Kompella VLL modes support multiport access mode, while CCC does not support this.
  • Page 8 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL To do... Use the command... Remarks Required. Two types of CCC connections exist: local CCC connection and ccc ccc-connection-name remote CCC connection. Establish local CCC interface vlan-interface...
  • Page 9: Ccc Mpls Vll Configuration Example (1)

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL 1.2.2 CCC MPLS VLL Configuration Example (1) I. Network requirements CEs and the corresponding PEs shown in Figure 1-5 are interconnected through their GigabitEthernet ports. Data is encapsulated as Ethernet packets at the data link layer. A local connection is required between CE-A and CE-B, and a remote connection between CE-A and CE-C.
  • Page 10 # Configure a static LSP, with the out-label of 100 and the egress interface being the interface of VLAN 214. [H3C] mpls [H3C-mpls] static-lsp ingress PEA-PEB l2vpn nexthop 5.5.5.2 out-label 100 # Configure a static LSP, with the in-label of 211 and the ingress interface being the interface of VLAN 214.
  • Page 11 # Configure a static LSP, with the out-label of 200 and the egress interface being the interface of VLAN 212. [H3C-mpls] static-lsp ingress PEB-PEA l2vpn nexthop 6.6.6.2 out-label 200 # Configure a static LSP, with the in-label of 101 and the ingress interface being the interface of VLAN 212.
  • Page 12: Ccc Mpls Vll Configuration Example (2)

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL [H3C-mpls] static-lsp transit PEB-PEA l2vpn incoming-interface vlan-interface 212 in-label 200 nexthop 5.5.5.1 out-label 211 Caution: Following must be met to make a local CCC connection to go up: The interfaces of the two CE are physically up.
  • Page 13 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL III. Configuration procedure Configure PE-A # Configure the LSR-ID. Enable MPLS and MPLS L2VPN. <PE-A> system-view [PE-A] mpls lsr-id 1.1.1.1 [PE-A] mpls [PE-A] mpls l2vpn # Create public network VLAN 12, configure a VLAN interface, and then enable MPLS for the VLAN interface.
  • Page 14: Martini Mpls Vll Configuration

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL <P> system-view [P-mpls] static-lsp transit P l2vpn incoming-interface Vlan-interface34 in-label 843 nexthop 192.168.14.1 out-label 814 1.3 Martini MPLS VLL Configuration 1.3.1 Configuring Martini MPLS VLL Follow these steps to configure Martini MPLS VLL: To do...
  • Page 15 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL To do... Use the command... Remarks Required To configure a Martini MPLS mpls l2vc ip-address VLL in VLAN interface view vc-id on a PE, you need to provide...
  • Page 16 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL To do... Use the command... Remarks display mpls l2vc [ interface { GigabitEthernet interface-number [ vlan vlan-id ] | Display the information vlan-interface Optional about Martini MPLS VLL...
  • Page 17: Martini Mpls Vll Configuration Example

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL configuration or an aggregation port. Other configurations, such other VLL connections, IGMP, and IGMP snooping, cannot be made on the specified VLAN interface; otherwise these configurations will not work normally. To allow normal operation of other services configured on the VLAN interface, you need to remove the Martini VLL configuration made on the port.
  • Page 18 [H3C-A] mpls ldp remote-peer 1 [H3C-A-remote-peer-1] remote-ip 192.1.1.2 # Configure a Martini MPLS VLL connection. [H3C-A] interface vlan-interface 212 [H3C-A-Vlan-interface212] mpls l2vc 192.1.1.2 20 encapsulation ethernet Configure PE-B. # Configure the LSR-ID. Enable MPLS, MPLS LDP, and MPLS VLL. [H3C-B] mpls lsr-id 192.1.1.2...
  • Page 19 [H3C-B] mpls ldp remote-peer 1 [H3C-B-mpls-remote1] remote-ip 192.1.1.1 # Configure a Martini MPLS VLL connection. [H3C-B] interface vlan-interface 212 [H3C-B-Vlan-interface212] mpls l2vc 192.1.1.1 20 encapsulation ethernet Configure P. # Configure the LSR-ID. Enable MPLS, and LDP. [H3C-P] mpls lsr-id 192.1.1.3...
  • Page 20: Martini Mpls Vll Primary/Backup Pw Configuration Example

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL [H3C-P-Vlan-interface21] ip address 168.1.1.2 255.255.0.0 [H3C-P-Vlan-interface21] quit [H3C-P] vlan 22 [H3C-P-vlan22 port gigabitethernet 2/1/2 [H3C-P-vlan22] quit [H3C-P] interface Vlan-interface 22 [H3C-P-Vlan-interface22] mpls [H3C-P-Vlan-interface22] mpls ldp enable [H3C-P-Vlan-interface22] ip address 169.1.1.2 255.255.0.0...
  • Page 21 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL In system view, enable the primary connection auto-restore function. II. Network diagram P E 1 P E 3 CE 1 1 .1 .1.1 CE 3 3.3 .3 .3...
  • Page 22 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL [PE1-mpls] static-lsp egress 2to1 incoming-interface Vlan-interface10 in-label 3 # Configure the peer relationship with PE2 so that the LDP remote session can be established between them.
  • Page 23 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL [PE2] mpls [PE2-mpls]static-lsp ingress pe2-pe3 destination 3.3.3.3 nexthop 50.50.50.1 out-label 50 [PE2-mpls]static-lsp egress pe3-pe2 incoming-interface Vlan-interface50 in-label 180 [PE2-mpls]static-lsp ingress 2to1 destination 1.1.1.1 32 nexthop 10.10.10.1...
  • Page 24 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL [PE3-Vlan-interface70] interface g5/1/1 [PE3-GigabitEthernet5/1/1] port link-type trunk [PE3-GigabitEthernet5/1/1] port trunk permit vlan 70 # Create a static LSP from PE3 to PE2. [PE3]mpls [PE3-mpls]static-lsp egress pe2-pe3...
  • Page 25 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL [P-GigabitEthernet 4/1/18]q [P]vlan 50 [P-vlan50] interface vlan 50 [P-Vlan-interface50] ip address 50.50.50.1 255.255.255.0 [P-Vlan-interface50] mpls [P-Vlan-interface50] interface g4/1/17 [P-GigabitEthernet 4/1/17] port link-type trunk [P-GigabitEthernet 4/1/17] port trunk permit vlan 50 # Configure a transit LSP from PE2 to PE3 and a transit LSP from PE3 to PE2 on the P device.
  • Page 26: Kompella Mpls Vll Configuration

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL [PE2-Vlan-interface101] quit # Restore the Martini MPLS VLL virtual connection to primary globally. [PE2] mpls l2vc manual-restore # In system view, enable the primary connection auto-restore function for Martini MPLS VLL virtual connections.
  • Page 27 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL To do... Use the command... Remarks Required By default, only the peers of BGP peer { group-name | IPv4 unicast address families are Activate the peer or peer-address } active.
  • Page 28 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL To do... Use the command... Remarks ce name [ id id Required Create a CE or modify [ range range ] Each CE created on a PE needs...
  • Page 29: Kompella Mpls Vll Configuration Example (1)

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL Caution: You can only change the CE range to a number larger than the existing one. For example, you can change a CE range from 10 to 20, rather than from 10 to 5. The only way to change a CE range to a smaller number is to remove the CE and create a new one.
  • Page 30 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL II. Network diagram V L AN 21 2 V LA N2 1 V L AN 22 V LA N2 1 2 CE A P E A...
  • Page 31 [H3C] mpls l2vpn vpn1 encapsulation ethernet [H3C-mpls-l2vpn-vpn1] route-distinguisher 100:1 [H3C-mpls-l2vpn-vpn1] vpn-target 100:1 # Create CE1 and configure the corresponding connection. [H3C-mpls-l2vpn-vpn1] ce ce1 id 1 range 200 [H3C-mpls-l2vpn-vpn1-ce1] connection ce-offset 2 interface vlan-interface 212 [H3C-mpls-l2vpn-vpn1-ce1] quit # Enable OSPF. [H3C] ospf 1 router-id 1.1.1.1 [H3C-ospf-1] area 0.0.0.0...
  • Page 32: Kompella Mpls Vll Configuration Example (2)

    [H3C] mpls l2vpn vpn1 encapsulation ethernet [H3C-mpls-l2vpn-vpn1] route-distinguisher 100:1 [H3C-mpls-l2vpn-vpn1] vpn-target 100:1 # Create CE2 and configure the corresponding connection. [H3C-mpls-l2vpn-vpn1] ce ce2 id 2 range 200 [H3C-mpls-l2vpn-vpn1-ce2] connection ce-offset 1 interface vlan-interface 212 [H3C-mpls-l2vpn-vpn1-ce2] quit # Enable OSPF. [H3C] ospf 1 router-id 3.3.3.3 [H3C -ospf-1] area 0.0.0.0...
  • Page 33 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL II. Network diagram Figure 1-10 Network diagram for Kompella MPLS VLL (2) III. Configuration procedure Configure PE-A. # Configure LSR ID and enable MPLS and LDP.
  • Page 34 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL [PE-A-ospf-1-area-0.0.0.0] quit # Enable BGP and configure the BGP peer relationship with PE-B and PE-C, using the loopback interface as the source interface. [PE-A] bgp 100 [PE-A-bgp] group ibgp internal [PE-A-bgp] peer 1.1.1.2 group ibgp...
  • Page 35: Displaying And Debugging Mpls Vll

    Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL Configure a Loopback interface. Its IP address is used as the Router-ID. Enable OSPF and advertise the routes of the interfaces. 1.5 Displaying and Debugging MPLS VLL To do...
  • Page 36 Operation Manual – MPLS VLL H3C S9500 Series Routing Switches Chapter 1 MPLS VLL VC state being down indicates the encapsulation types or VC IDs of the two ends are not the same. Make sure the interface types (Access or Trunk) of the two PE interfaces and the VC IDs of the two ends are consistent.

Table of Contents