
Cisco IOS XR Training Page 91
© 2012 Jeffrey Fry FryGuy.Net
Ok, now that that is done – we need to do the same thing on PE2
RP/0/RSP0/CPU0:R2(config)#router bgp 1
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp)# address-family ipv4 unicast
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp-af)# address-family vpnv4 unicast
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp-af)# neighbor 150.1.1.1
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp-nbr)# remote-as 1
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp-nbr)# update-source Loopback0
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp-nbr)# address-family vpnv4 unicast
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp-nbr-af)# vrf R3R4
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp-vrf)# rd 100:100
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp-vrf)# address-family ipv4 unicast
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp-vrf-af)# redistribute ospf R3R4 match internal
external
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp-vrf-af)#exit
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp-vrf)#exit
RP/0/RSP0/CPU0:R2(config-/jointfilesconvert/356165/bgp-vrf)#comm
Fri Apr 20 02:27:10.491 UTC
Ok, since this is a VPNv4 neighbor we need to check to see if we are
neighbored up:
RP/0/RSP0/CPU0:R2#sh /jointfilesconvert/356165/bgp vpnv4 unicast summary
Fri Apr 20 02:28:05.467 UTC
BGP router identifier 150.2.2.2, local AS number 1
BGP generic scan interval 60 secs
BGP table state: Active
Table ID: 0x0 RD version: 3889240856
BGP main routing table version 25
BGP scan interval 60 secs
BGP is operating in STANDALONE mode.
Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer
StandbyVer
Speaker 25 25 25 25 25
25
Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
St/PfxRcd
150.1.1.1 0 1 14168 14173 25 0 0 00:00:48
2
RP/0/RSP0/CPU0:R2#
Yup, we are up and we can see what we are receiving 2 prefixes as well!
Wonder what they are? To find out, use the show /jointfilesconvert/356165/bgp vpnv4 unicast command
RP/0/RSP0/CPU0:R2#sh /jointfilesconvert/356165/bgp vpnv4 unicast
Fri Apr 20 02:29:01.202 UTC
BGP router identifier 150.2.2.2, local AS number 1
BGP generic scan interval 60 secs
Komentarze do niniejszej Instrukcji