Comparing The Cli To The Nsm Ui; Understanding The Junos Cli And Nsm - Juniper NETWORK AND SECURITY MANAGER 2010.4 - M-SERIES AND MX-SERIES DEVICES GUIDE REV 1 Manual

Network and security manager
Table of Contents

Advertisement

Comparing the CLI To the NSM UI

Copyright © 2010, Juniper Networks, Inc.
Because NSM is a UI and the CLI is a command-line interface, the way you access
configuration, monitoring, and management information is different in each interface.
The CLI has two modes: operational mode and configuration mode.
Operational mode—This mode displays the current router status. In operational mode,
you enter commands to monitor and troubleshoot the software, network connectivity,
and router.
Configuration mode—A router configuration is stored as a hierarchy of statements. In
configuration mode, you enter these statements to define all properties of the JUNOS
software, including interfaces, general routing information, routing protocols, user
access, and several system hardware properties.
The following sample output shows the operational mode commands available at the
top level of the CLI operational mode:
user@host> ?
Possible completions:
clear
Clear information in the system
configure
Manipulate software configuration information
file
Perform file operations
help
Provide help information
monitor
Show real-time debugging information
mtrace
Trace multicast path from source to receiver
op
Invoke an operation script
ping
Ping remote target
quit
Exit the management session
request
Make system-level requests
restart
Restart software process
set
Set CLI properties, date/time, craft interface message
show
Show system information
ssh
Start secure shell on another host
start
Start shell
telnet
Telnet to another host
test
Perform diagnostic debugging
traceroute
Trace route to remote host
The following sample output shows the protocols configuration of an M-series device:
[edit]
user@host# show protocols
mpls {
interface ge-1/3/3.0;
interface fe-0/1/2.0;
interface fe-0/1/1.0;
}
ospf {
traffic-engineering;
area 0.0.0.1 {
interface lo0.0 {
passive;
}
interface ge-1/3/3.0;
interface fe-0/1/2.0;
interface fe-0/1/1.0;
Chapter 2: Understanding the JUNOS CLI and NSM
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

M-seriesMx-series

Table of Contents