Cisco WS-C2980G-A Software Guide - Page 63
Configuring errdisable State Ethernet and Fast Ethernet Port Timeout Periods
UPC - 746320423555
View all Cisco WS-C2980G-A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 63 highlights
Chapter 4 Configuring Ethernet and Fast Ethernet Switching Configuring Ethernet and Fast Ethernet Ports This example shows how to display the per-port debounce timer settings: Console> (enable) show port debounce Port Debounce link timer 2/1 enable 2/2 disable Console> (enable) Configuring errdisable State Ethernet and Fast Ethernet Port Timeout Periods A port is in errdisable state if it has been enabled in NVRAM but disabled at runtime by any process. For example, if the UniDirectional Link Detection (UDLD) detects a unidirectional link, the port shuts down at runtime. However, because the NVRAM configuration for the port is enabled (you have not disabled the port), the port status is shown as errdisable. Currently, if a port goes into an errdisable state for whatever reason, it is reenabled automatically after a selected time interval. With the new timeout enhancement, you can manually prevent a particular port from being enabled by setting the errdisable timeout for that particular port to disable; you can do this with the set port errdisable-timeout mod/port disable command. Note The timeout enhancement does not have an effect on the reason value that is specified in the set errdisable-timeout command. A global timer is maintained for all the ports. At every t seconds, where t is the user-configurable timeout, a process checks to see if any ports are in errdisable state. If so, only those ports that have the errdisable timeout set ("enabled") are reenabled through System Control Protocol (SCP) messages. By default, all the errdisabled ports are reenabled when the global timer times out. You can enable or disable errdisable timeout for any of the reasons available for the set errdisable-timeout command. If you specify a reason of other, only those ports that have been put in errdisable state due to causes other than those listed in the command syntax are enabled for errdisable timeout. If you specify a reason of all, all ports that are errdisabled for any reason are enabled for errdisable timeout. This feature is disabled by default. The default interval for enabling a port is 300 seconds. The allowable interval range is 30 to 86,400 seconds (30 seconds to 24 hours). This example shows how to prevent port 3/3 from being enabled when it goes into errdisable state: Console> (enable) set port errdisable-timeout 3/3 disable Successfully disabled errdisable-timeout for port 3/3. Console> (enable) This example shows how to enable errdisable timeout when the reason is BPDU guard (bpdu-guard): Console> (enable) set errdisable-timeout enable bpdu-guard Successfully enabled errdisable-timeout for bpdu-guard. Console> (enable) This example shows how to set the errdisable timeout interval to 450 seconds: Console> (enable) set errdisable-timeout interval 450 Successfully set errdisable timeout to 450 seconds. Console>(enable) 78-15486-01 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 4-7