H3C S9500 Series Operation Manual - page 25
Operation Manual – MPLS VLL
H3C S9500 Series Routing Switches
Chapter 1 MPLS VLL
1-24
[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.
[P] mpls
[P-mpls] static-lsp transit pe2-pe3 incoming-interface Vlan-interface50
in-label 50 nexthop 70.70.70.2 out-label 3
[P-mpls] static-lsp transit pe3-pe2 incoming-interface Vlan-interface70
in-label 170 nexthop 50.50.50.2 out-label 180
5) Manually switch the primary/backup virtual connection on VLAN 101, the virtual
interface of PE2.
# Display the information about Martini MPLS VLL virtual connection.
[PE2] display mpls l2vc interface Vlan-interface 101
Interface: Vlan-interface101 State: up, Service: VLL
VC-ID: 1101, VC State: (p)up,
Peer Ip Address: 1.1.1.1 primary
Encapsulation: vlan
Group ID: Local 0, Remote 0,
VC Label: Local 32768, Remote 33015,
MTU:Local 1500, Remote 0
Tunnel Type: LSP, Tunnel Destination: 1.1.1.1, Tunnel Index: 31746,
AC: up, LDP Session: up
VC-ID: 101, VC State: (b)up,
Peer Ip Address: 3.3.3.3 backup
Encapsulation: vlan
Group ID: Local 0, Remote 0,
VC Label: Local 32769, Remote 33015,
MTU:Local 1500, Remote 0
Tunnel Type: LSP, Tunnel Destination: 3.3.3.3, Tunnel Index: 31744,
AC: up, LDP Session: up
# Switch the Martini MPLS VLL virtual connection to backup.
[PE2] interface Vlan-interface 101
[PE2-Vlan-interface101] mpls l2vc manual-switch backup