To clear policy statistics for the Border Gateway Protocol (BGP) neighbor, use the clear bgp policy statistics neighbor command.
clear bgp policy statistics neighbor prefix [ default-originate | { filter-list | prefix-list | route-map } { in | out }]
|
prefix
|
Neighbor address. The format is x.x.x.x.
|
|
default-originate
|
(Optional) Clears policy statistics for the default originate policy.
|
|
filter-list
|
(Optional) Clears policy statistics for the neighbor filter list.
|
|
prefix-list
|
(Optional) Clears policy statistics for the neighbor prefix list.
|
|
route-map
|
(Optional) Clears policy statistics for the neighbor route map.
|
|
in
|
(Optional) Clears inbound policy statistics.
|
|
out
|
(Optional) Clears outbound policy statistics.
|
None
Any command mode
|
Release
|
Modification
|
|---|---|
|
5.0(3)N1(1)
|
This command was introduced.
|
This command requires the LAN Enterprise Services license.
This example shows how to clear policy statistics for an aggregate address:
|
Command
|
Description
|
|---|---|
|
show bgp policy statistics
|
Displays BGP policy statistics.
|