TCAM administration via command line

Configuring or reconfiguring TCAM using the command line interface requires a restart of the service. Use the vtcams -restart command to restart the TCAM service once you have completed your configuration.

TCAM can be managed from the command line with the following options:

vtcams -help

Displays the information on the vtcams command syntax.

vtcams -version

Displays the version number of vtcams .

vtcams -restart

Restarts the vtcams service.

vtcams -amd src IP_address

IP address to be used as a server IP. This is an IP where the TCAM is installed, it is especially important if a server has more than one IP address.

vtcams -amd cfg

Displays the current vtcams configuration settings.

vtcams -amd clear

Clears all the session mapping receivers.

vtcams -amd perf IP_address [ :port_number ]

Defines a NAM Probe as a receiver of the performance data. For example, the following command defines the NAM Probe with IP address 10.1.4.5 as a performance data receiver. It assumes the default port number, as defined in the rtm.config file on the NAM Probe.

vtcams -amd perf 10.1.4.5

vtcams -amd add IP_address [ :port_number ]

Defines a NAM Probe as a receiver of the session mapping data. For example, the following command defines the NAM Probe with the IP address 10.1.4.5 as a session mapping data receiver.

vtcams	-amd add 10.1.4.5

vtcams -amd rm IP_address [ :port_number ]

Removes a NAM Probe from the list of a receivers of the session mapping data. For example, the following command removes the NAM Probe with the IP address 10.1.4.5 from the list of the session mapping data receivers.

vtcams -amd rm 10.1.4.5

vtcams -dbg [ default | all | off ]

Enables/disables logging activity and defines logging level.

Note

Setting the logging options impacts the server's performance and is should be used only for diagnostic purposes. It should be turned off during normal operation.

default

Enables information logging collecting basic information required for diagnostics:

FATAL

Fatal error condition that causes the TCAM service to terminate.

ERROR

A non-fatal error condition that allows the TCAM service to continue operating.

all

Enables information logging collecting detailed system information and debug information:

FATAL

Fatal error condition that causes the TCAM service to terminate.

ERROR

A non-fatal error condition that allows the TCAM service to continue operating.

WARN

A recognized warning condition.

INFO

An informational message.

DEBUG

Additional information.

TRACE

Internal trace information.

off

Disables information logging.

For example:

vtcams -dbg all

vtcams -resolvenat [ on | off ]

Enables or disables NAT resolving. For example:

vtcams -resolvenat on