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


25.3.2 ポリシーベースミラーリングの確認

show access-filterコマンドで,ポリシーベースミラーリングの送信先インタフェースリストを動作に指定したアクセスリストを確認できます。

図25‒3 show access-filterコマンドの実行結果
> show access-filter interface gigabitethernet 1/1 in-mirror
Date 20XX/01/01 12:00:00 UTC
Using interface : gigabitethernet 1/1 in-mirror
Extended IP access-list : IPv4-MIRROR-A
      10 tcp(6) any any action policy-mirror-list MIRROR-LIST-A
                       Matched packets        Matched bytes
         Total  :          25800211584       38700317376000
         PSU 1  :          25800211584       38700317376000
      Implicit-entry
                       Matched packets        Matched bytes
         Total  :                 4178              3342432
         PSU 1  :                 4178              3342432

指定したインタフェースのフィルタに「Extended IP access-list」とアクセスリスト名(IPv4-MIRROR-A)が表示されることを確認します。また,アクセスリストに「action policy-mirror-list」と送信先インタフェースリスト名(MIRROR-LIST-A)が表示されて,Matched packetsおよびMatched bytesがカウントされていることを確認します。