Queuing disciplines, classes, filters, tunnels, filter elements (except elements of route and if), policers, and buckets can be numbered.
Similarly, a text string can be assigned to all those items, and also to devices. This ``tag'' is shown in the location map (see section 5.3.1). It can be assigned by simply putting a string expression among the parameters of the respective item. Optionally, this string can be prefixed with the parameter name tag, which is useful when writing macros.
Example:
dev "eth0"(tag "blah") { fifo (limit 100kB,"my_fifo"); }
Note that tags may not contain spaces.