Reset Search
 

 

Article

How to Configure a BGP Route-map to Filter Routes on the S-Series

« Go Back

Information

 
TitleHow to Configure a BGP Route-map to Filter Routes on the S-Series
Objective
The following shows how to filter all  but the default route from a BGP peer advertisement
Environment
  • S-Series
  • All Firmware Versions
Procedure
     1. Configure the route-map
route-map bgp ISP permit 10
match prefix-list default-route
exit
route-map bgpISP  deny 15
match prefix-list any 

exit

     2. Configure the prefix-lists
ip prefix-list default-route seq 5  permit 0.0.0.0/0
ip prefix-list any seq 5  permit 0.0.0.0/0     le 32

     3. Apply the route-map to the peer
router bgp 24
bgp router-id 3.3.3.3
log-up-down
neighbor 203.0.113.7 route-map ISP in
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255