• <ul id="mayc0"></ul>
    <ul id="mayc0"><center id="mayc0"></center></ul>
    <strike id="mayc0"><input id="mayc0"></input></strike>
    <ul id="mayc0"></ul>
  • 始創于2000年 股票代碼:831685
    咨詢熱線:0371-60135900 注冊有禮 登錄
    • 掛牌上市企業
    • 60秒人工響應
    • 99.99%連通率
    • 7*24h人工
    • 故障100倍補償
    您的位置: 網站首頁 > 幫助中心>文章內容

    常見的幾種交換機端口鏡像配置詳解

    發布時間:  2012/5/28 10:36:00

    端口鏡像配置之DELL

    交換機管理界面左邊的樹形菜單中,選中“Switch”(交換機)>>>“Ports”(端口)>>>“PortMirroring”(端口鏡像),右邊將打開“PortMirroring”(端口鏡像)頁面。該頁面中的參數解釋如下:

    Add(添加):添加端口鏡像操作

    DestinationPort(目的地端口):定義端口通信要鏡像到的端口號;

    SourcePort(源端口):定義被鏡像端口的端口號。最多可以將8個被鏡像端口鏡像到一個鏡像端口;

    Type(類型):指定要鏡像的端口通信類型。可能的字段值包括:“RX”-表示鏡像進入網絡的數據;“TX”-表示鏡像流出網絡的數據;Both()-表示鏡像所有數據。

    Status(狀態):表示端口的狀態。可能的字段值包括:“Active”-表示端口被啟用;“NotActive”-表示端口被禁用。

    Remove(刪除):刪除端口鏡像會話。可能的字段值包括:“已選取”-刪除端口鏡像會話;“未選取”-保留端口鏡像會話。

    具體端口鏡像配置:

    1.在PortMirroring對話框中的DestinationPort中選中目的端口(端口鏡像),再單擊Add按鈕;

    2.在系統將打開“AddSourcePort”(添加源端口)頁面中,定義“SourcePort”(源端口)和“Type”(類型)字段,并單擊“ApplyChanges”(應用更改),使系統接收更改。

    (注:如果需要從端口鏡像會話刪除副本端口,請打開“PortMirroring”(端口鏡像)頁面,選取“Remove”(刪除)復選框,再單擊“ApplyChanges”(應用更改)。系統將刪除端口鏡像會話,并更新設備。)

    以下是CLI命令實例:

     

    1. Console(config)#interfaceethernet1/e1
    2. Console(config-if)#portmonitor1/e8
    3. Console#showportsmonitor
    4. SourceportDestinationPortTypeStatus
    5. ---------------------------------------
    6. 1/e11/e8RX,TXActive

    下面我們來看看具體的幾種類型的交換機是如何進行端口鏡像配置的:

    Juniper交換機的端口鏡像配置方法

    JuniperM系列和T系列交換機端口鏡像配置方法

    usen@router#showforwarding-optionsport-mirroring{input{familyinet;rate;run-length;}outputinterface{next-hop;}no-filter-check;}}

    選擇將抽樣的流量發送到哪個目的端口

    user@router#showfirewallfiltermirror-samplefrom{...}then{sample;accept;}

    定義抽樣過濾器,選擇感興趣的流量

    user@router#showinterfaceunit0familyinetfilter{inputmirror-sample;}

    選擇將抽樣的過濾器應用到某個端口

    Nortel8000交換機的端口鏡像配置方法

    Software3.2.0.0以前的版本,支持一組端口鏡像,10個source,一個destination

    Software3.2.0.0后的版本,支持2組鏡像,(說明:通常8個ethernet口為一個電路集成板,destination不可以在同一個板子上,即1-8口上只允許有一個destination),支持25個source。

    用戶名/密碼:rwa/rwa超級用戶

    例如:2/62/62/8鏡像到2/1

     

    1. configdiagmirror-by-port1createin-port2/4out-port2/1(1是id號,范圍1-10)
    2. configdiagmirror-by-port1enableture
    3. configdiagmirror-by-port2createin-port2/6out-port2/1
    4. configdiagmirror-by-port2enableture
    5. configdiagmirror-by-port3createin-port2/8out-port2/1
    6. configdiagmirror-by-port3enableture
    7. configdiagmirror-by-port1modeboth|tx|rx
    8. saveconfig
    9. diagmirror-by-portidinfo(查看第id號鏡像信息)

     

    Nortel交換機提供的鏡像功能通常是rx的,不支持both方式(看cpu而定),所以ping包檢測不到,只能檢測到ping回答。?

    Baystack450交換機的端口鏡像配置方法

    Veryeasy,只要安裝菜單按部就班。只支持2個source和1個destination。交換機軟件版本3以上。

     

    1. Ssr8000
    2. SSRCommandLineInterfaceReferenceManual551
    3. portmirroring
    4. Command
    5. Purpose
    6. ApplyportmirroringtooneormoretargetportsonanSSRortotrafficspecifiedbyan
    7. ACLprofile.
    8. Format
    9. portmirroringmonitor-porttarget-port|target-profilename>
    10. Mode
    11. Configure
    12. Description
    13. Theportmirroringcommandallowsyoutomonitorviaasingleporttheactivityofone
    14. ormoreportsonanSSRorthetrafficthatisspecifiedbyanACL.
    15. Parameters
    16. monitor-port
    17. Theportyouwillusetomonitoractivity.
    18. target-port
    19. Theport(s)forwhichyouwanttomonitoractivity.Youcanspecifyasingleportora
    20. comma-separatedlistofports.
    21. target-profile
    22. ThenameoftheACLthatspecifiestheprofileofthetrafficthatyouwantto
    23. monitor.TheACLmustbeapreviouslycreatedIPACL.TheACLmaycontain
    24. eitherpermitordenykeywords.Theportmirroringcommandonlylooksatthe
    25. followingACLruleparametervalues:protocol,sourceIPaddress,destinationIP
    26. address,sourceport,destinationport,andTOS.

     


    本文出自:億恩科技【www.vbseamall.com】

    服務器租用/服務器托管中國五強!虛擬主機域名注冊頂級提供商!15年品質保障!--億恩科技[ENKJ.COM]

  • 您可能在找
  • 億恩北京公司:
  • 經營性ICP/ISP證:京B2-20150015
  • 億恩鄭州公司:
  • 經營性ICP/ISP/IDC證:豫B1.B2-20060070
  • 億恩南昌公司:
  • 經營性ICP/ISP證:贛B2-20080012
  • 服務器/云主機 24小時售后服務電話:0371-60135900
  • 虛擬主機/智能建站 24小時售后服務電話:0371-60135900
  • 專注服務器托管17年
    掃掃關注-微信公眾號
    0371-60135900
    Copyright© 1999-2019 ENKJ All Rights Reserved 億恩科技 版權所有  地址:鄭州市高新區翠竹街1號總部企業基地億恩大廈  法律顧問:河南亞太人律師事務所郝建鋒、杜慧月律師   京公網安備41019702002023號
      0
     
     
     
     

    0371-60135900
    7*24小時客服服務熱線