accounting prefixes ipv6 mode
To enable SRv6 traffic accounting, use the accounting prefixes ipv6 mode command in XR Config mode.
accounting prefixes ipv6 mode per-prefix per-nexthop srv6-locator
Syntax Description
per-prefix |
Enables accounting for every prefix. |
per-nexthop |
Enables accounting for every prefix and nexthop. |
srv6-locator |
Enables accounting only for Segment-routing SRv6 locator. |
Command Default
None
Command Modes
XR Config
Command History
Release | Modification |
---|---|
Release 7.10.1 |
This command was introduced. |
Usage Guidelines
No specific guidelines impact the use of this command.
Examples
The following example shows how to enable SRv6 traffic accounting:
Router(config)#accounting prefixes ipv6 mode per-prefix per-nexthop srv6-locators