Cisco IOS について

Index


Cisco IOS コマンドモードが階層的に配列されている。

階層

ユーザーEXECモード

説明:Cisco IOS とセッションを開始すると最初に入るモード。簡単な設定や確認ができる。

アクセス方法 → ルーターとのセッションを開始する
プロンプト → router>
終了 / 開始 → ルータ・セッションを終了するにはlogoutコマンドを入力する。
モードの説明 → このモードを使用して以下の事ができる・端末の設定を変更する。・基本テストを実行する。・システム情報を表示する。

ユーザーEXEC状態でのコマンド一覧
access-enable Create a temporary Access-List entry
access-profile Apply user-profile to interface
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
name-connection Name an existing network connection
ppp Start IETF Point-to-Point Protocol (PPP)
resume Resume an active network connection
rlogin Open an rlogin connection
set Set system parameter (not config)
show Show running system information
slip Start Serial-line IP (SLIP)
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

 

特権EXECモード

説明:ルータのオペレーティングパラメータの設定。ルータの設定を見ることが可能。このモードでしか見る事ができない情報が多い。特権EXECモードに入る前に、パスワードを入力する必要がある。

アクセス方法 → ユーザEXECモードからenableコマンドを入力する。
プロンプト→router#
終了/開始方法 → 終了してEXECモードに戻るには、Disable コマンドを入力する。・グローバル構成モードに入るには、configure コマンドを入力する。
モードの説明 → このモードを使用して、以下の事ができる。・ルータのオペレーティングパラメータを設定する。
ルータ構成に対する不正な変更を防止するために、このモードへのアクセスは、パスワードで保護する必要がある。

特権EXECコマンド一覧
access-enable Create a temporary Access-List entry
access-profile Apply user-profile to interface 
access-template Create a temporary Access-List entry
archive manage archive files
cd Change current directory
clear Reset functions
clock Manage the system clock
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
dir List files on a filesystem
disable Turn off privileged commands
disconnect Disconnect an existing network connection
enable Turn on privileged commands
erase Erase a filesystem
exit Exit from the EXEC 
help Description of the interactive help system
isdn Make/disconnect an isdn data call on a BRI interface
lock Lock the terminal
login Log in as a particular user 
logout Exit from the EXEC 
more Display the contents of a file 
name-connection Name an existing network connection
no Disable debugging functions
ping Send echo messages
ppp Start IETF Point-to-Point Protocol (PPP)
pwd Display current working directory
reload Halt and perform a cold restart
resume Resume an active network connection
rlogin Open an rlogin connection
rsh Execute a remote command
send Send a message to other tty lines
set Set system parameter (not config)
setup Run the SETUP command facility
show Show running system information
slip Start Serial-line IP (SLIP)
squeeze Squeeze a filesystem
start-chat Start a chat-script on a line
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
undebug Disable debugging functions (see also 'debug')
undelete Undelete a file
verify Verify a file
where List active connections
write Write running configuration to memory, network, or terminal



グローバル構成モード

説明:両インタフェースの設定(一方のインタフェース特有の設定ではない)

アクセス方法 → 特権EXECコマンドからconfigureコマンドを入力する。
プロンプト → router(config)#
終了/開始方法 → 終了して特権EXECモードに戻るには、exit またはendコマンドを入力するか、ctrl -Z を押す。・インターフェイスモードに入るには interface コマンドを入力する。

グローバル構成コマンド一覧
aaa Authentication, Authorization and Accounting.
access-list Add an access list entry
alias Create command alias
arp Set a static ARP entry
async-bootp Modify system bootp parameters
banner Define a login banner
boot Modify system boot parameters
bridge Bridge Group.
buffers Adjust system buffer pool parameters
busy-message Display message when connection to host fails
call-history-mib Define call history mib parameters
cdp Global CDP configuration subcommands
chat-script Define a modem chat script
class-map Configure QoS Class Map 
clock Configure time-of-day clock
config-register Define the configuration register
default Set a command to its defaults
default-value Default character-bits values
dialer Dialer commands
dialer-list Create a dialer list entry
dnsix-dmdp Provide DMDP service for DNSIX
dnsix-nat Provide DNSIX service for audit trails
downward-compatible-config Generate a configuration compatible with older software
enable Modify enable password parameters
end Exit from configure mode
exception Exception handling
exit Exit from configure mode
file Adjust file system parameters
frame-relay global frame relay configuration commands
help Description of the interactive help system
hostname Set system's network name
interface Select an interface to configure
ip Global IP configuration subcommands
isdn ISDN configuration commands
isdn-mib Specify isdn mib parameters
key Key management
line Configure a terminal line
logging Modify message logging facilities
login-string Define a host-specific login string
map-class Configure static map class
map-list Configure static map list
menu Define a user-interface menu
multilink PPP multilink global configuration
netbios NETBIOS access control filtering
no Negate a command or set its defaults
policy-map Configure QoS Policy Map 
priority-list Build a priority list 
privilege Command privilege parameters
prompt Set system's prompt
queue-list Build a custom queue list
resume-string Define a host-specific resume string
rlogin Rlogin configuration commands
route-map Create route-map or enter route-map command mode
router Enable a routing process
scheduler Scheduler parameters
service Modify use of network based services
snmp-server Modify SNMP parameters
sntp Configure SNTP
state-machine Define a TCP dispatch state machine
subscriber-policy Subscriber policy 
tacacs-server Modify TACACS query parameters
template Select a template to configure
terminal-queue Terminal queue commands
tftp-server Provide TFTP service for netload requests
time-range Define time range entries
username Establish User Name Authentication 




インターフェイス構成

説明:インタフェースに特化した設定

アクセス方法 → グローバル構成モードから interface コマンド (インターフェイスを指定して) 入力する。
プロンプト → router (config-if)#
終了/開始方式→ ・終了してグローバル構成モードに戻るにはexitコマンドを入力する。・終了して特権EXECモードに戻るには、end or Ctrl-Z。・サブインターフェイス構成モードに入るには、interface コマンドにサブインターフェイスを指定する。
モードの説明 → ルータのイーサネット・インターフェイスおよびISDNインターフェイス用のパラメータを設定する場合に、このモードを使用する。

インターフェース構成コマンド一覧(Ethernet) 
access-expression Build a bridge boolean access expression
arp Set arp type (arpa, probe, snap) or timeout
bandwidth Set bandwidth informational parameter
bridge-group Transparent bridging interface parameters
carrier-delay Specify delay for interface transitions
cdp CDP interface subcommands
custom-queue-list Assign a custom queue list to an interface
default Set a command to its defaults
delay Specify interface throughput delay
description Interface specific description 
exit Exit from interface configuration mode
fair-queue Enable Fair Queuing on an Interface
help Description of the interactive help system
hold-queue Set hold queue depth
ip Interface Internet Protocol config commands
keepalive Enable keepalive
llc2 LLC2 Interface Subcommands
load-interval Specify interval for load calculation for an interface
logging Configure logging for interface
loopback Configure internal loopback on an interface
mac-address Manually set interface MAC address
max-reserved-bandwidth Maximum Reservable Bandwidth on an Interface
mtu Set the interface Maximum Transmission Unit (MTU)
multilink-group Put interface in a multilink bundle
netbios Use a defined NETBIOS access list or enable name-caching
no Negate a command or set its defaults
priority-group Assign a priority group to an interface
random-detect Enable Weighted Random Early Detection (WRED) on an Interface
service-policy Configure QoS Service Policy
shutdown Shutdown the selected interface
snapshot Configure snapshot support on the interface
snmp Modify SNMP interface parameters
standby Hot standby interface subcommands
timeout Define timeout values for this interface
transmit-interface Assign a transmit interface to a receive-only interface
tx-queue-limit Configure card level transmit queue limit

 

インターフェース構成コマンド一覧(bri)
access-expression Build a bridge boolean access expression
arp Set arp type (arpa, probe, snap) or timeout
autodetect Autodetect Encapsulations on Serial interface
bandwidth Set bandwidth informational parameter
bridge-group Transparent bridging interface parameters
carrier-delay Specify delay for interface transitions
cdp CDP interface subcommands 
clock Configure serial interface clock
compress Set serial interface for compression
custom-queue-list Assign a custom queue list to an interface
default Set a command to its defaults
delay Specify interface throughput delay
description Interface specific description
dialer Dial-on-demand routing (DDR) commands
dialer-group Assign interface to dialer-list
down-when-looped Force looped serial interface down
encapsulation Set encapsulation type for an interface
exit Exit from interface configuration mode
fair-queue Enable Fair Queuing on an Interface
full-duplex Configure full-duplex operational mode
half-duplex Configure half-duplex and related commands
help Description of the interactive help system
hold-queue Set hold queue depth
ip Interface Internet Protocol config commands
isdn ISDN Interface configuration commands
keepalive Enable keepalive
llc2 LLC2 Interface Subcommands
load-interval Specify interval for load calculation for an interface
logging Configure logging for interface
loopback Configure internal loopback on an interface
mac-address Manually set interface MAC address 
max-reserved-bandwidth Maximum Reservable Bandwidth on an Interface
mtu Set the interface Maximum Transmission Unit (MTU)
multilink-group Put interface in a multilink bundle
netbios Use a defined NETBIOS access list or enable name-caching
no Negate a command or set its defaults
ppp Point-to-Point Protocol
priority-group Assign a priority group to an interface
pulse-time Enables pulsing of DTR during resets
random-detect Enable Weighted Random Early Detection (WRED) on an Interface
serial serial interface commands
service-policy Configure QoS Service Policy
shutdown Shutdown the selected interface
snapshot Configure snapshot support on the interface
snmp Modify SNMP interface parameters
source Get config from another source
timeout Define timeout values for this interface
transmit-interface Assign a transmit interface to a receive-only
interface  
tx-queue-limit Configure card level transmit queue limit


ルータ構成

アクセス方法→グローバル構成モードからルータ・コマンドの後に該当するキーワードを続けて入力する。
プロンプト → router(config-router)#
終了/開始方法 → ・終了してインターフェイス構成モードに入るには exit コマンドを入力する。・終了して特権EXECモードに入るには、interface コマンドにサブインターフェイスを指定する。
モードの説明 → IP ルーティング・プロトコルを構成する場合にこのモードを使用します。
グローバル構成モードから、次のモードにアクセスできる。