Enables statistics for Border Gateway Protocol flow specification (BGP flowspec) rules.
Flowspec statistics are disabled.
Global configuration mode
When statistics are enabled, they appear in the output of the show ip flowspec rules command.
Statistic | Description |
---|---|
Matched | Number of packets or bytes that match the flowspec rule |
Transmitted | Number of packets matching the flowspec rule that are transmitted |
Dropped | Number of packets matching the flowspec rule that are dropped |
The no form of the command disables statistics for BGP flowspec rules.
The following example shows how to enable statistics for BGP flowspec rules.
device# configure terminal device(config)# ip flowspec rules statistics
The following example shows how to disable statistics for BGP flowspec rules in a VRF named red.
device# configure terminal device(config)# no ip flowspec rules statistics vrf red