1.準備好來源目的的資訊
2.準備好wireshark
(config)#monitor session 1 source int fa0/1,Fa0/2 both
(config)#monitor session 1 destination int fa0/24
將Fa0/1,Fa0/2的流量copy一份到Fa0/24
both: 進出都要紀錄,不下也可以,預設是帶both
※不帶both,也可以對端口設置傳送(tx),接收(rx)
3.設定好後確定是否設定正確
(config)#show monitor session 1
或
(config)#show monitor detail (如果一台switch你有很多monitor session的話)
4.
(config)#show ip int bri
因為該port就沒有網路功能了
所以檢查destination port是否變成Status UP 但 Protocol Down
5.用wireshark測試Fa0/24是否有流量產生 收工!
文章標籤
全站熱搜
留言列表