Operational Monitoring and Maintenance · Topic 2 of 4
Interface Statistics, Errors and Network Tools
Learn Junos interface status, statistics and error counters, clearing counters, and ping, traceroute, Telnet and SSH from the CLI for JNCIA-Junos JN0-106.
- 6 min
- Interface name format: type-fpc/pic/port.unit, such as
ge-0/0/0.0. - Admin down = disabled in configuration; Admin up and Link down = physical problem.
show interfaces extensiveshows all error counters; CRC errors point to physical faults.
What it is
Interface statistics tell you whether an interface is up and how much traffic it carries. Error counters tell you whether that traffic is healthy, for example whether frames arrive damaged or are dropped.
The network tools test reachability from the device itself: ping checks whether a host answers, traceroute shows the path, and telnet and ssh open a session from the Junos device to another device. Together they are the first step in any troubleshooting.
How it works
Interface names
Junos interface names follow type-fpc/pic/port.unit, for example ge-0/0/0.0.
| Part | Example | Meaning |
|---|---|---|
| Type | ge | Media type: fe Fast Ethernet, ge Gigabit Ethernet, xe 10-Gigabit Ethernet |
| FPC | 0 | Line card or slot number |
| PIC | 0 | Interface card within the FPC |
| Port | 0 | Port on the PIC |
| Unit | .0 | Logical unit, where you configure addresses |
Without a unit number you are looking at the physical interface; with a unit you are looking at the logical interface.
Reading show interfaces terse
user@router> show interfaces terse
Interface Admin Link Proto Local Remote
ge-0/0/0 up up
ge-0/0/0.0 up up inet 10.1.1.1/24
ge-0/0/1 down down
ge-0/0/1.0 up down inet 10.1.2.1/24
ge-0/0/2 up down
lo0.0 up up inet 192.168.100.1 --> 0/0
| Admin | Link | Meaning |
|---|---|---|
| up | up | Working |
| down | down | Disabled in the configuration with disable |
| up | down | Enabled, but no physical link: check the cable, the optic or the far end |
In the example, ge-0/0/1 is administratively disabled, so its logical unit is down too. ge-0/0/2 is enabled but has no link.
Statistics and error counters
show interfaces ge-0/0/0 extensive shows the full set of counters. The fields the exam likes are in the error sections.
| Counter | What it usually means |
|---|---|
| Input errors | Frames received with errors |
| Framing errors, CRC/Align errors | Damaged frames: a bad cable, optic or port |
| Runts | Frames shorter than the minimum size |
| Input drops | Frames dropped on the way in |
| Output drops | Frames dropped on the way out, often because of congestion |
| Collisions | Half duplex collisions, or a duplex mismatch |
| Carrier transitions | How often the link went up and down; a rising value means a flapping link |
Counters build up from the last time they were cleared, which the output shows as "Statistics last cleared". To see whether errors are still rising, clear the counters and watch them again.
user@router> clear interfaces statistics ge-0/0/0
user@router> clear interfaces statistics all
Clearing statistics resets the counters only. It does not reset the interface or drop traffic.
ping
user@router> ping 10.1.1.2
user@router> ping 10.1.1.2 count 5
user@router> ping 10.1.1.2 rapid
user@router> ping 10.1.1.2 source 192.168.100.1 count 5
user@router> ping 10.2.2.1 routing-instance VR1
By default Junos ping keeps sending until you press Ctrl+C. count limits the number of packets.
rapid sends packets quickly and prints ! for each reply and . for each timeout. source sets the source address, and routing-instance sends the ping from a routing instance other than the default.
traceroute
traceroute 10.5.5.5 lists each router on the path. It sends probes with a TTL of 1, then 2, and so on. Each router that receives a probe with an expiring TTL answers with an ICMP time exceeded message, which reveals its address.
A line of * means no reply for that hop, often because a filter blocks the probes or the replies. The trace can continue past it.
telnet and ssh
From operational mode you can open a session to another device:
user@router> telnet 10.1.1.2
user@router> ssh 10.1.1.2
Both accept source and routing-instance options, like ping. Telnet sends everything, including the password, in plain text; SSH encrypts the session.
To accept incoming sessions, the Junos device needs the service enabled in its configuration:
user@router# set system services ssh
user@router# set system services telnet
A worked example
A server behind ge-0/0/1 is unreachable. show interfaces terse shows ge-0/0/1 as Admin up, Link up. show interfaces ge-0/0/1 extensive shows thousands of CRC errors.
The engineer runs clear interfaces statistics ge-0/0/1 and checks again a minute later. The CRC errors are rising, so the fault is physical. After the cable is replaced, ping 10.1.2.10 rapid count 10 returns ten ! marks.
How the exam asks about this
- "Admin is up and Link is down. What is the likely cause?" → A physical problem such as the cable or the far end.
- "How do you stop a default ping?" → Press Ctrl+C; it runs until stopped.
- "Which counter suggests a duplex mismatch?" → Collisions, often with CRC errors.
Common mistakes
Reading Admin down as a cable fault. Admin down means the interface is disabled in the configuration. A cable fault shows as Admin up, Link down.
Expecting ping to stop after five packets. Without count or rapid, Junos ping runs until you press Ctrl+C. rapid alone sends five packets.
Thinking clear interfaces statistics resets the link. It only zeroes the counters, so you can see whether errors are still growing.
What to remember for the exam
- Interface name format: type-fpc/pic/port.unit, such as
ge-0/0/0.0. - Admin down = disabled in configuration; Admin up and Link down = physical problem.
show interfaces extensiveshows all error counters; CRC errors point to physical faults.clear interfaces statisticsresets counters only.pingruns until Ctrl+C by default;rapidprints!for replies and.for timeouts.
Telnet sends passwords in plain text. When a question asks for a secure remote session, the answer is SSH, enabled with set system services ssh.
Check yourself
What does Admin up and Link down mean in
show interfaces terse?The interface is enabled in the configuration but has no physical link, so check the cable, optic or far end.
How do you send exactly five pings to 10.1.1.2?
Use
ping 10.1.1.2 count 5, orping 10.1.1.2 rapid, which also sends five packets.Which command resets the counters on ge-0/0/0 without affecting traffic?
clear interfaces statistics ge-0/0/0.
Topic 2 of 4 in Operational Monitoring and Maintenance
Test yourself on Operational Monitoring and Maintenance
The full Juniper JNCIA-Junos JN0-106 question bank has 1,155 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by Juniper. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.