CLI Reference Guide CLI Authorization Configuration Commands
In the global configuration mode, use def-route to represent the
default route setting of ip route 0.0.0.0 0.0.0.0 192.168.1.1:
Ruijie# configure terminal
Ruijie(config)# alias config def-route ip route 0.0.0.0 0.0.0.0
192.168.1.1
Ruijie(config)#def-route?
*def-route="ip route 0.0.0.0 0.0.0.0 192.168.1.1"
Ruijie(config)# end
Ruijie# show aliases config
globle configure mode alias:
def-route ip route 0.0.0.0 0.0.0.0
192.168.1.1
Show the aliases settings.
privilege
To attribute the execution rights of a command to a command level, use privilege in the global configuration
mode. The no form of this command recovers the execution rights of a command to the default setting.
privilege mode [all] [level level | reset ] command-string
no privilege mode [all] [level level ] command-string
CLI mode of the command to which the
execution rights are attributed.
Specify the execution right levels (0–15) of a
command or sub-commands
Restore the command execution rights to its
default level
Command string to be authorized
Global configuration mode.