cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5914
Views
20
Helpful
7
Replies

can not establish BGP neighbor on N9000v

spencerlin1991
Level 1
Level 1

Hello everybody,

I am testing N9000v image on GNS3, but can't get BGP to work. I tried all versions: 7.0.3.I5.1, 5.2, 6.1, 6.2, 7.1, 7.2, no luck.

here is the config:

SW1 directly connect to SW2


SW1:
feature bgp
!
interface Ethernet1/5
  no switchport
  ip address 1.1.1.1/24
  no shutdown
!
router bgp 10
  address-family ipv4 unicast
  neighbor 1.1.1.2
remote-as 20
!


SW2:
feature bgp
!
interface Ethernet1/5
  no switchport
  ip address 1.1.1.2/24
  no shutdown
!
router bgp 20
  address-family ipv4 unicast
  neighbor 1.1.1.1
remote-as 10
!


ping is working:

sw1# ping 1.1.1.2 source-interface e1/5
PING 1.1.1.2 (1.1.1.2): 56 data bytes
64 bytes from 1.1.1.2: icmp_seq=0 ttl=254 time=3.284 ms
64 bytes from 1.1.1.2: icmp_seq=1 ttl=254 time=3.125 ms
64 bytes from 1.1.1.2: icmp_seq=2 ttl=254 time=2.667 ms
64 bytes from 1.1.1.2: icmp_seq=3 ttl=254 time=2.724 ms
64 bytes from 1.1.1.2: icmp_seq=4 ttl=254 time=3.486 ms

when i do "show ip bgp summary", no entry:


sw1# sh ip bgp summary
BGP summary information for VRF default, address family IPv4 Unicast
sw1#
sw1#

i configured address-family, but saying neighbor not configured for AF, is this a bug?

sw2(config)# sh ip bgp neighbors  1.1.1.1
BGP neighbor is 1.1.1.1,  remote AS 10, ebgp link,  Peer index 1
  BGP version 4, remote router ID 0.0.0.0
  BGP state = Idle, down for 00:25:39, retry in 0.000000
  No address family configured
  Last read never, hold time = 180, keepalive interval is 60 seconds
  Last written never, keepalive timer not running
  Received 0 messages, 0 notifications, 0 bytes in queue
  Sent 0 messages, 0 notifications, 0 bytes in queue
  Connections established 0, dropped 0
  Connection attempts 0
  Last reset by us never, due to No error
  Last reset by peer never, due to No error

  Message statistics:
                              Sent               Rcvd
  Opens:                         0                  0  
  Notifications:                 0                  0  
  Updates:                       0                  0  
  Keepalives:                    0                  0  
  Route Refresh:                 0                  0  
  Capability:                    0                  0  
  Total:                         0                  0  
  Total bytes:                   0                  0  
  Bytes in queue:                0                  0  

  No established BGP session with peer

Peer 1.1.1.1 not configured for AF IPv4 Unicast

 

please help

1 Accepted Solution

Accepted Solutions

Hi

Try closing the sentence:

router bgp 20
  address-family ipv4 unicast
  neighbor 1.1.1.1
remote-as 10

address-family ipv4 unicast

 

http://docwiki.cisco.com/wiki/Cisco_NX-OS/IOS_BGP_(Basic)_Comparison

 

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

7 Replies 7

Hi

Unfortunately I have a limited knowledge about Nexus, but it could be similar to XR-OS, try with:

 

SW1

route-policy PASS-BGP

pass

 

router bgp 10
  address-family ipv4 unicast
  neighbor 1.1.1.2
remote-as 20

address-family ipv4 unicast

route-policy PASS-BGP in
route-policy PASS-BGP out

SW2:

route-policy PASS-BGP

pass


router bgp 20
  address-family ipv4 unicast
  neighbor 1.1.1.1
remote-as 10

address-family ipv4 unicast

route-policy PASS-BGP in
route-policy PASS-BGP out  

 

Also please check this link, probably adress-family ipv4 unicast is missed:

http://docwiki.cisco.com/wiki/Cisco_NX-OS/IOS_BGP_(Basic)_Comparison

 

Hope it is useful

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

hello, thank you for the reply.

i tried, but there is no route-policy command

 

sw1(config)# route-poli?
^
% Invalid command at '^' marker.

Hi

Try closing the sentence:

router bgp 20
  address-family ipv4 unicast
  neighbor 1.1.1.1
remote-as 10

address-family ipv4 unicast

 

http://docwiki.cisco.com/wiki/Cisco_NX-OS/IOS_BGP_(Basic)_Comparison

 

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

thank you. worked now. oh my god!

 

router bgp 10
router-id 1.1.1.1
address-family ipv4 unicast
neighbor 1.1.1.2
remote-as 20
address-family ipv4 unicast

 

sw1(config)# sh ip bgp summary

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
1.1.1.2 4 20 9 11 3 0 0 00:03:08 0

Hi

You are welcome, happy to hear that.

Have a great day

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

merry christmas

Merry Christmas too!

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
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: