Ip As-Path Access-List - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

ip as-path access-list

This command defines a BGP 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.
Regular expressions listed below can be used with the ip as-path-access-list command:
Symbol Character
^
$
.
*
+
?
_
[]
-
The no form disables the use of the access list
Syntax
ip as-path access-list <listname> {deny|permit} <line>
no ip as-path access-list <listname> {deny|permit} <line>
Parameter
<listname>
deny
permit
<line>
Global Configuration mode
Mode
Example
C613-50007-01 REV B
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).
Asterix
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
Underscore Used to match spaces, commas, braces, parenthesis, or the beginning
and end of an input string.
Brackets
Specifies a range of single-characters.
Hyphen
Separates the end points of a range.
Description
Specifies the name of the access list.
Denies access to matching conditions.
Permits access to matching conditions.
Specifies a regular expression to match the BGP AS paths.
awplus#configure terminal
awplus(config)#ip as-path access-list mylist deny ^65535$
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
BGP Commands
38.47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents