cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
431
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
Spotlight
Spotlight

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,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

1 Reply 1

Harold Ritter
Spotlight
Spotlight

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,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)