clear ip flowspec rules statistics

Clears statistics for Border Gateway Protocol flow specification (BGP flowspec) rules.

Syntax

clear ip flowspec rules statistics [ vrf vrf-name ]

Parameters

vrf-name
Name of a VRF instance in which BGP flowspec rules are used.

Modes

Privileged EXEC mode

Usage Guidelines

When a VRF is not specified, the clear ip flowspec rules statistics command clears BGP flowspec rule statistics for the default VRF.

Examples

The following example shows how to clear BGP flowspec rule statistics for a VRF named red.

device# clear ip flowspec rules statistics vrf red

The following example shows how to clear BGP flowspec rule statistics for the default VRF.

device# clear ip flowspec rules statistics