Avatar of jskfan
jskfan
Flag 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 ?
Routers* bgp

Avatar of undefined
Last Comment
jskfan

8/22/2022 - Mon
Harold Bowlin

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

ASKER
So it is used to manipulate both incoming and outgoing traffic ?
Harold Bowlin

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.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Harold Bowlin

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

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
jskfan

ASKER
Thank you
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.