zoukankan      html  css  js  c++  java
  • 华为交换机端口安全配置

    端口安全配置,限制MAC地址

    [Huawei]int GigabitEthernet 0/0/1
     [Huawei-GigabitEthernet0/0/1]port-security enable
     [Huawei-GigabitEthernet0/0/1]port-security ?
       aging-time      Aging time    MAC地址表老化时间
      enable          Enable port security    开启端口安全
      mac-address     Mac address    绑定mac地址
      max-mac-num     Maximum mac address can learn    MAC地址最大数
      protect-action  Action if beyond the limit    超过MAC最大数执行的操作
    
    [Huawei-GigabitEthernet0/0/1]port-security
     [Huawei-GigabitEthernet0/0/1]port-security protect-action ?
       protect   Discard packets    丢弃报文
      restrict  Discard packets and warning    丢弃报文并告警
      shutdown  Shutdown     关闭接口
    
    [Huawei-GigabitEthernet0/0/1]port-security protect-action
    
    
     [Huawei]dis mac-address 查看所有Mac地址
    MAC address table of slot 0:
    -------------------------------------------------------------------------------
    MAC Address    VLAN/       PEVLAN CEVLAN Port            Type      LSP/LSR-ID
                    VSI/SI                                              MAC-Tunnel
    -------------------------------------------------------------------------------
    5489-982a-3a23 1           -      -      GE0/0/1         security  -
    -------------------------------------------------------------------------------
    Total matching items on slot 0 displayed = 1
    
    [Huawei]
     [Huawei]dis mac-address GigabitEthernet 0/0/1    查看指定接口下的Mac地址
    MAC address table of slot 0:
    -------------------------------------------------------------------------------
    MAC Address    VLAN/       PEVLAN CEVLAN Port            Type      LSP/LSR-ID
                    VSI/SI                                              MAC-Tunnel
    -------------------------------------------------------------------------------
    5489-982a-3a23 1           -      -      GE0/0/1         security  -
    -------------------------------------------------------------------------------
    Total matching items on slot 0 displayed = 1
    
    [Huawei]
    


    读书和健身总有一个在路上

  • 相关阅读:
    一:Storm集群环境搭建
    八:Zookeeper开源客户端Curator的api测试
    七:zooKeeper开源客户端ZkClient的api测试
    六:ZooKeeper的java客户端api的使用
    Redis(四):常用数据类型和命令
    Spring Cloud分布式微服务系统中利用redssion实现分布式锁
    @Controller和@RestController的区别?
    可伸缩系统架构探讨
    可扩展架构系统的探讨
    @ExceptionHandler异常统一处理
  • 原文地址:https://www.cnblogs.com/Renqy/p/14043496.html
Copyright © 2011-2022 走看看