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

Roger Perkin

Network Automation Architect

  • Network Automation
    • Network Automation Courses
    • What is NetDevOps?
    • Workflow Orchestration
    • Ansible Automation Platform
    • Ansible Workshop
    • What is Network Automation?
    • Network Automation Tools
    • ContainerLab
    • Ansible Training
      • What is Ansible?
      • Ansible Tutorial for Beginners
      • Ansible Network Automation
      • Ansible Inventory Example
    • 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
      • NautoBot
    • 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

How to Shutdown Port Juniper EX4200

Home » Juniper Tutorials

This may seem like a simple post but I needed this info today quickly and had to google

“How to Shutdown Port Juniper EX4200”

The answer is very simple but not having much experience on the Juniper switches I was a bit stuck. In Cisco I would have just done a shut on the port, in Junos you have to set the port to a disable state and then commit the config, like this

{master:0}[edit]
 roger@Switch1# set interfaces ge-5/0/42 disable

Then you have to commit the change

{master:0}[edit]
 roger@Switch1# commit
 configuration check succeeds
 fpc1:
 commit complete
 fpc2:
 commit complete
 fpc4:
 commit complete
 fpc5:
 commit complete

To enable the port you then have to delete this command

{master:0}[edit]
 perkinr@Switch1# delete interfaces ge-5/0/42 disable

You could have used the GUI but I still prefer the CLI
Cisco

 conf t
 Int Gi1/0/1 shut
 no shut
Juniper
 config
 set interfaces ge-5/0/42 disable
 commit
 delete interfaces ge-5/0/42 disable
 commit

 

 

Category: Juniper TutorialsTag: EX4200, Juniper, Junos
ansible course for network engineers
Get Access to my Ansible Course NOW
Previous Post:How much sleep do you need before the CCIE Lab Exam?
Next Post:MPLS LDP Troubleshooting

Reader Interactions

Comments

  1. Artur

    October 7, 2014 at 4:02 pm

    Thanks, this helped. CLI is preferrable

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

Python VENV Tutorial
Python for Network Engineers

Network Automation
Network Automation Courses
Network Discovery Tools
Network Automation Conferences
Ansible Training
What is Ansible?
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 © 2026 · Roger Perkin · All Rights Reserved · Privacy Policy – Terms