Configuration Guide Vol. 1


22.4.10 Setting Frame Transmission/Reception Error Notification

If sending or receiving frames fails because of a minor error, the Switch collects statistics about why the frames were discarded. If the number of errors that occurred in the 30-second interval and the percentage of errors that occurred exceed the thresholds, the error occurrence is logged and a private SNMP notification is sent.

The Switch can be configured for these thresholds and for notification. If no settings are specified, the log is displayed for only the first error when 15 errors have occurred in 30 seconds.

<Structure of this section>

(1) Notification with the number of error frames set as the threshold value

Points to note

To set the threshold for error occurrences (the number of error frames) as the condition for error notification on the Switch, execute the frame-error-notice command with error-frames specified.

Command examples

  1. (config)# frame-error-notice error-frames 50

    Sets the threshold for error occurrences (the number of error frames) to 50.

(2) Notification with error rate as threshold

Points to note

To set the threshold for the error occurrence rate (the error rate) as an error notification condition on the Switch, execute the frame-error-notice command with error-rate specified.

Command examples

  1. (config)# frame-error-notice error-rate 20

    Sets the threshold for the error occurrence rate to 20%.

(3) Log display setting for notification

Points to note

To have the log displayed in the event of an error as the condition for error notification, execute the frame-error-notice command with either onetime-display or everytime-display specified. If you do not want the log to be displayed, specify off in the command. This setting does not affect private SNMP notifications.

Command examples

  1. (config)# frame-error-notice everytime-display

    Displays the log every time an error occurs.

(4) Combination setting of conditions

Points to note

To set a combination of error notification conditions, specify the corresponding arguments in the frame-error-notice command. Note that executing a frame-error-notice command overrides the notification condition settings configured by a previous frame-error-notice command. If you want to use the previous settings, specify them again in the frame-error-notice command.

Command examples

The following shows an example of setting the threshold for the error occurrence rate in addition to setting that the log is displayed every time an error occurs.

  1. (config)# frame-error-notice error-frames 50 everytime-display

    Sets the threshold for error occurrences (the number of error frames) to 50, and sets the log to be displayed every time an error occurs.

Notes

When using private SNMP notification, set snmp-server host command to send SNMP notification when a frame receive error occurs and SNMP notification when a frame transmit error occurs.