How to introduce different static routes in different BGP processes?

2021-12-28 00:36:37 Published
  • 0 Followed
  • 0Collected ,1467Browsed

Network Topology

Not involved

Configuration Steps

Suppose you have three static routes. 

ip route-static 20.1.1.1 32 11.1.1.2 

ip route-static 30.1.1.1 32 11.1.1.2 

ip route-static 40.1.1.1 32 11.1.1.2 

Configure the routing policy to match the second one. 

 ip prefix-list a index 10 permit 30.1.1.1 32 

route-policy 1 deny node 0 

if-match ip address prefix-list a      //deny is blocked, i.e. 30.1.1.1 32 is denied 

route-policy 1 permit node 10      //permit"s are allowed, these are customizable 

quit 

bgp 100 

address-family ipv4 unicast import-route static route-policy 1 //Invoke this policy for route filtering 

#

Key Configuration

Null

Please rate this case:   
0 Comments

No Comments

Add Comments: