Table of ContentsLibraryView in Frames

Viewing vif statistics

You can view the statistics for a specific vif or for all vifs. The statistics include the number of packets received and sent by each vif.

Step

  1. Enter the following command: vif stat [vif_name] [interval]

    vif_name is the name of the vif. If you do not specify a vif, the status of all vifs is displayed.

    interval is the interval, in seconds. The default is one second.

Example

The following example displays the output of the vif stat command for a multimode vif created with the round-robin load-balancing method:
vif stat vif0
vif (trunk) vif0										
         e3a                   e3b
  Pkts In    Pkts Out   Pkts In    Pkts Out
  8637076    47801540   158        159
  1617       9588       0          0
  1009       5928       0          0
  1269       7506       0          0
  1293       7632       0          0
  920        5388       0          0						
  1098       6462       0          0
  2212       13176      0          0
  1315       7776       0          0

The first row of the output shows the total number of packets received and sent until the time the vif stat command was run. The following rows show the total number of packets received and sent per second thereafter.

For vifs created with the round-robin load-balancing option, the outgoing packets are balanced among the network interfaces of the vif.
vif stat vif1
Virtual interface (trunk) vif1
        e0c                 e0b
  Pkts In   Pkts Out  Pkts In   Pkts Out
  82        208k      796k      208k
  1         27342     104774    27326
  2         26522     102088    26560
  8         20332     77275     20335
  5         27198     103529    27186