Ciscoデバイスのヘルプ機能

Ciscoデバイスのヘルプ機能


? により使用可能なコマンド/オプション一覧を表示する


hostname>? ← ユーザモードからスタート
Exec commands:
<1-99>   Session number to resume
access-enable   Create a temporary Access-List entry
clear    Reset functions
(表示省略)

  • この機能は全ての操作モードで使用可能。
  • あるコマンドの後にスペースを入れて?を入力すると、そのコマンドで使用できるオプションを表示できる。


実行例

  • ユーザモード
hostname>?
Exec commands:
<1-99>   Session number to resume
access-enable   Create a temporary Access-List entry
clear    Reset functions
connect    Open a terminal connection
disable    Turn off privileged commands
disconnect   Disconnect an existing network connection
enable   Turn on privileged commands
exit    Exit from the EXEC
help    Description of the interactive help system
lock    Lock the terminal
login    Log in as a particular user
logout    Exit from the EXEC
name-connection   Name an existing network connection
ping    Send echo messages
rcommand    Run command on remote switch
resume    Resume an active network connection
set    Set system parameter (not config)
show    Show running system information
systat    Display information about terminal lines
telnet    Open a telnet connection
terminal    Set terminal line parameters
traceroute   Trace route to destination
tunnel    Open a tunnel connection
where    List active connections



  • 特権モード

hostname>en
Password:
hostname#?
Exec commands:
<1-99>    Session number to resume
access-enable   Create a temporary Access-List entry
access-template   Create a temporary Access-List entry
archive    manage archive files
cd    Change current directory
clear    Reset functions
clock    Manage the system clock
cns    CNS agents
configure   Enter configuration mode
connect    Open a terminal connection
copy    Copy from one file to another
debug    Debugging functions (see also 'undebug')
delete    Delete a file
(表示省略)
show    Show running system information
systat    Display information about terminal lines
telnet    Open a telnet connection
terminal    Set terminal line parameters
test    Test subsystems, memory, and interfaces
traceroute    Trace route to destination
tunnel    Open a tunnel connection
udld    UDLD protocol commands
undebug    Disable debugging functions (see also 'debug')
upgrade    Upgrade commands
verify    Verify a file
vlan    Configure VLAN parameters
vmps    VMPS actions
vtp    Configure global VTP state
where    List active connections
write    Write running configuration to memory, network, or terminal



  • グローバルコンフィグレーションモード
hostname#conf t
Enter configuration commands, one per line. End with CNTL/Z.
hostname(config)#?
Configure commands:
aaa    Authentication, Authorization and Accounting.
access-list   Add an access list entry
alias    Create command alias
archive    Archive the configuration
arp    Set a static ARP entry
banner    Define a login banner
boot    Boot Commands
(表示省略)
username    Establish User Name Authentication
vlan    Vlan commands
vmps    VMPS settings
vrf    VRF command
vtp    Configure global VTP state



  • インターフェースコンフィグレーションモード

hostname(config)#int gi1/0/1
hostname(config-if)#?
Interface configuration commands:
arp    Set arp type (arpa, probe, snap) or timeout
auto    Configure Automation
bandwidth    Set bandwidth informational parameter
bgp-policy    Apply policy propogated by bgp community string
carrier-delay    Specify delay for interface transitions
cdp    CDP interface subcommands
(表示省略)
switchport    Set switching mode characteristics
timeout    Define timeout values for this interface
transmit-interface   Assign a transmit interface to a receive-only interface
tx-ring-limit    Configure PA level transmit ring limit
udld    Configure UDLD enabled or disabled and ignore global UDLD setting








一意に識別できる文字列まで入力してコマンド/オプションを省略する


hostname#conf t [Enter]   ← configure terminal コマンドの省略
Enter configuration commands, one per line . End with CNTL/Z .
hostname(config)#int gi1/0/1 [Enter] ← interface GigabitEthernet 1/0/1 コマンドの省略
hostname(config-if)#



一意に識別できる文字列まで入力した後、Tabキーによりコマンド/オプションを補完する

hostname#conf [Tab] ← conf まで入力してTabキーを押下する
hostname#configure ← configure まで補完された
hostname#configure t [Tab] ← その後 t まで入力してTabキーを押下する
hostname#configure terminal ← configure terminal まで補完された


  • コマンド/オプションを入力する際、フルスペルを手入力しても、省略形を使っても、Tabキーで補完しながら入力しても、コマンドの実行結果は同じです。
やりやすい入力方法を使いましょう。
2008年02月06日(水) 10:28:24 Modified by ynm48538




スマートフォン版で見る