• <ul id="mayc0"></ul>
    <ul id="mayc0"><center id="mayc0"></center></ul>
    <strike id="mayc0"><input id="mayc0"></input></strike>
    <ul id="mayc0"></ul>
  • 始創(chuàng)于2000年 股票代碼:831685
    咨詢熱線:0371-60135900 注冊(cè)有禮 登錄
    • 掛牌上市企業(yè)
    • 60秒人工響應(yīng)
    • 99.99%連通率
    • 7*24h人工
    • 故障100倍補(bǔ)償
    全部產(chǎn)品
    您的位置: 網(wǎng)站首頁(yè) > 幫助中心>文章內(nèi)容

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

    發(fā)布時(shí)間:  2012/5/28 10:36:00

    端口鏡像配置之DELL

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

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

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

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

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

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

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

    具體端口鏡像配置:

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

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

    (注:如果需要從端口鏡像會(huì)話刪除副本端口,請(qǐng)打開“PortMirroring”(端口鏡像)頁(yè)面,選取“Remove”(刪除)復(fù)選框,再單擊“ApplyChanges”(應(yīng)用更改)。系統(tǒng)將刪除端口鏡像會(huì)話,并更新設(shè)備。)

    以下是CLI命令實(shí)例:

     

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

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

    Juniper交換機(jī)的端口鏡像配置方法

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

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

    選擇將抽樣的流量發(fā)送到哪個(gè)目的端口

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

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

    user@router#showinterfaceunit0familyinetfilter{inputmirror-sample;}

    選擇將抽樣的過濾器應(yīng)用到某個(gè)端口

    Nortel8000交換機(jī)的端口鏡像配置方法

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

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

    用戶名/密碼:rwa/rwa超級(jí)用戶

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

     

    1. configdiagmirror-by-port1createin-port2/4out-port2/1(1是id號(hào),范圍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號(hào)鏡像信息)

     

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

    Baystack450交換機(jī)的端口鏡像配置方法

    Veryeasy,只要安裝菜單按部就班。只支持2個(gè)source和1個(gè)destination。交換機(jī)軟件版本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】

    服務(wù)器租用/服務(wù)器托管中國(guó)五強(qiáng)!虛擬主機(jī)域名注冊(cè)頂級(jí)提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]

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

    0371-60135900
    7*24小時(shí)客服服務(wù)熱線