1、本地端口镜像
- 在一台交换机上
2、远程端口镜像
- 将交换机A的某接口数据镜像到交换机B的某个接口上
一、基本概念
1、概述
- 将一个或多个源端口的数据流量转发到某一个指定端口
2、目的
- 主要是方便一个或多个网络接口流量进行分析(IDS入侵检测)
3、功能
- 故障定位、流量分析、流量备份
二、实验

交换机R1设置:
monitor session 1 source int f0/5 both
#source int f0/5 表示数据的源端口
#both 表示监控双向流量,还可以选择rx和tx,rx表示进入的这个段口的流量,tx表示从这个端口出去的流量
monitor session 1 destination int f0/9
#destination int f0/9表示数据的目的端口
浙公网安备 33010602011771号