cpu-class-show
NetVisor OS’s CPU Control Packet Processing Protection feature allows the CPU control packet processing path be protected against misbehaving, and malicious hosts or end-points that may flood control protocol packets. This is also called “CPU hog protection”.
If a host floods a control protocol packet, it floods the to-cpu queue. This prevents lower-rate packets from valid senders from reaching NetVisor, resulting in traffic loss for those hosts. Typically a traffic loss occurs for other hosts on the network. NetVisor OS can process large streams of both valid, and malformed protocol packets for various protocols.
Syntax cpu-class-show
name name-string |
Name for the CPU class. |
scope local|fabric |
The scope as local or fabric. |
rate-limit rate-limit-number |
The cap for the rate limit. |
hog-protect disable|enable|enable-and-drop |
Specifies if you want to enable, enable, and drop packets, or disable hog protection. |
hog-protect-support| |
Specifies if hog protection is supported or not. |
queue queue-number |
The queue number. |
Defaults None
Access Network Administrator
History
Version 2.6.0 |
Command introduced. |
Usage Use this command to display information about CPU class configurations.
Examples To display CPU class configurations, use the following syntax:
CLI (network-admin@switch) > cpu-class-show
switch name scope rate-limit hog-protect hog-protect-support queue
------ ---------------- ----- ---------- ----------- ------------------- -----
switch dmac-miss local 1000 disable none 1
switch smac-miss local 1000 disable none 2
switch l3-miss local 1000 disable none 3
switch ttl1 local 1000 disable none 4
switch stp local 1000 disable supported 5
switch lacp local 1000 disable supported 6
switch system-d local 1000 disable none 7
switch dmac-miss local 1000 disable none 8
switch smac-miss local 1000 disable none 9
switch l3-miss local 1000 disable none 10
switch ttl1 local 1000 disable none 11
switch stp local 1000 disable supported 12
switch lacp local 1000 disable supported 13
switch system-d local 1000 disable none 14
switch igmp local 1000 disable none 15
switch bcast local 1000 disable none 16
switch icmpv6 local 1000 disable none 17
switch tcp-analytics local 1000 disable none 18
switch kpalv local 1000 disable none 19
switch ecp local 1000 disable none 20
switch arp local 1000 disable supported 21
switch lldp local 1000 disable supported 22
switch vport-stats local 1000 disable none 23
switch dhcp local 1000 disable none 24
switch pim local 1000 disable none 25
switch local-subnet local 1000 disable supported 26
switch bgp local 1000 disable supported 27
switch ospf local 1000 disable supported 28
switch bfd local 1000 disable supported 29
switch vrrp local 1000 disable supported 30
switch cluster-control local 5000 disable none 31
switch control local 5000 disable none 32
switch hog-arp local 100 disable none 33
switch hog-ospf local 100 disable none 34
switch hog-bgp local 100 disable none 35
switch hog-bfd local 100 disable none 36
switch hog-lacp local 100 disable none 37
switch hog-stp local 100 disable none 38
switch hog-vrrp local 100 disable none 39
switch hog-lldp local 100 disable none 40
switch hog-local-subnet local 100 disable none 41
switch dhcp-log-drop local 1000 disable none 42