Ip Bgp Policy Aspath-List Action - Alcatel-Lucent 060321-10, Rev. B Cli Reference Manual

Omniswitch series
Table of Contents

Advertisement

BGP Commands

ip bgp policy aspath-list action

Configures a policy action (either permit or deny a route from passing) to be taken for an AS path list
when a match is found. Matching criteria are specified in the regular expression.
ip bgp policy aspath-list name "regular_expression" action {permit | deny}
Syntax Definitions
name
regular_expression
permit
deny
Defaults
parameter
permit | deny
Platforms Supported
OmniSwitch 10K
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 allows or stops AS path lists from being applied to a peer's inbound and outbound
routes configured through 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.
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$" action permit
-> ip bgp policy aspath-list OutboundAspath "^300 400$" action deny
Release History
Release 7.1.1; command was introduced.
OmniSwitch CLI Reference Guide
AS path name, e.g., InboundAspath, ranging from 0 to 70 characters, or
a value of none. The AS path name is case sensitive.
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.
Allows matching routes to pass.
Stops matching routes from passing.
default
permit
on page
19-96
for a table of valid regular expression characters
ip bgp neighbor in-aspathlist
March 2011
ip bgp policy aspath-list action
and
ip bgp neighbor out-aspathlist
show ip
page 19-99

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch 10k

Table of Contents