交换机端口镜像配置

合集下载

网络交换机端口镜像配置指导

网络交换机端口镜像配置指导

网络交换机端口镜像配置指导一、华为6505交换机:1.1、登录以太网交换机第一步:如图2-1所示,建立本地配置环境,只需将PC机(或终端)的串口通过配置电缆与以太网交换机的Console口连接。

第二步:在PC机上运行终端仿真程序(如Windows 3.X的Terminal或Windows 9X的超级终端等),设置终端通信参数为:波特率为9600bit/s、8位数据位、1位停止位、无校验和无流控,并选择终端类型为VT100,如图2-2至图2-4所示。

第三步:键入回车,之后将出现命令行提示符<k3acswitch>。

1.2、配置交换机端口镜像数据第一步:在用户视图<k3acswitch>提示符下,输入system命令,进入系统视图[k3acswitch]。

详细如下:<k3acswitch>system //注解:system为需输入命令。

[k3acswitch] //注解:系统视图提示符。

第二步:在系统视图[k3acswitch]下,输入以下命令将接口Ethernet4/0/3的出入两个方向的数据复制到接口Ethernet4/0/15。

(注:请根据实际的采集需求,配置端口镜像的源端口和目的端口。

这里只是根据以前采集的经验,制定了以下示例)。

[k3acswitch]mirroring-group 11 inbound Ethernet4/0/3 mirrored-to Ethernet4/0/15[k3acswitch]mirroring-group 12 outbound Ethernet4/0/3 mirrored-to Ethernet4/0/15二、思科6509交换机:2.1、登录以太网交换机同第1.1小节一样。

2.2、配置交换机端口镜像数据Switch(config)# monitor session 1 source interface fastethernet0/1 bothSwitch(config)# monitor session 1 destination interface fastethernet0/8。

交换机端口镜像原理及配置

交换机端口镜像原理及配置
实例
gei_3/3连接镜像PC
交换机(config)# interface gei_1/1 交换机(config-gei_1/1)# monitor session 1 source direction rx 交换机(config)# interface gei_1/2 交换机(config-gei_1/2)# monitor session 1 source 交换机(config)# interface gei_3/3 交换机(config-gei_3/3)# monitor session 1 destination
交换机端口镜像原理及配置
什么是端口镜像?
被镜像端口
监控端口
PC-A
PC-B
将交换机或路由器上一个或多个端口(被镜像端口)的数据复制到一个指定的目 的端口(监控端口)上,通过镜像可以在监控端口上获取这些被镜像端口的数据, 以便进行网络流量分析、错误诊断等。
端口镜像配置 创建一个会话 交换机(config)# monitor session <session-number> 向会话条目添加源端口 交换机(config-gei_1/x)# monitor session <session-number> source [direction {both|cpurx|cup-tx|tx|rx}] 向会话条目添加目的端口 交换机(config-gei_1/x)# monitor session <session-number> destination 查看端口镜像信息 交换机(config)# show monitor session {all|<session-number>}

H3C各种型号交换机端口镜像配置方法总结

H3C各种型号交换机端口镜像配置方法总结

H3C各种型号交换机端口镜像配置方法总结一、端口镜像概念:Port Mirror(端口镜像)是用于进行网络性能监测。

可以这样理解:在端口A 和端口B 之间建立镜像关系,这样,通过端口A 传输的数据将同时复制到端口B ,以便于在端口B 上连接的分析仪或者分析软件进行性能分析或故障判断。

二、端口镜像配置『环境配置参数』1. PC1接在交换机E0/1端口,IP地址1.1.1.1/242. PC2接在交换机E0/2端口,IP地址2.2.2.2/243. E0/24为交换机上行端口4. Server接在交换机E0/8端口,该端口作为镜像端口『组网需求』1. 通过交换机端口镜像的功能使用server对两台pc的业务报文进行监控。

2. 按照镜像的不同方式进行配置:1) 基于端口的镜像2) 基于流的镜像2 数据配置步骤『端口镜像的数据流程』基于端口的镜像是把被镜像端口的进出数据报文完全拷贝一份到镜像端口,这样来进行流量观测或者故障定位。

【3026等交换机镜像】S2008/S2016/S2026/S2403H/S3026等交换机支持的都是基于端口的镜像,有两种方法:方法一1. 配置镜像(观测)端口[SwitchA]monitor-port e0/82. 配置被镜像端口[SwitchA]port mirror Ethernet 0/1 to Ethernet 0/2方法二1. 可以一次性定义镜像和被镜像端口[SwitchA]port mirror Ethernet 0/1 to Ethernet 0/2 observing-port Ethernet 0/8【8016交换机端口镜像配置】1. 假设8016交换机镜像端口为E1/0/15,被镜像端口为E1/0/0,设置端口1/0/15为端口镜像的观测端口。

[SwitchA] port monitor ethernet 1/0/152. 设置端口1/0/0为被镜像端口,对其输入输出数据都进行镜像。

华为交换机如何配置端口镜像

华为交换机如何配置端口镜像

华为交换机如何配置端口镜像
摘要:
配置任何一种镜像功能,都需要先将物理端口配置成观察端口。

配置观察端口分单个配置和批量配置两种方式。

批量配置的观察端口相当于加入了一个观察端口组,在配置镜像端口时,镜像端口会绑定整个观察端口组。

因此批量配置一般在1:N镜像时使用,主要是为了配置方便。

配置单个观察端口
1、本地观察端口,即观察端口与监控设备直连
2、二层远程观察端口,即观察端口通过二层网络向监控设备转发镜像报文
3、三层远程观察端口,即观察端口通过三层网络向监控设备转发镜像报文(仅S7700/S9700/S12700支持)
4、配置批量观察端口(V200R005及后续版本支持)
4.1本地观察端口,即观察端口与监控设备直连
4.2二层远程观察端口,即观察端口通过二层网络向监控设备转发镜像报文
4.3三层远程观察端口不支持批量配置。

华为交换机端口镜像配置实例

华为交换机端口镜像配置实例
我们在日常网络维护中如果需要对交换机的数据流量进行抓包的话那么就需要在交换机上配置镜像端口配置方法如下
华为交换机端口镜像配置实例
我们在日常网络维护中,如果需要对交换机的数据流量进行抓包的话,那么就需要在交换机上配置镜像端口,配置方法如下: 1、先配置观察端口 [Quidway]observe-port 1 interface GigabitEthernet 0/0/24 2、然后再进入需要镜像的端口 [Quidway]interface GigabitEthernet 0/0/23 3、在配置镜像端口模式 [Quidway-GigabitEthernet0/0/23]port-mirroring to observe-port 1 both 4、配置完成之后用display current 查看下配置 display current-configuration interface GigabitEthernet 0/0/23 port-mirroring to observe-port 1 inbound port-mirroring to observe-port 1 outbound 5、接下来电脑上可以安排流行的抓包软件,连到24端口来观察23端口镜相过来的数据了。
பைடு நூலகம்

多种交换机端口镜像配置

多种交换机端口镜像配置

cisco 3550 镜像配置命令cisco 3550 emi在配置模式进行配置monitor session 1 source interface Fa0/15monitor session 1 destination interface Fa0/1415端口是源端口(接外网的端口),14端口是监视端口(安装互联网管理系统的电脑接在该端口。

华为交换机端口镜像配置[转帖]『端口镜像的数据流程』基于端口的镜像是把被镜像端口的进出数据报文完全拷贝一份到镜像端口,这样来进行流量观测或者故障定位。

【3026等交换机镜像】S2008/S2016/S2026/S2403H/S3026等交换机支持的都是基于端口的镜像,有两种方法:方法一1. 配置镜像(观测)端口[SwitchA]monitor-port e0/82. 配置被镜像端口[SwitchA]port mirror Ethernet 0/1 to Ethernet 0/2方法二1. 可以一次性定义镜像和被镜像端口[SwitchA]port mirror Ethernet 0/1 to Ethernet 0/2 observing-port Ethernet 0/8 【8016交换机端口镜像配置】1. 假设8016交换机镜像端口为E1/0/15,被镜像端口为E1/0/0,设置端口1/0/15为端口镜像的观测端口。

[SwitchA] port monitor ethernet 1/0/152. 设置端口1/0/0为被镜像端口,对其输入输出数据都进行镜像。

[SwitchA] port mirroring ethernet 1/0/0 both ethernet 1/0/15也可以通过两个不同的端口,对输入和输出的数据分别镜像1. 设置E1/0/15和E2/0/0为镜像(观测)端口[SwitchA] port monitor ethernet 1/0/152. 设置端口1/0/0为被镜像端口,分别使用E1/0/15和E2/0/0对输入和输出数据进行镜像。

简单网管交换机端口镜像功能设置

简单网管交换机端口镜像功能设置

简单网管交换机端口镜像功能设置
文档适用产品型号:
FS116E,JFS524E,GS105E,GS108Ev1,GS108Ev2,GS108PEv1,GS108PEv2,GS116E,JGS524E,XS708 E,GS105PE
端口镜像
端口镜像功能是把交换机一个或多个端口的数据在发出或接收的同时复制一份到指定的镜像端口,以监测进出网络的所有数据包,从而很好的保证网络安全;在网络出现故障时,也能迅速地进行故障定位。

简单网管交换机支持一(镜像端口)对多(源端口)的端口镜像。

拓扑:
上图中,路由器连接在交换机XS708E的01号端口,监控主机连接在交换机的08号端口。

一般所有出口的流量均会通过出口路由器,所以只需监控路由器端口即可收集局域网中所有上网数据。

管理软件(ProSafe Plus Utility)版本:V2.2.24
配置:
进入系统>监控>端口镜像,配置界面如下图所示。

端口镜像:默认值为禁用,即未启用此功能,点选启用,启用端口镜像功能;源端口:此处选择被监控的端口,这里选择连接出口路由器的01号端口;
目标端口:此处选择监控端口,即连接监控服务器的08号端口。

注意:源端口不可作为目标端口,并且源端口或目标端口不可作为LAG成员。

点击应用。

如何配置交换机镜像端口

如何配置交换机镜像端口

如何配置交换机镜像端口(网文精选)(2008-12-26 17:05:31)如果使用交换机做为整个公司接入互联网的网关,那么,想监控整个网络的数据,需要把交换机的某个端口设置为镜像口,让其他所有端口的数据都通过这个镜像口,达到监控的目的。

如何设置交换机的镜像端口呢?以下以现在比较通用的华为交换机为例子,具体说明交换机的镜像口设置。

华为交换机设置:1、在能连通交换机的机器上,点击开始”=》运行”,输入“ cmd”进入dos状态;2、通过TelNet 链接到交换机,(假设交换机Ip 地址:192。

168。

0。

1,可以通过Ipconfig/all 查询交换机IP 地址),那么输入命令行:Telnet 192.168.0.1输入用户名和密码。

3、再根据以下交换机型号,输入相应的命令,如下:【3026 等交换机镜像】S2008/S2016/S2026/S2403H/S3026 等交换机支持的都是基于端口的镜像,有两种方法:方法一1.配置镜像(观测)端口[SwitchA]monitor-port e0/82.配置被镜像端口[SwitchA]port mirror Ethernet 0/1 to Ethernet 0/2方法二1.可以一次性定义镜像和被镜像端口[SwitchA]port mirror Ethernet 0/1 to Ethernet 0/2 observing-port Ethernet 0/8举例:交换机2403h:>telnet 192.168.0.1>username:admin>password:admin>sys>monitor-port e0/8>port mirror Ethernet 0/1 to Ethernet 0/7则把交换机的1-7 端口数据镜像到端口8。

【8016 交换机端口镜像配置】1•假设8016交换机镜像端口为E1/0/15,被镜像端口为E1/0/0,设置端口1/0/15为端口镜像的观测端口。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

CISCO、3COM、华为等主流交换机端口镜像配置各型号交换机端口镜像配置方法和命令"Port Mirror"即端口镜像,端口镜像为网络传输提供了备份通道。

此外,还可以用于进行数据流量监测。

可以这样理解:在端口A和端口B之间建立镜像关系,这样,通过端口A传输的数据将同时通过端口B传输,即使端口A处因传输线路等问题造成数据错误,还有端口B处的数据是可用的。

Cisco交换机端口镜像配置,cisco交换机最多支持2组镜像,支持所有端口镜像。

默认密码ciscoCisco catylist2820:有2个菜单选项先进入menu选项,enable port monitor进入cli模式,enconf terminterface fast0/x 镜像口port monitor fast0/x 被镜像口exitwrCisco catylist2924、2948 Cisco catylist 3524、3548Switch>EnSwitch#Conf termSwitch(config)#Interface fast mod/portSwitch(config-if)#Port monitor mod/portSwitch(config-if)#ExitSwitch(config)#WrCisco catylist 2550 Cisco catylist 3550:支持2组monitor sessionen passwordconfig termSwitch(config)#monitor session 1 destination interface fast0/4(1为session id,id范围为1-2)Switch(config)#monitor session 1 source interface fast0/1 , fast0/2 , fast0/3 (空格,逗号,空格) Switch(config)#exitSwitch#copy running-conf startup-confSwitch#show port-monitorCisco catylist 4000/5000系列Cisco catylist 6000 系列:支持2组镜像EnShow module (确认端口所在的模块)Set span source(mod/port) destination(mod/port) in|out|both inpkts enableWrite tern allShow span注:多个source:mod/port,mod/port-mod/port 连续端口用横杆“-”,非连续端口用逗号“,”set span enable 允许镜像set span disable 禁止镜像set span source destination in|out|both inpkts enable create (create用于建立第二组镜像) Huawei(华为)s2403h端口监听配置:enconf termmonitor ethernet source_mod/port to ethernet source_mod/port obser ethernet dest_mod/portexitwriteshow monitor-port(注:不可以将非连续端口作为souce,如果镜像单个端口,则不用to,直接到obs ether。

删除镜像)enconf tno monitort ethernet 源to enternet 源obser enternet 目的exitshow monitor-portwritehuawei 6500端口镜像配置S6506_A>enPassword:S6506_A#S6506_A#conf tS6506_A(config)#S6506_A(config)#set mirr WORD1 input GigabitEthernet1/0/3 GigabitEthernet1/0/4 mirror-port GigabitEthernet1/0/6S6506_A(config)#exitS6506_A#show mirror allmirror name: WORD1slot no: 1/0port mask: gigabitethernet1/0/3 gigabitethernet1/0/4mirror direction:inputmirror port: gigabitethernet1/0/6Nortel 交换机Nortel 1100、2000端口镜像配置:支持一组镜像,2个source和1个destination默认用户名/密码:12/12configmirrorinput1 (mod/port) enableinput2 (mod/port) enableoutput (mod/port) enablesave configure tureNortel 8000 series 端口镜像配置:Software 3.2.0.0以前的版本,支持一组镜像,10个source,一个destinationSoftware 3.2.0.0后的版本,支持2组镜像,(说明:通常8个ethernet口为一个电路集成板,destination不可以在同一个板子上,即1-8口上只允许有一个destination),支持25个source (10个有效―――不懂,没有玩过这么高的版本)。

用户名/密码:rwa/rwa 超级用户例如:2/6 2/6 2/8 镜像到2/1config diag mirror-by-port 1 create in-port 2/4 out-port 2/1 (1是id号,范围1-10)config diag mirror-by-port 1 enable tureconfig diag mirror-by-port 2 create in-port 2/6 out-port 2/1config diag mirror-by-port 2 enable tureconfig diag mirror-by-port 3 create in-port 2/8 out-port 2/1config diag mirror-by-port 3 enable tureconfig diag mirror-by-port 1 mode both|tx|rxsave configdiag mirror-by-port id info (查看第id号镜像信息)Nortel 交换机提供的镜像功能通常是rx的,不支持both方式(看cpu而定),所以ping包检测不到,只能检测到ping回答。

Bay stack 450Very easy,只要安装菜单按部就班。

只支持2个source和1个destination。

交换机软件版本3以上。

Ssr8000SSR Command Line Interface Reference Manual 551port mirroringCommandPurposeApply port mirroring to one or more target ports on an SSR or to traffic specified by anACL profile.Formatport mirroring monitor-port target-port |target-profile name>ModeConfigureDeionThe port mirroring command allows you to monitor via a single port the activity of oneor more ports on an SSR or the traffic that is specified by an ACL.Parametersmonitor-portThe port you will use to monitor activity.target-portThe port(s) for which you want to monitor activity. You can specify a single port or acomma-separated list of ports.target-profileThe name of the ACL that specifies the profile of the traffic that you want tomonitor. The ACL must be a previously created IP ACL. The ACL may containeither permit or deny keywords. The port mirroring command only looks at thefollowing ACL rule parameter values: protocol, source IP address, destination IPaddress, source port, destination port, and TOS.3COM交换机端口镜像配置:在3COM交换机中,端口镜像被称为“Roving Analysis”。

网络流量被监听的端口称作“监听口”(Monitor Port),连接监听设备的端口称作“分析口”(Analyzer Port)。

以下命令配置端口镜像:●指定分析口feature rovingAnalysis add,或缩写f r a,例如:Select menu option: feature rovingAnalysis addSelect analysis slot: 1Select analysis port: 2●指定监听口并启动端口监听feature rovingAnalysis start,或缩写f r sta,例如:Select menu option: feature rovingAnalysis startSelect slot to monitor (1-12): 1Select port to monitor (1-8): 3●停止端口监听feature rovingAnalysis stop,或缩写f r sto,Intel交换机端口镜像配置Intel称端口监听为“Mirror Ports”。

网络流量被监听的端口称作“源端口”(Source Port),连接监听设备的端口称作“镜像口”(Mirror Port)。

相关文档
最新文档