• Port 端口镜像


    1.1.1         配置

    1)先把交换机208的ge1和ge47加入到vlan2当中,不配置端口镜像时,只有PC-91号机能够收到PC-101发出来的报文。

    xNet#configure terminal

    xNet(config)#interface ge1

    xNet(config-if)#switchport

    xNet(config-if)#switchport mode access

    xNet(config-if)#switchport access vlan 2

    xNet(config-if)#exit

    xNet(config)#interface ge47

    xNet(config-if)#switchport

    xNet(config-if)#switchport mode access

    xNet(config-if)#switchport access vlan 2

    xNet(config-if)#exit

    xNet(config)#end

    xNet#

    2)配置端口镜像,使通过ge47报文复制到镜像端口ge48。

    xNet#configure terminal

    xNet(config)#interface ge48

    xNet(config-if)#switchport

    xNet(config-if)#mirror interface ge47 direction both

    xNet(config-if)#end

    xNet#

    3)查看mirror配置

    1.1.2         结果

    通过配置端口镜像,镜像端口能够监控特定端口的流入或流出流量

    1.2         storm-control

    1.2.1         broadcast

    xNet#configure terminal

    xNet(config)#interface ge1

    xNet(config-if)#storm-control broadcast level 10

    xNet(config-if)#end

    xNet#

    1.2.2         multicast

    xNet#configure terminal

    xNet(config)#interface ge1

    xNet(config-if)#storm-control multicast level 10

    xNet(config-if)#end

    xNet#

    1.2.3         dlf

    xNet#configure terminal

    xNet(config)#interface ge1

    xNet(config-if)#storm-control dlf level 10

    xNet(config-if)#end

    xNet#

    1.3         Speed

    配置将一个万兆口配成千兆

    1.3.1         配置

    xNet#configure terminal

    xNet(config)#interface xe1

    xNet(config-if)#duplex full

    xNet(config-if)#speed 1000

    xNet(config-if)#end

    xNet#

  • 相关阅读:
    02-01官网静默模式安装WebLogic
    01-java技术体系基础
    MySQL安装的三种方式
    centos虚拟机初始化脚本
    Nginx编译配置介绍
    word发布博客至博客园
    Bash shell编程的语法知识点(1)
    c=$[$c%5]到let c=$c%5的转换
    <转>shell经典,shell十三问
    进程管理工具htop/glances/dstat的使用
  • 原文地址:https://www.cnblogs.com/niezhongle/p/11075376.html
Copyright © 2020-2023  润新知