H3C S9500 Series Operation Manual page 837

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

Advertisement

Operation Manual – MPLS VLL
H3C S9500 Series Routing Switches
[PE2] mpls
[PE2-mpls]static-lsp
50.50.50.1 out-label 50
[PE2-mpls]static-lsp
in-label 180
[PE2-mpls]static-lsp ingress 2to1 destination 1.1.1.1 32 nexthop 10.10.10.1
out-label 3
[PE2-mpls]static-lsp
in-label 3
# Configure the peer relationship with PE1 and PE3 so that the LDP remote session
can be established between them.
[PE2] mpls ldp remote-peer 0
[PE2-mpls-remote0]remote-ip 3.3.3.3
[PE2-mpls-remote0]mpls ldp remote-peer 1
[PE2-mpls-remote1]remote-ip 1.1.1.1
# Configure Martini MPLS VLL connection.
[PE2]interface g5/2/1
[PE2-GigabitEthernet5/2/1] port link-type trunk
[PE2-GigabitEthernet5/2/1] port trunk permit vlan 101
[PE2-GigabitEthernet5/2/1] vlan 101
[PE2-vlan101]interface Vlan-interface 101
[PE2-Vlan-interface101]mpls l2vc 1.1.1.1 1101 encapsulation ethernet primary
[PE2-Vlan-interface101]mpls l2vc 3.3.3.3 101 encapsulation ethernet backup
[PE2-Vlan-interface101]quit
[PE2]
3)
Configure PE3
# Configure LSR ID and enable MPLS, LDP and MPLS VLL globally.
[PE3] mpls lsr-id 3.3.3.3
[PE3] mpls
[PE3-mpls] quit
[PE3] mpls ldp
[PE3] mpls l2vpn
# Configure the Loopback interface address to serve as the Router ID.
[PE3]interface LoopBack 0
[PE3-LoopBack0] ip address 3.3.3.3 255.255.255.255
# Configure VLAN 70 and enable MPLS.
[PE3] vlan 70
[PE3-vlan70] interface vlan 70
[PE3-Vlan-interface70] ip address 70.70.70.2 255.255.255.0
[PE3-Vlan-interface70] mpls
ingress
pe2-pe3
egress
pe3-pe2
incoming-interface
egress
1to2
incoming-interface
1-22
Chapter 1 MPLS VLL
destination
3.3.3.3
Vlan-interface50
Vlan-interface10
32
nexthop

Advertisement

Table of Contents
loading

Table of Contents