ingress-tunnel-accounting

Excludes the Ethernet header (14 bytes) and Ethernet overhead (20 bytes) and CRC overhead (four bytes) when collecting byte statistics. In other words, it counts only the size of the MPLS packet.

Syntax

ingress-tunnel-accounting
no ingress-tunnel-accounting

Command Default

The command is disabled, by default.

Modes

MPLS policy configuration mode.

Usage Guidelines

To collect accurate statistics of the bypass LSP, it is necessary to configure ingress tunnel accounting at Label Switch Routers (LSR).

The no form of the command disables the configuration.

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

Examples

The example below is a sample configuration for the command.

device# configure
device(config)# router mpls
device(config-router-mpls)# policy
device(config-router-mpls-policy) ingress-tunnel-accounting