H3C S9500 Series Operation Manual page 653

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

Advertisement

Operation Manual – MPLS
H3C S9500 Series Routing Switches
[H3C-Vlan-interface214] ip address 5.5.5.1 24
[H3C-Vlan-interface214] mpls
[H3C-Vlan-interface214] quit
# Configure the local connection.
[H3C]
ccc
vlan-interface 213
# 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.
[H3C-mpls] static-lsp egress PEB-PEA l2vpn incoming-interface vlan-interface
214 in-label 211
# Configure the remote connection.
[H3C] ccc remote-connection interface vlan-interface 212 transmit-lsp PEA-PEB
receive-lsp PEB-PEA
2)
Configure PE-B.
# Enable MPLS globally.
[H3C] mpls lsr-id 10.0.0.1
[H3C] mpls
# Enable MPLS L2VPN globally.
[H3C] mpls l2vpn
# Configure VLAN 211.
[H3C] vlan 211
[H3C-vlan211] port gigabitethernet 2/1/1
[H3C] interface vlan-interface 211
[H3C-Vlan-interface211] quit
# Enable MPLS on the interface of VLAN 212.
[H3C] vlan 212
[H3C-vlan212] port gigabitethernet 2/1/2
[H3C-vlan212] quit
[H3C] interface Vlan-interface 212
[H3C-Vlan-interface212] ip address 6.6.6.1 24
[H3C-Vlan-interface212] mpls
# 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 nexthop 6.6.6.2 out-label 200
local-conn
interface
4-8
vlan-interface
211
Chapter 4 MPLS L2VPN
outgoing-interface

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9505S9508S9512

Table of Contents