You are on page 1of 11

Лекция 09.02.

2021
Никола Николаев Колев - R1

PC0:
Only authorized personnel

User Access Verification

Password:

R0>enable
Password:
R0#conf
R0#configure t
R0#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R0(config)#show cdp nei
R0(config)#exit
R0#
%SYS-5-CONFIG_I: Configured from console by console

R0#show cdp neighbors


Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
R4 Fas 0/1 165 R C2600 Fas 0/0
R2 Fas 0/0 165 R C1841 Fas 0/1
R1 Ser 0/0 165 R C2600 Ser 0/1
R3 Ser 0/1 165 R C2600 Ser 0/1
R0#show cdp neighbors detail

Device ID: R4
Entry address(es):
IP address : 192.168.18.2
Platform: cisco C2600, Capabilities: Router
Interface: FastEthernet0/1, Port ID (outgoing port): FastEthernet0/0
Holdtime: 148

Version :
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang

advertisement version: 2
Duplex: full
---------------------------

Device ID: R2
Entry address(es):
IP address : 192.168.21.2
Platform: cisco C1841, Capabilities: Router
Interface: FastEthernet0/0, Port ID (outgoing port): FastEthernet0/1
Holdtime: 148

Version :
Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1,
RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 04:52 by pt_team

advertisement version: 2
Duplex: full
---------------------------

Device ID: R1
Entry address(es):
IP address : 192.168.23.2
Platform: cisco C2600, Capabilities: Router
Interface: Serial0/0, Port ID (outgoing port): Serial0/1
Holdtime: 148

Version :
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang

advertisement version: 2
Duplex: full
---------------------------

Device ID: R3
Entry address(es):
IP address : 192.168.28.2
Platform: cisco C2600, Capabilities: Router
Interface: Serial0/1, Port ID (outgoing port): Serial0/1
Holdtime: 148

Version :
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang

advertisement version: 2
Duplex: full

R0#show cdp interface


FastEthernet0/0 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
FastEthernet0/1 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/0 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/1 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/2 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/3 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
R0#show cdp entry * protocol

Protocol information for R4 :


IP Address: 192.168.18.2
---------------------------

Protocol information for R2 :


IP Address: 192.168.21.2
---------------------------

Protocol information for R1 :


IP Address: 192.168.23.2
---------------------------

Protocol information for R3 :


IP Address: 192.168.28.2

R0#show cdp entry * version

Version information for R4 :


Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang
---------------------------

Version information for R2 :


Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1,
RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 04:52 by pt_team
---------------------------

Version information for R1 :


Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang
---------------------------

Version information for R3 :


Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang

R0#show run
Building configuration...

Current configuration : 993 bytes


!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname R0
!
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.21.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.18.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
ip address 192.168.23.1 255.255.255.0
clock rate 2000000
!
interface Serial0/1
ip address 192.168.28.1 255.255.255.0
clock rate 2000000
!
interface Serial0/2
no ip address
clock rate 2000000
shutdown
!
interface Serial0/3
no ip address
clock rate 2000000
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
banner motd ^COnly authorized personnel^C
!
!
!
!
!
line con 0
password 7 0822404F1A0A
logging synchronous
login
!
line aux 0
!
line vty 0 4
password 7 0822404F1A0A
login
!
!
!
end

R0#

R1 – (1229118):
Only authorized personnel

User Access Verification

Password:

R1>enable
Password:
R1#show run
Building configuration...

Current configuration : 931 bytes


!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname R1
!
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0
no ip address
clock rate 2000000
shutdown
!
interface Serial0/1
ip address 192.168.23.2 255.255.255.0
!
interface Serial0/2
no ip address
clock rate 2000000
shutdown
!
interface Serial0/3
no ip address
clock rate 2000000
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
banner motd ^COnly authorized personnel^C
!
!
!
!
!
line con 0
password 7 0822404F1A0A
logging synchronous
login
!
line aux 0
!
line vty 0 4
password 7 0822404F1A0A
login
!
!
!
end

R1#

PC 0:
R0#show cdp interface
FastEthernet0/0 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
FastEthernet0/1 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/0 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/1 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/2 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/3 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds

R0#show cdp neighbors detail

Device ID: R4
Entry address(es):
IP address : 192.168.18.2
Platform: cisco C2600, Capabilities: Router
Interface: FastEthernet0/1, Port ID (outgoing port): FastEthernet0/0
Holdtime: 123

Version :
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang

advertisement version: 2
Duplex: full
---------------------------

Device ID: R2
Entry address(es):
IP address : 192.168.21.2
Platform: cisco C1841, Capabilities: Router
Interface: FastEthernet0/0, Port ID (outgoing port): FastEthernet0/1
Holdtime: 123

Version :
Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1,
RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 04:52 by pt_team

advertisement version: 2
Duplex: full
---------------------------

Device ID: R1
Entry address(es):
IP address : 192.168.23.2
Platform: cisco C2600, Capabilities: Router
Interface: Serial0/0, Port ID (outgoing port): Serial0/1
Holdtime: 3

Version :
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang

advertisement version: 2
Duplex: full
---------------------------

Device ID: R3
Entry address(es):
IP address : 192.168.28.2
Platform: cisco C2600, Capabilities: Router
Interface: Serial0/1, Port ID (outgoing port): Serial0/1
Holdtime: 123

Version :
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang

advertisement version: 2
Duplex: full

R0#show cdp interface


FastEthernet0/0 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
FastEthernet0/1 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/0 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/1 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/2 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/3 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
R0#
R0#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
R4 Fas 0/1 167 R C2600 Fas 0/0
R2 Fas 0/0 167 R C1841 Fas 0/1
R3 Ser 0/1 167 R C2600 Ser 0/1
R0#

You might also like