Configuration Guide
Command Line Interface Configuration
You can use one word to replace one command by configuring an alias for the command. For
example, you can define an alias to represent the front part of one command, and then
continue to enter the following part.
The command that an alias represents must run under the mode you have defined in the
current system. In the global configuration mode, you can enter
alias?
to list all command
modes that can configure alias.
Ruijie(config)#
alias
?
aaa-gs AAA server group mode
acl acl configure mode
bgp Configure bgp Protocol
config globle configure mode
......
An alias supports help information. An alias appears with an asterisk (*) before it in the
following format:
*command-alias=original-command
For example, in the EXEC mode, the alias “s” indicates the
show
command by default. Enter
“s?” to obtain the help information on the command and the aliases beginning with „s‟.
Ruijie#
s?
*s=show show start-chat start-terminal-service
If the command that an alias represents has more than one word, the command will be
included by the quotation marks. As shown in the following example,
configure the alias “sv” to
replace the
show version
command in the EXEC mode.
Ruijie#
s?
*s=show *sv=”show version” show start-chat
start-terminal-service
An alias must begin with the first character of the command line entered without any blank
before it. As shown in the above example, the alias is invalid if you have inputted a blank before
the command.
Ruijie#
s?
show start-chat start-terminal-service
An alias can also be used to get the help information on obtaining command parameters. For
example, the alias “ia" represents “ip address” in the interface configuration mode.
Ruijie(config-if)#
ia ?
A.B.C.D IP address
Содержание RG-S2900G-E Series
Страница 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Страница 91: ...Configuration Guide Configuring PoE Configuration ...
Страница 133: ...Configuration Guide EEE Configuration ...
Страница 319: ...Configuration Guide QinQ Configuration ...
Страница 408: ......
Страница 409: ...IP Routing Configuration 1 Static Route Configuration ...
Страница 412: ......
Страница 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Страница 621: ...Configuration Guide CPU Protection Configuration udp helper 180 4 dhcp client 180 4 lacp 180 4 ...
Страница 757: ......
Страница 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Страница 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Страница 901: ...Configuration Guide ERSPAN Configuration ...
Страница 902: ...Web based Configuration 1 Web based Configuration ...