clear neighbors warning-detection

Use this command to reset a warning detection warning type to the default setting for all or specified ports.

Syntax

clear neighbors [port-string] warning-detection warning-type

Parameters

port-string (Optional) disables neighbor warning detection on the specified or range of ports. For a detailed description of possible port-string values, refer to the S-, K-, and 7100 Series Configuration Guide.
warning-type The following warning types are supported:
  • ciscodp-duplex – Detect neighbor differences in duplex
  • ciscodp-max-frame – Detect neighbor differences in MTU
  • lldp-v2-mac-phy – Detect neighbor differences in speed and duplex
  • lldp-v2-power-via-mdi – Detect neighbor differences in power class
  • lldp-v2-max-frame – Detect neighbor differences in MTU
  • lldp-v2-lacp – Detect neighbor differences in LACP status
  • lldp-v2-pfc – Detect neighbor differences in PFC status

Defaults

  • If port-string is not specified, neighbor warning detection is reset to the default value on all ports for the specified warning type.
  • ciscodp-duplex defaults to disabled.
  • ciscodp-max-frame defaults to disabled.
  • lldp-v2-mac-phy defaults to enabled.
  • lldp-v2-power-via-mdi defaults to enabled.
  • lldp-v2-max-frame defaults to enabled
  • lldp-v2-lacp defaults to disabled.
  • lldp-v2-pfc defaults to disabled.

Mode

All command modes.

Examples

This example shows how to disable the detect neighbor differences in MTU warning type on all ports:

System(rw)->set neighbor warning-detection lldp-v2-max-frame