NW障害時確認コマンド
NWがつながらない際に以下のshowコマンドで状態を確認する。
○show interfaces
インターフェースのステータス確認
インターフェースでの送受信パケットの確認
5分間平均スループット情報の確認
インターフェースでの送受信パケットの確認
5分間平均スループット情報の確認
表示例:
#show interfaces serial 0
Serial0 is up, line protocol is up
Hardware is HD64570
Internet address is 192.168.1.1/24
MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:00:02, output 00:00:07, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/64/0 (size/threshold/drops)
Conversations 0/1 (active/max active)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
543 packets input, 32249 bytes, 0 no buffer
Received 543 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
613 packets output, 34433 bytes, 0 underruns
0 output errors, 0 collisions, 25 interface resets
0 output buffer failures, 0 output buffers swapped out
48 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
Serial0 is up, line protocol is up
Hardware is HD64570
Internet address is 192.168.1.1/24
MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:00:02, output 00:00:07, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/64/0 (size/threshold/drops)
Conversations 0/1 (active/max active)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
543 packets input, 32249 bytes, 0 no buffer
Received 543 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
613 packets output, 34433 bytes, 0 underruns
0 output errors, 0 collisions, 25 interface resets
0 output buffer failures, 0 output buffers swapped out
48 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
○show processes cpu (history)*
アクティブなプロセスとCPU使用率の統計表示
*(CPU使用率をグラフで表示 60秒 60分 72時間における平均および最大使用率表示)
*(CPU使用率をグラフで表示 60秒 60分 72時間における平均および最大使用率表示)
表示例:
#show process cpu
CPU utilization for five seconds: 16%/4%; one minute: 17%; five minutes: 17%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
1 0 1956 0 0.00% 0.00% 0.00% 0 Load Meter
2 47 18 2611 0.20% 0.01% 0.00% 0 Exec
3 6374 1162 5485 0.00% 0.04% 0.05% 0 Check heaps
4 0 1 0 0.00% 0.00% 0.00% 0 Chunk Manager
5 0 1 0 0.00% 0.00% 0.00% 0 Pool Manager
6 0 2 0 0.00% 0.00% 0.00% 0 Timers
7 21 3 7000 0.00% 0.00% 0.00% 0 Entity MIB API
8 46 2442 18 0.00% 0.00% 0.00% 0 HC Counter Timer
9 11 165 66 0.00% 0.00% 0.00% 0 ARP Input
10 760 9702 78 0.00% 0.00% 0.00% 0 Enet Aging
11 0 1 0 0.00% 0.00% 0.00% 0 Critical Bkgnd
12 129 4673 27 0.00% 0.00% 0.00% 0 Net Background
CPU utilization for five seconds: 16%/4%; one minute: 17%; five minutes: 17%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
1 0 1956 0 0.00% 0.00% 0.00% 0 Load Meter
2 47 18 2611 0.20% 0.01% 0.00% 0 Exec
3 6374 1162 5485 0.00% 0.04% 0.05% 0 Check heaps
4 0 1 0 0.00% 0.00% 0.00% 0 Chunk Manager
5 0 1 0 0.00% 0.00% 0.00% 0 Pool Manager
6 0 2 0 0.00% 0.00% 0.00% 0 Timers
7 21 3 7000 0.00% 0.00% 0.00% 0 Entity MIB API
8 46 2442 18 0.00% 0.00% 0.00% 0 HC Counter Timer
9 11 165 66 0.00% 0.00% 0.00% 0 ARP Input
10 760 9702 78 0.00% 0.00% 0.00% 0 Enet Aging
11 0 1 0 0.00% 0.00% 0.00% 0 Critical Bkgnd
12 129 4673 27 0.00% 0.00% 0.00% 0 Net Background
○show ip traffic
IPプロトコル統計値を表示
表示例:
# show ip traffic
IP statistics:
Rcvd: 1690 receives, 0 hdr errors, 0 addr errors
0 unknown protos, 0 discards, 4 delivers
610 reasm reqs, 305 reasm oks, 0 reasm fails
Sent: 1073 forwards, 771 requests, 0 discards
305 frag oks, 447 frag fails, 610 frag creates
0 no routes
Mcast: 0 in pkts, 0 out pkts
IP statistics:
Rcvd: 1690 receives, 0 hdr errors, 0 addr errors
0 unknown protos, 0 discards, 4 delivers
610 reasm reqs, 305 reasm oks, 0 reasm fails
Sent: 1073 forwards, 771 requests, 0 discards
305 frag oks, 447 frag fails, 610 frag creates
0 no routes
Mcast: 0 in pkts, 0 out pkts
○show counters cpu-interface
すべてのCPU受信キューのパケットカウントを表示
表示例:
# show controllers cpu-interface
ASIC Rxbiterr Rxunder Fwdctfix Txbuflos Rxbufloc Rxbufdrain
-------------------------------------------------------------------------
ASIC0 0 0 0 0 0 0
ASIC1 0 0 0 0 0 0
cpu-queue-frames retrieved dropped invalid hol-block stray
----------------- ---------- ---------- ---------- ---------- ----------
rpc 726325 0 0 0 0
stp 16108 0 0 0 0
ipc 56771 0 0 0 0
routing protocol 3949 0 0 0 0
L2 protocol 827 0 0 0 0
remote console 58 0 0 0 0
sw forwarding 0 0 0 0 0
host 0 0 0 0 0
broadcast 382 0 0 0 0
cbt-to-spt 0 0 0 0 0
igmp snooping 3567 0 0 0 0
icmp 11256 0 0 0 0
logging 0 0 0 0 0
rpf-fail 0 0 0 0 0
dstats 0 0 0 0 0
cpu heartbeat 322409 0 0 0 0
ASIC Rxbiterr Rxunder Fwdctfix Txbuflos Rxbufloc Rxbufdrain
-------------------------------------------------------------------------
ASIC0 0 0 0 0 0 0
ASIC1 0 0 0 0 0 0
cpu-queue-frames retrieved dropped invalid hol-block stray
----------------- ---------- ---------- ---------- ---------- ----------
rpc 726325 0 0 0 0
stp 16108 0 0 0 0
ipc 56771 0 0 0 0
routing protocol 3949 0 0 0 0
L2 protocol 827 0 0 0 0
remote console 58 0 0 0 0
sw forwarding 0 0 0 0 0
host 0 0 0 0 0
broadcast 382 0 0 0 0
cbt-to-spt 0 0 0 0 0
igmp snooping 3567 0 0 0 0
icmp 11256 0 0 0 0
logging 0 0 0 0 0
rpf-fail 0 0 0 0 0
dstats 0 0 0 0 0
cpu heartbeat 322409 0 0 0 0