关键词不能为空

当前您在: 主页 > 英语 >

常用镜像配置

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-12 09:13
tags:

-

2021年2月12日发(作者:滞纳金)



常用交换机镜像设置



以下一些典型交换机的监听口的配置方法,


供用户参考,


更多 信息应当参考具体的交换


机的使用配置手册。



a)



Cisco


交换机端口监听配置



Catalyst 4506


系列交换机端口监听配置



1)



以下命令配置端口监听:



monitorsession


例如,


Gi0/2-Gi0/5


同属


VLAN1



Gi0/1


监听


Gi0/2-Gi0/5


的端口:



monitor session source interface Gi0/2 -5 both


monitor session destination interface Gi0/1


2)



以下命令禁止端口监听:



no monitor session


3)



以下命令用来显示镜像组:



show monitor session


b)



Cisconexus


系列交换机(


N7K


)端口监听配置

< p>


Switchport Analyzer


(S PAN)



SPAN


可被用于给源端 口到目的端口的流量做一个


镜象流量,以便提供给数据包分析器或对住机的具体应用和故 障排除分析器进行管理。



A SPAN


的目标接口需要配置成


switchport mon itor


接口,同时进程应处于


active

< br>状


态。



1.


配置目标


SPAN


接口


:



n7000(config)#


interface ethernet 2/14


n7000(config-if)#


switchport



n7000(config-if)#


switchport monitor


(配置目标


monitor

接口)



2.


端口镜像配置:



n7000(config)#


monitor session 1



n7000(config- monitor)#


description Inbound(rx)/both SPAN on Eth 2/13





n7000(config-monitor)#


source interface ethernet 2/13 rx/both(


配置源


monitor


接口

< p>
)



n7000(config- monitor)#


destination interface ethernet 2/14



n7000(config- monitor)#


no shut(


激活镜像


)



3.


验证


SPAN


①验证目标接口类型:



n7000#


show interface ethernet 2/14



Ethernet2/14 is up





Hardware is 10/100/1000 Ethernet, address is (bia )




MTU 1500 bytes, BW 1000000 Kbit, DL


Y 10 usec,


reliability 255/255, txload 1/255, rxload 1/255




Encapsulation ARPA




Port mode is access


full-duplex, 1000 Mb/s




Beacon is turned off




Auto- Negotiation is turned on




Input flow-control is off, output flow- control is off




Auto-mdix is turned on


Switchport monitor is on


(交换接口模式)





Last clearing of


②验证


SPAN


进程



n7000#


show monitor session 1



session 1


---------------


description








: Inbound(rx) SPAN on Eth 2/13


type















: local




state














: up


(运行的监控进程为


UP




sourceintf








:



rx













: Eth2/13




(源接口


=rx



both


等)



tx













:



both











:



source VLANs







:



rx













:



tx













:



both











:



filter VLANs







: filter not specified


destination ports : Eth2/14


(目标接口)





-


-


-


-


-


-


-


-



本文更新与2021-02-12 09:13,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/642448.html

常用镜像配置的相关文章