Step 2: Display the PIC Interface Status Information
Action
To display the status of each configured interface, use the following JUNOS CLI operational mode command:
user@host>show interfaces terseSample Output
user@host> show interfaces terseInterface Adman Link Port Local Remoteso-0/0/0 up upso-0/0/0.0 up up inet 192.168.36.201 --> 192.168.36.200so-0/1/0 up downso-0/1/1 up downe1-0/2/0 up downe1-0/2/1 up downt1-1/0/0:1 up downt1-1/0/0:2 up downgr-2/0/0 up upip-2/0/0 up up[...Output truncated...]What It Means
The command output shows the names of all interfaces configured on the router. The interface name indicates the
media type-fpc/pic/port(for example,so-0/0/0.0). It shows whether the interface is on (up) or off (down) and whether the link state is up or down. Additionally, the output shows the protocol configured on that interface and the local address of the interface, as well as the address of the remote side of a connection for point-to-point interfaces. Refer to the PIC for port numbering.A line in the sample output shows the status of a SONET interface on FPC 0, PIC 0, port 0, and logical unit number 0. The status of the interface is
up. The link status isup. The protocol configured on the interface isinet. The local interface IP address is192.168.36.201and the remote IP address is192.168.36.200.The interface is configured with a /32 subnet. If you configure the interface with a different subnet, the output will be different.
For more detailed information about monitoring interfaces, see the JUNOS Network Interfaces and Class of Service Configuration Guide.
Alternative Actions
To view more detailed information about a particular interface, use the
show interfacesinterface-namebriefcommand. The command output shows the interface status, link-level type, loopback, device flags, interface flags, keepalive settings, keepalive input, active alarms, and defects.To view interface status information, use the
show interface descriptionscommand. This command displays the interface status and the description given when configured on the router.Syntax
show interfaces terse <interface-name>show interfaces <interface-name> brief