cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
277
Views
5
Helpful
1
Replies

BGP ROUTE_MAP ISSUE

shivlu jain
Level 5
Level 5

i am having 7600 which is rinning with ospf as IGP and bgp peering with my ISP.I want to distribute the routes (10.255.255.252/32 and 10.255.255.10/32) thru route map to my neighbors.

my conf is

ip prefix-list TEST1 permit 10.255.255.252/32

ip prefix-list TEST1 permit 10.255.255.10/32

route-map TEST permit

match ip address prefix-list TEST1

router bgp 65006

neighbor 1.1.1.1 remote-as 65007

neighbor 1.1.1.1 route-map TEST out

my problem is i am not getting the both routes at the oher end.

regadrs

shivlu

1 Accepted Solution

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

Shivlu,

You first need to inject these prefixes in BGP via a network statement or redistribution from the IGP (or static). The network statement is usually the preferred approach. Note that the network statement has to match a route in the RIB for that route to be injected in BGP.

router bgp 65006

network 10.255.255.10 mask 255.255.255.255

network 10.255.255.252 mask 255.255.255.255

Hope this helps,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

1 Reply 1

Harold Ritter
Cisco Employee
Cisco Employee

Shivlu,

You first need to inject these prefixes in BGP via a network statement or redistribution from the IGP (or static). The network statement is usually the preferred approach. Note that the network statement has to match a route in the RIB for that route to be injected in BGP.

router bgp 65006

network 10.255.255.10 mask 255.255.255.255

network 10.255.255.252 mask 255.255.255.255

Hope this helps,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
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:

Review Cisco Networking products for a $25 gift card