Cisco Systems

 


Modules:  1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10  |  11  |  CS  |  All  |
Module 4: Learning about Other Devices
 
  Command Command Description Command Syntax
4.1.2 show cdp neighbors To display information about neighbors, use the show cdp neighbors privileged EXEC command. show cdp neighbors [type number] [detail]
4.1.3 cdp run To enable CDP, use the cdp run global configuration command. Use the no form of this command to disable CDP. CDP is enabled on the router by default, which means the Cisco IOS software will receive CDP information. cdp run
  cdp enable To enable Cisco Discovery Protocol (CDP) on an interface, use the cdp enable interface configuration command. cdp enable
  clear cdp counters Resets the traffic counters to zero. clear cdp counters
  show cdp To display global CDP information, including timer and hold-time information, use the show cdp privileged EXEC command. show cdp
  show cdp entry device-name [protocol | version] To display information about a neighbor device listed in the CDP table, use the show cdp entry privileged EXEC command. show cdp entry {* | device-name [*] [protocol | version]}
  show cdp interface [type number] Displays information about interfaces on which CDP is enabled. show cdp interface [type number]
4.1.5 no cdp run To enable CDP, use the cdp run global configuration command. Use the no form of this command to disable CDP. CDP is enabled on your router by default, which means the Cisco IOS software will receive CDP information. no cdp run
  no cdp enable To enable Cisco Discovery Protocol (CDP) on an interface, use the cdp enable interface configuration command. Use the no form of this command to disable CDP on an interface. CDP is enabled by default on all supported interfaces. no cdp enable
4.1.6 clear cdp table Deletes the CDP table of information about neighbors. clear cdp table
  show cdp traffic Displays the CDP counters, including the number of packets sent and received and checksum errors. show cdp traffic
  show debugging Displays information about the types of debugging that are enabled. show debugging
  cdp holdtime Specifies the hold time to be sent in the CDP update package. cdp holdtime
  debug cdp adjacency Used to troubleshoot or monitor CDP neighbor information debug cdp adjacency
  debug cdp events Used to troubleshoot or monitor CDP events debug cdp events
  debug cdp ip Used to troubleshoot or monitor CDP IP information debug cdp ip
  debug cdp packets Used to troubleshoot or monitor CDP packet related information. debug cdp packets
4.2.2 connect To log on to a host that supports Telnet, rlogin, or LAT, use the connect EXEC command. connect [ip-address | hostname]
  telnet This command will create a connection to a remote system. telnet {hostname | ip-address} [port] [keyword]
  exit Use the exit command at the EXEC levels to exit the EXEC mode. exit
  logout Exits a telnet session. logout
4.2.3 Ctrl-Shift-6, X The procedure for suspending a telnet session. Ctrl-Shift-6, X
  show sessions The command show sessions will show what telnet sessions are taking place. show sessions
4.2.4 session-limit The number of open sessions that are allowed at one time is defined by the session limit command. session-limit session-number
  resume Resumes a telnet connection. resume
4.2.5 traceroute Tests the hops a packet takes from one host to a final destination. traceroute [protocol] destination
  ping Use the ping privileged EXEC command to diagnose basic network connectivity on Apollo, AppleTalk, Connectionless Network Service (CLNS), DECnet, IP, Novell IPX, VINES, or XNS networks. ping [protocol] {ip-address | hostname}
  show ip route Use the show ip route EXEC command to display the current state of the routing table. show ip route [address [mask] [longer-prefixes]] | [protocol [process-id]] | [list access-list-number | access-list-name]
Close Window
All contents copyright © 2003 Cisco Systems, Inc. All rights reserved.