OcNOS-RON-6.3.1 : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : MPLS OAM Configuration : Manual VC with VCCV and BFD Enabled
Manual VC with VCCV and BFD Enabled
PE1
 
(config)#mpls vpls v1 100
Configure VPLS v1 with id 100 on PE2.
(config)#router ldp
Enter the Router LDP mode.
(config-router)#pw-status-tlv
Configure PW status TLV for PW status signaling.
(config-router)#targeted-peer ipv4 3.4.5.6
Configure targeted LDP session to PE2 loopback address.
(config-router)#exit
Exit Router LDP mode.
(config)#interface eth2
Enter interface mode.
(config-if)#label-switching
Configure label-switching on provider interface of PE1.
(config-if)#enable-ldp ipv4
Enable LDP on the provider interface of PE1.
(config-if)#exit
Exit interface mode.
(config)#mpls l2-circuit test 100 3.4.5.6
Configure PW named “test” with PW-ID 100.
(config-pseudowire)#manual-pseudowire
Enable pseudowire.
(config-pseudowire)#vccv cc-type type-1
Enable VCCV CC-Type as 1.
(config-pseudowire)#vccv cv-type type-3
Enable VCCV CV-Type as 3.
(config-pseduowire)#exit
Exit pseudowire mode.
(config)#mpls l2-circuit-fib-entry 100 111 222 3.4.5.6 eth2 eth1
Configure mpls-l2 circuit FIB entry for manual VC.
(config)#bridge 1 protocol ieee vlan-bridge
Specify VLAN for bridge 1.
(config)#interface eth1
Enter interface mode.
(config-if)#switchport
Switch to Layer-2 mode.
(config-if)#switchport mode access
Set the switching characteristics of this interface to Access mode.
(config-if)#mpls-l2-circuit test
Bind the PW to access interface.
(config-if)#exit
Exit interface mode.
(config)#exit
Exit Configure mode.
P
 
#configure terminal
Enter configure mode.
(config)#router ldp
Enter the Router LDP mode.
(config-router)#pw-status-tlv
Configure PW status TLV for PW status signaling.
(config-router)#exit
Exit Router LDP mode.
(config)#interface eth1
Enter interface mode.
(config-if)#label-switching
Configure label-switching.
(config-if)#enable-ldp ipv4
Enable LDP.
(config-if)#exit
Exit interface mode.
(config)#interface eth2
Enter interface mode.
(config-if)#label-switching
Configure label-switching.
(config-if)#enable-ldp ipv4
Enable LDP.
(config-if)#exit
Exit interface mode.
(config)#exit
Exit Configure mode.
PE2
 
#configure terminal
Enter configure mode.
(config)#router ldp
Enter the Router LDP mode.
(config-router)#pw-status-tlv
Configure PW status TLV for PW status signalling.
(config-router)#targeted-peer ipv4 1.2.3.4
Configure targeted LDP session to PE1 loopback address.
(config-router)#exit
Exit Router LDP mode.
(config)#interface eth1
Enter interface mode.
(config-if)#label-switching
Configure label-switching on provider interface of PE2.
(config-if)#enable-ldp ipv4
Enable LDP on the provider interface of PE2.
(config-if)#exit
Exit interface mode.
(config)#mpls l2-circuit test 100 3.4.5.6
Configure PW named “test” with PW-ID 100.
(config-pseudowire)#manual-pseudowire
Enable pseudowire.
(config-pseudowire)#vccv cc-type type-1
Enable VCCV CC-Type as 1.
(config-pseudowire)#vccv cv-type type-3
Enable VCCV CV-Type as 3.
(config-pseduowire)#exit
Exit pseudowire mode.
(config)#mpls l2-circuit-fib-entry 100 222 111 1.2.3.4 eth2 eth1
Configure mpls-l2 circuit FIB entry for the manual VC.
(config)#bridge 1 protocol ieee vlan-bridge
Specify the VLAN for bridge 1.
(config)#interface eth2
Enter interface mode.
(config-if)#switchport
Switch to Layer-2 mode.
(config-if)#switchport mode access
Set the switching characteristics of this interface to Access mode.
(config-if)#mpls-l2-circuit test
Bind the PW to access interface.
(config-if)#exit
Exit interface mode.
(config)#exit
Exit Configure mode.
Last modified date: 07-13-2023