Got it

Routing Policy Configuration - Configuring an AS_Path Filter

Latest reply: Aug 13, 2021 16:53:34 465 30 21 0 1

CONTEXT


An AS_Path filter is used to filter routes based on the AS_Path attributes of BGP routes. If you do not want to receive routes of a specified AS number, configure an AS_Path filter based on the specified AS number. On a complex network, multiple ACLs or IP prefix lists must be configured to filter BGP routes. This can be a complicated process; configuring an AS_Path filter can simplify the configuration.


PROCEDURE


1. Run:

system-view


The system view is displayed.


2. Run:

ip as-path-filter { as-path-filter-number | as-path-filter-name } { permit | deny } regular-expression


An AS_Path filter is configured.


In the preceding command, regular-expression indicates that the AS_Path filter uses a regular expression to define matching rules.


CHECKING THE CONFIGURATION


  • Run the display ip as-path-filter [ as-path-filter-number | as-path-filter-name ] command to check information about a configured AS_Path filter.




Reference:


support.huawei.com


Well done
View more
  • x
  • convention:

simplified and clear, thanks
View more
  • x
  • convention:

Routing Policy Configuration - Configuring an AS_Path Filter-4066611-1
View more
  • x
  • convention:

Great
View more
  • x
  • convention:

Well explained case!
View more
  • x
  • convention:

Nice
View more
  • x
  • convention:

Very clear thanks
View more
  • x
  • convention:

Thank you for sharing
View more
  • x
  • convention:

Well done
View more
  • x
  • convention:

Very good my friend!
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.