revert

Purpose

Sets a particular group of a devices’ settings to its default values. Only one settings-group keyword can be specified per revert command. That is, entering several keywords on a single command to revert multiple settings is not allowed. A revert all command reverts all device settings but network, security, and host key/certificate settings.

Entering revert user, revert group, or revert permissions, displays a message indicating that those settings cannot be reverted individually, and instead must be reverted all together at the same time via the revert auth command. The revert auth command (revert authentication and authorization) reverts all users, all groups, and all permissions at the same time.

Required permissions

The only set permissions requirement is for the revert all command variant. Permissions used by the various set commands apply to the various revert command variants. revert all uses a different mechanism that bypasses the individual set commands, and therefore has its own permissions. To execute the revert all command, a user must have permissions set to set permissions revert‑all=execute. See set permissions for details on setting user permissions for commands.

Syntax

revert [settings group option]

where [settings group option] is one of the following keywords:

[all|
accesscontrol|
alarm|
auth|
autoconnect [port=range]|
buffer [port=range]|
camera|
clocksource [range=1-5]|
dcloud_msgservice|
ddns|
devicesecurity|
dhcpserver|
dialserv [port=range]|
dirp [range=1-20]|
dnsproxy|
ekahau|
failover|
forwarding|
geofence [index=1-16]|
gpio|
host|
hostlist|
ia|
login| mgmtconnection|
mgmtglobal|
mgmtnetwork|
mobile [index=1-2]|
mobileppp [index=1-2]|
nat [instance=1-8]|
network {all|globalsettings|interface=comma-separated list of interface names]}|
orbcomm|
passthrough|
pmodem [port=range]|
position|
ppp [port=1-5]|
profile [port=range]|
putty|
python range=1-4|
realport|
scancloak|
serial [port=range]|
service|
sharing [port=range]|
slideshow|
smscell{global|scl|python|command|all}
snmp|
socket_tunnel|
surelink [index=1-2]|
switches|
system|
tcpserial [port=range]|
term [port=range]|
trace|
time|
timemgmt
udpserial [port=range]|
video|
vncclient|
vpn {all|global|tunnel|phase1|phase2}|
vrrp [index=1-8]|
user (valid for single-user model devices only)
wimax|
wlan|
xbee

Options

all

Reverts all settings except these:

accesscontrol

Reverts the access control settings configured by the set accesscontrol command.

alarm

Reverts the alarm settings configured by the set alarm command.

auth

Reverts the permission settings configured by the set permissions command, the user settings configured by the set user command, and group settings, configured by the set group command.

This option is not available in Digi devices that implement the single-user model; see User Models and User Permissions in Digi devices for more information on user models.

autoconnect [port=range]

Reverts the Autoconnect settings configured by the set autoconnect command.

port=range

The serial port to which the autoconnect settings apply.

buffer [port=range]

Reverts the port-buffering settings configured by the set buffer command.

port=range

The port or ports to which the revert command applies.

camera

Reverts the camera settings configured by the set camera command.

clocksource [range=1-5]

Reverts the settings configured by the set clocksource command.

range=1-5

The time source entry for which settings are reverted.

idcloud_msgservice

Reverts the Remote Manager SMS settings configured by the set dcloud_msgservice command.

ddns

Reverts the Dynamic DNS (DDNS) settings configured by the set ddns command.

devicesecurity

Reverts the Remote Manager device security settings to their factory defaults.

dhcpserver

Reverts the DHCP server settings configured by the set dhcpserver command.

dialserv [port=range]

Reverts the Dialserv settings configured by the set dialserv command.

port=range

The port or ports for which the DialServ settings are reverted. If not specified, all settings are reverted.

dirp [range=1-20]

Reverts the device-initiated RealPort settings configured by the set dirp command.

range=1-20

Specifies which Device-Initiated RealPort connections are to be reverted. If not specified, all connections are reverted.

dnsproxy

Reverts the DNS proxy settings configured by the set dnsproxy command.

ekahau

Reverts the Ekahau client settings configured by the set ekahau command.

failover

Reverts the IP network failover settings configured by the set failover command.

forwarding

Reverts the port-forwarding settings configured by the set forwarding command.

geofence [index=1-16]

Reverts the geofence/GPS settings configured by the set geofence command.

index=1-16

The index number for the geofence. If not specified, all geofence settings are reverted.

gpio

Reverts the GPIO settings configured by the set gpio command.

host

Reverts the host name set by the set host command.

hostlist

Reverts the host settings configured by the set hostlist command.

ia

Reverts the Industrial Automation (IA) settings configured by the set ia command.

login

Reverts the login settings configured by the set login command.

mgmtconnection

Reverts the Remote Manager connection settings configured by the set mgmtconnection command.

mgmtglobal

Reverts the Remote Manager global settings configured by the set mgmtglobal command.

mgmtnetwork

Reverts the Remote Manager network settings configured by the set mgmtnetwork command.

mobile [index=1-2]

Reverts the mobile settings configured by the set mobile command.

index=1-2

The slot number of the SIM card. Required on dual-SIM devices. Enter set mobile without options to display these index numbers and primary and secondary SIM card designations.

mobileppp [index=1-2]

Reverts the mobile PPP connection settings configured by the set mobileppp command.

index=1-2

The index number of the SIM used for the mobile PPP connection. Enter set mobileppp without options to display these index numbers and primary and secondary SIM card designations.

nat [instance=1-8]

Reverts the Network Address Translation (NAT) and port/protocol forwarding settings configured by the set nat command.

instance=1-8

The NAT instance to which the revert command applies. If an instance is not specified, all instances will be reverted.

network {all|globalsettings|interface=comma separated list of interface names]}

Reverts these settings:

revert network all

Reverts settings for all interfaces to default settings.

revert network globalsettings

Reverts the global network settings. See set network for details on these options.

Note The global settings include the TCP options. Reverting the TCP options does not affect existing connections. TCP service listeners continue to use the previous option values until the service is restarted or a reboot is performed.

revert network interface=comma-separated list of interface names

Reverts the interface-specific network settings for the specified interfaces. The interface option can be abbreviated as if.

revert network

revert network with no options is equivalent to revert network all.

orbcomm

Reverts the ORBCOMM satellite settings configured by the set orbcomm command.

passthrough

Reverts the IP pass-through settings configured by the set passthrough command.

pmodem [port=range]

Reverts the modem emulation settings, configured by the set pmodem command.

[port=range]

The serial port for which modem emulation settings are reverted. Optional on a single-port device.

position

Reverts the position settings configured by the set position command.

ppp [port=1-5]

Reverts the Point-to-Point Protocol (PPP) outbound connection settings, configured by the set ppp command.

port=1-5

The physical interface to which the revert command applies.

profile [port=range]

Reverts the profile settings configured by the set profile command.

port=range

The serial port number or range of serial ports for which profile settings are reverted.

putty

Reverts the terminal emulation settings configured by the set putty command.

python [range=1-4]

Reverts the Python program settings configured by the set_python command.

range=1-4

The index or indices of the Python instance to be reverted. To view the indices, enter set python with no options.

realport

Reverts the Realport settings configured by the set realport command.

scancloak

Reverts the network port scan cloaking settings configured by the set scancloak command.

serial [port=range]

Reverts the serial, RCI serial, and RTS toggle settings configured by the set serial, set rciserial, and set rtstoggle commands.

port=range

The serial port for which settings are to be reverted.

service

Reverts the service settings configured by the set service command.

sharing [port=range]

Reverts the port-sharing settings configured by the set sharing command.

[port=range]

The serial port for which port-sharing settings are to be reverted.

slideshow

Reverts the slideshow feature for displaying images from a USB storage device configured by the set slideshow command.

smscell {global|scl|python|command|all}

Reverts the SMS settings configured by the set smscell command. One or more settings groups can be specified. If no group is specified, all is assumed. Settings groups are:

global

Revert global SMS settings.

scl

Revert Sender Control List SMS settings.

python

Revert Python SMS settings.

command

Revert command SMS settings.

all

Revert all SMS settings (default).

snmp

Reverts the SNMP settings configured by the set snmp command.

socket_tunnel

Reverts the socket tunnel settings configured by the set socket_tunnel command.

surelink [index=1-2]

Reverts the Digi SureLink™ settings configured by the set surelink command.

index=1-2

The index number of the SIM to which the hardware reset threshold settings apply. Enter set surelink without options to display these index numbers and primary and secondary SIM card designations.

switches

Reverts the Multiple Electrical Interface (MEI) switch settings configured by the set switches command.

system

Reverts the system settings configured by the set system command.

tcpserial [port=range]

Reverts the TCP serial settings configured by the set tcpserial command.

port=range

The serial port for which TCP serial settings are to be reverted.

term [port=range]

Reverts the terminal connection settings configured by the set term command.

port=range

The serial port for which terminal connection settings are to be reverted.

time

Reverts the time settings configured by the set time command.

timemgmt

Reverts the time management settings configured by the set timemgmt command.

trace

Reverts the trace settings configured by the set trace command.

udpserial [port=range]

Reverts the UDP serial settings configured by the set udpserial command.

port=range

The serial port for which UDP serial settings are to be reverted.

user

Reverts the user settings configured by the set user command.

This option is valid for Digi devices that implement the single-user model only. See "User Models and User Permissions in Digi devices" on page 13 for more information on user models.The two-or-more-user model reverts users via the revert auth command.

video

Reverts the video settings configured by the set video command.

vncclient [port=range]

Reverts the settings configured by the set vncclient command.

port=range

The serial port for which VNC client settings are to be reverted.

vpn {all|global|tunnel|phase1|phase2}

Reverts the Virtual Private Network (VPN) settings configured by the set vpn command. Keyword options allow for reverting all or selected VPN settings. See set vpn for descriptions of the settings.

all

Reverts all VPN settings.

global

Reverts global VPN options.

tunnel

Reverts VPN tunnel settings.

phase1

Reverts Internet Key Exchange (IKE)/Internet Security Association and Key Management Protocol (ISAKMP) Security Association (SA) Phase 1 options.

phase2

Reverts IKE/ISAKMP SA Phase 2 options.

vrrp [index=1-8]

Reverts the Virtual Router Redundancy Protocol (VRRP) settings configured by the set vrrp command.

index=1-8

The index number for the virtual router for which settings are to be reverted. Enter a set vrrp command without options to display index numbers.

wimax

Reverts the WiMAX radio settings configured by the set wimax command.

wlan

Reverts the wireless settings configured by the set wlan command.

xbee

Reverts the XBee RF module settings configured by the set xbee command.

Examples

Reset a device’s serial setting

The device serial setting is reset to the default serial configuration.

#> revert serial

Reset a serial port to default settings

#> revert serial port=2

See also