501
Configuring CDP
Monitoring and Maintaining CDP
Monitoring and Maintaining CDP
Configuration Examples for CDP
Configuring CDP Parameters: Example
This example shows how to configure CDP parameters:
Switch#
configure terminal
Switch(config)#
cdp timer 50
Switch(config)#
cdp holdtime 120
Switch(config)#
cdp advertise-v2
Switch(config)#
end
Command
Purpose
1.
configure terminal
Enters global configuration mode.
2.
no cdp run
Disables CDP globally.
3.
interface
interface-id
Specifies the interface on which you are disabling CDP, and enters
interface configuration mode.
4.
no cdp enable
Disables CDP on the interface.
5.
end
Returns to privileged EXEC mode.
Command
Description
clear cdp counters
Resets the traffic counters to zero.
clear cdp table
Deletes the CDP table of information about neighbors.
show cdp
Displays global information, such as frequency of transmissions and the holdtime
for packets being sent.
show cdp entry
entry-name
[
protocol
|
version
]
Displays information about a specific neighbor.
You can enter an asterisk (*) to display all CDP neighbors, or you can enter the
name of the neighbor about which you want information.
You can also limit the display to information about the protocols enabled on the
specified neighbor or information about the version of software running on the
device.
show cdp interface
[
interface-id
]
Displays information about interfaces where CDP is enabled.
You can limit the display to the interface about which you want information.
show cdp neighbors
[
interface-id
]
[
detail
]
Displays information about neighbors, including device type, interface type and
number, holdtime settings, capabilities, platform, and port ID.
You can limit the display to neighbors of a specific interface or expand the display
to provide more detailed information.
show cdp traffic
Displays CDP counters, including the number of packets sent and received and
checksum errors.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...