• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

Roger Perkin

Network Automation Architect

  • Network Automation
    • Network Automation Courses
    • Ansible Automation Platform
    • Ansible Workshop
    • What is Network Automation?
    • Network Automation Tools
    • ContainerLab
    • Ansible Training
      • What is Ansible Software?
      • Ansible Tutorial for Beginners
      • Ansible Network Automation
      • Ansible Hosts File
    • Python Network Automation
      • Nornir
      • Python Network Automation Course
      • Python for Network Engineers
      • Python VENV / Virtual Environment Tutorial
      • Python Tutorial for Beginners
      • pyATS
    • Network Source of Truth
      • NetBox Training
      • Infrahub
    • NetDevops
    • DevOps Tutorial
      • Git Training
      • Terraform Training
      • Linux Training
      • Kubernetes Training
      • Devops Training Course
      • Azure Devops Training
    • Terraform
    • GIT
      • Git Commands
      • What is GitHub?
    • Docker Training
    • Confluence
    • Microsoft Azure
  • Cisco
    • ISE
    • SD WAN Training
    • Password Recovery
    • Software-Upgrade-Guides
    • BGP
    • Data Center
    • WIRELESS
  • CCIE
  • Blog
  • About
    • My Red Special Guitar
  • Contact

Juniper Cheat Sheet

Home » Juniper Tutorials

Configuration and Show Commands for Juniper


Basic Junos Router Show Commands & Configurations

Here are 10 essential Junos commands and configurations to help you get started with your Junos router.

1. Show System Information

To check the system status, hardware details, and software version of your Junos router:

show version

This will provide information like Junos version, router model, and uptime.


2. Show System Boot Process

To view the system boot history and details:

show system boot-messages

This shows any issues during boot, kernel messages, and overall boot status.


3. Show Interface Status

To view the status of all network interfaces:

show interfaces terse

This gives a concise overview of interface status (up/down), IP addresses, and other essential details.


4. Show Routing Table

To display the current routing table:

show route

This will list all active routes, including destination networks, next hops, and interface details.


5. Show Firewall Filters (Policies)

To view firewall filter (policies) applied to interfaces or zones:

show configuration firewall

This will display the configuration for firewall rules, including filters, policies, and interfaces.


6. Show System Memory Usage

To check the system’s memory usage and statistics:

show system resources

This provides memory, CPU, and system load information, helping to monitor resource consumption.


7. Show BGP Summary

If you’re using BGP, this command will show the status of BGP neighbors:

show bgp summary

This command shows BGP peer status, advertised routes, and other related statistics.


8. Show Log Messages

To display the system log messages for troubleshooting:

show log messages

This will display system logs, including events, errors, and warnings.


9. Show Configuration

To display the router’s active configuration:

show configuration

This will show the full configuration of the router. You can also use:

show configuration | display set

for a more compact, set-style output.


10. Show System Uptime

To view how long the system has been up and running:

show system uptime

This gives you the router’s uptime, including how long the system has been operational since the last reboot.


Basic Junos Router Configuration Commands

Here are some basic configuration commands you might use:


1. Configure Hostname

To set the router’s hostname:

set system host-name <hostname>

Example:

set system host-name Router1

2. Configure Interface IP Address

To assign an IP address to an interface:

set interfaces ge-0/0/0 unit 0 family inet address <ip-address>/<subnet-mask>

Example:

set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24

3. Configure Routing Protocol (OSPF)

To configure OSPF on an interface:

set protocols ospf area 0.0.0.0 interface ge-0/0/0.0

4. Set Default Gateway

To configure a default route (gateway):

set routing-options static route 0.0.0.0/0 next-hop <next-hop-ip>

Example:

set routing-options static route 0.0.0.0/0 next-hop 192.168.1.254

5. Commit Changes

To apply the changes you’ve made:

commit

Category: Juniper Tutorials
ansible course for network engineers
Get Access to my Ansible Course NOW
Previous Post:Getting Started with Flask: A Beginner’s Guide to Building Web Applications
Next Post:How to monitor Ubuntu Server for Disk and CPU usage

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Sidebar

Hi I'm Roger Perkin,
Based in the UK working as a Network Automation Architect, CCIE #50038
About Roger | Twitter | Linkedin

python course for network engineers

Topics

Network Automation
Ansible
Python for Network Automation
CCIE
Cisco ISE
F5 Certification
BGP
OSPF
Network Automation Conferences
auvik promo banner
Pluralsight Trial

Git for Network Engineers

Ansible vs Nornir

Start learning today with my Network Automation Courses

Master Ansible, Python, Git, Nornir, Jenkins and more..


Buy me a coffeeBuy me a coffee

ansible network automation course

Have you seen my YouTube Channel?

YouTube Subscribe

Let’s get started

Take a look at my premium courses on Ansible, Nornir & Git or buy them all with the Network Automation Bundle!

Network Automation Courses

Navigation

Home

Blog

About

C

Python VENV Tutorial
Python for Network Engineers

Network Automation
Network Automation Courses
Network Discovery Tools
Network Automation Conferences
Ansible Training
Devops Tutorial
Network Source of Truth
DevOps Glossary
Network Monitoring Software

Contact

Contact

Get in touch with me here

[email protected]

  • Twitter
  • LinkedIn
  • YouTube
Buy me a coffeeBuy me a coffee

Copyright © 2025 · Roger Perkin · All Rights Reserved · Privacy Policy – Terms