Catalyst 3560 SPAN設定手順

Catalyst 3560でミラーポート(SPAN:Switched Port Analyzer)を設定するための手順


〔環境〕
Catalyst 3560
├1番ポート−myノートPC
├4番ポート−Wireshark入りノートPC
└8番ポート−上位の社内スイッチ


〔実行コマンド〕

▽送信元(モニターされる側)ポート(ここでは1番ポート)を指定
Switch(config)#monitor session 1 source interface Fa0/1

▽宛先(モニターする側)ポート(ここでは4番ポート)を指定
Switch(config)#monitor session 1 destination interface Fa0/4

▽確認
Switch#show monitor session 1
Session 1
---------
Type                   : Local Session
Source Ports           :
    Both               : Fa0/1
Destination Ports      : Fa0/4
    Encapsulation      : Native
          Ingress      : Disabled

〔結果〕
myノートPCでWebアクセスし、Wireshark入りノートPCのWiresharkでそのパケットのキャプチャに成功

(参考)パケットキャプチャ - Catalystスイッチの設定 2 (SPAN/RSPAN)