• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Sunny_Cat
博客园    首页    新随笔    联系   管理    订阅  订阅

Everyday专题1:端口镜像

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

 

posted on 2015-11-18 01:05  Sunny_Cat  阅读(189)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3