5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
679
sequence-number
(Optional) Integer used to order the set of route maps with the same
name. Route maps are ordered from lowest to greatest sequence
number, with lower sequence numbers being considered first If no
sequence number is specified the system assigns a value ten greater
than the last statement in the route map. The range is 0 to 65,535.
Default
The default is as follows: No route maps are configured.
Command Mode
Global Config
Example
In the following example, BGP is configured to redistribute the all prefixes within 172.20.0.0 and reject all
others.
(Routing)(Config)#ip prefix-list redist-pl permit 172.20.0.0/16 le 32
(Routing)(Config)#route-map redist-rm permit
(Routing)(Config-route-map)#match ip address prefix-list redist-pl
(Routing)(Config-route-map)#exit
(Routing)(Config)#router bgp 1
(Routing)(Config-router)#redistribute ospf route-map redist-rm
7-55
match as-path
This route map match term matches BGP autonomous system paths against an AS-PATH access list. If
you enter a new
match as-path
term in a route map statement that already has a
match as-path
term,
the AS-PATH list numbers in the new term are added to the existing match term, up to the maximum
number of lists in a term. A route is considered a match if it matches any one or more of the AS-PATH
access lists the match term refers to.
No
command deletes the match as-path term that matches BGP autonomous system paths against an
AS-PATH access list.
match as-path as-path-list-number
no as-path-list-number
Parameters
as-path-list-number
Integer from 1 to 500 identifying the AS-PATH access list to use as
match criteria.
Default
The default is None.
Command Mode
Route Map Config
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...