Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


tag (Routing Options)


Hierarchy Level


Associate a tag with a static, aggregate, or generated route.


No tag strings are associated with routes.


metric—Tag metric.

  • Range: 0 through 4,294,967,295

type number—Tag type.

  • Range: 1 through 16

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.