当前位置:网站首页>交换机和路由器技术-36-端口镜像
交换机和路由器技术-36-端口镜像
2022-08-11 04:44:00 【w辣条小王子】
目录
一、交换机端口镜像
1.1分类
- 本地端口镜像
在一台交换机上
2.远程端口镜像
将交换机A的某接口数据镜像到交换机B的某接口上

1.2 基本概念
将一个或多个源端口的数据流量转发到某一个指定端口

1.3 目的
方便一个或多个网络接口流量进行分析(IDS入侵检测设备)
将流量镜像到端口,对流量进行分析
1.4 功能
对流量备份,故障分析,流量备份
1.5 实验

将PC1于交换机的接口F0/5镜像到交换机与PC2的接口F0/2 PC1访问PC3时,PC2抓取数据流量就可以抓到PC1的流量
交换机上配置
SW1(config)#monitor ?
event-trace Tracing of system events
session Configure a SPAN session
SW1(config)#monitor session ?
<1-2> SPAN session number
SW1(config)#monitor session 1 ?
destination SPAN destination interface or VLAN
filter SPAN filter VLAN
source SPAN source interface or VLAN
SW1(config)#monitor session 1 source ?
interface SPAN source interface
vlan SPAN source VLAN
SW1(config)#monitor session 1 source int f0/5 ?
, Specify another range of interfaces
- Specify a range of interfaces
both Monitor received and transmitted traffic
rx Monitor received traffic only
tx Monitor transmitted traffic only
<cr>
SW1(config)#monitor session 1 source int f0/5 both
SW1(config)#monitor session 1 d
SW1(config)#monitor session 1 destination int f0/9
使用PC1 ping PC3 在F0/2进行抓包

在实体机上配置
操作一样,使用,xshell连接交换机进行配置
边栏推荐
猜你喜欢

Provincial level of Echart maps, as well as all prefecture-level download and use

交换机--- 生成树--三层架构总结

Object Creation and Display Transformation

快速使用UE4制作”大场景游戏“

无线电射频能量的收集

es-head plugin insert query and conditional query (5)

获取Qt的安装信息:包括安装目录及各种宏地址

To break the bottleneck of transactional work, the gentleman signs the electronic contract to release the "source power" of HR!

LeetCode814 Math Question Day 15 Binary Tree Series Value "814 Binary Tree Pruning"

视觉任务种常用的类别文件之一json文件
随机推荐
Three 】 【 yolov7 series of actual combat from 0 to build training data sets
视觉任务种常用的类别文件之一json文件
【ImageNet】数据集1000个类的名称
Pinduoduo store business license related issues
网络安全培训机构哪家好?排名怎么选择?
What is Machine Reinforcement Learning?What is the principle?
About the pom.xml file
直播软件搭建,流式布局,支持单选、多选等
洛谷P1196 银河英雄传说
【组成原理 九 CPU】
如何进行AI业务诊断,快速识别降本提效增长点?
【人话版】WEB3将至之“权益的游戏”
1815. 得到新鲜甜甜圈的最多组数 状态压缩
这些云自动化测试工具值得拥有
简历里写了会代码,却依然过不了面试这一关
Mysql:设置主键自动增长起始值
JVM 垃圾回收的概述与机制
JwsManager service interface implementation class - the jni implementation
破解事务性工作瓶颈,君子签电子合同释放HR“源动力”!
Redis: Solve the problem of modifying the same key with distributed high concurrency