3.10.8 RMON Alarm Configuration
Use this command to configure RMON alarm on a port.
rmon alarm <id> { ifInOctets | ifInUcastPkts | ifInNUcastPkts | ifInDiscards | ifInErrors | ifInUnknownProtos | ifOutOctets | ifOutUcastPkts | ifOutNUcastPkts | ifOutDiscards | ifOutErrors | ifOutQLen } <ifIndex> <interval> {absolute | delta } rising-threshold <rising_threshold> <rising_event_id> falling-threshold <falling_threshold> <falling_event_id> { [ rising | falling | both ] }
Argument | Description | |
Parameter |
| Indicates the index of the entry. The range is from 1 to 65535. |
| The number of inbound packets that are discarded even the packets are normal. | |
| The number of inbound packets that contained errors preventing them from being delivered to a higher-layer protocol. | |
| The number of broadcast and multicast packets delivered to a higher-layer protocol | |
| The total number of octets received on the interface, including framing characters. | |
| The number of uni-cast packets delivered to a higher-layer protocol. | |
| The number of inbound packets that are discarded because of an unknown or unsupported protocol. | |
| The number of outbound packets that are discarded event the packets is normal. | |
| The number of outbound packets that could not be transmitted because of errors. | |
| The number of octets transmitted out of the interface, including framing characters. | |
| The length of the output packet queue (in packets). | |
| The number of uni-cast packets that request to transmit. | |
| Indicates the port ID. If in a stacking switch, the value must add 1000000 * (switch ID − 1), for example, if the port is on switch 1, port 5, the value is 1000005. | |
| Indicates the interval in seconds for sampling and comparing the rising and falling threshold. The range is from 1 to 231− 1. | |
| Rising threshold value (−2147483648 to 2147483647). | |
| Rising event index (0–65535). If this value is zero, no associated event is generated, as zero is not a valid event index. | |
| Falling threshold value (−2147483648 to 2147483647) | |
| Falling event index (0−65535). If this value is zero, no associated event is generated, as zero is not a valid event index. | |
Default | N.A | |
Mode | Global Configuration mode | |
Usage | Configure Remote Monitoring alarm on an interface. To delete the entry, use the ‘no’ version of the command. | |
Example | Example 1: Configure RMON alarm on port 3 with ID1, interval 50 sec, sampling directly.
Example 2: Delete RMON alarm entry ID1.
|