EasyManua.ls Logo

Cisco 7609 - Displaying the CDP Interface Configuration; Monitoring and Maintaining CDP

Cisco 7609
572 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
30-3
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
78-14064-04
Chapter 30 Configuring CDP
Configuring CDP
This example shows how to enable CDP on Fast Ethernet port 5/1:
Router(config)# interface fastethernet 5/1
Router(config-if)# cdp enable
Displaying the CDP Interface Configuration
To display the CDP configuration for a port, perform this task:
This example shows how to display the CDP configuration of Fast Ethernet port 5/1:
Router# show cdp interface fastethernet 5/1
FastEthernet5/1 is up, line protocol is up
Encapsulation ARPA
Sending CDP packets every 120 seconds
Holdtime is 180 seconds
Router#
Monitoring and Maintaining CDP
To monitor and maintain CDP on your device, perform one or more of these tasks:
Step 2
Router(config-if)# cdp enable
Enables CDP on the port.
Router(config-if)# no cdp enable
Disables CDP on the port.
1. type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
Command Purpose
Command Purpose
Router# show cdp interface [{{type
1
slot/port} |
{port-channel number}}]
1. type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
Displays information about ports where CDP is enabled.
Command Purpose
Router# clear cdp counters
Resets the traffic counters to zero.
Router# clear cdp table
Clears information about neighbors from the CDP table.
Router# show cdp
Displays global information such as frequency of
transmissions and the holdtime for packets being transmitted.
Router# show cdp entry entry_name [protocol |
version]
Displays information about a specific neighbor. The display
can be limited to protocol or version information.
Router# show cdp interface [type
1
slot/port}]
Displays information about interfaces on which CDP is
enabled.
Router# show cdp neighbors [type
1
slot/port] [detail]
Displays information about neighbors. The display can be
limited to neighbors on a specific interface and expanded to
provide more detailed information.

Table of Contents

Other manuals for Cisco 7609

Related product manuals