DES-7200 Configuration Guide Chapter 1 Protocol-Independent
Configuration
1-5
Command Function
DES-7200(config)# route-map
route-map-name [permit | deny] sequence
Define the route map.
Sequence: 0-65535
DES-7200(config)# no route-map
route-map-name {[permit | deny]
sequence}
Remove the route map.
When you configure the rules for a route map, you can execute one or multiple
match or set commands. If there is no match command, all will be matched. If
there is no set command, not any action will be taken.
To define the matching conditions for the rules, execute the following commands
in the route map configuration mode:
Command Function
DES-7200(config-route-map)# match
community {standard-list-number |
expanded-list-number |
community-list-name}
Match the community attribute of
BGP route.
DES-7200(config-route-map)# match
interface interface-type
interface-number
Match the next-hop interface for the
route.
DES-7200(config-route-map)# match ip
address access-list-number
[…access-list-number]
Match the ACL IP address.
DES-7200(config-route-map)# match ip
next-hop access-list-number
[…access-list-number]
Match the next-hop IP address in the
ACL.
DES-7200(config-route-map)# match ip
route-source access-list-number
[…access-list-number]
Match the route source IP address in
the ACL.
DES-7200(config-route-map)# match ipv6
address { access-list-name | prefix-list
prefix-list-name }
Match the IPv6 ACL or prefix list.