Reference Guide

View alias output for mTest with dierent values
OS10(config)# mTest ethernet 1/1/10
OS10(config)# interface ethernet 1/1/10
OS10(conf-if-eth1/1/10)# no shutdown
OS10(conf-if-eth1/1/10)# show configuration
!
interface ethernet1/1/10
no shutdown
switchport access vlan 1
Modify existing multi-line alias
OS10(config)# alias mTest
OS10(config-alias-mTest)# line 4 "exit"
View the commands saved in the multi-line alias
OS10(config-alias-mTest)# show configuration
!
alias mTest
description InterfaceDetails
default 1 ethernet
default 2 1/1/1
line 1 "interface $1 $2"
line 2 "no shutdown"
line 3 "show configuration"
line 4 exit
View alias information
OS10# show alias
Name Type
---- ----
mTest Config
Number of config aliases : 1
Number of local aliases : 0
View alias information brief (displays the rst 10 characters of the alias value)
OS10# show alias brief
Name Type Value
---- ---- -----
mTest Config line 1 "interface ..."
line 2 "no shutdow..."
line 3 "show confi..."
default 1 "ethernet"
default 2 "1/1/1"
Number of config aliases : 1
Number of local aliases : 0
View alias detail (displays the entire alias value)
OS10# show alias detail
Name Type Value
---- ---- -----
mTest Config line 1 "interface $1 $2"
line 2 "no shutdown"
line 3 "show configuration"
default 1 "ethernet"
default 2 "1/1/1"
Number of config aliases : 1
Number of local aliases : 0
42
Getting Started