Interfaces

With the show interfaces and clear interfaces commands, you can use wildcard characters when specifying interface names (in the interface-name option) to refer to groups of interface names without having to type each name individually. Table 13.5 lists the available wildcard characters. You must enclose all wildcard characters except the asterisk in quotation marks (“ ”).

Table 13.5. Wildcard Characters for Specifying Interface Names
Wildcard Character Description
* (asterisk) Match any string of characters in that position in the interface name. For example, so* matches all SONET/SDH interfaces.
[character <character...>] Match one or more individual characters in that position in the interface name. For example, “so-[03]”* matches ...

Get Juniper Networks® Field Guide and Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.