Enterasys X-Pedition XSR CLI Cli Reference Manual page 307

Enterasys security router reference guide
Table of Contents

Advertisement

Syntax of the "no" Form
The no form of this command removes the patch list number:
no match as-path path-list-number
Mode
Route‐map configuration: 
Example
This example sets the match as‐path in the context of configuring a route map and as‐path ACL 33.
XSR(config)#route-map 1 permit 1
XSR(config-route-map)#match as-path 33
XSR(config-route-map)#set local-preference 300
XSR(config-route-map)#exit
XSR(config)#ip as-path access-list 33 permit ".* 550 .*"
Route map 1 is configured with the optional permit keyword and sequence number 1. If these 
values are omitted, a route map will default to the permit keyword and sequence number 10.
After route map 1 is defined via the
command which references as‐path access list 33 ‐ the last configuration statement in the example. 
AS‐path access list 33 ends with a regular expression ".* 550 .*", indicating a match will occur if the 
as_path variable in a BGP update message contains AS number 550.
If a match occurs, then the 
for the matching BGP updates to 300, overriding the default value of 100. A route flagged with a 
higher local preference value is more preferable to a route with a lower local preference. 
Consequently, the routes passing through AS 550 become more preferable to other routes for the 
same destinations.
match community-list
This command matches the community attribute in a BGP routing update message with the 
values of the community attribute identified through the community access list.
A route must match at least one match statement of a
match any match statements, the route is not advertised on outbound route maps and is not 
accepted on inbound route maps.
Syntax
match community-list community-list-number
community-list-number
Syntax of the "no" Form
The no form of this command removes the community list number:
no match community-list community-list-number
XSR(config-route-map)#
route-map
 command, you enter the 
set local-preference
Community ACL to match by number, ranging from 1 to 199.
 command sets the local preference attribute 
route-map
command. If a route does not 
XSR CLI Reference Guide 6-111
Route Map Commands
match as-path
 

Advertisement

Table of Contents
loading

This manual is also suitable for:

X-pedition xsr

Table of Contents