Creating a Route-Map

When creating a route-map, specify:

  • Whether it is a policy based, redistribution, or filter route-map
  • The name of the route-map using up to 32 alpha-numeric characters
  • Whether this sequence is a permit or deny (defaults to permit)
  • A sequence number for this entry (defaults to 10)

Currently, up to 100 each of filter, redistribution, BGP, and policy route-maps are permitted.

Multiple sequences can be input for a single named route-map. Configuring a route-map sequence places you in route-map configuration command mode for the configuration of route-map match and set clauses. The system-wide maximum number of both match and set route-map clauses is 1000.

Policy route-maps must have at least one IP address match clause and at least one next hop clause, or in the case of S- and K-Series, default next hop. An ACL that has not yet been created can be specified in an IP address match clause. If a route-map is applied to an interface, any ACLs that have not been created will be ignored. Policy based route-maps must be assigned to an interface using the ip policy route-map command in interface configuration mode.

Redistribution route-maps must be associated with the redistribution of OSPF routes within the OSPF routing protocol using the redistribute command in OSPF router configuration command mode.

Filter route-maps must be associated with the filtering of OSPF routes from the OSPF route table (FIB) using the distribute-list route-map in command.

Use the route-map policy command in configuration command mode to create a policy based route-map.

Use the route-map redistribution command in configuration command mode to create a redistribution route-map.

Use the route-map filter command in configuration command mode to create an OSPF filter route-map.