Using the Command-Line Interface in Cisco IOS Software
Using the CLI
24
Cisco VGD 1T3 Voice Gateway Software Configuration Guide
Abbreviating Commands
Typing a complete command name is not always required for the command to execute. The Cisco IOS
CLI recognizes an abbreviated command when the abbreviation contains enough characters to uniquely
identify the command. For example, the show version command can be abbreviated as sh ver. It cannot
be abbreviated as s ver because s could mean show, set, or systat. The sh v abbreviation also is not valid
because the show command has vrrp as a keyword in addition to version. (Command and keyword
examples from Cisco IOS Release 12.4(13)T.)
Using Aliases for CLI Commands
To save time and the repetition of entering the same command multiple times, you can use a command
alias. An alias can be configured to do anything that can be done at the command line, but an alias cannot
move between modes, type in passwords, or perform any interactive functions.
Table 6
shows the Cisco IOS software default command aliases.
To create a command alias, issue the alias command in global configuration mode. The syntax of the
command is alias mode command-alias original-command. Following are some examples:
•
Router(config)# alias exec prt partition—privileged EXEC mode
•
Router(config)# alias configure sb source-bridge—global configuration mode
•
Router(config)# alias interface rl rate-limit—interface configuration mode
To view both default and user-created aliases, issue the show alias command.
For more information about the alias command, see
http://www.cisco.com/en/US/docs/ios/fundamentals/command/reference/cf_book.html
.
Using the no and default Forms of Commands
Most configuration commands have a no form that is used to reset a command to its default value or
disable a feature or function. For example, the ip routing command is enabled by default. To disable this
command, you would issue the no ip routing command. To re-enable IP routing, you would issue the
ip routing command.
Table 6
Default Command Aliases
Command Alias
Original Command
h
help
lo
logout
p
ping
s
show
u or un
undebug
w
where
Содержание VGD-1T3
Страница 10: ...Contents x Cisco VGD 1T3 Voice Gateway Software Configuration Guide ...
Страница 14: ...Notices OpenSSL Open SSL Project 4 Cisco VGD 1T3 Voice Gateway Software Configuration Guide ...
Страница 120: ...Configuring Voice over IP Additional Resources 110 Cisco VGD 1T3 Voice Gateway Software Configuration Guide ...
Страница 196: ...Using the Setup Script Where to Go Next 186 Cisco VGD 1T3 Voice Gateway Software Configuration Guide ...