Juniper Commands
Juniper Commands
Welcome to this compilation of the most common Juniper / Junos Operational Commands. Based on the documentation and the experience
we have achieved along years working as a network engineer, we want to condense the hughest ammount of knowledge and experience in
the minimum space, in order to become an useful "cheat sheet" able to help the network engineer on a daily basis.
We are not showing configuration commands. Juniper has tons of documentation in order to configure services. What we want to show is
just the operational side, but focussing there, we want to create the best spreadsheet in the web. Please be welcome to help us with any
additional commands or suggestions you may have. This site will always be under construction.
We are commited to avoid any copyright infringement, so if someone feels we do, please let us know. Our e-mail address is
[email protected] (mailto:[email protected])
Adittionally, feel free to check our other useful sites: www.bgplookingglass.com (http://www.bgplookingglass.com) and www.routeservers.org
(http://www.routeservers.org)
show interface transceiver show interface diagnosis optics sh controllers <interface-id> phy
Links of Interest
http://www.juniper.net/support/requesting-support.html (http://www.juniper.net/support/requesting-
JTAC Contact Numbers
support.html#emea)
http://forums.juniper.net/t5/Discussion-Forums/ct-p/Forums (http://forums.juniper.net/t5/Discussion-
Juniper Discussion Forum
Forums/ct-p/Forums)
https://prsearch.juniper.net/InfoCenter/index?page=prsearch (https://prsearch.juniper.net/InfoCenter/index?
Juniper Problem Report Search
page=prsearch)
exit configuration-mode exit from configuration mode to operational mode without committing config changes
top edit <path> moves directly a specific path in the configuration hierarchy
activate / deactivate activate / deactivate a configuration statement. if deactivated, config won't take effect when commited.
In order to provide you with the best online experience this website uses cookies.
rename <id1> to <id2> rename identifier id1 to id2
By using our website, you agree to our use of cookies.
insert term <stat1> before/after
moves relative position between terms
I agree
<stat2>
www.networkcommands.net 1/6
7/16/2019
replace pattern <pattern1> with Juniper Commands
replace a pattern with a different one
<pattern2>
protect <path> protect the device configuration from being modified or deleted by other users
show configuration | display set displays original commands used to enter configuration
show configuration | find <exp> displays config lines starting in the first match of one specific expression
enter configuration mode to edit privately from other users. commit only apply current user changes, not to
configure private / update
others. to synchronize with other users, enter update command
set cli directory <path> changes current directory to the selected path
set date
set time & date
<YYYYMMDDhhmm.ss>
commit confirmed <minutes> commit configuration and roll it back after a number of minutes (10 minutes default)
commit at <yyyy-mm-dd
commit config at a certain time/date
hh:mm[:ss]>
commit full commit config restarting all deamons (be very careful when applying this command)
clear system commit from operational mode, clear all pending commit requests (similar to rollback)
rollback 22 loads config file 22 without activating it, you need to commit it later
show iccp
displays a list of all Flexible PIC Concentrators (FPCs) and PICs installed in the router or switch chassis,
show chassis hardware
including the hardware version level and serial number
displays info like memory load, CPU load, temperature and other parameters related to each Routing
show chassis routing-engine
Engine
show chassis alarms displays information about the the conditions that have been configured to trigger alarms
show chassis mac-addresses displays the media access control (MAC) addresses for the router or switch
show ethernet-switching
redundancy-groups arp- displays MC-LAG ARP statistics
statistics
show chassis satellite neighbor verifies that a cascade port recognizes a satellite device
show chassis satellite terse verifies the hardware model of each satellite device
shows virtual chassis members, their serial number, status, role (master, backup, linecard, VC interface
show virtual-chassis
involved)
request session member X login a particular member (X) of the virtual chassis
show version invoke-on all- show Junos version installed in each Virtual Chassis member. It also applies to Standalone chassis with dual
routing-engine routing engines
clear rsvp session clear RSVP sessions and trigger fast reroute optimization
show rsvp interface display the status of interfaces on which RSVP is running
Load Commands
load merge terminal loads and merge config directly from router terminal
load merge terminal relative loads and merge config relative to current edit point
load replace terminal loads and replace config directly from router terminal
load replace terminal relative loads and merge config relative to current edit point
request system halt gracefully terminates software processes, but not the chassis
request system power-off power-off all the chassis (but the fun)
monitor stop messages stops displaying "messages" log file in real time
show snmp mib get <oid> show value for a specific OID
show snmp mib walk <oid> show snmpwalk for that specific OID
df -k
In order to provide you with the best online experience this website uses cookies.
lists disk partition
By using our website, you agree to our use of cookies.
Juniper FPC Commands
I agree
www.networkcommands.net 5/6
7/16/2019
start shell pfe network fpc0 Juniper Commands
In order to provide you with the best online experience this website uses cookies.
By using our website, you agree to our use of cookies.
I agree
www.networkcommands.net 6/6