Reference Guide

Type Boot Type Active Standby Next-Boot
-------------------------------------------------------------------
Node-id 1 Flash Boot [A] 10.2.9999E [B] 10.2.9999E [B] standby
Filter show commands
You can lter show command output to view specic information, or start the command output at the rst instance of a regular expression
or phrase.
display-xml Displays in XML format.
except Shows only text that does not match a pattern
nd Searches for the rst occurrence of a pattern and display all the subsequent congurations
grep Shows only text that matches a pattern
no-more Does not paginate output
save Saves the output to a le
Display all output
OS10# show running-configuration | no-more
Alias command
The alias command allows you to create shortcuts for commonly used or long commands, and execute long commands along with the
parameters.
The alias supports the following modes:
Persistent mode — The alias is persistent and can be used in other sessions as well. The aliases created in the Conguration mode are
persistent.
Non-persistent mode — The alias can be used only within the session. Once the session is closed, the alias is removed from the
system. The aliases created in the Exec mode are non-persistent.
NOTE
: You cannot use the existing keywords, parameters, and existing short form of keywords as alias names, nor can you create
a shortcut for the aliascommand.
Create alias
Create an alias in EXEC or CONFIGURATION mode — EXEC mode for non-persistent and CONFIGURATION mode for persistent
aliases. The alias value is the actual command where you can use $n to enter the input parameters. You can substitute $n with either
numbers ranging from 1 to 9 or with an asterisk (*) and enter the parameters while executing the commands using the alias. When you
are using asterisk (*), you can use multiple input parameters. The maximum number of input parameters is 9. Commit to save the
aliases created in the conguration mode.
alias alias-name alias-value
Execute the commands using the alias as the perspective modes.
View the current aliases.
show alias
Use the no form of the command to delete an alias.
no alias alias-name
Save the changes.
commit
Getting Started
35