accounting interfaces segment-routing mpls
To enable per-application accounting for segment routing MPLS IPv4 or IPv6 traffic and obtain traffic statistics on the interfaces, use the accounting interfaces segment-routing mpls command in the accounting interface configuration mode.
accounting interfaces segment-routing mpls { ipv4 | ipv6 }
Syntax Description
ipv4 |
Enables segment routing MPLS IPv4 accounting. |
ipv6 |
Enables segment routing MPLS IPv6 accounting. |
Command Default
No default behavior or values
Command Modes
Accounting interface configuration mode
Command History
Release |
Modification |
---|---|
Release 6.2.2 |
This command was introduced. |
Usage Guidelines
No specific guidelines impact the use of this command.
Examples
This example shows how to enable per-application accounting to obtain statistics for segment routing MPLS IPv4 traffic on the interfaces.
RP/0/RSP0/CPU0:router# config
RP/0/RSP0/CPU0:router(config)# accounting
RP/0/RSP0/CPU0:router(config-acct)# interfaces
RP/0/RSP0/CPU0:router(config-acct-if)# segment-routing mpls ipv4