当前位置:网站首页>交换机和路由器技术-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连接交换机进行配置
边栏推荐
- 【力扣】22.括号生成
- Redis deletes keys in batches according to regular rules
- 拼多多店铺营业执照相关问题
- Introduction to c # a week of high-level programming c # - LINQ Day Four
- 我的LaTeX入门
- Harvesting of radio frequency energy
- LeetCode814 Math Question Day 15 Binary Tree Series Value "814 Binary Tree Pruning"
- rub the heat - do not open
- 洛谷P4032 火锅盛宴
- ALSA音频架构 -- snd_pcm_open函数分析
猜你喜欢
2022新员工公司级安全教育基础培训(118页)
Overview of the JVM garbage collection and mechanism
Jetson Orin平台4-16路 GMSL2/GSML1相机采集套件推荐
【组成原理 九 CPU】
[Likou] 22. Bracket generation
洛谷P2150 寿司晚宴
LeetCode Brush Questions Day 11 String Series "58 Last Word Length"
北湖区燕泉街道开展“戴头盔·保安全”送头盔活动
0 Basic software test for career change, self-study for 3 months, 12k*13 salary offer
Switch---Spanning Tree---Three-layer Architecture Summary
随机推荐
洛谷P5139 z小f的函数
【Web3 系列开发教程——创建你的第一个 NFT(9)】如何在手机钱包里查看你的 NFT
嵌入式分享合集33
Self-research capability was recognized again, and Tencent Cloud Database was included in the Forrester Translytical report
-填涂颜色-
Word2021 中的图片保存后就变模糊了
How to add icons to web pages?
无线电射频能量的收集
shell监视gpu使用情况
es-head plugin insert query and conditional query (5)
洛谷P1763 埃及分数
Clang Code Model: Error: The clangbackend executable “X:/clangbackend.exe“ could not be started
CAN/以太网转换器 CAN与以太网互联互通
What is ensemble learning in machine learning?
What is Machine Reinforcement Learning?What is the principle?
使用百度EasyDL实现森林火灾预警识别
Solve the problem of multi-thread calling sql stored procedure
The sword refers to offer_abstract modeling capabilities
澳大利亚网络空间安全体系建设论析
北湖区燕泉街道开展“戴头盔·保安全”送头盔活动