キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
1202
閲覧回数
0
いいね!
0
コメント
Ryota Takao
Cisco Employee
Cisco Employee

 

はじめに

このドキュメントでは NCS520 シリーズルータにて Packet Drop 発生時に取得するログなどを記載しています。

 

 

ログ取得前に事前に設定頂きたいコマンド

ログを取得する場合は以下の Link に記載されている設定を行ったうえでログをご取得ください。

IOS/IOS-XE Router でログ取得前に事前に設定頂きたいコマンド

 

 

show コマンド

NCS520 シリーズルータにて Packet Drop が発生した場合には事象発生中に以下のコマンドを複数回ご取得ください。

show arp 
show arp vrf <vrf name> *VRFを使用しているときのみ取得してください。 
show mac address-table 
show processes cpu sorted
show processes cpu platform sorted show stacks  show stacks <PID>  show buffers  show interfaces  show interfaces accounting  show interfaces stats  show interfaces switching  show controllers  show policy-map interface <Interface> *policy-map を使用している場合はご取得ください。  show ip traffic  show ip traffic interface <Interface>  show ip spd  show ip route vrf *  show ip cef internal  show ipv6 neighbors  show ipv6 neighbors vrf <vrf name> *VRFを使用しているときのみ取得してください。  show ipv6 traffic  show ipv6 traffic interface <Interface>  show ipv6 spd  show ipv6 route vrf *  show ipv6 cef internal  show adjacency internal  show platform hardware pp active mactable
show platform hardware pp active interface statistics
show platform hardware pp active infrastructure pi nft statistics
show platform hardware pp active infrastructure pi pfd nif_stats
show platform hardware pp active infrastructure pi pfd statistics summary
show platform hardware pp active feature qos policer cpu all 0
show platform software process environment ios RP active show platform software adjacency RP active show platform software adjacency FP active show platform software ip RP active cef show platform software ip FP active cef show platform software ip RP active cef detail show platform software ip FP active cef detail show platform software infrastructure punt
show platform software infrastructure punt statistics
show platform software infrastructure inject
show platform software infrastructure lsmpi show platform software infrastructure lsmpi bufusage
show platform software infrastructure lsmpi driver
show platform software infrastructure detailed thread fastpath
show platform software infrastructure detailed thread interrupt
show platform software infrastructure detailed packet
show platform software infrastructure packet
show platform software status control-processor brief
show platform software process slot RP active monitor cycles 1
show platform software process list RP active
show platform software process list RP active process-id <Linux PID>
show logging
show tech-support

 
・<PID> の部分には show processes cpu sorted で CPU 使用率が上昇している Process の PID を確認して、PID を入力してください

Router#show processes cpu sorted 
CPU utilization for five seconds: 81%/0%; one minute: 3%; five minutes: 1%
 PID Runtime(ms)     Invoked      uSecs   5Sec   1Min   5Min TTY Process 
  88       12660       71555        176 80.31%  1.62%  0.33%   0 IP Input         
 101        3880        1508       2572  0.39%  0.07%  0.01%   0 Exec 

この例であれば、IP Input が上昇していて PID が 88 なので show stacks 88 と入力してください。

・<interface> には関連する interface を入力してください。不明であれば全ての Interface を入力頂ければと思います。

・show ipv6 ... のコマンドは IPv6 使用時のみご取得ください。

・<Linux PID> には show platform software process slot <slot> monitor cycles 1 で何か問題のあるプロセスがあればそのプロセスの PID を入力してください。

例えば以下の例であれば、hman の CPU 使用率が 83.7% になっているので、hman の PID 32767 を入力してください。

Router#show platform software process slot R0 monitor cycles 1
top - 08:53:22 up 1 day,  8:52,  0 users,  load average: 1.07, 1.11, 1.08
Tasks: 148 total,   3 running, 145 sleeping,   0 stopped,   0 zombie
Cpu(s):  5.3%us,  2.7%sy,  0.0%ni, 91.8%id,  0.0%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:   3874476k total,  1748840k used,  2125636k free,   132672k buffers
Swap:        0k total,        0k used,        0k free,  1000420k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
32767 root      20   0 1963m 518m 191m R 83.7 13.7  93:27.03 hman               
 1225 root      20   0 21148 7356 4936 S 13.6  0.2  27:43.41 linux_iosd-imag    
18352 root      20   0  2652 1168  892 R  3.9  0.0   0:00.02 top                
--- snip ---

 

Getting Started

検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします