Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Using Contrail Tools

Contrail-tools container provides centralized location for all the available tools and CLI commands in one place.

Starting with Contrail Networking Release 2008, contrail-tools command will be installed by default.

contrail-tools command enables you to log in to the contrail-tools container and execute the tool. Additionally, the command will kill the container on exit.

Table 1 provides a list of available tools and CLI options in the contrail-tools package.

Table 1: Available Tools and CLI options

Tools and CLI commands

Description

dpdkinfo

Adds support to display bond, lacp, Nic, mempool, core, and app information.

dpdkvifstats.py

Display the PPS statistics of DPDK vRouter.

dropstats​

Inspects packet drop counters in the vRouter.

flow

Displays active flows in the system.

mirror

Displays the mirror table entries.

mpls

Displays the input label map programmed into the vRouter.

nh

Displays the next hops that the vRouter knows.

   

rt

Displays routes in virtual routing and forwarding (VRF).

sandump

Captures the Sandesh messages from the netlink connection between Agent and vRouter.

vif

Inspects vRouter interfaces associated with the vRouter module.

vifdump

Captures and analyzes packets from DPDK interface.

vrfstats​

Displays the next hop statistics for the VRF.

vrftable

Displays the interface mapping for each VRF for a host-based firewall feature.

vrinfo

Displays internal state of DPDK/Kernel vRouter.

vrmemstats

Displays the vRouter memory usage statistics.

vrouter

Display the vRouter information.

vxlan

Displays the vxlan table entries.

There are 2 ways to execute the contrail-tools command:

  • Execute contrail-tools command to login to the container.

    For example:

  • Execute contrail-tools command with the CLI as argument.

    For example:

Release History Table
Release
Description
2008
Starting with Contrail Networking Release 2008, contrail-tools command will be installed by default.