To sign in, use your existing MySonicWall account. To create a free MySonicWall account click "Register".
When using Web Administration, I can browse to Switching → Port Settings and disable the port status. How do I do this via the CLI?
Model: SWS14-24 Firmware: v1.2.1.0-5
@emma You want to disable/shutdown a port on the switch via CLI. Please follow the commands below.
#conf t
(config)# interface gigabitethernet 0/1 (config-if)# shutdown
(config-if)#exit (config)# save
#This will do the same, as what you do in GUI > Port Settings > Disable port status#
To Enable the port, follow the commands:
(config)# interface gigabitethernet 0/1
(config-if)# no shutdown
Answers
@emma You want to disable/shutdown a port on the switch via CLI. Please follow the commands below.
Login to the switch CLI via SSH#conf t
(config)# interface gigabitethernet 0/1
(config-if)# shutdown
(config-if)#exit
(config)# save
#This will do the same, as what you do in GUI > Port Settings > Disable port status#
To Enable the port, follow the commands:
#conf t
(config)# interface gigabitethernet 0/1
(config-if)# no shutdown
(config-if)#exit
(config)# save