Enabling statistics on a bridge domain

Statistics may be enabled for a specific bridge domain.

About this task

Note

Note

By default statistics are disabled on bridge domains. After enablement, statistics should be disabled when no longer needed because the collection of statistical information has a heavy impact on data traffic.

Procedure

  1. Enter the global configuration mode.
    device# configure terminal
  2. Enter the bridge-domain command to create a bridge domain at the global configuration level.
    device(config)# bridge-domain 3
  3. Enter the statistics command to enable statistics for all the logical interfaces and peers in the bridge domain.
    device(config-bridge-domain-3)# statistics
    Note

    Note

    When statistics are no longer needed, use the no statistics command to disable statistics on the bridge domain.

Example

Example

The following example shows how to enable statistics on bridge domain 3.

device# configure terminal
device(config)# bridge-domain 3
device(config-bridge-domain-3)# statistics

Example

The following example shows how to disable statistics on bridge domain 3.

device# configure terminal
device(config)# bridge-domain 3
device(config-bridge-domain-3)# no statistics