# Route Map Configuration

A route map contains a set of conditions that incoming packets need to match for them to be exported to another routing instance or imported into the current routing instance. This page enables you to create a route map for use with redistribution and other features.

Route Maps include two parts:

- Match Properties: The match properties provide conditions that an incoming or outgoing packet must match before further actions result.

- Set Properties: The set properties detail the type of action that occurs or settings written once an incoming or outgoing packet meets the conditions provided in the Match portion of the Route Map.

### To Create a New Route Map

1. Enter the necessary information:

Map Name: The string that identifies the name of the route map that you want to create.

Sequence No: The number of the entry in the route map list.

Action: Indicates whether the current virtual routing instance forwards (Permit) or blocks (Deny) an incoming or outgoing packet once the packet meets the conditions specified in the route map.

Match Properties: The header for the setting boxes for the match portion of the route map. Match properties are:

Metric: A value that indicates the desirability of the path set for the router sending the packet.

Tag: A value that identifies the virtual router sending the packet.

Access List: The name of the access list associated with the router sending the packet.

Route Type: The type of route that exists between the current virtual routing instance and the router sending the packet. The route types can be: internal-ospf, local-bgp, type1-external-ospf, type2-external ospf.

Community List: The name of the community to which the virtual router sending the packet belongs.

AS Path: The name of the autonomous system path set for the virtual router sending the packet.

Next Hop: The nearest routing domain to the virtual router sending the packet.

Interface: The name of the interface on which the virtual router sending the packet resides. Takes a typical NetScreen device interface name: for example, e1/1.

Set Properties: The header for the setting boxes for the set portion of the route map.

Metric: A value that indicates the desirability of the path set for the current router.

Off Metric: Increments the metric of the route by the specified value. This can be used for routes that are advertised or learned by RIP, or routes that are exported into another virtual router.

Tag: A value that identifies the current virtual router.

Community List: The name of the community or grouping of virtual routers to which the current virtual router belongs.

Weight: The desirability of a route set for the current virtual router.

Origin: Only used with BGP context. Origin types can be: None (default), IGP, or Incomplete (typically used for redistributed routes).

Preserve: Retains the metric or preference setting.

Metric Type: Specifies the kind of metric used by the route.

AS Path: The name of the autonomous system path for the current virtual router.

Next Hop: The nearest routing domain to the current virtual router.

Local Preference: The local preference attribute is used to prefer an exit point from the local autonomous system. Unlike the weight attribute, the local preference attribute is propagated throughout the local autonomous system. If there are multiple exit points from the AS, the local preference attribute is used to select the exit point for a specific route.

2. Click OK to save the configuration.