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 ?
jskfanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Harold BowlinCCIE #52521, Principal Consulting EngineerCommented:
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.
0
jskfanAuthor Commented:
So it is used to manipulate both incoming and outgoing traffic ?
0
Harold BowlinCCIE #52521, Principal Consulting EngineerCommented:
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.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Harold BowlinCCIE #52521, Principal Consulting EngineerCommented:
0
jskfanAuthor Commented:
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
0
Harold BowlinCCIE #52521, Principal Consulting EngineerCommented:
Sorry if my first comment caused some confusion. No, only for inbound. You send something out to manipulate inbound, you make a change on your side to manipulate outbound. It's a little backwards but it's how it works.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jskfanAuthor Commented:
Thank you
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.