Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Shawn_Fletcher
Contributor
Jump to solution

ebgp routemap export

Hi There,

I'm deploying an internal segmentation firewall between several VRFs and our Core routing network. I've been trying to setup bgp in various ways, fighting the fact that the Cisco VSS that runs the core routing and VRFs uses the same ASN for both.

ebgp (with as override set) works well for the 95%, i have one problem that i want to present a default route to only one peer in the ASN (the VRF side)

route redistribution to the ASN goes to both ....I was trying to setup a routemap instead as it looked like there was a "neighbor" match option but this routemap sends  0.0.0.0 to both peers. Any ideas on if this is possible to filter?

set routemap ex-bgp-vrffw id 10 on
set routemap ex-bgp-vrffw id 10 match neighbor 192.168.0.2 on
set routemap ex-bgp-vrffw id 10 match network 0.0.0.0/0 exact
set routemap ex-bgp-vrffw id 10 match protocol static
set bgp external remote-as 65100 export-routemap ex-bgp-vrffw preference 10 on

 

 

0 Kudos
1 Solution

Accepted Solutions
Sundeep_Mudgal
Employee
Employee
Please use following instead of neighbor match:
set bgp external remote-as 65100 peer 192.168.0.2 export-routemap my_map preference 1 on

View solution in original post

0 Kudos
2 Replies
Sundeep_Mudgal
Employee
Employee
Please use following instead of neighbor match:
set bgp external remote-as 65100 peer 192.168.0.2 export-routemap my_map preference 1 on
0 Kudos
Shawn_Fletcher
Contributor
Thanks Sundeep, we were able to get this working exporting the routemap just to the peer as suggested.
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events