match tag

Syntax

match tag <value>

no match tag <value>

Description

Matches the tag value of the route with the one configured in the match clause. Applies to static routes that will be redistributed to ospfv2 and ospfv3 protocols.

The no form of this command removes the tag value of the route.

Command context

config-route-map

Parameters

value

Numeric value to match with the route tag. Required.

Authority

Administrators or local user group members with execution rights for this command.

Example

Configuring a match clause in route-map to match the tag value of the route:

switch(config)# route-map GlobalMap permit 11
switch(config-route-map)# match tag 20