Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC SmartFabric OS10 User Guide Release 10.5.1

PDF

ip as-path access-list

Create an AS-path ACL filter for BGP routes using a regular expression.

Syntax
ip as-path access-list name {deny | permit} regexp-string
Parameters
  • name — Enter an access list name.
  • deny | permit — Reject or accept a matching route.
  • regexp-string — Enter a regular expression string to match an AS-path route attribute.
Defaults
Not configured
Command Mode
CONFIGURATION
Usage Information

You can specify an access-list filter on inbound and outbound BGP routes. The ACL filter consists of regular expressions. If a regular expression matches an AS path attribute in a BGP route, the route is rejected or accepted. The AS path does not contain the local AS number. The no version of this command removes a single access list entry if you specify deny and a regexp. Otherwise, the entire access list is removed.

The question mark (?) character is not supported in the regular expressions. All other special characters are supported. When you are using backslash(\) or double quotes (”) in the regular expression, precede these characters with backslash(\). For example, enter \\ or \”.

Example
OS10(config)# ip as-path access-list abc deny 123
Supported Release
10.3.0E or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\