193.169.1.21/32 POS0/2/0/1
!
!
!
router ospf 100
log adjacency changes
router-id 2.2.2.22
area 0
interface Loopback0
!
interface POS0/2/0/0
!
interface POS0/2/0/2
!
!
!
router bgp 100
address-family ipv4 unicast
!
address-family vpnv4 unicast
!
neighbor 1.1.1.1
remote-as 100
update-source Loopback0
address-family vpnv4 unicast
!
!
neighbor 1.1.1.11
remote-as 100
update-source Loopback0
address-family vpnv4 unicast
!
!
vrf red
rd 1:1
address-family ipv4 unicast
allocate-label all
!
neighbor 193.169.1.21
remote-as 2
address-family ipv4 labeled-unicast
route-policy pass-all in
route-policy pass-all out
!
!
!
!
mpls ldp
router-id 2.2.2.22
address-family ipv4
!
interface POS0/2/0/0
address-family ipv4
!
!
interface POS0/2/0/2
address-family ipv4
!
!
!
no interface POS0/2/0/0 shut
no interface POS0/2/0/1 shut
no interface POS0/2/0/2 shut
end
The following example shows the output for the
show running-config mpls ldp
command.
RP/0/RSP0/CPU0:router#
show running-config mpls ldp
mpls ldp
log
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
97
Implementing MPLS Label Distribution Protocol
MPLS LDP CSC for Multiple VRFs Configuration: Examples