27. Periodic
Monitoring
MN700004 Rev 01
320
Command Syntax
device-name(config monitor INDICATOR)#
enable
Example
The following example enables port monitoring:
device-name
(config)#
monitor ports
device-name(
config monitor ports)#
enable
Disabling Periodic Monitoring for a Specific Indicator
The
disable
command, in Monitoring Configuration mode, disables the periodic monitoring
for a specific indicator.
For default values, see table 27-2
.
Command Syntax
device-name
(config monitor
INDICATOR
)#
disable
Example
This example disables port monitoring:
device-name
(config)#
monitor ports
device-name
(config monitor ports)#
disable
Restoring the Default Monitoring Configuration
The
default
command, in Monitoring Configuration mode, restores
the indicator’s monitoring
configuration to default settings.
Command Syntax
device-name
(config monitor
INDICATOR
)#
default
Setting the Monitoring Time Period
The
period
command, in Monitoring Configuration mode, sets the time intervals at which the
indicator is polled for its status. The
no
form of the command resets the period to its default
value.
Table 27-4 lists the default monitoring period values.
Command Syntax
device-name
(config monitor
INDICATOR
)#
period
{
hour
|
minutes
|
seconds
}
<
value
>
device-name
(config monitor
INDICATOR
)#
no period
Argument Description
hour
Sets monitoring period in hour unit.
minutes
Sets monitoring period in minute unit.
seconds
Sets monitoring period in second unit.
value
The number of hours, minutes, or seconds between polling instances.
Valid values are <1-24> hours or <1-1440> minutes or <1-86400> seconds.