Cisco Router
- 啟用/停用 privileged commands
enable Turn on privileged commands
disable Turn off privileged commands
RTR> enable
Password:
RTR#
- 顯示 CPU 使用狀態
RTR# show processes cpu ?
autoprofile Show processes cpu autoprofile information
extended Show last 5 sec extended process cpu usage information
history Show CPU history in graph format
monitor show CPU utilization continuously
platform Show platform CPU utilization per process
sorted Show sorted output based on percentage of utilization
| Output modifiers
<cr>
- Show CPU history in graph format
RTR# show processes cpu history
- 範例輸出
554344333343334543333333334335433343433333333233233333334333633333434344
100
90
80
70
60
50
40
30
20
10 ** * * *
0....5....1....1....2....2....3....3....4....4....5....5....6....6....7..
0 5 0 5 0 5 0 5 0 5 0 5 0
CPU% per hour (last 72 hours)
* = maximum CPU% # = average CPU%
RTR#show platform resources
**State Acronym: H - Healthy, W - Warning, C - Critical
Resource Usage Max Warning Critical State
----------------------------------------------------------------------------------------------------
RP0 (ok, active) C
Control Processor 21.18% 100% 90% 95% H
DRAM 3819MB(99%) 3857MB 90% 95% C
ESP0(ok, active) H
QFP H
DRAM 95492KB(36%) 262144KB 80% 90% H
IRAM 213KB(10%) 2048KB 80% 90% H
configure Enter configuration mode
RTR#configure ?
confirm Confirm replacement of running-config with a new config file
memory Configure from NV memory
network Configure from a TFTP network host
overwrite-network Overwrite NV memory from TFTP network host
replace Replace the running-config with a new config file
revert Parameters for reverting the configuration
terminal Configure from the terminal
<cr>