Got it

Routing Policy Configuration - Configuring an AS_Path Filter

Latest reply: Aug 13, 2021 16:53:34 462 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


Thanks for sharing
View more
  • x
  • convention:

andersoncf1
andersoncf1 Created Jul 30, 2021 16:17:30 (0) (0)
welcome  
EL.BODO
EL.BODO Created Jul 30, 2021 18:04:36 (0) (0)
 
ulrichwandja
ulrichwandja Created Aug 3, 2021 16:25:17 (0) (0)
 
Thanks for sharing
View more
  • x
  • convention:

andersoncf1
andersoncf1 Created Jul 31, 2021 16:32:04 (0) (0)
welcome  
Vlada85
MVE Author Created Jul 30, 2021 17:58:30

Thank you for sharing!
View more
  • x
  • convention:

EL.BODO
EL.BODO Created Jul 30, 2021 18:04:55 (0) (0)
 
andersoncf1
andersoncf1 Created Jul 31, 2021 16:32:26 (0) (0)
welcome  
Good for sharing
View more
  • x
  • convention:

Serges_armel
Serges_armel Created Jul 31, 2021 04:02:06 (0) (0)
 
andersoncf1
andersoncf1 Created Aug 4, 2021 16:12:50 (0) (0)
welcome  
WELL DONE FRIEND
View more
  • x
  • convention:

nice
View more
  • x
  • convention:

EL.BODO
EL.BODO Created Jul 31, 2021 17:33:34 (0) (0)
 
Good to know
View more
  • x
  • convention:

EL.BODO
EL.BODO Created Jul 31, 2021 17:33:13 (0) (0)
 
Nice. Thank you for sharing
View more
  • x
  • convention:

Serges_armel
Serges_armel Created Jul 31, 2021 18:42:06 (0) (0)
Good  
good
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.