The if-match tag command sets a filtering rule that is based on the route tag.
The undo if-match tag command cancels the configuration.
By default, no filtering rule based on the route tag is set.
Usage Scenario
To filter routes based on the tags, run the if-match tag command.
Prerequisites
A route-policy has been configured using the route-policy command.
Precautions
BGP does not have the tag attribute. Therefore, the if-match tag command cannot be used to match BGP routes.