H3C端口鏡像-抓包

       以前對抓包來說,H3C不同型號設備命令也不太一樣,剛纔簡單查了一下,從S3100以上,包括S36、S55、S75等,都是如下配置進行抓包(就是先配置一個本地組,然後分別配置monitor port和mirror port):

#  創建本地鏡像組。 
<Sysname> system-view 
[Sysname] mirroring-group 1 local 
#  爲本地鏡像組配置源端口和目的端口。 
[Sysname] mirroring-group 1 mirroring-port Ethernet 1/0/1 Ethernet 1/0/2 both 
[Sysname] mirroring-group 1 monitor-port Ethernet 1/0/3 
#  顯示本地鏡像組 1 的配置信息。 
[Sysname] display mirroring-group 1 
mirroring-group 1: 
    type: local 
    status: active 
    mirroring port: 
        Ethernet1/0/1  both 
        Ethernet1/0/2  both 
    monitor port: Ethernet1/0/3 
配置完成後,用戶可以在Ethernet 1/0/3監控所有報文。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章