clear fspf counters

To clear the Fabric Shortest Path First (FSPF) statistics, use the clear fspf counters command.

clear fspf counters vsan vsan-id [ interface type ]

Syntax Description

vsan
Indicates that the counters are to be cleared for a VSAN.
vsan-id
VSAN ID. The range is from 1 to 4093.
interface type
(Optional) Specifies that the counters are to be cleared for an interface. The interface types are fc (Fibre Channel) and san-port-channel (SAN port channel).

Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Usage Guidelines

If the interface is not specified, then all of the counters of a VSAN are cleared. If the interface is specified, then the counters of the specific interface are cleared.

Examples

This example shows how to clear the FSPF statistics on VSAN 1:

switch# clear fspf counters vsan 1
 

This example shows how to clear the FSPF statistics in VSAN 1 for the specified Fibre Channel interface:

switch# clear fspf counters vsan 1 interface fc 3/2
 

Related Commands

Command
Description
show fspf
Displays global FSPF information for a specific VSAN.