clear bfd counters
To clear Bidirectional Forwarding Detection (BFD) counters, use the clear bfd counters command in the EXEC mode.
clear bfd counters {ipv4 | [singlehop | ] | [singlehop | ] | all | label} [packet] [timing] [interface type interface-path-id] location node-id
Syntax Description
ipv4 |
(Optional) Clears BFD over IPv4 information only. |
||
singlehop |
(Optional) Clears BFD singlehop information only. |
||
all |
(Optional) Clears BFD over IPv4 information. |
||
packet |
(Optional) Specifies that packet counters are cleared. |
||
timing |
(Optional) Specifies that timing counters are cleared. |
||
interface |
(Optional) Specifies the interface from which the BFD packet counters are cleared. |
||
type |
Specifies the interface type. For more information, use the question mark ( ? ) online help function. |
||
interface-path-id |
Physical interface or virtual interface.
For more information about the syntax for the router, use the question mark ( ? ) online help function. |
||
location node-id |
Clears BFD counters from the specified location. The node-id argument is entered in the rack/slot/module notation. |
Command Default
The default is the default address family identifier (AFI) that is set by the set default-afi command.
Command Modes
XR EXEC
Command History
Release |
Modification |
---|---|
Release 6.1.42 |
This command was introduced. |
Usage Guidelines
For the interface-path-id argument, use the following guidelines:
- If specifying a physical
interface, the naming notation is
rack/slot/module/port. The slash between
values is required as part of the notation. An explanation of each component of
the naming notation is as follows:
-
rack: Chassis number of the rack.
-
slot: Physical slot number of the line card.
-
module: Module number. A physical layer interface module (PLIM) is always 0.
-
port: Physical port number of the interface.
-
- If specifying a virtual interface, the number range varies, depending on interface type.
Task ID
Task ID |
Operations |
---|---|
bgp |
read, write |
ospf |
read, write |
isis |
read, write |
mpls-te |
read, write |
Examples
The following example shows how to clear the BFD IPv4 timing counters:
RP/0/RP0:hostname# clear bfd counters ipv4 timing location 0/5/cpu0