Ip Bgp Policy Aspath-List Priority - Alcatel-Lucent OmniSwitch 6850-48 Cli Reference Manual

Alcatel-lucent omniswitch 6850-48: reference guide
Hide thumbs Also See for OmniSwitch 6850-48:
Table of Contents

Advertisement

ip bgp policy aspath-list priority

Configures the priority for processing regular expressions in an AS path list.
ip bgp policy aspath-list name "regular_expression" priority value
Syntax Definitions
name
regular_expression
value
Defaults
parameter
value
Platforms Supported
OmniSwitch 6850, 6855, 6850E, 9000E
Usage Guidelines
A regular expression consists of a character string presented in the form of a pattern, e.g., ^100 200$.
Refer to
ip bgp policy aspath-list
(metacharacters). See also "Configuring BGP" in your Advanced Routing Guide for more information
on using regular expressions in BGP commands.
This command specifies the priority of an AS path list filter being applied to a peer's inbound and
outbound routes configured via the
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, but only in the order designated by the priority value.
The higher the priority value specified in the command, the later the matching is processed. For exam-
ple, regular expressions with a priority of 1 (the default) are processed before an expression assigned a
priority of 3. When regular expressions have an equal priority, the processing order is indeterminate.
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$" priority 1
-> ip bgp policy aspath-list OutboundAspath "^300 400$" priority 5
page 25-102
The AS path name, e.g., InboundAspath, ranging from 0 to 70 charac-
ters, or a value of none. The AS path name is case sensitive.
A regular expression, e.g., "^100 200$" where 100 (followed by a
space) represents the beginning of the list and 200 represents the end.
The regular expression must be enclosed by quotation marks.
A priority value, e.g., 1, assigned to the policy action. Valid priority
range is from 1 - 255.
default
1
on page
25-97
for a table of valid regular expression characters
ip bgp neighbor in-aspathlist
and
ip bgp neighbor in-prefix6list
OmniSwitch CLI Reference Guide
BGP Commands
show ip
June 2012

Advertisement

Table of Contents
loading

Table of Contents