Configuring transit session accounting

To configure transit session accounting, complete the following steps.
  1. Configure the device.
    device# configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Enter the policy mode.
    device(config-router-mpls)# policy
  4. Configures the transit session accounting.
    device(config-router-mpls-policy)# transit-session-accounting

Example

The following example configures the transit session accounting.

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