Port 端口镜像

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#

猜你喜欢

转载自www.cnblogs.com/niezhongle/p/11075376.html
今日推荐