Juniper Commands

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 6
At a glance
Powered by AI
The document describes various Juniper commands that can be used to display network device configuration, status and troubleshooting information.

Commands like show interfaces, show interfaces description, show interfaces extensive can be used to display interface configuration, status and statistics.

Commands like show route, show route protocol bgp, show ospf neighbor, show isis adjacency can be used to display routing protocol information.

Juniper commands

show interface terse

displays the status of interfaces configured for IP

show interfaces [intfc] detail


statistics.

displays the interface configuration, status and

show interfaces intfc extensive

displays information about a physical port device

show interfaces description


statistics

displays the interface configuration, status and

show route
the routing table

displays summary information about entries in

show bgp summary

displays the status of all BGP connections

show route protocol bgp prefix

will show you how that route is being advertised.

show route aspath-regexp "AS-regexp" displays routes matching the AS path regular
expression
show route receive-protocol bgp neighbour
route refresh capability

Shows whether a neighbor supports the

show route source-gateway neigh protocol bgp Shows whether a neighbor supports the
route refresh capability
show route advertising-protocol bgp neighour
route refresh capability
show isis adjacency

Shows whether a neighbor supports the

displays both ES and IS neighbors

show isis interface


interface

shows specific information about each

show isis routes


table

displays the current state of the the routing

show isis spf


areas
show ospf neighbor
neighbor router, dead time

displays a list of all connected routers in all


shows neighbor ID, Priority, IP, & State of the

show ospf interface


address and interface

shows neighbor id, pri, state, dead time,

show ospf route

display the current state of the routing table

show ospf database


display list of information related to the OSPF
database for a specific communication server
show version, show system uptime
display the system hardware config.,
software version, and name and source of configuration files and boot images
show chasis hardware

displays power-on diagnostics status

show system process

displays utilization statistics

show policy name


displayall route-maps configured or
only the one specified and display information about a prefix list or prefix list entries
show chassis environment
information on the console
monitor start messages

displays temperature and voltage


Change console terminal settings

monitor stop
set cli screen-length 0
output

sets the length for displaying command

show log user

To check user's login history

show cli authorization


information

To see authorization and authentication

show system storage

To see local storage data

show system processes


show chassis hardware
show chassis environment
cooling system speeds
show chassis routing-engine
show chassis craft-interface

To check system process table


To check installed hardware components
To check component status and temperature,
To check routing engine status
To see craft interface status

show chassis fpc

To show flexible PCI concentrator status

show chassis scb

To check system control board status

show chassis alarms

To see alarm status

show configuration

To check current configuration

show route terse

To display terse output of routes

show route detail

To display detailed output

show bgp summary

To see overview of BGP information

show bgp group

To check the BGP group database

show bgp neighbor x.x.x.x

To check a status bgp neighbors

show ip route x.x.x.x/24

To check route on routing table

show route receive-protocol bgp '157.130.10.1'


advertising thru peer
show route protocol bgp x.x.x.x/24
table

To check what routes are


To check a route on bgp routing

show route protocol bgp receive-protocol bgp neighIP


receiving

request system snapshot factory

To see what routes are

copies the factory-default files to your backup

media
load factory-default
default configuration

configuration method for loading a factory

show network-access aaa statistics accounting


?
Clear

Clear information in the system

configure

Manipulate software configuration information


file Perform file operations

monitor

Real-time debugging

show ?
Possible completions:
accounting

Show accounting profiles and records

arp

Show system ARP table entries

as-path

Show table of known AS paths

bgp
chassis

Show information about BGP


Show chassis information

class-of-service

Show information about class of service

cli

Show command-line interface settings

configuration

Show configuration file contents

connections

Show CCC connections

firewall

Show firewall counters and information

host

Host name lookup service using domain name server

interfaces

Show interface information

log

Show contents of a log file

mpls

Show information about MPLS

policy

Show policy information

route

Show routing table information

snmp

Show SNMP information

system

Show system information

version

Show software process revision levels

monitor

Monitor a log file or interface traffic in a real time

monitor interface command


monitor label-switched-path command
monitor list command

Display the status of monitored log and trace files.

monitor start command Start displaying the system log or trace file and additional
entries being added to those files.
monitor stop command Stop displaying the system log or trace file.
monitor traffic command
testTest the

configuration and application of policy filters and AS path regular

expressions.
set admin name name
set admin password pswd_str
save
set admin manager-ip ip_addr/mask

save
set interface bgroup0 ip ip_addr/mask

save
set interface eth0/0 manage web
unset interface eth0/0 manage snmp
save
set hostname hostname
set domain domain-name
save
set route 0.0.0.0/0 interface ethernet0/2 gateway ip_addr
unset interface bgroup0 port ethernet0/3
unset interface bgroup0 port ethernet0/4
set interface bgroup1 port ethernet0/3
set interface bgroup1 port ethernet0/4
set interface bgroup1 port wireless0/2
set interface bgroup1 zone DMZ
set interface bgroup1 ip 10.0.0.1/24
unset interface bgroup0 port ethernet0/3
set interface ethernet0/3 zone trust
set interface ethernet0/3 ip 192.168.3.1/24

Show isdn calls


Show isdn history
Show isdn status
/detail
Show isdn q931/q921

show services ipsec-vpn ipsec statistics


security-association
show services ipsec-vpn ike
show services crtp extensive / flow / interface
show services accounting
aggregation
Show aggregation information
errors
Show error statistics
flow
Show flow information
flow-detail
Show flow detail
memory
Show memory information
packet-size-distribution Show packet size distribution
status
Show service accounting parameters
usage
Show CPU usage
show services ipsec-vpn certificates brief / detail /sevice set

You might also like