This Protocol is by default enabled in Cisco devices. It will send periodic update after every one minute on all interface. The neighbors will receive this information and store in the CDP neighborship table. CDP is helpful in troubleshooting or to create documentaion of CDP. We can obtain following information about neighbor automatically.
To disable CDP from device
- Hostname
- Device type
- Model/Platform
- IOS version
- Local connected interface
- Entry IP address etc.
To display CDP enabled interfaces --> Router#sh cdp interface
To display CDP neighbors --> Router#sh cdp neighbor detail or Router#sh cdp nedighbor detail
To disable CDP from device
Router#conf ter
Router(config)#no cdp run
To disable CDP on particular interface
Router#conf ter
Router#conf ter
Router(config)#int <type> <no.>
Router(config-if)#no cdp enable
Router(cobfig-if)#exit
To change CDP timers
Router#conf ter
Router(config)#cdp timer <value> (by default 60 sec)
Router#conf ter
Router(config)#cdp timer <value> (by default 60 sec)
Router(config)#cdp holdtime <value> (by default 180
sec)
(Value in seconds)
TCP/IP Model
TCP/IP is the most popular protocol stack, which
consist of large no of protocol According to the OSI model TCP/IP consist of
only four layers. TCP/IP model is modified form of DOD (Department of Defense)
model.
Application Layer
This layer contains a large no. of protocols. Each protocol is designed to act as server & client. Some of protocol will need connection oriented. TCP and others may need connection less UDP for data transfer.
Application layer use port no.s to identity each application at Transport layer. This layer performs most of functions, which are specified by the Application, Presentation, and Session layer of OSI model.
This layer contains a large no. of protocols. Each protocol is designed to act as server & client. Some of protocol will need connection oriented. TCP and others may need connection less UDP for data transfer.
Application layer use port no.s to identity each application at Transport layer. This layer performs most of functions, which are specified by the Application, Presentation, and Session layer of OSI model.
Transport Layer :- Two protocols are available on transport layer
- Transmission Control Protocol
- User Datagram Protocol
- Error Checking
- Acknowledgement
- Sequencing
- Flow Control
- Windowing
2) User Datagram Protocol
UDP is connection less protocol, which is responsible for error checking and identifying applications using port numbers.
Source port
16 bits Destination port
16 bits
UDP is connection less protocol, which is responsible for error checking and identifying applications using port numbers.
UDP Header (8 bytes)
Length 16
bits Ckecksum
16 bits
DATA
Internet Layer
The main function of Internet layer is routing and
providing a single network interface to the upper layers protocols. Upper or lower
protocols have not any functions relating to routing. To prevent this, IP provides one single
network interface for the upper layer protocols. After that it is the job of IP and
the various Network Access protocols to get along and work together. The main protocols are
used in Internet layer :-
- Internet Protocol (IP)
- Internet Control Message Protocol ICMP)
- Address Resolution Protocol (ARP)
- Reverse Address Resolution Protocol (RARP)
- Proxy ARP
This protocol works at internet layer. It is responsible for logical addressing, defining type of service & fragmentation.