cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3231
Views
15
Helpful
3
Replies

Why basic BGP not working (between XR and NX-OS)

news2010a
Level 3
Level 3

I have two nodes (XR and NX7K) running in my testing network.

I can ping each other (10.187.227.1 and 10.187.227.2) XR and NX7K nodes respectively.

 

However the BGP session is not being established successfully.


Can someone point me to where the problem is?

 

XR
RP/0/0/CPU0:ios#show ip bgp summ
(...)

Process       RcvTblVer   bRIB/RIB   LabelVer  ImportVer  SendTblVer  StandbyVer
Speaker               2          1          2          0           1           2

Some configured eBGP neighbors (under default or non-default vrfs)
do not have both inbound and outbound policies configured for IPv4 Unicast
address family. These neighbors will default to sending and/or
receiving no routes and are marked with '!' in the output below.
Use the 'show bgp neighbor <nbr_address>' command for details.

Neighbor        Spk    AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down  St/PfxRcd
10.187.227.2      0 65505       0      40        0    0    0 00:00:00 Idle!  <===========  It remains in 'idle'

 
RP/0/0/CPU0:ios#show run | b bgp
Sat May  2 11:06:36.066 UTC
Building configuration...
router bgp 65405
 address-family ipv4 unicast
  network 10.187.227.0/24
  network 192.168.200.1/32
 !
 neighbor 10.187.227.2
  remote-as 65505
  address-family ipv4 unicast
  !
 !
!
end


===================================================
NX7K SWITCH

!Command: show running-config bgp
!Time: Sat May  2 11:03:49 2015

version 7.1(0)D1(1)
feature bgp

router bgp 65505
  router-id 192.168.200.2
  address-family ipv4 unicast
    network 10.187.227.0/24
    network 192.168.200.2/32
  neighbor 10.187.227.1 remote-as 65405

 

3 Replies 3

configuration looks correct !!!

 

Just dont forget to add a route-policy inbound and outbound in XR for eBGP connections, otherwise you wont receive nor propagate routes.

 

 neighbor 10.187.227.2
  remote-as 65505
  address-family ipv4 unicast 

 route-policy POLICY in

route-policy POLICY out

 

 

cheers

 

what is missing is the bgp router ID configuration on the XR side.

if you enable debug bgp event you'll see it complaining about that I am sure.

The RPL config is necessary to exchange and import routes but even without the peering should come up.

configure a bgp router id and I think you'll see it working right away.

xander

Vinit Jain
Cisco Employee
Cisco Employee

Hello,

Could you please add router-id on the XR device. Secondly, i see that there are no msgRcvd counters incrementing on XR device. Which means, either the XR device is not processing it or Nexus device is not sending it. Could you please check if you have the reachability on the connected interface and there is no ACL as such which might be blocking it.

Please share the show bgp summary output from the nexus side as well

Regards

Vinit

Thanks
--Vinit
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: