04-28-2019 05:33 AM
Hi,
I am configuring a connection to Cogent at two sites. I need to use local-as at both sites. One site is working Ok, the other is not changing the local-as
Running 16.3.5c on ISR4331/K9
router bgp 65010
bgp router-id A.A.A.A
!
address-family ipv4 vrf vrfFixed-Cogent
redistribute static
neighbor B.B.B.B remote-as 174
neighbor B.B.B.B local-as 202013 no-prepend replace-as
neighbor B.B.B.B timers 5 15
neighbor B.B.B.B activate
neighbor B.B.B.B soft-reconfiguration inbound
#sho ip bgp vpnv4 vrf vrfFixed-Cogent summary
BGP router identifier A.A.A.A, local AS number 65010
Can anyone help ?
Thanks
john
04-28-2019 05:49 AM
how about other one working, Same IOS ? same hardware ?
can you post other one working to have look ? also show version and BGP outputs
04-28-2019 05:58 AM
The other is completely different, it is a Catalyst with IP SERVICES
router bgp 205019
address-family ipv4 vrf vrfFixed-Cogent
neighbor C.C.C.C remote-as 174
neighbor C.C.C.C local-as 202013 no-prepend replace-as dual-as
neighbor C.C.C.C description BGP session to Cogent
neighbor C.C.C.C timers 5 15
neighbor C.C.C.C activate
neighbor C.C.C.C send-community
neighbor C.C.C.C soft-reconfiguration inbound
neighbor C.C.C.C route-map rmCogent-public out
exit-address-family
04-28-2019 05:54 AM
Update
I cleared the BGP and I am now sending 23456
Apr 28 12:52:27 UTC: BGP: B.B.B.B active sending OPEN, version 4, my as: 23456, holdtime 15 seconds, ID DF197229
04-28-2019 06:09 AM
That normally means that your neighbour doesn't support the 64-bit AS numbers. So, any 64-bit AS number in the path gets replaced with 23456.
04-28-2019 08:26 AM
04-28-2019 08:29 AM
Found the problem
BGP bug
https://bst.cloudapps.cisco.com/bugsearch/bug/CSCva92216/?rfs=iqvred
Apr 28 15:08:14 UTC: BGP: B.B.B.B active rcvd OPEN w/ optional parameter type 2 (Capability) len 14
Apr 28 15:08:14 UTC: BGP: B.B.B.B active OPEN has CAPABILITY code: 5, length 12
Apr 28 15:08:14 UTC: BGP: B.B.B.B active unrecognized capability code: 5
Apr 28 15:08:14 UTC: BGP: B.B.B.B active malformed/un-supported OPEN capability
04-28-2019 01:22 PM
Hello
@jpbourke wrote:
Hi,
I am configuring a connection to Cogent at two sites. I need to use local-as at both sites. One site is working Ok, the other is not changing the local-as
router bgp 65010
bgp router-id A.A.A.A
!
address-family ipv4 vrf vrfFixed-Cogent
redistribute static
neighbor B.B.B.B remote-as 174
neighbor B.B.B.B local-as 202013 no-prepend replace-as
neighbor B.B.B.B timers 5 15
neighbor B.B.B.B activate
neighbor B.B.B.B soft-reconfiguration inbound
Are you wanting the router in ASN 174 to peer with the local-as number you have applied?
I would suggest not to use soft reconfiguration and use the route refresh capability instead it much less resource intensive on the router with large rib tables also append dual-as and then soft reset the bgp session which will initiate router refresh.
Example:
sh ip bgp neighbors | s Route refresh <-- to check it your router and the peer supports RR, if so
router bgp 65010
no neighbor B.B.B.B soft-reconfiguration inbound
neighbor B.B.B.B local-as 202013 no-prepend replace-as dual-as
exit
clear ip bgp vrf vrfFixed-Cogent ipv4 unicast 174 soft out
clear ip bgp vrf vrfFixed-Cogent ipv4 unicast 174 soft in
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide