Use this command to match a packet‘s OSPF tag or a range of OSPF tags.
tag | Specifies the tag ID to match against the packet OSPF tag. Valid values are 1 - 4294967295. |
range min-tag max-tag | Specifies an OSPF tag ID range:
|
None.
Route-map filter configuration.
OSPF tags can be assigned to external routes that are redistributed to OSPF. The permit or deny option can be assigned and matched against the packet OSPF tag using this command.
Apply the filter route-map using the distribute-list route-map in command in OSPF router configuration command mode to prevent route matches from entering the OSPF routing table.
The “no” form of this command removes the match between an OSPF tag and this route-map.
This example shows how to match a packet OSPF tag against tag ID 13456:
System(rw-config)->route-map filter ospf1 System(rw-config-fltr)->match tag 13456
This example shows how to match a packet OSPF tag against tag ID range 13000 to 14000:
System(rw-config)->route-map filter ospf1 System(rw-config-fltr)->match tag range 13000 14000