主流廠商交換機埠映象配置

2021-10-06 03:28:45 字數 1918 閱讀 4819

分 享

1、華為

system-view

[quidway] observe-port 1 inte***ce gigabitethernet 0/0/2

[quidway] inte***ce gigabitethernet 0/0/1

[quidway-gigabitethernet0/0/1] port-mirroring to observe-port 1 both

步驟 1 執行命令 system-view,進入系統檢視。

步驟 2 執行命令 observe-port index inte***ce inte***ce-type inte***ce-number ,配置觀察介面。

步驟 3 執行命令 inte***ce inte***ce-type inte***ce-number,進入映象介面的介面檢視。

步驟 4 執行命令 port-mirroring to observe-port index ,配置介面映象。

2、華三

system-view

[sysname] mirroring-group 1 local

[sysname] mirroring-group 1 mirroring-port g0/0/1 both

[sysname] mirroring-group 1 monitor-port g0/0/2

步驟 1 執行命令 system-view,進入系統檢視。

步驟 2 執行命令 mirroring-group number local ,建立乙個映象組。

步驟 3 執行命令 mirroring-group 1 mirroring-port g0/0/1 ,將埠加入到映象組中,映象可以根據實際情況靈活選擇入方向、出方向及全部流量;both,全部流量;inbound,入方向流量;outbound,出方向流量

步驟 4 執行命令 mirroring-group 1 monitor-port g0/0/2 ,設定映象的目的埠

3、銳捷

switch# configure terminal

switch(config)#monitor session 1 source inte***ce fa0/1 both

switch(config)#monitor session 1 destination inte***ce fa 0/2

步驟 1 執行命令 configure terminal,進入全域性配置模式。

步驟 2 執行命令 monitor session 1 source inte***ce fa0/1 ,建立觀察介面索引號為 1,並將 fa0/1 加入該索引,映象可以根據實際情況靈活選擇入方向、出方向及全部流量;both,全部流量;inbound,入方向流量;outbound,出方向流量

步驟 3 執行命令 monitor session 1 destination inte***ce fa 0/2 設定 fa0/2 為監控口

4、思科

switch# configure terminal

switch(config)# monitor session 1 source inte***ce fastethernet 0/1 both

switch(config)# monitor session 1 destination inte***ce fastethernet 0/2

步驟 1 執行命令 configure terminal,進入全域性配置模式。

步驟 2 執行命令 monitor session 1 source inte***ce fa0/1 ,建立觀察介面索引號為 1,並將 fa0/1 加入該索引,映象可以根據實際情況靈活選擇入方向、出方向及全部流量;both,全部流量;inbound,入方向流量;outbound,出方向流量

步驟 3 執行命令 monitor session 1 destination inte***ce fa 0/2 設定 fa0/2 為監控口

華為交換機交換機埠映象配置

環境配置引數 1.pc1接在交換機e0 1埠,ip位址1.1.1.1 24 2.pc2接在交換機e0 2埠,ip位址2.2.2.2 24 3.e0 24為交換機上行埠 4.server接在交換機e0 8埠,該埠作為映象埠 組網需求 1.通過交換機埠映象的功能使用server對兩台pc的業務報文進行監...

華為交換機埠映象配置

埠映象是將指定埠的報文複製到映象目的埠,映象目的埠會接入資料檢測裝置,使用者利用這些裝置分析目的埠接收到的報文,進行網路監控和故障排除。圖1 1 埠映象示意圖 埠映象通過配置映象組的方式實現,s5500 si系列乙太網交換機支援配置本地映象組,用來實現本地埠映象的功能。裝置將乙個或多個埠 源埠 的報...

配置映象 華為交換機埠映象配置

埠映象 通過配置映象功能,可以將報文複製到特定的目的地進行分析,以進行網路監控和故障定位。映象是指將經過指定埠 源埠或者映象埠 的報文複製乙份到另乙個指定埠 目的埠或者觀察埠 配置舉例 1 一對一本地埠映象 乙個監控裝置監控乙個埠 observe port 1 inte ce gigabitethe...