Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

Silver

BGP ROUTE_MAP ISSUE

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
Cisco Employee

Re: BGP ROUTE_MAP ISSUE

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
1 REPLY
Cisco Employee

Re: BGP ROUTE_MAP ISSUE

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
110
Views
5
Helpful
1
Replies
CreatePlease to create content