首页 > 其他 > 详细

Everyday专题1:端口镜像

时间:2015-11-18 02:02:25      阅读:267      评论:0      收藏:0      [点我收藏+]

1.端口镜像目的:将核心交换机上端口的数据流量(源端口),复制到镜像端口(目的口)。方便进行监测。

2.常见设备端口镜像指令:

2.1 Cisco系:

Switch<enable
Switch#conf t

配源(以0/2-0/5为源端口):

Switch(config)#monitor session 1 source interface gigabitEthernet 0/2-5 both

参数:both 双向 rx 接收 tx 发送

目的:

Switch(config)#monitor session 1 destination interface gigabitEthernet 0/6 

Switch(config)#exit

Switch#wr

查看:

Switch#show monitor

删除:

Switch#conf t

Switch(config)#no monitor session 1 

Switch(config)#end

Switch#wr

 

Everyday专题1:端口镜像

原文:http://www.cnblogs.com/ahha/p/4973351.html

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