![]() |
![]() |
You can enable NEDR only for ports on gigabit and 10-gigabit Ethernet modules and only by using CLI commands.
The CLI displays the (configure)# prompt.
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.
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.
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:
|
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:
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.
![]() |
![]() |