Configuration Guide Configuring CLI
p ping
s show
u undebug
un undebug
Global configuration mode alias:
ir ip route 0.0.0.0 0.0.0.0 192.168.1.1
 Use the configured alias to run the command, and run the show running-config command to check
whether the alias is configured successfully.
Ruijie(config)#ir
Ruijie(config)#show running-config
Building configuration…
!
alias config ir ip route 0.0.0.0 0.0.0.0 192.168.1.1 //Configuring an alias
…
ip route 0.0.0.0 0.0.0.0 192.168.1.1 //Configuration result after the alias "ir" is entered
!
 Defining an Alias to Replace the Front Part of a Command
In global configuration mode, configure the alias "ir" to represent the front part "ip route" of the default route
configuration command.
Ruijie#configure terminal
Ruijie(config)#alias config ir ip route
 Run the show alias command to check whether the alias is configured successfully.
Ruijie(config)#show alias
Exec mode alias:
h help
p ping
s show