cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1243
Views
0
Helpful
2
Replies

Routing Issue - BGP between Nexus9000 and Cisco Switch Catalyst.

Hi,

I am trying to establish EBGP peering neighbourship from my two (Nexus9000 C9300v Chassis) on VPC with my Next hop which is Cisco Switch Catalyst.
But from Cisco Switch Catalyst side state showing active, but from Nexus9000 it is idle.
Below are the config from Nexus9000 :
1. version nxos.9.3.8

2. 2 Nexus Switches

3. We are running VPC between 2 switches Nexus
Cisco Switch Catalyst physically connected via a vPC

4.

Fusion_N7K1# show running-config vpc

!Command: show running-config vpc
!Running configuration last done at: Mon Aug 30 15:22:41 2021
!Time: Mon Aug 30 15:35:24 2021
version 9.3(8) Bios:version
feature vpc
vpc domain 20
peer-keepalive destination 10.10.10.2 source 10.10.10.1 vrf keepalive
peer-gateway
layer3 peer-router
interface port-channel20
vpc peer-link
interface port-channel98
vpc 98
interface port-channel99
vpc 99

interface Vlan3003
description vrf interface to External router
no shutdown
no ip redirects
ip address 10.102.100.10/30
no ipv6 redirects
!
interface Ethernet1/4
description ***To_Border_1***
switchport mode trunk
switchport trunk native vlan 923
switchport trunk allowed vlan 3003-3004
channel-group 99 mode active
!
interface port-channel99
description ***To_Border_1***
switchport mode trunk
switchport trunk native vlan 923
switchport trunk allowed vlan 3003-3004
vpc 99
!

BGP
Fusion_N7K1# show running-config | section bgp
feature bgp
router bgp 65003
dynamic-med-interval 60
router-id 1.1.1.1
address-family ipv4 unicast
network 10.102.100.8/30
neighbor 10.102.100.9
remote-as 65001
update-source Vlan3003
disable-connected-check
ebgp-multihop 2
address-family ipv4 unicast
weight 65535
advertisement-interval 1

Below are the debug messages from Nexus. Can you spport.
Fusion_N7K1# show ip bgp summary
BGP summary information for VRF default, address family IPv4 Unicast
BGP router identifier 1.1.1.1, local AS number 65003
BGP table version is 4, IPv4 Unicast config peers 1, capable peers 0
1 network entries and 1 paths using 244 bytes of memory
BGP attribute entries [1/172], 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
10.102.100.9 4 65001 0 0 0 0 0 06:08:01 Idle

Fusion_N7K1# 2021 Aug 30 15:14:24.491621 bgp: [28997] (default) EVT: 10.102.100.9 remote iod 76 resolving l3 addr
2021 Aug 30 15:14:24.492005 bgp: [28997] (default) EVT: 10.102.100.9 peer connection retry timer expired
2021 Aug 30 15:14:24.493474 bgp: [28997] (default) EVT: 10.102.100.9 Triggered active open for peer
2021 Aug 30 15:14:24.498424 bgp: [28997] (default) EVT: 10.102.100.9 went from Idle to Active (Active setup)
2021 Aug 30 15:14:24.498982 bgp: [28997] (default) EVT: 10.102.100.9 Schedule wait for connect
2021 Aug 30 15:14:24.499009 bgp: [28997] (default) EVT: 10.102.100.9 Wait (30 sec) for session setup response
2021 Aug 30 15:14:27.514313 bgp: [28997] (default) EVT: 10.102.100.9 connect to peer is successful
2021 Aug 30 15:14:27.514348 bgp: [28997] (default) EVT: 10.102.100.9 sending OPEN message to peer
2021 Aug 30 15:14:27.515257 bgp: [28997] (default) EVT: PARTIALWRITE: OPEN to 10.102.100.9 wanted to write 76 bytes, only -1 written: No route to host
2021 Aug 30 15:14:27.515276 bgp: [28997] (default) EVT: 10.102.100.9 cleaning up active peer setup, thread id 0x0


Fusion_N7K1# show vpc consistency-parameters global

Legend:
Type 1 : vPC will be suspended in case of mismatch

Name Type Local Value Peer Value
------------- ---- ---------------------- -----------------------
STP MST Simulate PVST 1 Enabled Enabled
STP Port Type, Edge 1 Normal, Disabled, Normal, Disabled,
BPDUFilter, Edge BPDUGuard Disabled Disabled
STP MST Region Name 1 "" ""
STP Disabled 1 None None
STP Mode 1 Rapid-PVST Rapid-PVST
STP Bridge Assurance 1 Enabled Enabled
STP Loopguard 1 Disabled Disabled
STP MST Region Instance to 1
VLAN Mapping
STP MST Region Revision 1 0 0
Interface-vlan admin up 2 98-99,3003-3004, 98-99,3001-3002,
3007-3008 3005-3006
Interface-vlan routing 2 1,98-99,3003-3004, 1,98-99,3001-3002,
capability 3007-3008 3005-3006
VTP password 2 -
VTP pruning status 2 - Disabled
VTP version 2 - 1
VTP mode 2 - Transparent
VTP domain 2 -
Xconnect Vlans 1
QoS (Cos) 2 ([0-7], [], [], [], ([0-7], [], [], [],
[], [], [], []) [], [], [], [])
Network QoS (MTU) 2 (1500, 1500, 1500, (1500, 1500, 1500,
1500, 0, 0, 0, 0) 1500, 0, 0, 0, 0)
Network Qos (Pause: 2 (F, F, F, F, F, F, F, (F, F, F, F, F, F, F,
T->Enabled, F->Disabled) F) F)
Input Queuing (Bandwidth) 2 (0, 0, 0, 0, 0, 0, 0, (0, 0, 0, 0, 0, 0, 0,
0) 0)
Input Queuing (Absolute 2 (F, F, F, F, F, F, F, (F, F, F, F, F, F, F,
Priority: T->Enabled, F) F)
F->Disabled)
Output Queuing (Bandwidth 2 (100, 0, 0, 0, 0, 0, (100, 0, 0, 0, 0, 0,
Remaining) 0, 0) 0, 0)
Output Queuing (Absolute 2 (F, F, F, T, F, F, F, (F, F, F, T, F, F, F,
Priority: T->Enabled, F) F)
F->Disabled)
Allowed VLANs - 1,98-99,3001-3008 1,98-99,3001-3008
Local suspended VLANs - - -
Fusion_N7K1#

2 Replies 2

guverma
Cisco Employee
Cisco Employee

Hello,

 

BGP events complains on "2021 Aug 30 15:14:27.515257 bgp: [28997] (default) EVT: PARTIALWRITE: OPEN to 10.102.100.9 wanted to write 76 bytes, only -1 written: No route to host"

 

could you please check how you reach neighbor?

 

also, could you please confirm if this is N7k or N9k switch?

Hi @guverma 

 

Switch is Nexus9000 C9300v Chassis

I have two switch Nexus N9K vpc between them . configure  BGP AS 65003

I have two switch Catalyst  configure  BGP AS 65001

show ip bgp summary 

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.102.100.9 4 65001 48 46 0 0 0 00:41:58 Idle
Fusion_N9K1#

please find beloww this logs: 

Fusion_N9K1# 2021 Sep 4 11:56:25.927307 bgp: [28997] (default) EVT: 10.102.100.9 remote iod 76 resolving l3 addr
2021 Sep 4 11:56:25.927357 bgp: [28997] (default) EVT: 10.102.100.9 peer connection retry timer expired
2021 Sep 4 11:56:25.928335 bgp: [28997] (default) EVT: 10.102.100.9 Triggered active open for peer
2021 Sep 4 11:56:25.929307 bgp: [28997] (default) EVT: 10.102.100.9 went from Idle to Active (Active setup)
2021 Sep 4 11:56:25.931552 bgp: [28997] (default) EVT: 10.102.100.9 Schedule wait for connect
2021 Sep 4 11:56:25.931657 bgp: [28997] (default) EVT: 10.102.100.9 Wait (30 sec) for session setup response
2021 Sep 4 11:56:55.889575 bgp: [28997] (default) EVT: 10.102.100.9 session setup (active) timed out, setup state=Active busy=0
2021 Sep 4 11:56:55.889607 bgp: [28997] (default) EVT: 10.102.100.9 cleaning up active peer setup, thread id 0x0
2021 Sep 4 11:56:55.889741 bgp: [28997] (default) EVT: Starting timer (60 sec 0 nsec) for 10.102.100.9 connection retry
2021 Sep 4 11:58:23.074910 bgp: [28997] (default) EVT: 10.102.100.9 remote iod 76 resolving l3 addr
2021 Sep 4 11:58:23.074960 bgp: [28997] (default) EVT: 10.102.100.9 peer connection retry timer expired
2021 Sep 4 11:58:23.075928 bgp: [28997] (default) EVT: 10.102.100.9 Triggered active open for peer
2021 Sep 4 11:58:23.076074 bgp: [28997] (default) EVT: 10.102.100.9 went from Idle to Active (Active setup)
2021 Sep 4 11:58:23.077646 bgp: [28997] (default) EVT: 10.102.100.9 Schedule wait for connect
2021 Sep 4 11:58:23.077824 bgp: [28997] (default) EVT: 10.102.100.9 Wait (30 sec) for session setup response
2021 Sep 4 11:58:53.080327 bgp: [28997] (default) EVT: 10.102.100.9 session setup (active) timed out, setup state=Active busy=0
2021 Sep 4 11:58:53.080365 bgp: [28997] (default) EVT: 10.102.100.9 cleaning up active peer setup, thread id 0x0
2021 Sep 4 11:58:53.080971 bgp: [28997] (default) EVT: Starting timer (60 sec 0 nsec) for 10.102.100.9 connection retry
2021 Sep 4 12:00:07.574966 bgp: [28997] (default) EVT: 10.102.100.9 remote iod 76 resolving l3 addr
2021 Sep 4 12:00:07.589565 bgp: [28997] (default) EVT: 10.102.100.9 peer connection retry timer expired
2021 Sep 4 12:00:07.593744 bgp: [28997] (default) EVT: 10.102.100.9 Triggered active open for peer
2021 Sep 4 12:00:07.594138 bgp: [28997] (default) EVT: 10.102.100.9 went from Idle to Active (Active setup)
2021 Sep 4 12:00:07.595932 bgp: [28997] (default) EVT: 10.102.100.9 Schedule wait for connect
2021 Sep 4 12:00:07.596038 bgp: [28997] (default) EVT: 10.102.100.9 Wait (30 sec) for session setup response
2021 Sep 4 12:00:37.602238 bgp: [28997] (default) EVT: 10.102.100.9 session setup (active) timed out, setup state=Active busy=0
2021 Sep 4 12:00:37.602428 bgp: [28997] (default) EVT: 10.102.100.9 cleaning up active peer setup, thread id 0x0
2021 Sep 4 12:00:37.602543 bgp: [28997] (default) EVT: Starting timer (60 sec 0 nsec) for 10.102.100.9 connection retry
2021 Sep 4 12:01:48.368435 bgp: [28997] (default) EVT: 10.102.100.9 remote iod 76 resolving l3 addr
2021 Sep 4 12:01:48.368495 bgp: [28997] (default) EVT: 10.102.100.9 peer connection retry timer expired
2021 Sep 4 12:01:48.369313 bgp: [28997] (default) EVT: 10.102.100.9 Triggered active open for peer
2021 Sep 4 12:01:48.369826 bgp: [28997] (default) EVT: 10.102.100.9 went from Idle to Active (Active setup)
2021 Sep 4 12:01:48.371216 bgp: [28997] (default) EVT: 10.102.100.9 Schedule wait for connect
2021 Sep 4 12:01:48.371272 bgp: [28997] (default) EVT: 10.102.100.9 Wait (30 sec) for session setup response

 

 

For second N9K2

Fusion_N9K2# show ip bgp summary
BGP summary information for VRF default, address family IPv4 Unicast
BGP router identifier 2.2.2.2, local AS number 65003
BGP table version is 13, IPv4 Unicast config peers 1, capable peers 1
1 network entries and 1 paths using 244 bytes of memory
BGP attribute entries [1/172], BGP AS path entries [1/6]
BGP community entries [0/0], BGP clusterlist entries [0/0]

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.102.100.1 4 65001 87 78 13 0 0 00:09:57 1

 

find below this logs

2021 Sep 4 12:17:19.786077 bgp: [23375] PEV: Sent message 2 to bgp_cleanup_mq
2021 Sep 4 12:17:19.789801 bgp: [23375] PEV: Starting periodic BRIB processing
2021 Sep 4 12:17:19.794080 bgp: [23375] (VN_Corperate) PEV: [IPv4 Unicast] Table cleanup skipped. reason: Active route-target count
2021 Sep 4 12:17:19.794423 bgp: [23375] (VN_Corperate) PEV: [IPv6 Unicast] Table cleanup skipped. reason: Table refcount
2021 Sep 4 12:17:19.794546 bgp: [23375] (VN_Corperate) PEV: vrf_ctx cleanup: refcount 0
2021 Sep 4 12:17:19.794610 bgp: [23375] PEV: [IPv4 Unicast] Shadow NH 10.102.100.1 not deleted, refcount 1, delete refcount 0
2021 Sep 4 12:17:19.794690 bgp: [23375] (default) PEV: [IPv4 Unicast] Cleanup for dest 10.102.253.254/32 exits: 1+0 adv_path, reason: (attached path)()
2021 Sep 4 12:17:19.794739 bgp: [23375] (default) PEV: [IPv4 Unicast] Table cleanup skipped. reason: Shadow NH
2021 Sep 4 12:17:19.794800 bgp: [23375] (default) PEV: [IPv6 Unicast] Table cleanup skipped. reason: Table refcount
2021 Sep 4 12:17:19.794867 bgp: [23375] (default) PEV: [VPNv4 Unicast] Table cleanup skipped. reason: Table refcount
2021 Sep 4 12:17:19.795171 bgp: [23375] (default) PEV: [VPNv6 Unicast] Table cleanup skipped. reason: Table refcount
2021 Sep 4 12:17:21.399959 bgp: [23375] (default) EVT: MRAI expired for peer 10.102.100.1, signal update generation
2021 Sep 4 12:17:21.400477 bgp: [23375] (default) EVT: Starting MRAI timer for peer 10.102.100.1, sent an update