Match As-Path - Allied Telesis AR2050V Command Reference Manual

Secure, for alliedware plus version 5.4.7-1.x
Table of Contents

Advertisement

BGP
BGP4+ C
AND
OMMANDS
-
MATCH AS
PATH

match as-path

Overview
Use this command to add an autonomous system (AS) path match clause to a route
map entry. Specify the AS path attribute value or values to match by specifying the
name of an AS path access list.
A BGP update message matches the route map if its attributes include AS path
values that match the AS path access list.
Each entry of a route map can only match against one AS path access list in one AS
path match clause. If the route map entry already has an AS path match clause,
entering this command replaces that match clause with the new clause.
Note that AS path access lists and route map entries both specify an action of deny
or permit. The action in the AS path access list determines whether the route map
checks update messages for a given AS path value. The route map action and its
set clauses determine what the route map does with update messages that
contain that AS path value.
Use the no variant of this command to remove the AS path match clause from a
route map entry.
Syntax
match as-path <as-path-listname>
no match as-path [<as-path-listname>]
Mode
Route-map Configuration
Usage
This command is valid for BGP update messages only.
To add entry 34 to the route map called myroute, which will discard update
Example
messages if they contain the AS path values that are included in myaccesslist,
use the commands:
awplus#
awplus(config)#
awplus(config-route-map)#
Related
route-map
Commands
set as-path
show route-map
C613-50186-01 Rev B
Parameter
<as-path-listname>
configure terminal
route-map myroute deny 34
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
Description
Specifies an AS path access list name.
match as-path myaccesslist
1189

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents