
BGP and BGP4+ Commands
ip as-path access-list (BGP and BGP4+)
This command defines a BGP and BGP4+ Autonomous System (AS) path access list.
The named AS path list is a filter based on regular expressions. If the regular expression matches the AS path in a BGP update message, then the permit or deny condition applies to that update. Use this command to define the BGP access list globally, then use neighbor configuration commands to apply the list to a particular neighbor.
The no variant of this command disables the use of the access list
Syntax [BGP/BGP4+] ip
no ip
Parameter | Description |
<listname> Specifies the name of the access list. | |
|
|
deny | Denies access to matching conditions. |
|
|
permit | Permits access to matching conditions. |
|
|
| Specifies a regular expression to match the BGP AS paths. |
|
|
Regular expressions listed below can be used with the ip
| Symbol | Character | Meaning | |
^ | Caret |
| Used to match the beginning of the input string. When used at | |
|
|
|
| the beginning of a string of characters, it negates a pattern |
|
|
|
| match. |
|
|
|
| |
$ | Dollar sign | Used to match the end of the input string. | ||
|
|
|
|
|
. | Period |
| Used to match a single character (white spaces included). | |
|
|
|
|
|
* | Asterisk |
| Used to match none or more sequences of a pattern. | |
|
|
|
|
|
+ | Plus sign |
| Used to match one or more sequences of a pattern. | |
|
|
|
|
|
? | Question |
| Used to match none or one occurrence of a pattern. | |
|
| mark |
|
|
|
|
|
| |
_ | Underscor | Used to match spaces, commas, braces, parenthesis, or the | ||
|
| e |
| beginning and end of an input string. |
|
|
|
|
|
[ ] | Brackets |
| Specifies a range of | |
|
|
|
|
|
- | Hyphen |
| Separates the end points of a range. | |
|
|
|
| |
Mode [BGP/BGP4+] Global Configuration |
|
| ||
Example |
|
|
| |
[BGP/BGP4+] | awplus# | configure terminal | ||
|
| |||
| awplus(config)# | ip |
| Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches |
|
3.66 | AlliedWare PlusTM Operating System - Software Version |