Foundry NetIron M2404C and M2404F Metro Access Switches
Troubleshooting and Monitoring (Rev. 03)
Periodic Monitoring
© 2008 Foundry Networks, Inc.
Page 30 of 55
Command Syntax
device-name
(config)#
monitor all
[
log
|
status-led
|
trap
]
{
enable
|
disable
}
device-name
(config)#
no monitor all
[
log
|
status-led
|
trap
]
Argument Description
log
(Optional). Writes alert messages to the log history.
status-led
(Optional). Causes a status LED on the device to blink if any monitored
indicator has a status of
failed
.
trap
(Optional). Sends SNMP traps.
enable
Enables periodical monitoring of all the parameters.
disable
Disables periodical monitoring of all the parameters.
Monitoring the CPU Usage
The
monitor cpu-usage
command, in Global Configuration mode, enables or disables monitoring
of the CPU usage. The
no
form of this command restores CPU-usage monitoring to the default
state.
The user can use the command without arguments to enter into Monitoring Configuration mode, in
which the user can set the CPU usage monitoring parameters.
The CPU usage monitor constantly collects samples of CPU usage and periodically calculates their
average value from previous percentage estimates. If the calculated value exceeds a configured
limit value, the monitor issues a log alert.
To see the CPU usage, use the
show cpu utilization
command in Privileged (Enable) mode.
By default, CPU usage monitoring is enabled.
Command Syntax
device-name
(config)#
monitor cpu-usage
{
enable
|
disable
}
device-name
(config)#
no monitor cpu-usage
device-name
(config)#
monitor cpu-usage
device-name
(config monitor cpu-usage)#
Argument Description
enable
Enables monitoring of CPU usage.
disable
Disables monitoring of CPU usage.
If the user applies any of the commands in
Table 16
when the device is in Monitor Configuration
mode, the mode is changed to the specified Monitor Configuration mode. For example:
device-name
(config monitor cpu-usage)#
monitor fan
device-name
(config monitor fan)#