OcNOS-SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : Mapping RSVP Tunnel Name to L2VPN Service : Configure VC
Configure VC
Configure the VC. Each VC ID uniquely identifies the Layer-2 circuit among all the Layer-2 circuits.
Note: Both PE routers (endpoints) must be configured with the same VC-ID (100 in this example).
PE1
 
#configure terminal
Enter configure mode.
(config)#mpls l2-circuit t2 100 2.2.2.2
Configure the VC for PE2. In this example, t2 is the VC name, 200 is the VC ID, and 2.2.2.2 is the VC endpoint IP address
(config-pseudowire)#tunnel-name t2
Configure the RSVP Trunk name as t2
(config-pseudowire)#exit
Exit pseudowire config mode.
(config)#mpls l2-circuit t3 300 2.2.2.2 mode
raw
Configure the VC for PE2. In this example, t3 is the VC-name, 300 is the VC ID and 2.2.2.2 is the VC endpoint IP address
(config-pseudowire)#tunnel-name t2
Configure RSVP Trunk name as t2
(config-pseudowire)#commit
Commit the transaction.
PE2
 
#configure terminal
Enter configure mode.
(config)#mpls l2-circuit t2 100 1.1.1.1
Configure the VC for PE1. In this example, t2 is the VC name, 200 is the VC ID, and 1.1.1.1 is the VC endpoint IP address
(config-pseudowire)#tunnel-name t3
Configure RSVP Tunnel name as t3
(config-pseudowire)#exit
Exit pseudowire config mode.
(config)#mpls l2-circuit t2 100 1.1.1.1
Configure the VC for PE1. In this example, t2 is the VC name, 200 is the VC ID, and 1.1.1.1 is the VC endpoint IP address using rsvp trunk name t2
(config-pseudowire)#tunnel-name t3
Configure RSVP Tunnel name as t2
(config-pseudowire)#exit
Exit pseudowire config mode.
(config)#mpls l2-circuit t3 300 1.1.1.1 mode raw
Configure the VC for PE1. In this example, t3 is the VC name, 300 is the VC ID, and 1.1.1.1 is the VC endpoint IP address
(config-pseudowire)#tunnel-name t3
Configure RSVP Tunnel name as t3
(config-pseudowire)#commit
Commit the transaction.
Last modified date: 07/17/2023