H3C S9500 Series Operation Manual page 664

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

Advertisement

Operation Manual – MPLS
H3C S9500 Series Routing Switches
[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] connection ce-offset 3 interface vlan-interface
213
[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
[H3C-ospf-1-area-0.0.0.0] network 1.1.1.1 0.0.0.0
[H3C-ospf-1-area-0.0.0.0] network 5.5.5.0 0.0.0.255
2)
Configure PE-B.
# Enable MPLS globally.
[H3C] mpls lsr-id 3.3.3.3
[H3C] mpls
# Configure an IP address for the Loopback interface.
[H3C] interface loopback 0
[H3C-LoopBack0] ip address 3.3.3.3 32
# Enable MPLS L2VPN globally.
[H3C] mpls l2vpn
# Configure VLAN 211.
[H3C] vlan 211
[H3C-vlan211] port gigabitethernet 2/1/1
[H3C-vlan211] quit
# Configure VLAN 212.
[H3C] vlan 212
[H3C-vlan212] port gigabitethernet 2/1/2
[H3C-vlan212] interface vlan-interface 212
[H3C-Vlan-interface 212] quit
# Configure VLAN 213.
[H3C] vlan 213
[H3C-vlan213] port gigabitethernet 2/1/3
[H3C-vlan212] interface vlan-interface 213
[H3C-Vlan-interface 213] quit
# Enable MPLS on the interface of VLAN 214.
[H3C] vlan 214
4-19
Chapter 4 MPLS L2VPN

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9505S9508S9512

Table of Contents