R3303-HP HSR6800 Routers High Availability Command Reference
194
reset bfd session statistics
Use reset bfd session statistics to clear the BFD session statistics.
Syntax
In standalone mode:
reset bfd session statistics [ slot slot-number ]
In IRF mode:
reset bfd session statistics [ chassis chassis-number slot slot-number ]
Views
User view
Default command level
1: Monitor level
Parameters
slot slot-number: Specifies a card by its slot number. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number
argument represents the ID of the IRF member device, and the slot-number argument represents the
number of the slot that holds the card. (In IRF mode.)
Examples
# Clear statistics about the BFD sessions on the card in slot 6 (in standalone mode).
<Sysname> reset bfd session statistics slot 6
# Clear statistics about the BFD sessions on the card in slot 6 on chassis 1 (in IRF mode).
<Sysname> reset bfd session statistics chassis 1 slot 6
snmp-agent trap enable bfd
Use snmp-agent trap enable bfd to enable sending BFD traps.
Use undo snmp-agent trap enable bfd to disable sending BFD traps.
Syntax
snmp-agent trap enable bfd
undo snmp-agent trap enable bfd
Default
Sending BFD traps is enabled.
Views
System view
Default command level
3: Manage level
Examples
# Disable sending BFD traps.