首页 > 其他 > 详细

Port 端口镜像

时间:2019-06-24 10:15:26      阅读:103      评论:0      收藏:0      [点我收藏+]

1.1.1         配置

1)先把交换机208的ge1和ge47加入到vlan2当中,不配置端口镜像时,只有PC-91号机能够收到PC-101发出来的报文。

xNet#configure terminal

xNet(config)#interface ge1

xNet(config-if)#switchport

xNet(config-if)#switchport mode access

xNet(config-if)#switchport access vlan 2

xNet(config-if)#exit

xNet(config)#interface ge47

xNet(config-if)#switchport

xNet(config-if)#switchport mode access

xNet(config-if)#switchport access vlan 2

xNet(config-if)#exit

xNet(config)#end

xNet#

2)配置端口镜像,使通过ge47报文复制到镜像端口ge48。

xNet#configure terminal

xNet(config)#interface ge48

xNet(config-if)#switchport

xNet(config-if)#mirror interface ge47 direction both

xNet(config-if)#end

xNet#

3)查看mirror配置

 

1.1.2         结果

通过配置端口镜像,镜像端口能够监控特定端口的流入或流出流量

 

1.2         storm-control

1.2.1         broadcast

xNet#configure terminal

xNet(config)#interface ge1

xNet(config-if)#storm-control broadcast level 10

xNet(config-if)#end

xNet#

1.2.2         multicast

xNet#configure terminal

xNet(config)#interface ge1

xNet(config-if)#storm-control multicast level 10

xNet(config-if)#end

xNet#

1.2.3         dlf

xNet#configure terminal

xNet(config)#interface ge1

xNet(config-if)#storm-control dlf level 10

xNet(config-if)#end

xNet#

 

1.3         Speed

配置将一个万兆口配成千兆

1.3.1         配置

xNet#configure terminal

xNet(config)#interface xe1

xNet(config-if)#duplex full

xNet(config-if)#speed 1000

xNet(config-if)#end

xNet#

Port 端口镜像

原文:https://www.cnblogs.com/niezhongle/p/11075376.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!