Alcatel-Lucent 6850-48 Reference Guide

Page of 3444
BGP Commands
page 44-98
OmniSwitch CLI Reference Guide
September 2009
• When using a regular expression in the CLI, the regular expression must be enclosed in quotation 
marks.
• This command creates AS path lists that can be applied to a peer’s inbound and outbound routes using 
th
 and 
 commands. The AS path list 
filters routes based on one or more regular expressions, as shown in the example below. If the route 
matches the AS path list filter, then the permit or deny action (i.e., policy) associated with the regular 
expression applies.
• If a BGP AS path list is configured to deny routes from a particular string of regular expression, then 
by default all of the routes coming from any AS would be denied. You must configure the policy 
instance in the same policy to allow other routes to come in, to be permitted from other ASs.
• General or more specific AS path list information can be displayed by varying the use of the 
 command.
Examples
-> ip bgp policy aspath-list InboundAspath “^100 200$”
-> ip bgp policy aspath-list OutboundAspath “^300 400$”
-> no ip bgp policy aspath-list InboundAspath “^100 200$”
Release History
Release 6.1; command was introduced.
|
Separates AS numbers in an alternation sequence.
)
Ends an alternation sequence of AS numbers
[
Begins a range pair consisting of two AS numbers separated by a dash. It matches any AS 
number within that inclusive range.
-
Separates the endpoints of a range.
]
Ends a range pair.
$
Matches the end of the AS path list.
,_
Commas, underscores and spaces are ignored.
Symbol
Description