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 ?
Who is Participating?
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 BowlinOwner/Network ArchitectCommented:
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.
jskfanAuthor Commented:
So it is used to manipulate both incoming and outgoing traffic ?
Harold BowlinOwner/Network ArchitectCommented:
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.
Ensure Business Longevity with As-A-Service

Using the as-a-service approach for your business model allows you to grow your revenue stream with new practice areas, without forcing you to part ways with existing clients just because they don’t fit the mold of your new service offerings.

Harold BowlinOwner/Network ArchitectCommented:
jskfanAuthor Commented:
Per this link
"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
Harold BowlinOwner/Network ArchitectCommented:
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.

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
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

From novice to tech pro — start learning today.