H Commands

help

Displays usage information about commands.

Syntax   help

Defaults   None

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

Usage   Use this command to display usage information for all ONVL commands.

Examples  To display usage information for fabric-create, use the following command:

CLI network-admin@switch > help fabric-create

name    name-string

any of the following options:

  mcast-ip ip-address

  password

  delete-conflicts|abort-on-conflict

hog-violator-show

The 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”.

Netvisor provides three types of Control Plane Protection:

  • Overall CPU Bandwidth
  • Dedicated Queues for Critical Flows
  • Protection from offending flows in Critical Queues (DDOS Protection) by using special CPU hog queues

Syntax   hog-violator-show


mac mac-address

Displays the hog violator MAC address.

vnet vnet name

Displays the vNET name.

bd bridge-domain name

Displays the bridge domain name.

vlan vlan-id

Displays the hog violator VLAN ID.

vxlan vxlan-id

Displays the hog violator VXLAN ID.

port port-number

Displays the hog violator ingress port.

cpu-class cpu-class-string

Displays the hog violator original class.

hog-cpu-class hog-cpu-class-string

Displays the hog violator hog queue CPU class.

created date/time: yyyy-mm-ddTHH:mm:ss

Displays the time and date when hog violator is created.

vflow vflow-string

Displays the redirect vFlow.

vflow2 vflow-string

Displays the redirect vFlow 2.

vflow3 vflow-string

Displays the redirect vFlow 3.

vflow4 vflow-string

Displays the redirect vFlow 4.

vflow5 vflow-string

Displays the redirect vFlow 5.

vflow6 vflow-string

Displays the redirect vFlow 6.

idle-count idle-count-number

Displays the current idle count.

Defaults   None

Access   Network Administrator

History   

Version 2.6.0.

Command introduced.

Version 3.0.0

The parameter, idle-count, added.

Usage   Use this command to display information about CPU hog violators.

Examples  To display information about CPU hog violators, use the following syntax:

CLI network-admin@switch > hog-violator-show

mac               vlan vxlan  port cpu-class hog-cpu-class created

----------------- ---- ------ ---- --------- ------------- --------

66:0e:94:10:d8:4a 704         15   ospf      hog-ospf      13:13:58

66:0e:94:10:d8:4a 704         15   bfd       hog-bfd       13:14:02

06:c0:00:17:30:0f 16          15   lldp      hog-lldp      13:14:07

06:c0:00:17:30:0f 16          15   lacp      hog-lacp      13:14:10

66:0e:94:1d:09:58      101001 25   arp       hog-arp       13:14:19

00:00:5e:00:01:0b 2001        128  vrrp      hog-vrrp      13:14:22

06:c0:00:17:30:0e 16          15   stp       hog-stp       13:14:31

80:ac:ac:f0:aa:34 16          15   bgp       hog-bgp       13:14:35

00:00:33:33:33:33 2003        15   arp       hog-arp       13:14:46

hog-violator-stats-show

The 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”.

Netvisor provides three types of Control Plane Protection:

  • Overall CPU Bandwidth
  • Dedicated Queues for Critical Flows
  • Protection from offending flows in Critical Queues (DDOS Protection) by using special CPU hog queues

Syntax   hog-violator-stats-show


time date/time: yyyy-mm-ddTHH:mm:ss

Displays the time and date to start statistics collection.

start-time date/time: yyyy-mm-ddTHH:mm:ss

Displays the start time of the statistics collection.

end-time date/time: yyyy-mm-ddTHH:mm:ss 

Displays the end time of the statistics collection.

duration duration: #d#h#m#s

Displays the duration of statistics collection.

interval duration: #d#h#m#s 

Displays the interval between statistics collection.

since-start

Displays the statistics collection since the start time.

older-than duration: #d#h#m#s

Displays the statistics collection older than the time.

within-last duration: #d#h#m#s

Displays the statistics collection within a specified time period.

name vflow-name 

Displays the name of the vFlow.

vnet #d#h#m#s

Displays the VNET name.

id

Displays the ID assigned by Netvisor.


Defaults   None

Access   Network Administrator

History   Command introduced in Version 2.6.0.

Usage   Use this command to display settings for CPU hog violator statistics.

Examples  To display settings for CPU hog violator statistics, use the following syntax:

CLI network-admin@switch > hog-violator-stats-settings-show

CLI network-admin@switch > show-diff-interval 1

 

name                                                     pkts  bytes cpu-pkts cpu-bytes drops drop-bytes cpu-tx-pkts cpu-tx-bytes

-------------------------------------------------------- ----- ----- -------- --------- ----- ---------- ----------- ------------

IP4-OSPF-hog-q20-66:0e:94:10:d8:4a-v704-vx0-p15          2.95M 372M  0        0         0     0          0           0

BFD-Protocol-1Hop-hog-q21-66:0e:94:10:d8:4a-v704-vx0-p15 2.28M 233M  0        0         0     0          0           0

BFD-Protocol-MHop-hog-q21-66:0e:94:10:d8:4a-v704-vx0-p15 0     0     0        0         0     0          0           0

LLDP-NB-Flow-hog-q15-06:c0:00:17:30:0f-v16-vx0-p15       0     0     0        0         0     0          0           0

LLDP-NONTPMR-Flow-hog-q15-06:c0:00:17:30:0f-v16-vx0-p15  5.48M 1.49G 11.2K    3.03M     5.47M 1.49G      0           0

LLDP-NCB-Flow-hog-q15-06:c0:00:17:30:0f-v16-vx0-p15      0     0     0        0         0     0          0           0

LACP-Local-hog-q6-06:c0:00:17:30:0f-v16-vx0-p15          6.39M 1022M 10.8K    1.69M     6.38M 1021M      0           0

System-A-hog-q14-66:0e:94:1d:09:58-v0-vx101001-p25       201K  24.3M 7.23K    535K      194K  23.8M      0           0

IP4-VRRP-hog-q22-00:00:5e:00:01:0b-v2001-vx0-p128        4.76M 391M  0        0         0     0          0           0

IP6-VRRP-hog-q22-00:00:5e:00:01:0b-v2001-vx0-p128        0     0     0        0         0     0          0           0

STP-Local-hog-q5-06:c0:00:17:30:0e-v16-vx0-p15           2.16M 363M  0        0         0     0          0           0

PVST-Local-hog-q5-06:c0:00:17:30:0e-v16-vx0-p15          0     0     0        0         0     0          0           0

IP4-BGP-Dst-Port-hog-q19-80:ac:ac:f0:aa:34-v16-vx0-p15   0     0     0        0         0     0          0           0

IP4-BGP-Src-Port-hog-q19-80:ac:ac:f0:aa:34-v16-vx0-p15   4.11M 587M  0        0         0     0          0           0

System-A-hog-q14-00:00:33:33:33:33-v2003-vx0-p15         1.44M 113M  6.32K    468K      1.44M 112M       0           0