06-27-2016 02:24 PM - edited 03-12-2019 07:22 AM
Hi Expert,
I am using using Route-map in BGP redistribution and wants to allow one directly connected N/w but the problem encountering initially is route-map redistributing all N/ws and after 30sec to 1 min it start redistributing the right prefix meaning 192.168.10.0/24 in below mentioned example.
router bgp 12
bgp log-neighbor-changes
redistribute connected route-map ALLOW-NETWORKS
neighbor 172.16.200.10 remote-as 10
neighbor 172.16.200.10 password BGPpassword
neighbor 172.16.200.11 remote-as 11
neighbor 172.16.200.11 password BGPpassword
!
!
virtual-service csr_mgmt
ip shared host-interface GigabitEthernet1
activate
!
ip-172-31-20-75# show ip bgp
BGP table version is 19, local router ID is 192.168.12.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 172.16.200.0/24 0.0.0.0 0 32768 ?
*> 172.31.16.0/20 0.0.0.0 0 32768 ?
*> 192.168.10.0 172.16.200.10 0 0 10 ?
* 172.16.200.10 0 11 13 10 ?
*> 192.168.12.0 0.0.0.0 0 32768 ?
* 192.168.13.0 172.16.200.13 0 11 13 ?
*> 172.16.200.13 0 10 13 ?
!
route-map ALLOW-NETWORKS permit 10
match ip address prefix-list ALLOW-PREFIXES
!
route-map ALLOW-NETWORKS deny 20
!
ip prefix-list ALLOW-PREFIXES seq 5 permit 192.168.10.0/24
!
CSR1000V-NEW#show ip bgp neighbors 172.16.200.12 advertised-routes
BGP table version is 43, local router ID is 192.168.202.202
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.0.0.0/24 0.0.0.0 0 32768 ?
*> 172.16.200.0/24 0.0.0.0 0 32768 ?
*> 192.168.10.0 0.0.0.0 0 32768 ?
*> 192.168.11.0 172.16.200.11 0 12 11 ?
*> 192.168.12.0 172.16.200.12 0 0 12 ?
*> 192.168.13.0 172.16.200.13 0 0 13 ?
CSR1000V-NEW#show ip bgp neighbors 172.16.200.12 advertised-routes
BGP table version is 41, local router ID is 192.168.202.202
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 192.168.10.0 0.0.0.0 0 32768 ?
*> 192.168.11.0 172.16.200.11 0 12 11 ?
*> 192.168.12.0 172.16.200.12 0 0 12 ?
*> 192.168.13.0 172.16.200.13 0 0 13 ?
Total number of prefixes 4
Regards
Syed.
06-28-2016 01:59 AM
What router is this and what software version are you running?
06-28-2016 02:08 AM
This is Cisco CSR1000V and running Version 03.16.02.S.
show version
Cisco IOS XE Software, Version 03.16.02.S - Extended Support Release
Cisco IOS Software, CSR1000V Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.5(3)S2, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Thu 11-Feb-16 09:00 by mcpre
Cisco IOS-XE software, Copyright (c) 2005-2016 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0. For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.
ROM: IOS-XE ROMMON
CSR1000V-AZURE uptime is 6 days, 6 hours, 30 minutes
Uptime for this control processor is 6 days, 6 hours, 34 minutes
System returned to ROM by reload
System image file is "bootflash:packages.conf"
Last reload reason: <NULL>
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
License Level: ax
License Type: Permanent
Next reload license Level: ax
cisco CSR1000V (VXE) processor (revision VXE) with 2263907K/6147K bytes of memory.
Processor board ID 9NGOBUZVSSS
2 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
7083640K bytes of physical memory.
7774207K bytes of virtual hard disk at bootflash:.
Configuration register is 0x2102
06-28-2016 02:10 AM
Are you able to upgrade to the gold star release 3.16.3S?
06-28-2016 11:44 AM
Currently we couldn't upgrade but could u please confirm there is nothing missing with respect to configuration or is there any known issue reported.
Regards
Syed.
06-28-2016 12:37 PM
Based on what I can see I can not see an issue.
06-28-2016 04:45 PM
Hi Philip,
Is there any way we can check internally with the Development or BU as we are continuously seeing this behaviour and can be reproduce very easily and can share the setup on request.
Regards
Syed.
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: