UMN:CLI User Manual
V8102
724
12.6 Route Map for IP Routing Protocol
Route maps are used to redistribute routes between processes or for route health injec-
tion. The commands of route map are valid for RIP, BGP and OSPF. 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.
route-map WORD {permit | deny}
<1-65535>
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 com-
mand.
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/IPv6 ACL name or prefix-list name
match ipv6 address prefix-list
WORD
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/IPv6 access-list name or prefix-list
name
X:X::X:X: IPv6 address of next hop
match ipv6 next-hop {X:X::X:X |
WORD}
match {metric | tag} <0-
4294967295>
Matches any routes that a specified metric or tag.