端口镜像


端口镜像简介:端口镜像,即能将指定端口的数据包复制到本地镜像端口,以进行网络检测和故障排除。RSPAN交换端口分析RSPAN远程交换端口分析RSPAN突破了被镜像端口和镜像端口必须在同一台交换机上的限制,使被镜像和镜像端口可以跨越网络中的多个设备,从而方便用户对远程交换机设备进行配置和管理。案例一.本地端口镜像实验环境:linuxRH5.4虚拟机一台,华为s2000交换机一台,pc两台网络拓扑:#sw3的配置信息:[Quidway]mirroring-group1local#我们创建监控本地组[Quidway]mirroring-group1mirroring-portEthernet1/0/10Ethernet1/0/20both#添加本地组添加监控源端口[Quidway]mirroring-group1monitor-portEthernet1/0/24#添加本地组监控端口[Quidway]dismir免费云主机域名roring-groupallmirroring-group1:type:localstatus:activemirroringport:Ethernet1/0/10bothEthernet1/0/20bothmonitorport:Ethernet1/0/24#linux虚拟机配置信息案例二.RSPAN远程监控RSPAN即远程端口镜像,突破了被镜像端口和镜像端口必须在同一台交换机上的限制,使被镜像端口和镜像端口可以跨越网络中的多个设备,从而方便网管人员对远程交换机设备进行管理。实验环境:linuxRH5.4虚拟机,华为s3526e交换机一台,s2000交换机两台,pc两台实验拓扑:#sw3配置信息:[sw3]vlan10[sw3-vlan10]remote-probevlanenable#设置特定的vlan[sw3-vlan10]inte1/0/24[sw3-Ethernet1/0/24]portlink-typetrunk[sw3-Ethernet1/0/24]porttrunkpermitvlan10#设定trunkvlan10通过[sw3]mirroring-group1remote-source#设定一个组[sw3]mirroring-group1mirroring-portEthernet1/0/10outbound#设置我们的源监控端口[sw3]mirroring-group1mirroring-portEthernet1/0/20inbound[sw3]mirroring-group1remote-probevlan10#组里的流量全部经过vlan10[sw3]mirroring-group1reflector-portEthernet1/0/5#镜像反射端口[sw3]dismirroring-groupremote-sourcemirroring-group1:type:remote-sourcestatus:activemirroringport:Ethernet1/0/10outboundEthernet1/0/20inboundreflectorport:Ethernet1/0/5remote-probevlan:10#sw2的配置信息:[sw2]vlan10[sw2]remote-probevlanenable[sw2]inte[sw2]intEthernet0/20[sw2-Ethernet0/20]portlink-typetrunk[sw2-Ethernet0/20]porttrunkpermitvlan10[sw2-Ethernet0/20]intEthernet0/24[sw2-Ethernet0/24]portlink-typetrunk[sw2-Ethernet0/24]porttrunkpermitvlan10#sw1的配置信息:[sw1]vlan10[sw1-vlan10]remote-probevlanenable[sw1-vlan10]q[sw1]interfaceEthernet1/0/20[sw1-Ethernet1/0/20]portlink-typetrunk[sw1-Ethernet1/0/20]porttrunkpermitvlan10[sw1]mirroring-group1remote-destination[sw1]mirroring-group1monitor-portEthernet1/0/24[sw1]mirroring-group1remote-probevlan10[sw1]dismirroring-groupremote-destinationmirroring-group1:type:remote-destinationstatus:activemonitorport:Ethernet1/0/24remote-probevlan:10我们来到linux虚拟机上面安装抓包软件:

相关推荐: linux能不能获取本地ip地址

本篇内容主要讲解“linux能不能获取本地ip地址”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“linux能不能获取本地ip地址”吧! linux能获取本地ip地址。方法:1、利用“ifconfig -a”命令,该…

免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。

(0)
打赏 微信扫一扫 微信扫一扫
上一篇 01/29 11:09
下一篇 01/29 11:09