From Dave-Wiki
Jump to navigation Jump to search


Show Interface Info

 show interfaces descriptions
 show ethernet-switching interface brief
 show lldp neighbors
 show lldp neighbors interface ge-0/2/2
 show interfaces media brief

Show MAC Addresses

 show ethernet-switching table | find 38:17:c3:ca:59:16
 show ethernet-switching table vlan-name [vlan-name]

Restart Web Management

 restart web-management


 show interfaces diagnostics optics
 show interfaces media brief


Show Config Diff

Show differences between Candidate Config and Running Config

In Operational mode (display xml optional):

 show configuration | compare | display xml

In Configuration mode:

 show | compare (in configuration mode)

Load Config File From USB

 mount_msdosfs /dev/da1p1 /mnt
 load override /var/tmp/usb/[config_file].conf
 request system reboot

Load Config From Copy-&-Paste

 load replace terminal

(Type ^D at a new line to end input)

Save Config via SFTP

Location of the latest config; obtainable via SFTP:




 show bgp summary
 show route receive-protocol bgp <neighbor>


Verify Partitions and File System Mounts

 show system storage

Verify Loader Software Version

 show chassis firmware

Verify Which Root Partition Is Active

 show system storage partitions

Verify the JunOS Version in Each Root Partition

 show system snapshot media internal

Copy OS from Active Partition to Backup Partition

 request system snapshot slice alternate

Upgrade JunOS from USB

Copy the .tgz file to a FAT32-formatted USB stick, and insert it into the switch. Note if it shows up as da0, da1, etc. on the console.

 mount_msdosfs /dev/da1s1 /mnt
 request system software add /mnt/jinstall-ex-4200-10.0S10.1-domestic-signed.tgz force unlink no-copy
 request system reboot at now
 show version