Kompella Mpls Vll Configuration Example (2) - H3C S9500 series Operation Manual

Routing switches
Hide thumbs Also See for S9500 series:
Table of Contents

Advertisement

Operation Manual – MPLS VLL
H3C S9500 Series Routing Switches
[H3C-Vlan-interface22] mpls ldp enable
[H3C-Vlan-interface22] mpls ldp transport-ip interface
[H3C-Vlan-interface22] quit
# Configure BGP.
[H3C] bgp 100
[H3C-bgp] group 100 internal
[H3C-bgp] peer 100 connect-interface loopback0
[H3C-bgp] peer 1.1.1.1 group 100
[H3C-bgp] l2vpn-family
[H3C-bgp-af-l2vpn] peer 100 enable
# Create and configure VPN1.
[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
[H3C -ospf-1-area-0.0.0.0] network 3.3.3.3 0.0.0.0
[H3C -ospf-1-area-0.0.0.0] network 6.6.6.0 0.0.0.255
3)
Configure the P device.
The configuration of P device is the same as that of standard MPLS configuration.
Refer to the P Router Configuration section of BGP/MPLS VPN.
Note that the VLANs on PE A and PE B which are connected to the CEs must be
consistent.

1.4.3 Kompella MPLS VLL Configuration Example (2)

I. Network requirements
PE-A, PE-B, PE-C, and the P device constitute an MPLS domain.
Configure Kompella MPLS L2VPNs on PE-A, PE-B, and PE-C, and specify the CE
range to 10.
Set up Kompella MPLS VLL connections between PE-A and PE-B and between
PE-A and PE-C.
Configure CE-A1 and CE-B to communicate at Layer 2, and CE-A2 and CE-C to
communicate at Layer 2.
1-31
Chapter 1 MPLS VLL

Advertisement

Table of Contents
loading

Table of Contents