clear bgp policy statistics neighbor

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 }]

Syntax Description

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.

Command Default

None

Command Modes

Any command mode

Command History

Release
Modification
5.0(3)N1(1)
This command was introduced.

Usage Guidelines

This command requires the LAN Enterprise Services license.

Examples

This example shows how to clear policy statistics for an aggregate address:

switch# clear bgp policy statistics neighbor 192.0.2.1 filter-list in
 

Related Commands

Command
Description
show bgp policy statistics
Displays BGP policy statistics.