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監控所有報文

------------------------------------------------------------------------

以上為接端口鏡像的配置方法

另還有基於vlan,三層鏡像,可查詢百度


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM