1 ccna 2 v3.1 module 4. 2 ccna 2 module 4 learning about devices

20
1 CCNA 2 v3.1 Module 4

Post on 20-Dec-2015

237 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

1

CCNA 2 v3.1 Module 4

Page 2: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

2

CCNA 2

Module 4

Learning about Devices

Page 3: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

333

Cisco Discovery Protocol (CDP)• Builds a basic picture of the network

Allows 2 systems to learn about each other

• For neighbor discovery

Only shows information about directly connected neighbors

• It is a layer 2 protocol

Connects physical media and network layer protocols

• Media Independent

Different L1 media types (LAN, Frame Relay, ATM…)

• Protocol independent

Can have different L3 protocols (TCP/IP,IPX, Apple Talk...)

• Runs on all Cisco equipment over the Subnetwork Access Protocol (SNAP)

Page 4: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

444

• Most recent release is CDP Version 2 (CDPv2)

• Starts up automatically on router bootup

• Must be running on all the neighbourhood devices

• Each device sends periodic messages (advertisements) to multiple directly connected routers running CDP

• Each device advertises:

at least one address at which it can receive Simple Network Management Protocol (SNMP) messages.

“time-to-live” or holdtime information, indicating the length of time that receiving devices should hold CDP information before discarding it.

each device also listens to periodic CDP messages sent by others in order to learn about neighboring devices.

Page 5: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

555

Information obtained with CDP• show cdp neighbors displays information about

Networks directly connected to the router

Each CDP neighbor device using type length values (TLVs)

Information embedded in advertisements

Device ID

Local Interface

Holdtime

Capability

Platform

Port ID

VTP Management Domain Name (CDPv2 only)

Native VLAN (CDPv2 only)

Full/Half-Duplex (CDPv2 only)

Page 6: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

666

• Cdp info can be used to create a network map of the connected devices

Page 7: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

777

Page 8: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

888

Implementation, monitoring, and maintenance of CDP

Note - By default CDP is globally enabled

Page 9: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

999

Page 10: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

101010

Disabling CDP

• use the no CDP run command in global configuration mode

• If CDP is disabled globally, individual interfaces cannot be enabled for CDP.

Page 11: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

111111

Troubleshooting CDP

Page 12: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

121212

Telnet

• Allows connections to be made to remote hosts

• An IOS EXEC command used to verify the application layer software between source and destination

• The most complete test of connectivity

Works at the Application layer (7)

• You can have up to 5 Telnet sessions

0 - 4

Page 13: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

131313

Establishing and verifying a Telnet connection

• Router>connect/Telnet <hostname>Router>connect/Telnet <ip address>Router>exit/logout

• A hostname table or access to DNS for Telnet must be present for a name to work

• Can be performed at either the user or privileged EXEC levels

Page 14: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

141414

• If you can Telnet to one router and not another problem may be

Specific addressing

Naming

Access permission

• The Ping command will check for physical connection

Page 15: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

151515

Disconnecting and suspending Telnet sessions

Page 16: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

161616

Ping to Test Connectivity

• Ping

Sends echo packet to destination host

Waits for an echo reply packet from that destination

• Results from echo protocol can help evaluate

Path-to-host reliability

Delays over the path

Whether destination host can be reached

Is destination host functioning

Page 17: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

171717

• Performed at either

User EXEC mode

Privileged EXEC mode

• Ping uses ICMP echo request

“!” indicates a successful echo.

Periods (.) indicates router timed while waiting

“ * ”, no connection

Page 18: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

181818

Page 19: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

191919

Troubleshooting IP addressing issues

• IP addressing is a big problem

• ping verifies

Hardware connection

and IP address of the network layer

• telnet verifies

Application layer software between source and destination

The most complete test mechanism available

Page 20: 1 CCNA 2 v3.1 Module 4. 2 CCNA 2 Module 4 Learning about Devices

202020

• traceroute allows the location of failures in the path from the source to the destination. Trace uses Time to Live values to generate messages from each router along the path.