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

     

    RSP3C(ASR902, ASR903, ASR907) にて Packet Drop 発生時に取得するログなどを記載しています。

     

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

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

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

     

     

    show コマンド 

    RSP3C(ASR902, ASR903, ASR907) にて Packet Drop 発生時には事象発生中に以下のコマンドを複数回ご取得ください。

     

    •  IOSd 側
    show arp 
    show arp vrf <vrf name> *VRFを使用しているときのみ取得してください。
    show processes cpu 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 logging
    show tech-support
    *show tech-support は多少CPUに負荷がかかります。

     

    •  Linux 側 
    show platform hardware pp active mactable
    show platform hardware pp active interface statistics
    show platform hardware pp active tcam utilization ucastv4 detail 0
    show platform hardware pp active tcam utilization ucastv4 detail 1
    show platform hardware pp active asic statistics nz
    show platform hardware pp active classification statistics
    show platform hardware pp active feature cef statistics
    show platform hardware pp active feature cef database adjacency
    show platform hardware pp active feature cef database routing-table
    show platform hardware pp active feature cef database routing-table ipv4 0
    show platform hardware pp active feature cef database routing-table ipv6 0
    show platform hardware pp active infrastructure pi nft statistics
    show platform hardware pp active infrastructure pi pfd interrupts 0
    show platform hardware pp active infrastructure pi pfd interrupts 1
    show platform hardware pp active infrastructure pi pfd nif_stats
    show platform hardware pp active infrastructure pi pfd rx statistics 0 0
    show platform hardware pp active infrastructure pi pfd rx statistics 0 1
    show platform hardware pp active infrastructure pi pfd rx statistics 0 2
    show platform hardware pp active infrastructure pi pfd rx statistics 1 0
    show platform hardware pp active infrastructure pi pfd rx statistics 1 1
    show platform hardware pp active infrastructure pi pfd rx statistics 1 2
    show platform hardware pp active infrastructure pi pfd tx statistics 0
    show platform hardware pp active infrastructure pi pfd tx statistics 1
    show platform hardware pp active infrastructure pi pfd statistics summary
    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 punt
    show platform software infrastructure lsmpi inject 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 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 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 platform hardware pp active bshell "1: diag counters g"
    show platform hardware pp active bshell "0: diag counters g"
    show platform hardware pp active bshell "diag cosq voq con=1"
    show platform hardware pp active feature qos policer cpu all 0

     

     

    • <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

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

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