By default, BGP flowspec statistics are disabled.
device# configure terminal
device(config)# ip flowspec rules statistics
device(config)# exit
device# show ip flowspec rules detail
VRF :default-vrf
Total number of Rules: 1
1 Origin: Local(flowmap:23) Active: Yes
Match:
DSCP <60
Actions:
Traffic-rate asn 666, rate 125000 bits/sec(operational-rate 132000 bits/sec)
Statistic packets/bytes
------------- ------------
Matched 17412786/12589441782
Transmitted 1453/1048023
dropped 17411333/12588393759
The following example shows how to enable BGP flowspec statistics.
device# configure terminal device(config)# ip flowspec rules statistics