Connectivity Guide

Table Of Contents
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 filter show command output to view specific information, or start the command output at the first instance of a regular
expression or phrase.
display-xml Displays in XML format.
except Shows only text that does not match a pattern
find Searches for the first occurrence of a pattern and displays all the subsequent configurations
grep Shows only text that matches a pattern
no-more Does not paginate output
save Saves the output to a file
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. You can also execute long
commands along with their parameters.
The alias supports the following modes:
Persistent mode The alias is persistent and is used in other sessions. The aliases created in Configuration mode are
persistent.
Non-persistent mode The alias is used only within the current session. After you close the session, the alias is removed
from the switch. The aliases created in Exec mode are non-persistent.
NOTE:
You cannot use existing keywords, parameters, and short form of keywords as alias names, nor can you create a
shortcut for the alias command. The alias name is case-sensitive and can have a maximum of 20 characters.
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 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. Use asterisk (*) to represent any number of parameters. The maximum number of input parameters is 9.
alias alias-name alias-value
Execute the commands using the alias in the respective modes.
View the current aliases.
show alias [brief | detail]
Use the no form of the command to delete an alias.
no alias alias-name
Create alias
OS10# alias showint "show interface $*"
OS10(config)# alias goint "interface ethernet $1"
View alias output for showint
OS10# showint status
---------------------------------------------------------------------------------
Port Description Status Speed Duplex Mode Vlan Tagged-Vlans
52
Getting Started