profile counters

Optimizes hardware counters.

Syntax

profile counters { counter-profile-1 | counter-profile-2 | counter-profile-3 | counter-profile-4 | counter-profile-5 |default }

Command Default

The default counter profile is enabled and statistics are collected for ingress and egress L4 traffic.

Parameters

counter-profile-1
Specifies resources optimized for Ingress ACL, OF, and Egress ACL, with forward and drop counting for Layer 4 ingress traffic.
counter-profile-2
Specifies resources optimized for OF, MPLS, VPLS, VLL, and MCT, with hit counting for Layer 4 ingress traffic.
counter-profile-3
Specifies resources optimized for MPLS, VPLS, VLL, MCT, with hit counting for Layer 4 ingress traffic.
counter-profile-4
L4-optimized, forward or drop counting for all ingress L4.
Specifies resources optimized for Layer 4 traffic, with forward and drop counting for all Layer 4 ingress traffic.
counter-profile-5
Specifies resources optimized for egress rate limit, with support for counting up to 32,000 VOQs.
default
Ingress and egress L4.

Modes

Hardware configuration mode

Usage Guidelines

This command is supported only on devices based on the Broadcom DNX chipset family. For a list of such devices, see the Supported Hardware topic.

For the new setting to take effect, you need to run the copy running-config startup-config to reload the device. Run this command during a maintenance window so that the profile changes are activated without interrupting normal network services.

Use the profile counters default form of the command to restore the default setting.

Examples

The following example optimizes bridge domain hit counting for Layer 4 ingress traffic.

device# configure terminal
device(config)# hardware
device(config-hardware)# profile counters counter-profile-2
**Warning: To activate the new profile config, please run 'copy running-config 
startup-config' followed by reload system.