Routine maintenance tutorial for switches and routine maintenance for Switches
View the current port traffic on the vswitch:
Display interface Ethernet brief | include up
Speed limit on ports:
Interface GigabitEthernet 0/0/14
Qos lr inbound cir 8192 // The guaranteed bandwidth entered on this port is 8 Mbit/s.
Qos lr outbound cir 8192 // configure the bandwidth of this port to 8 Mbit/s
Check whether the configuration is successful:
Display qos lr inbound interface gigabitethernet 0/0/14
######################################## #########
View the port ip Address: (first find the mac address under the Port and then query the IP address through the arp table)
Display mac-address GigabitEthernet 0/0/39
Display arp | include 94de-806b-e6b7
Or directly query the arp table:
Display arp | include 192.168.20.220
When an arp attack is received, clear the arp table:
Reset arp {all | dynamic [ip-address [vpn-instance-name] | interface-type interface-number [ip-address] | static}
For example:
Reset arp interface GigabitEthernet 0/0/22
View route table:
Display ip routing-table