Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

AS-Path BGP Attribute

If I am not wrong the most used BGP Attributes are
Local Preference, Weight,AS Path, MED

Local Preference and  Weight are used to manipulate the Outgoing Traffic
MED is used to manipulate the Incoming Traffic

This one is confusing:
AS Path: is it used to manipulate both Incoming/Outgoing Traffic ?
Avatar of Harold Bowlin
Harold Bowlin
Flag of United States of America image

AS-Path is used for loop prevention. It can also be used if you want to manipulate how traffic is sent back to you/inbound. You can prepend your AS on one of your points of presence, thus making the AS-Path longer to that router. This will cause the peer AS to use the shorter AS-Path to your network.
Avatar of jskfan

ASKER

So it is used to manipulate both incoming and outgoing traffic ?
Well there is a lot to it. In general there are more effective ways to manipulate traffic than using AS-path prepending. You mentioned several above. The key takeaway is the foremost function is loop prevention.
Avatar of jskfan

ASKER

Per this link https://supportforums.cisco.com/discussion/9532491/bgp-inbound-and-outbound-traffic
"When you are multi homed to two different providers it is sometimes required to prefer one provider's link for some incoming traffic"
it sounds like it is used to manipulate traffic entering your AS



but I guess it can also be used to manipulate the traffic leaving your AS
ASKER CERTIFIED SOLUTION
Avatar of Harold Bowlin
Harold Bowlin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

Thank you