How to delete static routes using the Command Line Interface
03/26/2020 9 15556
DESCRIPTION: How to delete static routes using the Command Line Interface
This article describes the method to delete static routes in SonicWall UTM devices using the Command Line Interface (CLI). This would be handy in situations where a user has lost access to the SonicWall Management GUI due to an incorrect route .
Connect the console cable to SonicWall and a PC.
Open a Terminal Emulation Software like HyperTerminal or Putty.
Configure the following parameters to login to the SonicWall CLI:
Bit per second: 115200
Data bits: 8
Stop bits: 1
Flow control: None
Enter the following commands to delete the incorrect route:
config(this is to enter the configuration mode)
route static(this is to enter the static route mode)
show route(this is done to get the route-handle of the incorrect route)
delete <Route Handle> (this command will delete the incorrect route)
exit(enter this command to exit the menu and apply changes)
Note: The above commands cannot delete default auto-configured routes.