20-23
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 20 Checking Status and Connectivity
Using System Warnings on Port Counters
When you enter the
show netstat udp/tcp
command, each bad UDP/TCP checksum generates a message
similar to the following:
1999 Oct 31 23:59:59 PDT -07:00 %IP-3-UDP_BADCKSUM: UDP bad checksum
1999 Oct 31 23:59:59 PDT -07:00 %IP-3-TCP_BADCKSUM: TCP bad checksum
Executing Hardware Level Warnings on Port Counters
You can poll selected error counters of each switch port every 30 minutes. If the count goes up between two
subsequent polls on the same port, the incidence is logged. Background polling is enabled or disabled by the
set errordetection portcounters
command. By default, polling is enabled.
Enter the
set errordetection portcounters
command as follows:
Console> (enable)
set errordetection portcounters
Usage: set errordetection portcounters <enable|disable>
Console> (enable)
set errordetection portcounters disable
Port Counters error detection disabled.
A sample syslog message is as follows:
1999 Jan 11 08:02:59 PDT -07:00 %SYS-3-PORT_ERR: Port 3/4 swBusResultEvent (12)
1999 Jan 11 09:03:03 PDT -07:00 %SYS-3-PORT_ERR: Port 3/4 swBusResultEvent (223)
1999 Jan 11 09:03:03 PDT -07:00 %SYS-4-PORT_WARN: Port 3/4 dmaTxFull (7) dmaRetry (33)
dmaLevel2Request(21)
Executing Spanning-Tree Warnings on Port Counters
These sections describe how to execute the spanning-tree warnings on the port counters:
•
Blocking to Listening Transitions, page 20-23
•
BPDU Skewing, page 20-23
•
SNMP, page 20-24
Blocking to Listening Transitions
A syslog message is generated whenever a port goes from blocking to listening. The spanning-tree state
changes have existing syslog messages.
A sample syslog messages is as follows:
1999 Jan 03 00:02:59 PDT -07:00 %SPANTREE-5-PORTLISTEN: Port 3/4 state in vlan 1 changed
to listening
1999 Jan 03 00:02:59 PDT -07:00 %SPANTREE-5-TR_PORTLISTEN: Trcrf 101 in trbrf 102 state
changed to listening
BPDU Skewing
A syslog message is generated when the interval between two consecutive BPDUs that are received on
a port exceeds the hello time interval by 10 seconds. The throttle interval is one message per port, per
minute for all VLAN numbers.
A sample syslog messages is as follows:
1999 Jan 01 00:01:19 PDT -07:00 %SPANTREE-3-BPDUSKEW: Port 2/1 vlan 1 BPDU skewed
1999 Jan 01 00:05:19 PDT -07:00 %SPANTREE-3-BPDUSKEW: Port 2/5 vlan 1 BPDU skewed
1999 Jan 01 00:05:23 PDT -07:00 %SPANTREE-3-BPDUSKEW: Port 2/5 vlan 3 BPDU skewed