首页 > 代码库 > 华为交换机日常维护

华为交换机日常维护

交换机上查看当前端口流量:


display interface Ethernet brief | include up


对端口进行限速:

interface GigabitEthernet 0/0/14 


qos lr inbound cir 8192  //配置进入此端口的保证带宽为8Mbit/s

qos lr outbound cir 8192 //配置出此端口的带宽为 8Mbit/s


查看配置是否成功:

display qos lr inbound interface gigabitethernet 0/0/14


#################################################


查看端口ip: (先找到端口下的mac地址,然后通过arp表查询IP)


display mac-address GigabitEthernet 0/0/39


display arp | include 94de-806b-e6b7


或者直接查arp表:


display arp | include 192.168.20.220


收到arp攻击时,清空arp表:

reset arp { all | dynamic [ ip ip-address [ vpn-instance vpn-instance-name ] ] | interface interface-type interface-number [ ip ip-address ] | static }

例如:

<sw5748tp>reset arp interface GigabitEthernet 0/0/22


本文出自 “Trying” 博客,转载请与作者联系!

华为交换机日常维护