b) Cisconexus系列交换机(N7K)端口监听配置SwitchportAnalyzer(SPAN):SPAN可被用于给源端口到目的端口的流量做一个镜象流量,以便提供给数据包分析器或对住机的具体应用和故障排除分析器进行管理。 ASPAN的目标接口需要配置成switchportmonitor接口,同时进程应处于active状态。1.配置目标SPAN接口:n7000(config)#interfaceethernet2/14n7000(config-if)#switchportn7000(config-if)#switchportmonitor(配置目标monitor接口)2.端口镜像配置:n7000(config)#monitorsession1n7000(config-monitor)#descriptionInbound(rx)/bothSPANonEth2/13n7000(config-monitor)#sourceinterfaceethernet2/13rx/both(配置源monitor接口) n7000(config-monitor)#destinationinterfaceethernet2/14 n7000(config-monitor)#noshut(激活镜像)3.验证SPAN①验证目标接口类型:n7000#showinterfaceethernet2/14Ethernet2/14isupHardwareis10/100/1000Ethernet,addressis001b.54c0.fedd(bia001b.54c0.fedd)MTU1500bytes,BW1000000Kbit,DLY10usec,reliability255/255,txload1/255,rxload1/255EncapsulationARPAPortmodeisaccessfull-duplex,1000Mb/sBeaconisturnedoffAuto-NegotiationisturnedonInputflow-controlisoff,outputflow-controlisoffAuto-mdixisturnedonSwitchportmonitorison(交换接口模式)Lastclearingof"showinterface"countersnever②验证SPAN进程n7000#showmonitorsession1session1---------------description :Inbound(rx)SPANonEth2/13type :localstate :up(运行的监控进程为UP)sourceintf : rx :Eth2/13 (源接口=rx或both等)tx : both : sourceVLANs : rx : tx : both : filterVLANs :filternotspecifieddestinationports:Eth2/14 (目标接口)
本文档为【思科N7K端口监听配置】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑,
图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。