OcNOS-RON-6.3.1 : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : MPLS-TP Layer 2 Virtual Circuit : Map VC to Tunnel
Map VC to Tunnel
PE1 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls l2-circuit-fib-entry 101 1111 2222 tp-tunnel tnl1 eth2
Configured an FIB entry. In this example, 111 is the incoming label, 2222 is the outgoing label, 3.3.3.3 is the endpoint, eth2 is the AC interface name, and tnl1 is the tunnel name.
PE2 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls l2-circuit-fib-entry 101 2222 1111 tp-tunnel tnl2 eth3
Configure an FIB entry. In this example, 2222 is the incoming label, 1111 is the outgoing label, 3.3.3.3 is the endpoint, eth3 is the AC interface name, and tnl2 is the tunnel name.
Validation
For a correct configuration, the following commands should provide these results:
Status is Active in the show mpls vc-table command on ingress/egress for the configured virtual circuit
Ping from CE1 to CE2 is successful
Validation is displayed in the following example. The command used to display Layer 2 virtual circuit information:
show mpls mapped-routes (in the NSM daemon)
 
#show mpls vc-table
VC-ID Vlan-ID Inner-Vlan-ID Access-Intf Network-Intf Out Label tunnel-Label Nexthop Status
100 2 N/A eth1 eth2 1111 2001 N/A Active
Last modified date: 07-13-2023