303
Task
Command
Display test results.
display diagnostic result
[
slot slot-number
[
test
test-name
] ] [
verbose
]
Display statistics for packet-related tests.
display diagnostic result
[
slot
slot-number
[
test
test-name
] ]
statistics
Display configurations for simulated tests.
display diagnostic simulation
[
slot slot-number
]
Clear GOLD logs.
reset diagnostic event-log
Clear test results.
reset diagnostic result
[
slot
slot-number
[
test
test-name
] ]
(In IRF mode.) Execute
display
commands in any view and
reset
commands in user view.
Task
Command
Display test content.
display diagnostic content
[
chassis
chassis-number
[
slot
slot-number
] ] [
verbose
]
Display GOLD logs.
display diagnostic event-log
[
error
|
info
]
Display test results.
display diagnostic result
[
chassis chassis-number
[
slot
slot-number
[
test test-name
] ] ] [
verbose
]
Display statistics for packet-related tests.
display diagnostic result
[
chassis chassis-number
[
slot
slot-number
[
test test-name
] ] ]
statistics
Display configurations for simulated tests.
display diagnostic simulation
[
chassis chassis-number
[
slot slot-number
] ]
Clear GOLD logs.
reset diagnostic event-log
Clear test results.
reset diagnostic result
[
chassis chassis-number
[
slot
slot-number
[
test test-name
] ] ]
GOLD configuration example
Network requirements
Enable monitoring diagnostic test
HGMonitor
on slot 1, and set its execution interval to 1 minute.
Configuration procedure
# View the default status and execution interval of the test on slot 1.
<Sysname> display diagnostic content slot 1 verbose
Diagnostic test suite attributes:
#B/*: Bootup test/NA
#O/*: Ondemand test/NA
#M/*: Monitoring test/NA
#D/*: Disruptive test/Non-disruptive test
#P/*: Per port test/NA
#A/I/*: Monitoring test is active/Monitoring test is inactive/NA
Slot 1:
Test name : HGMonitor
Test attributes : **M*PI