route-map filter

Use this command to create a route-map for OSPF filtering.

Syntax

route-map filter name [permit | deny] [sequence-number]
no route-map name [permit | deny] [sequence-number]

Parameters

name Specifies a name for this route-map of up to 32 alphanumeric characters.
permit (Optional) Permits the packet to be filtered based upon the matching route-map.
deny (Optional) Denies filtering of a packet based upon the matching route-map.
sequence-number (Optional) Specifies the order of this map entry in the route-map list, and the order in which this route-map entry will be checked for matching access list criteria. The packet check will exit with the first map entry in the list which matches the packet data. The default value is 10.

Defaults

  • If permit or deny is not specified, this command will enable route-map filtering configuration mode.
  • If sequence-number is not specified, 10 will be applied.

Mode

Global configuration.

Usage

Route-map names can be up to 32 alphanumeric characters in length.

Each named OSPF filter route-map can have one or more entries. Each OSPF filter route-map entry is identified by a unique sequence-number. Each entry can be optionally configured as permit or deny.

Entering the route-map filter command enters route-map configuration command mode for the specified entry. Once in route-map configuration command mode, each entry can be configured for one or more clauses made up of:

See the release notes that come with your product for the number of supported:

  • Filter route-maps
  • Match clauses across all configured route-maps

The “no” form of this command removes the specified route-map, or, if the sequence-number is specified, route-map entry.

Example

This example shows how to create a filter route-map named ospf1 with a sequence order of 5:

System(rw-config)->route-map filter ospf1 permit 5
System(rw-config-fltr)->