This article briefs the set of commands used to disable and enable interfaces on juniper switch, which is equivalent to shutdown and no shutdown used in Cisco products.
To disable an Interface use the below command in the configuration mode and commit the changes.
root@JN-SW-01# set interfaces xe-0/0/2.0 disable
root@JN-SW-01# commit
This is equivalent to shutdown in Cisco.
Verify the changes:
root@JN-SW-01> show interfaces xe-0/0/2.0 terse
Interface Admin Link Proto Local Remote
xe-0/0/2.0 down up
To enable an Interface use the below command in the configuration mode and commit the changes.
root@JN-SW-01# delete interfaces xe-0/0/2.0 disable
root@JN-SW-01# commit
This is equivalent to no shutdown in Cisco.
Verify the changes:
root@JN-SW-01> show interfaces xe-0/0/2.0 terse
Interface Admin Link Proto Local Remote
xe-0/0/2.0 up up
0 Comments