07-12-2007 06:13 AM - edited 03-03-2019 05:50 PM
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
Solved! Go to Solution.
07-12-2007 06:19 AM
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,
07-12-2007 06:19 AM
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,
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: