Alcatel-Lucent 060321-10, Rev. B Cli Reference Manual page 1065

Omniswitch series
Table of Contents

Advertisement

BGP Commands
Symbol
Description
|
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.
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
the
ip bgp neighbor in-aspathlist
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
bgp
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 7.1.1; command was introduced.
OmniSwitch CLI Reference Guide
and
ip bgp neighbor out-aspathlist
March 2011
ip bgp policy aspath-list
commands. The AS path list
show ip
page 19-97

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch 10k

Table of Contents