
- •Contents
- •Course Overview
- •Course Agenda
- •Document Conventions
- •Additional Information
- •Chapter 1: Course Introduction
- •Chapter 2: Junos Operating System Fundamentals
- •The Junos OS
- •Traffic Processing
- •Overview of Junos Devices
- •Chapter 3: User Interface Options
- •User Interface Options
- •The Junos CLI: CLI Basics
- •The Junos CLI: Operational Mode
- •The Junos CLI: Configuration Mode
- •Lab 1: The Junos CLI
- •Chapter 4: Initial Configuration
- •Factory-Default Configuration
- •Initial Configuration
- •Interface Configuration
- •Lab 2: Initial System Configuration
- •Chapter 5: Secondary System Configuration
- •User Configuration and Authentication
- •System Logging and Tracing
- •Network Time Protocol
- •Archiving Configurations
- •SNMP
- •Lab 3: Secondary System Configuration
- •Monitoring Platform and Interface Operation
- •Network Utilities
- •Maintaining the Junos OS
- •Password Recovery
- •Lab 4: Operational Monitoring and Maintenance
- •Appendix A: Interface Configuration Examples
- •Review of the Interface Configuration Hierarchy
- •Interface Configuration Examples
- •Using Configuration Groups
- •Appendix B: The J-Web Interface
- •Configuration
- •Lab 5 (Optional): The J-Web Interface
- •Appendix C: Acronym List
- •Appendix D: Answer Key
- •Chapter 1: Course Introduction
- •Chapter 2: Junos Operating System Fundamentals
- •Chapter 3: User Interface Options
- •Chapter 4: Initial Configuration
- •Chapter 5: Secondary System Configuration
- •Chapter 6: Operational Monitoring and Maintenance

Introduction to the Junos Operating System
Network Utilities
The slide highlights the topic we discuss next.
www.juniper.net |
Operational Monitoring and Maintenance • Chapter 6–11 |

Introduction to the Junos Operating System
Ping and Traceroute Utilities
The Junos CLI provides ping and traceroute utilities. You can use these tools to determine general network reachability and the path that packets take to reach a destination. You can use various arguments with the ping and traceroute commands, such as source IP address and packet size, to further assist in problem isolation.
By default, the ping utility sends a continuous flow of ICMP echo requests to the referenced destination. To stop the ping operation, you press the Ctrl+c keys, as illustrated on the slide. Alternatively, you can include the count option with a specified number of ICMP echo requests to send out:
user@router> ping 10.210.11.177 count 5
PING 10.210.11.177 (10.210.11.177): 56 data bytes
64 bytes from 10.210.11.177: icmp_seq=0 ttl=64 time=0.071 ms 64 bytes from 10.210.11.177: icmp_seq=1 ttl=64 time=0.060 ms 64 bytes from 10.210.11.177: icmp_seq=2 ttl=64 time=0.125 ms 64 bytes from 10.210.11.177: icmp_seq=3 ttl=64 time=0.128 ms 64 bytes from 10.210.11.177: icmp_seq=4 ttl=64 time=0.080 ms
--- 10.210.11.177 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.060/0.093/0.128/0.028 ms
Chapter 6–12 • Operational Monitoring and Maintenance |
www.juniper.net |

Introduction to the Junos Operating System
The matching option matches only certain predefined fields. For a full list of eligible fields and operator expressions, see http:// www.juniper.net/ techpubs/ for the
System Basics and Services Command Reference.
Monitoring Traffic
The CLI’s monitor traffic command provides access to the tcpdump utility. This tool monitors traffic that originates or terminates on the local RE. If you do not specify an interface, the management interface is monitored. This capability provides a way to monitor and diagnose problems at Layer 2 using the layer2-headers argument. You can match packet fields using the matching option and save packet captures for analysis from a third-party packet decoder such as Ethereal or Wireshark using the write-file option.
The write-file option is hidden and should be used with caution. If used improperly, this command option could fill the available storage space of the device.
www.juniper.net |
Operational Monitoring and Maintenance • Chapter 6–13 |

Introduction to the Junos Operating System
Packet Capture Example
The slide provides an example of the CLI monitor traffic command. Note that to stop a packet capture, you use the Ctrl+c keyboard sequence.
Chapter 6–14 • Operational Monitoring and Maintenance |
www.juniper.net |

Introduction to the Junos Operating System
You can also open FTP sessions directly from devices running the Junos OS using the hidden ftp CLI command. We do, however, recommend users perform file transfers with the file copy CLI command, as shown in the example.
Network Utilities
The CLI supports powerful Telnet, SSH, and FTP clients. These clients support various arguments that tailor their specific operations.
You use the CLI’s file copy command to transfer files to and from devices running the Junos OS. The following example uses the file copy command in conjunction with the FTP client to transfer a file from a remote FTP server to the local device running the Junos OS:
user@router> file copy ftp://ftp:ftp@10.210.11.189/junos-jseries-domestic.tgz /var/ tmp/junos-jseries-domestic.tgz
/var/tmp//...transferring.file.........Ri4PRe/100% of 41 MB 4071 kBps 00m00s
www.juniper.net |
Operational Monitoring and Maintenance • Chapter 6–15 |