当前位置:文档之家› 交换机端口镜像配置

交换机端口镜像配置

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)。

相关主题