Installation guide
Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
36
Cisco IOS Release 12.3(8)T4
OL-6454-01
Monitoring and Maintaining CDP
To monitor and maintain CDP on your device, use one or more of the following commands in privileged
EXEC mode:
Configuring the Switched Port Analyzer (SPAN)
This section describes how to configure a SPAN session for an EtherSwitch HWIC.
Note An EtherSwitch HWIC supports only one SPAN session.
Note Either Tx or both Tx and Rx monitoring is supported.
• Configuring the SPAN Sources, page 36
• Configuring SPAN Destinations, page 37
• Verifying the SPAN Session, page 37
• Removing Sources or Destinations from a SPAN Session, page 37
Configuring the SPAN Sources
To configure the source for a SPAN session, use the following command in global configuration mode:
Command Purpose
Router# clear cdp counters
Resets the traffic counters to zero.
Router# clear cdp table
Deletes the CDP table of information about neighbors.
Router# show cdp
Verifies global information such as frequency of transmissions and
the holdtime for packets being transmitted.
Router# show cdp entry entry_name [
protocol
|
version
]
Verifies information about a specific neighbor. The display can be
limited to protocol version information.
Router# show cdp interface
interface-id
Verifies information about interfaces on which CDP is enabled.
Router# show cdp neighbors
interface-id
[
detail
]
Verifies information about neighbors. The display can be limited to
neighbors on a specific interface and can be expanded to provide
more detailed information.
Router# show cdp traffic
Verifies CDP counters, including the number of packets sent and
received and checksum errors.
Command Purpose
Router(config)# monitor session 1 {source {interface
interface-id
} | {vlan
vlan
_
ID
}} [, | - | rx | tx |
both]
Specifies the SPAN session (number 1), the source interfaces or
VLANs, and the traffic direction to be monitored.