zoukankan      html  css  js  c++  java
  • Sniffer 交换机端口抓包

    monitor session 1 source interface fa0/1-23 #1~23端口作为数据的源

    monitor session 1 destination interface fa0/24 #24口作为镜像的目的也就是sniffer电脑接在这个端口上,


    做端口镜像 如果你的电脑连的是24 接口 就
    monitor session 1 source interface g0/1-23

    monitor session 1 destination interface g0/24

    就是先配置一个本地组,然后分别配置monitor port和mirror port):

    # 创建本地镜像组。
    <Sysname> system-view
    [Sysname] mirroring-group 1 local
    # 为本地镜像组配置源端口和目的端口。
    [Sysname] mirroring-group 1 mirroring-port Ethernet 1/0/1 Ethernet 1/0/2 both
    [Sysname] mirroring-group 1 monitor-port Ethernet 1/0/3
    # 显示本地镜像组 1 的配置信息。
    [Sysname] display mirroring-group 1
    mirroring-group 1:
    type: local
    status: active
    mirroring port:
    Ethernet1/0/1 both
    Ethernet1/0/2 both
    monitor port: Ethernet1/0/3
    配置完成后,用户可以在Ethernet 1/0/3监控所有报文

    ------------------------------------------------------------------------

  • 相关阅读:
    Know more about RAC statistics and wait event
    再谈指针
    Manageing Undo Data
    SQL基础内容
    JavaScript高级程序设计(3版)笔记分享( ES5特性)
    HTML5布局篇( 总结 )
    温习 SQL 01(Z)
    Makefile
    SQLPLUS工具简介
    链接相关 & 预处理
  • 原文地址:https://www.cnblogs.com/walkersss/p/14659554.html
Copyright © 2011-2022 走看看