transit-session-accounting

Enables traffic statistics for transit sessions.

Syntax

transit-session-accounting
no transit-session-accounting

Command Default

By default, the command is disabled.

Modes

MPLS policy mode.

Usage Guidelines

Use the no form of the command disables the traffic statistics for transit sessions.

MPLS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

Examples

The following example enables transit session accounting.

device# configure 
device(config)# router mpls 
device(config-router-mpls)# policy 
device(config-router-mpls-policy) transit-session-accounting