欢迎来到天天文库
浏览记录
ID:38396529
大小:25.40 KB
页数:25页
时间:2019-06-11
《交换机端口镜像(1)(Switch port mirroring (1))》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、交换机端口镜像(1)(Switchportmirroring(1))1,CISCO(CISCO)switch1.1configuremirror(SPAN)portSwitch(config)monitorsession1sourceinterfaceFastEthernet#4/10Switch(config)#monitorsession1filterVLAN57Switch(config)monitorsession1destinationinterfaceFastEthernet#4/15IfyouwanttoreleasetheSPANtask,en
2、terthefollowingcommand:Switch(config)nomonitorsession1#ThefollowingstatementshowshowtoverifytheconfigurationresultsoftheSPANtask:Switch#showmonitorsession2Intheprocessofconfiguringmirrorport(SPAN),theprocessingspeedandthenumberofportsshouldalsobetakenintoaccountwhenthedataflowistool
3、argeAccordingtothesizeofthecache,itisnecessarytominimizethelossofthemonitoredpackets.1.2Catalyst2550/2950/3550/3560/3560-E/3570-EOldswitchsystemcommand:Switchintfa0/1(config)#Switch(config-if)portmonitorfastEthernet0/2#Newswitchsystemcommand:Switch>showinterfacesSwitch>enablePasswor
4、d:CiscoSwitch#configureterminalSwitch(config)monitorsession1sourceinterfaceFastEthernet#0/17Switch(config)monitorsession1destinationinterfaceFastEthernet#0/2Switch(config)#endSwitch#showmonitorsession1--viewmirrorimageSwitch#nomonitorsession1--EmptyMirrorSwitch#showrunning-config-se
5、erunningconfigurationSwitch#copyrunning-configstartup-config--savetoconfigurationfileIfyouseetheingress:disabledwiththedisplaymirrorcommand,youspecifytheVLAN,andthesourcedatacontainstheorderVLANwheretheportislocated.SupposethedestinationportisVLAN1:Switch(config)#monitorsession1filt
6、erVLAN1perhapsSwitch(config)monitordestinationinterfacefasternet#session10/20ingressVLAN11.3Catalyst4000/4500/4900Enterconfigurationmode:Switch#enableSwitch#passwordCisco-defaultstoCiscoSwitch#configureterminalConfigurationexample:FastEthernet2/3isthesourceportandFastEthernet5/48ist
7、hedestinationportSwitch(config)monitorsession1sourceinterface#FA2/3(rx
8、tx
9、both)Switch(config)monitorsession1destinationinterfaceFA#5/48Whenthesourceportistrunkinterface,monitorVLAN1-5andVLAN9Switch(config)monitorsession2fiterVLAN1-5,9#WhenmonitoringFastEthernet4/10istrunkinterfacewi
10、thVLAN1-1005,ifyouw
此文档下载收益归作者所有