14.12.2012 Views

Junos OS Interfaces Command Reference - Juniper Networks

Junos OS Interfaces Command Reference - Juniper Networks

Junos OS Interfaces Command Reference - Juniper Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Junos</strong> <strong>OS</strong> 12.1 <strong>Interfaces</strong> <strong>Command</strong> <strong>Reference</strong><br />

Table 3: Wildcard Characters for Specifying Interface Names (continued)<br />

6<br />

Wildcard Character<br />

“[!character1-character2]”<br />

show interfaces terse<br />

(SONET/SDH<br />

<strong>Interfaces</strong>)<br />

show interfaces terse<br />

(SONET/SDH<br />

<strong>Interfaces</strong> in Slot 1)<br />

show interfaces terse<br />

(All Interface Types<br />

Starting with “S” or<br />

“G”)<br />

Description<br />

Match all characters that are not in the specified range of characters. For example,<br />

so-“[!0-3]”* matches all SONET/SDH interfaces in slots 4, 5, 6, and 7.<br />

The following examples illustrate the use of wildcards with operational mode commands:<br />

user@host> show interfaces terse so*<br />

Interface Admin Link Proto Local Remote<br />

so-1/0/0 up up<br />

so-1/0/0.0 up up inet 192.168.8.192 --> 192.168.2.250<br />

iso<br />

so-1/1/0 up down<br />

so-1/1/0.0 up down inet 192.168.8.109/30<br />

iso<br />

so-1/1/1 up up<br />

so-1/1/1.0 up down inet 192.168.8.113/30<br />

iso<br />

mpls<br />

...<br />

so-1/3/3 up down<br />

so-5/0/0 up up<br />

so-5/0/0.0 up down inet 192.168.8.208 --> 192.168.8.209<br />

iso<br />

mpls<br />

so-5/0/1 down down<br />

so-5/0/2 up down<br />

...<br />

user@host> show interfaces terse so-“[1]”*<br />

Interface Admin Link Proto Local Remote<br />

so-1/0/0 up up<br />

so-1/0/0.0 up up inet 192.168.2.125 --> 192.168.2.250<br />

iso<br />

so-1/1/0 up down<br />

so-1/1/0.0 up down inet 192.168.2.150/30<br />

iso<br />

so-1/1/1 up up<br />

so-1/1/1.0 up down inet 192.168.2.175/30<br />

iso<br />

mpls<br />

so-1/1/2 up up<br />

so-1/1/2.0 up down inet 192.168.2.110/30<br />

iso<br />

so-1/2/0 up down<br />

user@host> show interfaces terse “[sg]”*<br />

Interface Admin Link Proto Local Remote<br />

so-1/0/0 up up<br />

so-1/0/0.0 up up inet 192.168.2.125 --> 192.168.2.250<br />

iso<br />

so-1/1/0 up down<br />

so-1/1/0.0 up down inet 192.168.2.150/30<br />

iso<br />

so-1/1/1 up up<br />

so-1/1/1.0 up down inet 192.168.2.175/30<br />

iso<br />

Copyright © 2012, <strong>Juniper</strong> <strong>Networks</strong>, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!