clear statistics vlan

Clears the statistics for all the ports and port channels on configured VLANs.

Syntax

clear statistics vlan vlan-id

Parameters

vlan-id
The specific VLAN ID.

Command Default

Statistics are disabled.

Modes

Privileged EXEC mode

Usage Guidelines

This command is also available in global configuration mode.

The clear statistics vlan vlan-id command clears the statistics for all the ports and port channels on the given VLAN.

Examples

The following example shows how to clear the statistics for all the ports and port channels on the given VLAN.

device# clear statistics vlan

The following example shows how to clear the statistics for all the ports and port channels on VLAN 10.

device# clear statistics vlan 10