398
end-slot-number
, by its virtual slot number. The end slot number must be equal to or greater than the
start slot number. (In IRF mode.)
test-name
: Specifies a test by its name, a case-insensitive string of 1 to 31 characters.
failure
: Configures the system to generate failure results.
random-failure
: Configures the system to randomly generate results.
success
: Configures the system to generate success results.
Usage guidelines
Test simulation is used to verify GOLD frame functionality. After you execute this command, the
system simulates the specified test if the execution requirements for the test are met. The test is not
actually executed and does not trigger hardware correcting actions.
This command only applies to monitoring diagnostic tests and on-demand diagnostic tests.
Examples
# (In standalone mode.) Simulate test
HGMonitor
as failed on card 1.
<Sysname> diagnostic simulation slot 1 test HGMonitor failure
# (In IRF mode.) Simulate test
HGMonitor
as failed on card 1 of IRF member device 1.
<Sysname> diagnostic simulation chassis 1 slot 1 test HGMonitor failure
Related commands
display diagnostic simulation
display diagnostic content
Use
display diagnostic content
to display information about diagnostic tests.
Syntax
In standalone mode:
display diagnostic content
[
slot
slot-number
] [
verbose
]
In IRF mode:
display diagnostic content
[
chassis
chassis-number
[
slot
slot-number
] ] [
verbose
]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot
slot-number
: Specifies a card by its slot number. If you do not specify this option, the command
applies to all cards. (In standalone mode.)
chassis
chassis-number
[
slot
slot-number
]: Specifies a card on an IRF member device. The
chassis-number
argument represents the member ID of the IRF member device. The
slot-number
argument represents the slot number of the card. If you do not specify an IRF member device or
virtual chassis, the command applies to all member devices. If you do not specify a card, the
command applies to all cards of the specified member device. (In IRF mode.)
verbose
: Displays detailed information about diagnostic tests. If you do not specify this keyword, the
command displays brief information about the diagnostic tests.