Resets the BGP counters for one or all BGP neighbor sessions to zero.
remoteaddr | Specifies the IPv4 or IPv6 address of a specific BGP neighbor. |
all | Specifies that counters for all BGP neighbors should be reset. |
N/A.
The command clear counters also resets all counter for all BGP neighbors. For BGP, the clearcounters command is equivalent to the following BGP command:
clear bgp neighbor all countersThis command applies to the current VR or VRF context.
The following command resets the counters for the BGP neighbor at 10.20.30.55:
clear bgp neighbor 10.20.30.55 counters
This command was first available in ExtremeXOS 10.1.
Support for IPv6 was added in ExtremeXOS 12.6 BGP.
This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature, see the ExtremeXOS 32.1 Feature License Requirements document.