[sdnog] filtering traffic on BGP

Samir Abullatif samir.saif at sudren.edu.sd
Tue Mar 1 12:04:50 SAST 2016


Hi Manhal

just follow the traffic path.

any traffic leaving your router interface is outbound/egress
any traffic reaching your router interface is inbound/ingress

configuring route-maps follow the same principles

-Samir

March 1 2016 12:56 PM, "Manhal Mohammed"  wrote:

hello SDNOGGERS :) 

 i would like you to clear some confusing for me  on BGP filtering traffic , what i know that if you want to filter a traffic that is coming from peer you have to set the filter for that neighbour as (in bound) and vice versa. :/

but some one told me that if i want to filter traffic i have to consider the opposite side (the neighbour's router perspective)
if it is a received traffics (for my router) i have to apply "outbound" for the neighbour inside the BGP
and if it is advertised prefixes i have to apply "inbound" for the neighbour

on my router : 
router bgp bla 
neighbour bla.bla.bla.bla route-map bla IN  !! if it is (advertised) prefix from me 
neighbour bla.bla.bla.bla route-map bla OUT !! if it is a (received) prefix from that neighbour 

so witch one is true :/ 
--Mnhl
-Samir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sdnog.sd/pipermail/sdnog/attachments/20160301/beab5b16/attachment.html>


More information about the sdnog mailing list