zoukankan      html  css  js  c++  java
  • 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#

  • 相关阅读:
    单例模式
    自旋锁与互斥锁
    CAS无锁机制原理
    乐观锁和悲观锁
    读写锁
    Java锁机制-重入锁
    原 Linux搭建SVN 服务器2
    原 Linux搭建SVN 服务器
    Sublime Text 3 破解版 + 注册机 + 汉化包 + 教程
    Sublime Text 3 常用插件以及安装方法(转)
  • 原文地址:https://www.cnblogs.com/niezhongle/p/11075376.html
Copyright © 2011-2022 走看看