Task 1:
For reference information on configuring hostnames, please refer to:
Lab 35 Configuration and Verification Task 1
Task 2:
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int fa0/0
R1(config-if)#ip address 172.29.100.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#^Z
R1#
Task 3:
Sw1#config t
Enter configuration commands, one per line. End with CNTL/Z.
Sw1(config)#vlan 200
Sw1(config-vlan)#name CDP_VLAN
Sw1(config-vlan)#exit
Sw1(config)#interface vlan 1
Sw1(config-if)#shut
Sw1(config-if)#exit
Sw1(config)#int vlan 200
Sw1(config-if)#no shut
Sw1(config-if)#ip address 172.29.100.2 255.255.255.0
Sw1(config-if)#exit
Sw1(config)#int f0/2
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan 200
Sw1(config-if)#end
Sw1#
Sw1#ping 172.29.100.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.29.100.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/203/1000 ms
Sw1#
Task 4:
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#cdp run
R1(config)#cdp timer 10
R1(config)#^Z
R1#
R1#show cdp interface fastethernet 0/0
FastEthernet0/0 is up, line protocol is up
Encapsulation ARPA
Sending CDP packets every 10 seconds
Holdtime is 180 seconds
Sw1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Sw1(config)#cdp run
Sw1(config)#cdp timer 10
Sw1(config)#end
Sw1#
Sw1#show cdp interface fastethernet 0/2
FastEthernet0/2 is up, line protocol is up
Encapsulation ARPA
Sending CDP packets every 10 seconds
Holdtime is 180 seconds
Task 5:
R1#show cdp neighbors detail
————————-
Device ID: Sw1
Entry address(es):
IP address: 172.29.100.2
Platform: cisco WS-C2950G-24-EI, Capabilities: Switch IGMP
Interface: FastEthernet0/0, Port ID (outgoing port): FastEthernet0/2
Holdtime : 178 sec
Version :
Cisco Internetwork Operating System Software
IOS ™ C2950 Software (C2950-I6Q4L2-M), Version 12.1(13)EA1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Tue 04-Mar-03 02:14 by yenanh
advertisement version: 2
Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF000000000000000DBD064100FF0000
VTP Management Domain: ‘CISCO’
Duplex: full
| NOTE: The show cdp neighbors detail command provides detailed information about devices. This is a very useful troubleshooting command as you can find out the IP addresses (and more) of connected devices and access them remotely. Try this command on Sw1 and see the information you find out about R1. Familiarize yourself with the contents of this command for both routers and switches. |