Users Guide

Table Of Contents
CLI
Linux shell Linux shell Linux shell
OS9 使 OS9 使 OS9
使 alias
OS10 CONFIGURATION
OS10 使 EXEC
EXEC CONFIGURATION
alias alias-name alias-value
alias-name 20
alias-value CLI $n n 1 9 (*) $*
9
alias
使 no alias alias-name
使 show alias [brief | detail]
OS10# alias showint "show interface $*"
OS10(config)# alias goint "interface ethernet $1"
showint
OS10# showint status
---------------------------------------------------------------------------------
Port Description Status Speed Duplex Mode Vlan Tagged-Vlans
---------------------------------------------------------------------------------
Eth 1/1/1 up 40G A 1 -
Eth 1/1/2 up 40G A 1 -
Eth 1/1/3 up 40G A 1 -
Eth 1/1/4 up 40G A 1 -
Eth 1/1/5 up 40G A 1 -
Eth 1/1/6 up 40G A 1 -
Eth 1/1/7 up 40G A 1 -
Eth 1/1/8 up 40G A 1 -
Eth 1/1/9 up 40G A 1 -
Eth 1/1/10 up 40G A 1 -
...
goint
OS10(config)# goint 1/1/1
OS10(conf-if-eth1/1/1)#
4
82 CLI