Docsity

Cisco Discovery Protocol - Computer Networking | ECPE 177, Lab Reports of Computer Systems Networking and Telecommunications

Toggle sidebar
bg1
Computer Networking Name _____________________________
Cisco Discovery Protocol (CDP) Lab 7
TA: All edge routers should still be running RIP.
PC2 (Windows) IP = ____________________________ Router’s left I/F IP = _________________________
Router’s right I/F IP = ________________________ PC1 (Linux) IP = _________________________
201.3.4.3
0/0
201.3.4.2
0/0
Core Hub
(INTERNET)
201.3.4.4
0/0
Edge
ROUTER #3
208.16.3.1
1/0
PC2
Windows
PC1
Linux
192.168.x.0
subnet
Core
SWITCH
A
Your
SWITCH
192.168.0.1
1/0
192.168.0.0
subnet
192.168.1.1
1/0Your
ROUTER
Edge
ROUTER #1
208.16.3.0 Network
Edge
ROUTER #2
6 other routers
Core
SWITCH
B
6 other PCs
Today, you configure your switch!
1. Power up your equipment and log into your PCs.
2. Wire your network.
3. Configure PC1 and PC2.
4. Using HyperTerminal on PC2, configure your router (1) Give it a hostname. (2) Give its interfaces IP
addresses. (3) Configure it to use telnet. (4) Configure it to run RIP (see previous lab).
5. Unplug (power down) your switch.
6. Move PC2’s serial cable from your router’s CON port to your switch’s CON port.
7. Plug the power cable into your switch and observe on PC2 the boot sequence of the switch.
8. Press <Return> until you see the switch IOS prompt.
Cisco switches use basically the same IOS (Internetwork Operating System) as do Cisco routers!
9. Enter the Privileged EXEC (enabled) mode on your switch just as you would with a Cisco router.
10. Enter the command to show the Cisco IOS version. What is the command? ___________________________
What IOS version is your switch running? _____________________________________________________
11. Enter the command to show the IP address configuration on your switch.
What is the command? ____________________________________________________________________
12. Enter the command to show the current running configuration. What is the command? __________________
13. Ping PC1 and PC2 to get everyone’s MAC tables populated. (Initially, the switch’s table is filled with
random numbers.)
14. Enter the command to show the MAC address table. What is the command? __________________________
How many MAC addresses has your Switch learned? ____________________________________________
1
pf2

Partial preview of the text

Download Cisco Discovery Protocol - Computer Networking | ECPE 177 and more Lab Reports Computer Systems Networking and Telecommunications in PDF only on Docsity!

Computer Networking Name _____________________________

Cisco Discovery Protocol (CDP) Lab 7 TA: All edge routers should still be running RIP. **PC2 (Windows) IP = ____________________________ Router’s left I/F IP = _________________________ Router’s right I/F IP = ________________________ PC1 (Linux) IP = _________________________

      1. 3 0 / 0
      1. 2 0 / 0**

Core Hub

**(INTERNET)

      1. 4**

Edge 0 / 0

ROUTER # 3

208. 16. 3. 1 1 / 0

PC 2

Windows

PC 1

Linux

192. 168 .x. 0 subnet

Core

SWITCH

A

Your

SWITCH

**192. 168. 0. 1 1 / 0

      1. 0 subnet
      1. 1**

Your 1 / 0

ROUTER

Edge

ROUTER # 1

208. 16. 3. 0 Network

Edge

ROUTER # 2

6 other routers

Core

SWITCH

B

6 other PCs Today, you configure your switch!

  1. Power up your equipment and log into your PCs.
  2. Wire your network.
  3. Configure PC1 and PC2.
  4. Using HyperTerminal on PC2, configure your router (1) Give it a hostname. (2) Give its interfaces IP addresses. (3) Configure it to use telnet. (4) Configure it to run RIP (see previous lab).
  5. Unplug (power down) your switch.
  6. Move PC2’s serial cable from your router’s CON port to your switch’s CON port.
  7. Plug the power cable into your switch and observe on PC2 the boot sequence of the switch.
  8. Press until you see the switch IOS prompt. Cisco switches use basically the same IOS (Internetwork Operating System) as do Cisco routers!
  9. Enter the Privileged EXEC (enabled) mode on your switch just as you would with a Cisco router.
  10. Enter the command to show the Cisco IOS version. What is the command? ___________________________ What IOS version is your switch running? _____________________________________________________
  11. Enter the command to show the IP address configuration on your switch. What is the command? ____________________________________________________________________
  12. Enter the command to show the current running configuration. What is the command? __________________
  13. Ping PC1 and PC2 to get everyone’s MAC tables populated. (Initially, the switch’s table is filled with random numbers.)
  14. Enter the command to show the MAC address table. What is the command? __________________________ How many MAC addresses has your Switch learned? ____________________________________________ 1
  1. Enter the command to show VLAN membership. What is the command? ____________________________ What VLANs are configured (by default) on your switch? ________________________________________ We will examine VLANs more closely in a later lab.
  2. To configure your switch with an IP address in the 192.168.x.0 network, enter:

    config t  Enter global configuration mode

# interface vlan 1  or: int vlan 1

# ip address 192.168.x.x 255.255.255.0  x = Station number (2 to 8)

  1. Assign your Cisco switch a telnet password in the same way as is done with a Cisco router:

    line vty 0 4

    password baun

  2. Close the HyperTerminal program. Open a telnet session to your switch from your PC. Now, let’s learn how Cisco Discovery Protocol discovers information about surrounding devices.
  3. Type the command show cdp? to see a list arguments available.

    sh cdp?

What CDP options are available? ________________________________________________________

sh cdp neighbors  Show your switch's neighbors. Complete the following table.

Device Identifier Local Port Capabilities Platform Remote Port

sh cdp neighbors detail  Add the word detail to get more info

What additional information is given? _____________________________________________________ Next we will explore CDP on your Router.

  1. Using PC1, telnet to your router, and use show cdp? to see a list of available command arguments. In what way do these arguments differ from the ones available from your switch?
  2. Use show cdp neighbor detail to get a listing of your router's neighbors and complete the following table. (If the list is blank, check the running configuration to ensure the router interfaces do not have cdp disabled.) Device Identifier IP Address Local Port Capabilities Platform Remote Port
  3. How do the results reported by CPD about the neighbors of the router differ from the results reported for the switch?

TA initials: __________ 2