Configuring traffic forwarding statistics for SRv6 TE policies. Aruba FlexNetwork MSR958X_2003X Routers Comware 9 Segment Routing, S0P11A, S0W31A
Advertisement
Advertisement
Procedure
1. Enter system view. system-view
2. Enable SNMP notifications for SRv6 TE policies. snmp-agent trap enable srv6-policy
By default, SNMP notifications for SRv6 TE policies are disabled.
Configuring traffic forwarding statistics for SRv6
TE policies
About this task
This feature collects statistics on the traffic forwarded by SRv6 TE policies.
Restrictions and guidelines
You can configure traffic forwarding statistics for all SRv6 TE policies globally in SRv6 TE view or for a specific SRv6 TE policy in SRv6 TE policy view. The policy-specific configuration takes precedence over the global configuration. An SRv6 TE policy uses the global configuration only when it has no policy-specific configuration.
Procedure
1. Enter system view. system-view
2. Enter SRv6 view. segment-routing ipv6
3. Enter SRv6 TE view. traffic-engineering
4. Enable traffic forwarding statistics for all SRv6 TE policies. srv6-policy forwarding statistics [ service-class ] enable
By default, traffic forwarding statistics is disabled for all SRv6 TE policies.
If you specify the service-class keyword, the device collects statistics on the total traffic as well as the traffic of each service class that are forwarded by SRv6 TE policies.
5. (Optional.) Set the traffic forwarding statistics interval for all SRv6 TE policies.
srv6-policy forwarding statistics interval interval
By default, the SRv6 TE policy forwarding statistics interval is 30 seconds.
6. Enter SRv6 TE policy view. policy policy-name
7. Configure traffic forwarding statistics for the SRv6 TE policy. forwarding statistics { disable | [ service-class ] enable }
By default, an SRv6 TE policy uses the traffic forwarding statistics configuration in SRv6 TE view.
If you specify the service-class keyword, the device collects statistics on the total traffic as well as the traffic of each service class that are forwarded by the SRv6 TE policy.
197
Download
Advertisement