OcNOS-SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : Mapping RSVP Tunnel Name to L2VPN Service : Configure MPLS, RSVP, and LDP Targeted Peer on Routers
Configure MPLS, RSVP, and LDP Targeted Peer on Routers
Configure MPLS and LDP on PE1, P, and PE2, and LDP targeted peers on PE1 and PE2.
Note: If RSVP is used for configuring trunks, LDP must be configured on PE1 and PE2, and RSVP must be configured on PE1, P, and PE2.
PE1
 
#configure terminal
Enter configure mode.
(config)#router ldp
Enter the Router mode.
(config-router)#router-id 1.1.1.1
Configure the router-id
(config-router)#transport-address ipv4 1.1.1.1
Configure the transport address to be used for a TCP session over which LDP will run on an IPv4 interface.
(config-router)#targeted-peer ipv4 2.2.2.2
Specify the targeted LDP peer on PE1.
(config-router-targeted-peer)# exit
Exit the Router targeted peer mode.
(config-router)#exit
Exit the Router mode.
(config)#router rsvp
Enter RSVP configuration mode for the router.
(config-router)#exit
Exit configuration mode of the router.
(config)#interface xe1
Specify the interface (xe1) to be configured.
(config-if)#enable-ldp ipv4
Enable LDP on interface xe1.
(config-if)#enable-rsvp
Enable RSVP on the interface.
(config-if)#exit
Exit interface mode.
(config)#rsvp-trunk t2
Configure RSVP trunk t2
(config-trunk)#to 2.2.2.2
Configure PE2 as the end of trunk
(config-trunk)#commit
Commit the transaction.
P
 
#configure terminal
Enter configure mode.
(config)#router rsvp
Enter RSVP configuration mode for the router.
(config)#exit
Exit configuration mode.
(config)#interface xe1
Specify the interface (xe1) to be configured.
(config-if)#enable-rsvp
Enable RSVP on the interface.
(config-if)#exit
Exit interface mode.
(config)#interface xe13
Specify the interface (xe13) to be configured.
(config-if)#enable-rsvp
Enable RSVP on the interface.
(config-if)#exit
Exit interface mode.
(config)#rsvp-trunk t5
Configure RSVP trunk t5
(config-trunk)#to 2.2.2.2
Configure PE2 as the end of trunk
(config-trunk)#exit
Exit configuration mode
(config)#rsvp-trunk t6
Configure RSVP trunk t6
(config-trunk)#to 1.1.1.1
Configure PE2 as the end of trunk
(config-trunk)#commit
Commit the transaction.
PE2
 
#configure terminal
Enter configure mode.
(config)#router ldp
Enter the Router mode.
(config-router)#router-id 2.2.2.2
Configure the router-id
(config-router)#transport-address ipv4 2.2.2.2
Configure the transport address to be used for a TCP session over which LDP will run on an IPv4 interface.
(config-router)#targeted-peer ipv4 1.1.1.1
Specify the targeted LDP peer on PE2.
(config-router-targeted-peer)# exit
Exit the Router targeted peer mode.
(config-router)#exit
Exit the Router mode.
(config)#router rsvp
Enter RSVP configuration mode for the router.
(config-router)#exit
Exit configuration mode of the router.
(config)#interface xe13
Specify the interface(xe13) to be configured.
(config-if)#enable-ldp ipv4
Enable LDP on interface xe13.
(config-if)#enable-rsvp
Enable RSVP on the interface.
(config-if)#exit
Exit interface mode.
(config)#rsvp-trunk t3
Configure RSVP trunk t3
(config-trunk)#to 1.1.1.1
Configure PE1 as the end of trunk
(config-trunk)#commit
Commit the transaction.
Last modified date: 07/17/2023