This section describes how to configure SR-MPLS Flex-Algo LSP traffic statistics collection.
Traffic statistics collection for an SR-MPLS Flex-Algo LSP helps you collect statistics about the traffic forwarded through the SR-MPLS Flex-Algo LSP.
By default, traffic statistics collection is enabled for all SR-MPLS Flex-Algo LSPs. You can use flex-algo-begin [ to flex-algo-end ] to exclude some Flex-Algo LSPs that do not require traffic statistics collection.
To clear SR-MPLS Flex-Algo LSP traffic statistics before re-collection, run the reset segment-routing traffic-statistics [ ip-address mask-length ] flex-algo [ flexAlgoId ] command.