System information
Configuring Routing Policy
7-3
3. Match the destination IP address that is permitted by one or more standard or
extended access lists with the match ip address command. To match destinations
with an IP access list, use the match ip address command in Route Map
Configuration mode, as shown in the example below:
MOT(config-rmap)#match ip address <ip-access-list-number>
[...<ip-access-list-number>]
4. To match one or more next-hop IP addresses, use the match ip next-hop
command in Route Map Configuration mode, as shown in the example below:
MOT(config-rmap)#match ip next-hop <ip-access-list-number>
[...<ip-access-list-number>]
5. To redistribute one or more routes that routers and access servers advertised to the
address specified in the access list, use the match ip route-source command, in
Route-map Configuration mode, as shown in the example below:
MOT(config-rmap)#match ip route-source <ip-access-list-number>
[...<ip-access-list-number>]
Use the no match ip route-source command to disables route distribution that
routers and access servers advertised to the address specified in the access list.
6. To match a routing metric value, use the match metric command in Global
Configuration mode, as shown in the example below. For BGP this is Multi-Exit
Discriminator (MED).
MOT(config-rmap)#match metric <metric-value>
7. To match external route types, use the match route-type command in Route Map
Configuration mode, as shown in the example below:
MOT(config-rmap)#match route-type <external> [type-1 | type-2]
where:
external indicates OSPF routes.
type 1 matches only type 1 external route (for OSPF).
type 2 matches only type 2 external route.
Use the no match route-type to disable matches and external route
redistribution.