コンフィグレーションガイド Vol.3


30.3.2 BFDセッションの確認

〈この項の構成〉

(1) BFDセッション情報の確認

show bfd sessionコマンドで,BFDセッション情報を表示します。IPアドレスを指定するか,detailパラメータを指定すると,詳細情報を表示します。

図30‒5 show bfd sessionコマンドの実行結果
> show bfd session
Date 20XX/07/10 18:37:50 UTC
Total: 3 sessions
RemoteAddress                        VRF Index State  DetectTime TrackName
172.16.10.11                           -     2 Down            - Network2
192.168.16.5                           2     1 Up            440 Network1
192.168.22.1                           2     3 AdminDown       - BGP0100
>
図30‒6 show bfd sessionコマンドの実行結果(詳細表示)
> show bfd session vrf 2 ip 192.168.16.5
Date 20XX/05/22 15:55:33 UTC
Session Index 1
  State : Up 
    Remote System    : 192.168.16.5  VRF:2
    Local System     : 192.168.16.1  VRF:2
    Discriminator    : Hex                     Decimal
      Remote         : 0xbce20002              3168927746
      Local          : 0xe0430001              3762487297
    Detection Time   : 440
    Diagnostic       : -
    Operating Mode   : Asynchronous (Echo off)
  Track : Network1
    Path             : Singlehop
    Parameter        :   TxInterval     RxInterval     Multiplier
    Remote System    :          150            200              2
    Local System     :          160            220              3
    Current          :          200            220              2 
  Statistics
    Packets Counter  :                   Tx                    Rx
      Since Last Up  :                 2194                  3291
      Since Boot     :                 2195                  3292
    Up Count         : 1                    
    Last Up Time     : 20XX/05/22 15:37:20 UTC
    Last Down Time   : -
      Diagnostic     : -
>

(2) 廃棄パケットの確認

show bfd discard-packetsコマンドで,廃棄されたBFDパケットを表示します。BFDパケットの送信元は,Remote Addressで確認できます。

図30‒7 show bfd discard-packetsコマンドの実行結果
> show bfd discard-packets
Date 20XX/07/10 18:37:50 UTC
15 packets discard
    10 packets: Unknown Session (Discriminator=0xd1ef0023)
        Remote Address: 172.16.10.11 VRF:2
    1 packet: Authentication Failure
        Remote Address: 192.168.22.1
        Local Address: 192.168.22.4
    4 packets: Invalid Desired Min TX Interval (Interval=0) 
        Remote Address: 192.168.22.1
        Local Address: 192.168.22.4
>