R0106-HP MSR Router Series Fundamentals Configuration Guide(V7)

150
To power on or off a card on an MSR4000, execute one of the following commands in user view as
appropriate:
Task Command
Power on a card. power-supply on slot slot-number [ subslot subslot-number ]
Power off a card. power-supply off slot slot-number [ subslot subslot-number ]
Setting the port status detection timer
The device starts a port status detection timer when a port is shut down by a protocol. Once the timer
expires, the device brings up the port so the port status reflects the port's physical status.
To set the port status detection timer:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Set the port status detection
timer.
shutdown-interval time The default setting is 30 seconds.
Monitoring CPU usage
After CPU usage monitoring is enabled, the system regularly samples CPU usage and saves the samples
to the history record buffer. You can use the display cpu-usage history command to examine recent CPU
usage.
To monitor CPU usage on an MSR2000 or MSR3000:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enable CPU usage monitoring.
monitor cpu-usage enable
By default, CPU usage monitoring
is enabled.
3. Set the CPU usage sampling
interval.
monitor cpu-usage interval
interval-value
By default, the CPU usage
sampling interval is 1 minute.
4. Exit to user view.
quit N/A
5. Display the current CPU usage
statistics.
display cpu-usage
This command is available in any
view.
6. Display CPU usage monitoring
settings.
display cpu-usage configuration
This command is available in any
view.
7. Display the historical CPU
usage statistics in a coordinate
system.
display cpu-usage history [ job
job-id ]
This command is available in any
view.
To monitor CPU usage on an MSR4000: