Search My Techie Guy

Friday, August 7, 2015

Quick Check Juniper-Junos "Disable and Enable vlan interface"

This command does the same thing as Cisco's "shutdown" and "no shutdown" interface commands:

> edit 
Entering configuration mode

# set interfaces vlan.231 disable 
# commit 
# exit 
Exiting configuration mode

>
> show interfaces vlan.231 terse    
Interface               Admin Link Proto    Local                 Remote
vlan.231                down  up   inet     10.0.23.1/28    
# delete interfaces vlan.231 disable 
# commit 
# exit 
Exiting configuration mode


> show interfaces vlan.231 terse    
Interface               Admin Link Proto    Local                 Remote
vlan.231                up    up   inet     10.0.23.1/28    
>

No comments: