R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference
232
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 specifies the ID of the member device. The slot-number argument specifies the slot number of
the card. (In IRF mode.)
Examples
# (In standalone mode.) Clear the flow logging statistics for the card in slot 2.
<Sysname> reset userlog flow export slot 2
# (In IRF mode.) Clear the flow logging statistics for the card in slot 2 on member device 1.
<Sysname> reset userlog flow export chassis 1 slot 2
Related commands
display userlog export
reset userlog flow logbuffer
Use reset userlog flow logbuffer to clear flow logs in the cache.
Syntax
In standalone mode:
reset userlog flow logbuffer slot slot-number
In IRF mode:
reset userlog flow logbuffer chassis chassis-number slot slot-number
Views
User view
Default command level
2: System 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 specifies the ID of the member device. The slot-number argument specifies the slot number of
the card. (In IRF mode.)
Usage guidelines
The system saves flow logs in the cache before exporting them to the information center or log server.
Clearing flow logs in the cache might cause loss of log information. Use this command with caution.
Before executing this command, make sure the maximum number of flow logs is specified by the userlog
flow syslog command.
Examples
In standalone mode:
#Clear flow logs in the cache of the card in slot 2.
<Sysname> reset userlog flow logbuffer slot 2