R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference
299
diagnostic monitor interval slot slot-number-list [ test test-name ] time time
undo diagnostic monitor interval slot slot-number-list [ test test-name ]
In IRF mode:
diagnostic monitor interval chassis chassis-number slot slot-number-list [ test test-name ] time time
undo diagnostic monitor interval chassis chassis-number slot slot-number-list [ test test-name ]
Default
The default execution interval for monitoring diagnostic tests is 10 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
slot slot-number-list: Specifies a space-separated list of up to 7 slot numbers. Each slot number specifies
a card or a range of cards in the form of slot-number-list = { slot-number [ to slot-number ] }&<1-7>. (In
standalone mode.)
chassis chassis-number: Specifies an IRF member device by its ID. (In IRF mode.)
slot slot-number-list: Specifies a space-separated list of up to 7 slot numbers. Each slot number specifies
a card or a range of cards in the form of slot-number-list = { slot-number [ to slot-number ] }&<1-7>. (In
IRF mode.)
test test-name: Specifies a test by its name, a case-insensitive string of 1 to 31 characters. If you do not
specify this option, the command sets an execution interval for all monitoring diagnostic tests on the
specified cards.
time: Sets an execution interval in the form of hh:mm:ss. The value range for the hh argument is 0 to 23.
The value range for the mm and ss arguments is both 0 to 59. If you specify only the hh argument, you
can omit the mm and ss segments. If you specify only the hh and mm arguments, you can omit the ss
segment. For example, to specify 01:00:00, you can enter 1.
Usage guidelines
Use this command to configure the interval at which the system automatically executes enabled
monitoring diagnostic tests.
The configured interval cannot be smaller than the minimum execution interval of the tests. Use the
display diagnostic content verbose command to view the minimum execution interval of the tests.
Examples
# (In standalone mode.) Set the execution interval to 1 minute for test HGMonitor on card 10.
<sysname> system-view.
[sysname] diagnostic monitor interval slot 10 test HGMonitor time 00:01:00
# (In IRF mode.) Set the execution interval to 1 minute for test HGMonitor on card 10 of IRF member
device 2.
<sysname> system-view
[sysname] diagnostic monitor interval chassis 2 slot 10 test HGMonitor time 00:01:00
Related commands
• diagnostic monitor enable










