H3C交換機端口鏡像配置.doc_第1頁
H3C交換機端口鏡像配置.doc_第2頁
H3C交換機端口鏡像配置.doc_第3頁
H3C交換機端口鏡像配置.doc_第4頁
H3C交換機端口鏡像配置.doc_第5頁
已閱讀5頁,還剩4頁未讀 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領

文檔簡介

1.1.1 display mirroring-group【命令】display mirroring-group group-id | all | local | remote-destination | remote-source 【視圖】任意視圖【參數(shù)】group-id:端口鏡像組的組號,取值范圍為12。all:所有鏡像組。local:本地鏡像組。remote-destination:遠程目的鏡像組。remote-source:遠程源鏡像組?!久枋觥縟isplay mirroring-group命令用來顯示端口鏡像組的信息。不同的鏡像組類型,其顯示內(nèi)容不同。設備將按照鏡像組號的順序進行顯示。【舉例】# 顯示所有鏡像組的信息。 display mirroring-group allmirroring-group 1: type: local status: active mirroring port: Ethernet1/0/1 both Ethernet1/0/2 both monitor port: Ethernet1/0/3mirroring-group 2: type: remote-source status: inactive mirroring port: Ethernet1/0/4 inbound reflector port: remote-probe vlan: 1900表1-1 display mirroring-group命令顯示信息描述表字段描述mirroring-group端口鏡像組的組號type鏡像組的類型,包括local(本地鏡像組)、remote-source(遠程源鏡像組)、remote-destination(遠程目的鏡像組)status鏡像組的狀態(tài),active表示已經(jīng)生效、inactive表示沒有生效mirroring port鏡像源端口monitor port鏡像目的端口reflector port反射端口remote-probe vlan遠程鏡像VLAN1.1.2 mirroring-group【命令】mirroring-group group-id local | remote-source | remote-destination undo mirroring-group group-id | local | remote-source | remote-destination | all 【視圖】系統(tǒng)視圖【參數(shù)】group-id:端口鏡像組的組號,取值范圍為12。local:本地鏡像組。remote-source:遠程源鏡像組。remote-destination:遠程目的鏡像組。all:所有鏡像組?!久枋觥縨irroring-group命令用來創(chuàng)建鏡像組。undo mirroring-group命令用來刪除鏡像組。創(chuàng)建鏡像組的時候需要指定鏡像組類型:l 若在命令行中指定local參數(shù),表示要創(chuàng)建本地鏡像組;l 若在命令行中指定remote-destination參數(shù),表示要創(chuàng)建遠程目的鏡像組;l 若在命令行中指定remote-source參數(shù),表示要創(chuàng)建遠程源鏡像組。刪除鏡像組的時候需要指定鏡像組類型或者鏡像組號:l 若在命令行中指定group-id參數(shù),表示刪除端口鏡像組號為group-id的鏡像組;l 若在命令行中指定all參數(shù),表示刪除所有的鏡像組;l 若在命令行中指定local參數(shù),表示要刪除本地鏡像組;l 若在命令行中指定remote-destination參數(shù),表示要刪除遠程目的鏡像組;l 若在命令行中指定remote-source參數(shù),表示要刪除遠程源鏡像組。需要注意的是:l S3610&S5510系列以太網(wǎng)交換機只支持配置1個本地鏡像組或1個遠程源鏡像組,兩者不能同時配置。l 如果本地端口鏡像組的目的端口和流鏡像的目的端口為不同的端口,則兩者不能同時配置。關于流鏡像的詳細介紹請參見本手冊“QoS”部分?!九e例】# 創(chuàng)建本地鏡像組1。 system-viewSysname mirroring-group 1 local# 創(chuàng)建遠程目的鏡像組2。 system-viewSysname mirroring-group 2 remote-destination1.1.3 mirroring-group mirroring-port【命令】mirroring-group group-id mirroring-port mirroring-port-list inbound | outbound | both undo mirroring-group group-id mirroring-port mirroring-port-list inbound | outbound | both 【視圖】系統(tǒng)視圖【參數(shù)】group-id:端口鏡像組的組號,取值范圍為12。mirroring-port-list:端口列表,表示多個端口。表示方式為mirroring-port-list = interface-type interface-number to interface-type interface-number &。其中,interface-type為端口類型,interface-number為端口編號。&表示前面的參數(shù)最多可以輸入8次。inbound:表示僅對端口接收的報文進行鏡像。outbound:表示僅對端口發(fā)送的報文進行鏡像。both:表示對端口接收和發(fā)送的報文都進行鏡像?!久枋觥縨irroring-group mirroring-port命令用來為已經(jīng)創(chuàng)建的本地鏡像組/遠程源鏡像組配置源端口。undo mirroring-group mirroring-port命令用來為本地鏡像組/遠程源鏡像組刪除源端口。需要注意的是:l 源端口不能是現(xiàn)有鏡像組的成員端口;l 不能為遠程目的鏡像組添加源端口。【舉例】# 為已存在的鏡像組1添加源端口。 system-viewSysname mirroring-group 1 mirroring-port Ethernet 1/0/1 to Ethernet 1/0/5 both# 從鏡像組1中刪除某些源端口。Sysname undo mirroring-group 1 mirroring-port Ethernet 1/0/1 to Ethernet 1/0/3 both1.1.4 mirroring-group monitor-port【命令】mirroring-group group-id monitor-port monitor-port-idundo mirroring-group group-id monitor-port monitor-port-id【視圖】系統(tǒng)視圖【參數(shù)】group-id:端口鏡像組的組號,取值范圍為12。monitor-port-id:目的端口,表示方式為interface-type interface-number。其中,interface-type為端口類型,interface-number為端口編號?!久枋觥縨irroring-group monitor-port命令用來為已經(jīng)創(chuàng)建的本地鏡像組/遠程目的鏡像組配置目的端口。undo mirroring-group monitor-port命令用來為本地鏡像組/遠程目的鏡像組刪除目的端口。需要注意的是:l 已經(jīng)有目的端口的鏡像組不能再添加目的端口;l 目的端口不能是現(xiàn)有鏡像組的成員端口;l 本地端口鏡像組的目的端口不能為聚合成員端口;l 不能為遠程源鏡像組配置目的端口;l 指定的鏡像組必須預先創(chuàng)建;l 建議用戶不要在目的端口上開啟STP、RSTP或MSTP,否則可能會影響鏡像功能的正常使用?!九e例】# 為遠程目的鏡像組1添加目的端口Ethernet 1/0/1。 system-viewSysname mirroring-group 1 remote-destinationSysname mirroring-group 1 monitor-port Ethernet 1/0/11.1.5 mirroring-group reflector-port【命令】在系統(tǒng)視圖下:mirroring-group group-id reflector-port reflector-port-idundo mirroring-group group-id reflector-port reflector-port-id在端口視圖下:mirroring-group group-id reflector-portundo mirroring-group group-id reflector-port【視圖】系統(tǒng)視圖/以太網(wǎng)端口視圖【參數(shù)】group-id:端口鏡像組的組號,取值范圍為12。reflector-port-id:反射端口,表示方式為interface-type interface-number。其中,interface-type為端口類型,interface-number為端口編號?!久枋觥縨irroring-group reflector-port命令用來為遠程源鏡像組配置反射端口。undo mirroring-group reflector-port命令用來為遠程源鏡像組刪除反射端口。需要注意的是:l 只有遠程源鏡像組可以配置反射端口,其它類型的鏡像組不能配置反射端口,已有反射端口的鏡像組不能再配置反射端口;l 反射端口不能是現(xiàn)有鏡像組的成員端口、聚合組成員端口,不能配置QinQ功能;必須是Access端口且屬于缺省VLAN。l 端口的雙工模式、端口速率、MDI屬性取值均為缺省值時,才能將端口配置為反射端口;將某個端口配置為反射端口后,不能再修改此端口雙工模式、端口速率、MDI屬性的取值,即這些屬性只能為缺省值。l 建議用戶不要在反射端口連接網(wǎng)線,不要在反射端口上配置下列功能:STP、RSTP、MSTP、802.1x、IGMP Snooping、靜態(tài)ARP和MAC地址學習功能,否則可能會影響鏡像功能的正常使用?!九e例】# 在系統(tǒng)視圖下為遠程源鏡像組1配置反射端口Ethernet 1/0/1。 system-viewSysname mirroring-group 1 remote-sourceSysname mirroring-group 1 reflector-port Ethernet 1/0/1# 在以太網(wǎng)端口視圖下為遠程源鏡像組1配置反射端口Ethernet 1/0/1。 system-viewSysname interface Ethernet 1/0/1Sysname-Ethernet1/0/1 mirroring-group 1 reflector-port1.1.6 mirroring-group remote-probe vlan【命令】mirroring-group group-id remote-probe vlan rprobe-vlan-id undo mirroring-group group-id remote-probe vlan rprobe-vlan-id【視圖】系統(tǒng)視圖【參數(shù)】group-id:端口鏡像組的組號,取值范圍為12。rprobe-vlan-id:遠程鏡像VLAN ID,該VLAN必須已經(jīng)存在?!久枋觥縨irroring-group remote-probe vlan命令用來為遠程源鏡像組/遠程目的鏡像組配置遠程鏡像VLAN。undo mirroring-group remote-probe vlan命令用來為遠程源鏡像組/遠程目的鏡像組刪除遠程鏡像VLAN。需要注意的是:l 只有遠程源鏡像組和遠程目的鏡像組可以配置遠程鏡像VLAN,本地鏡像組不能配置遠程鏡像VLAN;已有遠程鏡像VLAN的鏡像組不能再配置遠程鏡像VLAN;l 配置遠程鏡像VLAN時,要求該VLAN為靜態(tài)VLAN并預先創(chuàng)建。被配置成遠程鏡像VLAN后,該VLAN不能直接刪除,必須先刪除遠程鏡像VLAN的配置才能夠刪除這個VLAN。如果鏡像組生效后,遠程鏡像VLAN被取消,那么該鏡像組也將失效。l 建議遠程鏡像VLAN不用做其他用途,僅用于遠程鏡像?!九e例】# 為遠程源鏡像組1配置遠程鏡像VLAN 2。 system-viewSysname mirroring-group 1 remote-sourceSysname mirroring-group 1 remote-probe vlan 21.1.7 mirroring-port【命令】 mirroring-group group-id mirroring-port both | inbound | outbound undo mirroring-group group-id mirroring-port both | inbound | outbound 【視圖】以太網(wǎng)端口視圖【參數(shù)】group-id:端口鏡像組的組號,取值范圍為12。inbound:表示僅對端口接收的報文進行鏡像。outbound:表示僅對端口發(fā)送的報文進行鏡像。both:表示對端口接收和發(fā)送的報文都進行鏡像?!久枋觥縨irroring-port命令用來把本端口配置成鏡像源端口。undo mirroring-port命令用來取消該配置。缺省情況下,如果沒有指定鏡像組號,默認

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論