Home arrow Routing arrow Cisco BGP Configuration arrow Three way to filter routes in BGP

Google Translation


Login Form






Lost Password?
No account yet? Register

Advertisements


Yahoo Network

Merchant Solutions


Who's Online

We have 3 guests online
Three way to filter routes in BGP PDF Print E-mail
Written by Chris   


Stumble it!
Digg it!
Reddit it!
1. Distribute-list filtering
2. Route-map filtering
3. Filter-list(AS filtering) filtering


1. Distribute-list

neighbor 1.1.1.1 distribute-list 1 out
!
access-list 1 deny 10.30.0.0 0.0.0.255 (IP route that is not be announced)
access-list 1 deny 10.40.0.0 0.0.0.255 (IP route that is not be announced)
access-list 1 permit any





2. Route-map

neighbor 1.1.1.1 route-map CiscoNET out
!
access-list 1 deny 10.30.0.0 0.0.0.255
access-list 1 deny 10.40.0.0 0.0.0.255
access-list 1 permit any
!
route-map CiscoNET permit 10
match ip address 1 (Applying access-list 1)





3. Filter-list(AS filtering)

neighbor 1.1.1.1 filter-list 1 out (Applying access-list 1 on filter-list)
!
ip as-path access-list 1 deny 100 (Deny AS 100)
ip as-path access-list 1 permit .* (Permit all AS)


or --------------------------

neighbor 1.1.1.1 route-map CiscoNET out
!
ip as-path access-list 1 deny 100
ip as-path access-list 1 permit .*
!
route-map CiscoNET permit 10
match as-path 1

 

Stumble it!
Digg it!
Reddit it!



Add as favourites (45) | Views: 921 | E-mail

  Be first to comment this article
RSS comments

Only registered users can write comments.
Please login or register.

Powered by AkoComment Tweaked Special Edition v.1.4.3




Please share this article with ;
Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Spurl!Wists!Simpy!Newsvine!Blinklist!Fark!Yahoo!Netvouz!RawSugar!Ma.gnolia!Squidoo!Free social bookmarking plugins and extensions for Joomla! websites!
 
< Prev   Next >

BGP routing issue?

show ip bgp

Sponsored Links


Discount HP Gears


Sponsor II


What's your IP?

You are connecting to this site from: 38.103.63.60

Related Articles