UMN:CLI
User Manual
V5824G
464
10.4
Configuring Route Map
Route maps are used to redistribute routes between processes or for route health
injection. To define a route map for use with supported feature, perform the following
steps:
Step1
Open
Route-Map Configuration
mode from
Global Configuration
mode to create a route
map entry.
Command
Mode
Description
route-map
WORD
{
permit
|
deny
}
<1-65535>
Global
Defines a route map to control filtering.
WORD: route-map name
no route-map
WORD
[{
permit
|
deny
} <1-65535>]
Deletes the configured route map.
Step2
Match any routes that have a specified metric or destination network using match
command.
Command
Mode
Description
match
as-path
WORD
Route-map
Matches a BGP autonomous system path access
list.
WORD: BGP AS path access list name
match community
{<1-99> | <100-
199> |
WORD
} [
exact-match
]
Specifies the BGP community list to be matched.
1-99: standard community-list number
100-199: expanded community-list number
WORD: community-list name
match
interface
INTERFACE
Matches any routes with the specified next hop
interface.
match
ip address
{<1-199> | <1300-
2699> |
WORD
|
prefix-list
WORD
}
Matches any routes that have a destination network
that matches a standard or extended ACL or prefix-
list.
1-199: IP access-list number
1300-2699: IP access-list number (extended range)
WORD: IPv4 ACL name or prefix-list name
match
ip next-hop
{<1-199> |
<1300-2699> |
WORD
|
prefix-list
WORD
}
Matches any routes that have a next hop router
address that matches a standard or extended ACL
or prefix-list.
1-199: IP access-list number
1300-2699: IP access-list number (extended range)
WORD: IPv4 access-list name or prefix-list name
match
{
metric
|
tag
}
<0-
4294967295>
Matches any routes that a specified metric or tag.