Previous page Next page

Enabling NEDR

You can enable NEDR only for ports on gigabit and 10-gigabit Ethernet modules and only by using CLI commands.

To enable NEDR:

  1. Enter Global Configuration mode.
  2. The CLI displays the (configure)# prompt.

  3. Enter the following command:
  4. set port network-error-detection {<mod-port-range> | all} [action {notify | disable-port | off}] [rising-threshold <rising-threshold-value>] [falling-threshold <falling-threshold-value>] [interval <interval-seconds>]

    See Table�54 for explanations of the keywords, arguments, and options in this command.

    The CLI displays a confirmation message if you successfully enable NEDR for a port or range of ports. If no message displays, the port information was invalid.

Note: Occasionally, if you enable NEDR on a 10-Gigabit port, the following error message is displayed:

Set port network-error-detection failed: <10-Gigabit port number>.

NEDR is successfully enabled regardless of the error message. Ignore the error message.

  1. To verify that NEDR is enabled on a port, enter the following CLI command:
  2. show port network-error-detection [<mod-port-range>]

    If the port is not listed as enabled for NEDR, reenable NEDR on the same port or ports again.

Table�54:�show port network-error-detection Command Parameters �
Parameter
Description
<mod-port-range>
The slot number of the module, and, either port number, or range of port numbers. Enter the port ranges in the format Px-Py. For example:
  • To specify port 1 on the module in slot 3, enter 3/1.
  • To specify ports 1 through 5 on the module in slot 3, enter 3/1-5.
all
Disables NEDR on all ports on all modules in the switch. all can be used only with off.

Note: The set port network-error-detection all action off CLI command does not turn off NEDR on 10-Gigabit ports. To turn off network error detection for specific 10-Gigabit ports, use the set port network-error-detection <mod-port-range> action off command.

action {notify | disable-port | off}
Action that NEDR performs when the rate of errors exceeds the threshold. The options are:
  • notify--Logs the event in the event log
  • disable-port--Disables the port and logs the event in the event log. A port is disabled if the rate of errors equals or exceeds the threshold. Make sure a redundant protocol is configured.
  • off--Disables NEDR on the port or ports that you specify.
The default setting is notify.
<rising-threshold value>
The rising threshold.
The number of CRC errors that triggers NEDR to log an event in the event log or disable the port. The default setting is 100 (minimum is 1; maximum is 65535).
<falling-threshold value>
The falling threshold.
After exceeding the rising threshold, NEDR does not log another event in the event log until the rate of CRC errors falls below the falling threshold and then exceeds the rising threshold again. The default setting is half the rising threshold value (minimum is 0; maximum is 65535).
<interval-seconds>
How often NEDR checks the number of errors occurring against the thresholds. Enter a number of seconds.
The default setting is 2 seconds (minimum is 1; maximum is 65535).

Note: If you set the rising threshold value and the falling threshold value close together, events may be logged more often if the Notify option is selected.

Note: No configuration event is generated in the event log when you enable or disable NEDR. However, you can find out which ports have NEDR enabled by using show port network-error-detection CLI command.


Previous page Next page