<progress id="btth9"></progress>
<sub id="btth9"><thead id="btth9"><font id="btth9"></font></thead></sub>

<sub id="btth9"></sub>

      <big id="btth9"></big>

      <progress id="btth9"></progress>

      <big id="btth9"></big>

      win7系統下載
      當前位置: 首頁 > 硬件軟件教程 > 詳細頁面

      思科3750、2960等交換機跨交換機抓包的方法

      發布時間:2025-04-05 文章來源:xp下載站 瀏覽:

      路由器(Router)是連接兩個或多個網絡的硬件設備,在網絡間起網關的作用,是讀取每一個數據包中的地址然后決定如何傳送的專用智能性的網絡設備,路由器最主要的功能為實現信息的轉送。

      本文記錄了思科3750、2960等交換機跨交換機抓包的方法。
      網絡維護人員可能由于某些原因無法或不便到現場進行抓包分析,因此需要遠程抓包。
      設備連接圖

      思科3750、2960等交換機跨交換機抓包的方法

      SW1為抓包PC直接接入的交換機,SW2為遠端交換機,
      現在需要把SW2的Gi1/0/19端口的網絡包鏡像到SW1的Gi1/0/18端口。
      在SW1的Gi1/0/18端口接入抓包PC進行抓包。

      具體步驟與命令
      SW2
      配置SW2本地交換機端口Gi1/0/19鏡像到remote vlan 900
      注意:remote vlan 必須是新創建的vlan或未使用的vlan,不能用正在使用的vlan,否則此vlan會down。
      SW2(config)# vlan 900
      SW2(config-vlan)# remote-span
      SW2(config)# monitor session 1 source interface Gi1/0/19
      SW2(config)# monitor session 1 destination remote vlan 900

      互聯接口放行remote vlan 900
      SW2(config)#interface Gi1/0/1
      SW2(config-if)#switchport trunk allowed vlan add 900

      檢查SW2配置情況:
      SW2#show monitor session all
      Session 1
      Type : Remote Source Session
      Source Ports : Both : Gi1/0/19
      Dest RSPAN VLAN : 900


      SW1
      SW1(config)# vlan 900
      SW1(config-vlan)# remote-span
      SW1(config)# monitor session 1 source remote vlan 900
      SW1(config)# monitor session 1 destination interface Gi1/0/18

      互聯接口放行remote vlan 900
      SW1(config)#interface Gi1/0/1
      SW1(config-if)#switchport trunk allowed vlan add 900

      檢查SW1配置情況:
      SW1#show monitor session all
      Session 1
      Type : Remote Destination Session
      Source RSPAN VLAN : 900
      Destination Ports : Gi1/0/18
      Encapsulation : Native
      Ingress : Disabled

      刪除鏡像端口命令:
      SW(config)#no monitor session 1 


      本文可以幫助您基本地設置和管理您的路由器。

      本文章關鍵詞: 思科交換機 跨交換機遠程抓包 
      日本不卡免费新一区二区三区