BGP peer doesn't work with Nexus 9K's

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
ejeangilles
Posts: 7
Joined: Sat Apr 29, 2017 2:53 pm

BGP peer doesn't work with Nexus 9K's

Post by ejeangilles » Tue Feb 20, 2018 2:43 pm

Has anyone experience routers not being able to peer with BGP to Nexus 9K's?

This is get the message I get on my routers. This happens whether I peer with the directly connected interfaces or loopbacks.

Connectivity is fine but just not able to peer. I get constantly get the msg "%BGP-5-NBR_RESET: Neighbor active reset (Peer closed the session)
%BGP_SESSION-5-ADJCHANGE: neighbor IPv4 Unicast topology base removed from session Peer closed the session"

Uldis (UD)
Posts: 5081
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: BGP peer doesn't work with Nexus 9K's

Post by Uldis (UD) » Tue Feb 20, 2018 9:36 pm

works mate
router ospf 1
router-id 1.1.1.1

router bgp 65000
router-id 1.1.1.1
address-family ipv4 unicast
network 1.1.1.1/32
neighbor 2.2.2.2
remote-as 65000
update-source loopback0
address-family ipv4 unicast

ejeangilles
Posts: 7
Joined: Sat Apr 29, 2017 2:53 pm

Re: BGP peer doesn't work with Nexus 9K's

Post by ejeangilles » Tue Feb 20, 2018 10:39 pm

Ok. By chance can you tell me what IOS version and image your running on those 2 devices. I would like to duplicate it in my lab.

Uldis (UD)
Posts: 5081
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: BGP peer doesn't work with Nexus 9K's

Post by Uldis (UD) » Wed Feb 21, 2018 1:29 am

Code: Select all


Nexus 9000v is a demo version of the Nexus Operating System

Software
  BIOS: version 
  NXOS: version 7.0(3)I7(2)
  BIOS compile time:  
  NXOS image file is: bootflash:///nxos.7.0.3.I7.2.bin
  NXOS compile time:  11/22/2017 13:00:00 [11/22/2017 21:55:29]

Code: Select all

Cisco IOS Software, Linux Software (I86BI_LINUX-ADVENTERPRISEK9-M), Version 15.4(2)T4, DEVELOPMENT TEST SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Thu 08-Oct-15 21:21 by prod_rel_team
BGP cfg on NX-OS

Code: Select all

router bgp 65000
  router-id 1.1.1.1
  address-family ipv4 unicast
  neighbor 2.2.2.2
    remote-as 65000
    update-source loopback0
    address-family ipv4 unicast
BGP on IOL 15.4.2

Code: Select all

router bgp 65000
 bgp router-id 2.2.2.2
 bgp log-neighbor-changes
 neighbor 1.1.1.1 remote-as 65000
 neighbor 1.1.1.1 update-source Loopback0
 !
 address-family ipv4
  network 2.2.2.2 mask 255.255.255.255
  neighbor 1.1.1.1 activate
 exit-address-family

Code: Select all

NX1# sh ip bgp summary 
BGP summary information for VRF default, address family IPv4 Unicast
BGP router identifier 1.1.1.1, local AS number 65000
BGP table version is 3, IPv4 Unicast config peers 1, capable peers 1
0 network entries and 0 paths using 0 bytes of memory
BGP attribute entries [0/0], BGP AS path entries [0/0]
BGP community entries [0/0], BGP clusterlist entries [0/0]

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
2.2.2.2         4 65000       8       7        3    0    0 00:03:41 0         
NX1# 

Code: Select all

Router#sh ip bgp summary 
BGP router identifier 2.2.2.2, local AS number 65000
BGP table version is 1, main routing table version 1

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
1.1.1.1         4        65000       6       5        1    0    0 00:00:57        0
Router#

ejeangilles
Posts: 7
Joined: Sat Apr 29, 2017 2:53 pm

Re: BGP peer doesn't work with Nexus 9K's

Post by ejeangilles » Wed Feb 21, 2018 8:11 pm

Thanks. It looks like what I have. The only thing I can think of is the Nexus Qemu Nic settings. Should it be set to tpl(e1000).

See attached.
You do not have the required permissions to view the files attached to this post.

Uldis (UD)
Posts: 5081
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: BGP peer doesn't work with Nexus 9K's

Post by Uldis (UD) » Wed Feb 21, 2018 10:00 pm

correct tple1000

ejeangilles
Posts: 7
Joined: Sat Apr 29, 2017 2:53 pm

Re: BGP peer doesn't work with Nexus 9K's

Post by ejeangilles » Thu Feb 22, 2018 3:07 am

I installed EVE on different computer and tried the same setup and I still get the same thing. Im also on the latest EVE version.

This is Nexus code I'm running and configuration......

Nexus 9000v is a demo version of the Nexus Operating System

Software
BIOS: version
NXOS: version 7.0(3)I7(3)
BIOS compile time:
NXOS image file is: bootflash:///nxos.7.0.3.I7.3.bin
NXOS compile time: 2/12/2018 13:00:00 [02/12/2018 19:13:48]

router bgp 100
address-family ipv4 unicast
neighbor 1.1.1.2
remote-as 100

This is the IOL version I'm running and the config......

Cisco IOS Software, Linux Software (I86BI_LINUX-ADVENTERPRISEK9-M), Version 15.4(1)T, DEVELOPMENT TEST SOFTWARE
Router uptime is 1 hour, 31 minutes
System returned to ROM by reload at 0
System image file is "unix:/opt/unetlab/addons/iol/bin/i86bi-linux-l3-adventerprisek9-15.4"
Last reload reason: Unknown reason

router bgp 100
bgp log-neighbor-changes
neighbor 1.1.1.1 remote-as 100
!
address-family ipv4
neighbor 1.1.1.1 activate

Please let me know anything I can try or look at...
You do not have the required permissions to view the files attached to this post.

Uldis (UD)
Posts: 5081
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: BGP peer doesn't work with Nexus 9K's

Post by Uldis (UD) » Thu Feb 22, 2018 7:47 pm

could you please use exact CFGs what I shown above.....
your bgp cfgs has shortage...

look at my cfg

router bgp 65000
router-id 1.1.1.1
address-family ipv4 unicast
neighbor 2.2.2.2
remote-as 65000
update-source loopback0
address-family ipv4 unicast


nexus, those address family commands, 2 times is a MUST....

ejeangilles
Posts: 7
Joined: Sat Apr 29, 2017 2:53 pm

Re: BGP peer doesn't work with Nexus 9K's

Post by ejeangilles » Thu Feb 22, 2018 8:43 pm

Wow. That worked. That simple config was right in front of my eyes. Thanks so much for pointing me in the right directions. YOU DA MAN!!!

Post Reply