match tag (redistribution)

Use this command to match an OSPF route tag ID or range of route tag IDs.

Syntax

match tag {tag-id | range min-tag-id max-tag-id}
no match tag {tag-id | range min-tag-id max-tag-id}

Parameters

tag-id Specifies an OSPF tag ID to be matched for this route-map. Valid values: 0 - 4294967295. Default Value: None.
range min-tag-id max-tag-id Specifies a range of OSPF tag IDs to be matched for this route-map:
  • min-tag-id - Specifies the low end tag ID of the range.
  • max-tag-id - Specifies the high end tag ID of the range.

Valid values: 0 - 4294967295. Default Value: None.

Defaults

None.

Mode

Route-map configuration.

Usage

The “no” form of this command removes the match for the specified tag ID or range of tag IDs.

Example

This example shows how to match a range of OSPF tag IDs starting at 10000 and ending at 20000 for redistribution route-map rm5:

System(rw-config)->route-map redistribution rm5
System(rw--config-route-map)->match tag range 10000 20000
System(rw--config-route-map)->