BGP configuration related

bgp

#1

Hi,

Today i configured bgp in vyos and BGP state is showing active. In troubleshooting observed in sh ip bgp neighbour i observed that the local AS number is showing as remote AS number and remote as local.

Ï removed all BGP config but still showing the shi ip bgp neighbour AND sh ip bgp summary.

Not understanding where I missed out or its bug.

after removing the bgp configuration

vyos:~ sh config commands | grep bgp vyos:~
vyos:~ vyos:~
vyos:~$ sh ip bgp summary
BGP router identifier 10.21.1.2, local AS number 64857
IPv4 Unicast - max multipaths: ebgp 1 ibgp 1
RIB entries 0, using 0 bytes of memory
Peers 1, using 4560 bytes of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
x.x.249.1 4 65534 0 0 0 0 0 never Active

Total number of neighbors 1
vyos:~ vyos:~
vyos:~$ sh ip bgp neighbors
BGP neighbor is x.x.249.1, remote AS 65534, local AS 64857, external link
BGP version 4, remote router ID 0.0.0.0
BGP state = Active
Last read 03:16:44, hold time is 180, keepalive interval is 60 seconds
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 0 0
Notifications: 0 0
Updates: 0 0
Keepalives: 0 0
Route Refresh: 0 0
Capability: 0 0
Total: 0 0
Minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast

need support to fix the issue


#2

What version of VyOS are you on? Does this persist across a reboot? Also, have you tried resetting the BGP process from the cli? (If you haven’t rebooted).


#3

Hi Matt,

I have not rebooted. Current version is 1.1.8

I had reset the BGP process.


#4

Officially 1.1.8 is EOL, I’d recommend a migration at some point. I am curious about what Quagga is actually doing under the hood. Can you do a “show running-config” under vtysh?


#5

Hi Matt,

Under vtysh i am still seeing the BGP config and removed the same. Now issue got resolved.
router bgp 64857
bgp router-id 10.21.1.2
bgp network import-check
neighbor x.x.249.1 remote-as 65534
neighbor x.x.249.1 password xxxxxxxxx

Also i will upgrade the Vyos to latest firmware.

Thank you for quick response.


#6

Matt,

i am trying to build VPC between AWS & Vyos

On AWS side it’s competed and they shared the BGP config(cisco) which need to complete at our end.
BGP config is done. But on interface they are doing encapsulation. how we configure in Vyos.

Config shared by AWS on cisco device:
! Interface Configuration

! interface port-channel 1 (In case of a LAG connection)

interface GigabitEthernet0/1
! channel-group 1 mode passive (In case of a LAG connection)
no ip address

interface GigabitEthernet0/1.344
! interface port-channel 1.344 (In case of a LAG connection)
description “Direct Connect to your Amazon VPC or AWS Cloud”
encapsulation dot1Q 344
ip address x.x.249.2 255.255.255.252

On our network:

The link is terminated to switch with vlan 400 and to vyos
So my dought is AWS gave us to configure VLAN 344 how to do in vyos can you guide me.


#7

Please check here:

https://wiki.vyos.net/wiki/User_Guide (There is a section on encapsulation)


#8

Issue got fixed. Matt


closed #9

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.