Check Physical Interfaces on a Router
Purpose
When you check the physical interfaces on a router, you gather information to quickly diagnose problems.
To check the physical interfaces on a router, follow these steps:
Display Summary Interface Information
Purpose
By displaying a summary of the interfaces on a router, you begin the process of isolating problems when they occur.
Action
To display a summary of all interfaces on a router or a specific group of interfaces, use one of the following Junos OS command-line interface (CLI) operational mode commands:
Sample Output
The following sample output shows all interfaces on a router:
user@host> show interfaces terse Interface Admin Link Proto Local Remote so-5/0/0 up down t3-6/0/0 up down t3-6/0/1 up down t3-6/0/2 up down t3-6/0/3 up down at-6/1/0 up down fe-7/0/0 up up fe-7/0/0.0 up up vpls fe-7/0/1 up up fe-7/0/2 up up fe-7/0/3 up up t3-7/1/0 up down t3-7/1/1 up down t3-7/1/2 up down t3-7/1/3 up down dsc up up fxp0 up up fxp0.0 up up inet 10.168.4.32/24 fxp1 up up fxp1.0 up up tnp 4 gre up up ipip up up lo0 up up lo0.0 up up inet 127.0.0.1 --> 0/0 lsi up up mtun up up pimd up up pime up up tap up up
The following sample output is for a specific group of SONET interfaces on a router:
Sample Output
user@host> show interfaces terse so*
so-0/0/0 up up
so-0/0/0.1 up down inet 10.1.13.2/30
iso
so-0/0/0.2 up down inet 10.1.23.2/30
iso
so-0/0/0.4 up down inet 10.1.34.1/30
iso
so-0/0/0.5 up up inet 10.1.35.1/30
iso
so-0/0/1 up up
so-0/0/2 up up
so-0/0/3 up up
iso
iso
iso
iso
iso
iso
47.0005.80ff.f800.0000.0108.0001.0102.5524.5219.00
Meaning
The sample output shows summary information about the interfaces on the router listed in order of type of interface. The information includes the name of the interface, whether it is turned on (up) or off (down), whether the state of the link is up or down, the protocol configured on the interface, the local address of the interface, and the address of the remote side of the connection if the interface is a point-to-point interface.
Display Detailed Interface Information
Purpose
Detailed interface information is useful when you need to further investigate the status of an interface after you have determined that there might be a problem.
Action
To display detailed information about the status of an interface, use the following Junos OS CLI operational mode command:
The sample output is for an ATM interface. The fields vary depending on the type of interface.
Sample Output
user@host> show interfaces at-7/0/0 extensive
Physical interface: at-7/0/0, Enabled, Physical link is Up
Interface index: 101, SNMP ifIndex: 106, Generation: 100
Description: bangkok51 at-1/1/0
Link-level type: ATM-PVC, MTU: 4482, Clocking: Internal, SONET mode,
Speed: OC12, Loopback: None,
Payload scrambler: Enabled
Device flags : Present Running
Link flags : None
Hold-times : Up 0 ms, Down 0 ms
Current address: 00:90:69:10:c7:72
Last flapped : 2002-05-23 12:12:18 PDT (1d 03:20 ago)
Statistics last cleared: Never
Traffic statistics:
Input bytes : 9526697 744 bps
Output bytes : 10458384 496 bps
Input packets: 129969 0 pps
Output packets: 126940 0 pps
Input errors:
Errors: 0, Drops: 0, Invalid VCs: 0, Framing errors: 0, Policed
discards: 0, L3 incompletes: 0,
L2 channel errors: 0, L2 mismatch timeouts: 0
Output errors:
Carrier transitions: 0, Errors: 0, Drops: 0, Aged packets: 0
SONET alarms : None
SONET defects : None
SONET PHY: Seconds Count State
PLL Lock 0 0 OK
PHY Light 0 0 OK
SONET section:
BIP-B1 1 9
SEF 0 0 OK
LOS 0 0 OK
LOF 0 0 OK
ES-S 1
SES-S 0
SEFS-S 0
SONET line:
BIP-B2 1 183
REI-L 1 323
RDI-L 0 0 OK
AIS-L 0 0 OK
BERR-SF 0 0 OK
BERR-SD 0 0 OK
ES-L 1
SES-L 0
UAS-L 0
ES-LFE 1
SES-LFE 0
UAS-LFE 0
SONET path:
BIP-B3 1 31
REI-P 1 216
LOP-P 0 0 OK
AIS-P 0 0 OK
RDI-P 0 0 OK
UNEQ-P 0 0 OK
PLM-P 0 0 OK
ES-P 1
SES-P 0
UAS-P 0
ES-PFE 1
SES-PFE 0
UAS-PFE 0
Received SONET overhead:
F1 : 0x00, J0 : 0x00, K1 : 0x00, K2 : 0x00
S1 : 0x00, C2 : 0x13, C2(cmp) : 0x13, F2 : 0x00
Z3 : 0x00, Z4 : 0x00, S1(cmp) : 0x00, V5 : 0x00
V5(cmp) : 0x00
Transmitted SONET overhead:
F1 : 0x00, J0 : 0x01, K1 : 0x00, K2 : 0x00
S1 : 0x00, C2 : 0x13, F2 : 0x00, Z3 : 0x00
Z4 : 0x00, V5 : 0x00
ATM status:
HCS state: Sync
LOC : OK
ATM Statistics:
Uncorrectable HCS errors: 77, Correctable HCS errors: 5, Tx cell
FIFO overruns: 0,
Rx cell FIFO overruns: 1, Rx cell FIFO underruns: 0, Input cell
count: 421980,
Output cell count: 139110927341, Output idle cell count: 1671702365,
Output VC queue drops: 0,
Input no buffers: 0, Input length errors: 0, Input timeouts: 0,
Input invalid VCs: 143301,
Input bad CRCs: 0, Input OAM cell no buffers: 0
Packet Forwarding Engine configuration:
Destination slot: 7
CoS transmit queue Bandwidth Buffer Priority
Limit
% bps % bytes
0 best-effort 0 0 0 0
low none
1 expedited-forwarding 0 0 0 0
low none
2 assured-forwarding 0 0 0 0
low none
3 network-control 0 0 0 0
low none
Logical interface at-7/0/0.100 (Index 49) (SNMP ifIndex 143) (Generation 76)
Flags: Point-To-Point Inverse-ARP SNMP-Traps Encapsulation: ATM-SNAP
Traffic statistics:
Input bytes : 9993
Output bytes : 16246
Input packets: 151
Output packets: 136
Local statistics:
Input bytes : 9993
Output bytes : 16246
Input packets: 151
Output packets: 136
Transit statistics:
Input bytes : 0 0 bps
Output bytes : 0 0 bps
Input packets: 0 0 pps
Output packets: 0 0 pps
Protocol inet, MTU: 4470, Flags: None, Generation: 200 Route table: 0
Addresses, Flags: Is-Preferred Is-Primary
Destination: 10.9.140.1, Local: 10.9.140.2, Broadcast:
Unspecified, Generation: 106
Protocol iso, MTU: 4470, Flags: None, Generation: 201 Route table: 0
Protocol mpls, MTU: 4458, Flags: None, Generation: 202 Route table: 0
VCI 0.200
Flags: Active, Inverse-ARP, OAM, Shaping
VBR, Peak: 12mbps, Sustained: 10mbps, Burst size: 24, Queue length: 0
OAM, Period 10 sec, Up count: 5, Down count: 4
Total down time: 0 sec, Last down: Never
ATM per-VC transmit statistics:
Tail queue packet drops: 0
OAM F5 cell statistics:
Total received: 49, Total sent: 49
Loopback received: 49, Loopback sent: 49
Last received: 00:00:08, Last sent: 00:00:08
RDI received: 0, RDI sent: 0
AIS received: 0
Traffic statistics:
Input bytes : 9993
Output bytes : 16246
Input packets: 151
Output packets: 136
Meaning
The sample output shows static status information about this particular ATM interface. For examples of sample output for supported interfaces, see the Junos Network Interfaces Configuration Guide.
Table 23 lists the interface types supported by the Junos OS and shows the interface name as it appears in the output.
Table 23: Interface Types Supported by the Junos OS
Interface Group | Interface Type | Format of interface-name |
|---|---|---|
ATM | ATM | at-fpc/pic/port |
Channelized | Channelized DS3 to DS0 | ds-fpc/pic/port :T1channel:DS-0 channel t1 |
T1, T3, E1, E3 | E1 | e1-fpc/pic/port |
Ethernet | Aggregated Ethernet | ae-fpc/pic/port |
Multilink | Frame Relay | ml-fpc/pic/port |
SONET/SDH | Aggregated SONET/SDH | as-fpc/pic/port |
Other | Encryption | es-fpc/pic/port:es
gr-fpc/pic/port
|
Hide Navigation Pane
Show Navigation Pane
SHA1