Scopriamo la rete attraverso il CDP!
Step #5: Recuperiamo le informazioni del terzo apparato
Rifacciamo le operazioni già viste in precedenza per recuperare le informazioni che ci servono.
Sempre dall’apparato cui siamo connessi in console, facciamo stavolta il telnet all’indirizzo dello switch SW-A
SW-C#telnet 192.168.0.254
Trying 192.168.0.254 ... Open
**********************************
* NetworkingDraft.tech *
* (C) 2022 Dario Formicola *
**********************************
User Access Verification
Password:
***************************************
* Lab #1 *
* Scopriamo la rete attraverso il CDP *
* Nodo: SW-A *
***************************************
SW-A>en
Password:
SW-A#
e procediamo con i consueti comandi:
SW-A#sh ver
Cisco IOS Software, vios_l2 Software (vios_l2-ADVENTERPRISEK9-M), Version 15.2(CML_NIGHTLY_20190423)FLO_DSGS7, EARLY DEPLOYMENT DEVELOPMENT BUILD, synced to V152_6_0_81_E
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Tue 23-Apr-19 04:48 by mmen
<-- output omesso -->
Cisco IOSv () processor (revision 1.0) with 574709K/209920K bytes of memory.
Processor board ID 948KL3QHYZM
1 Virtual Ethernet interface
16 Gigabit Ethernet interfaces
SW-A#sh ip int bri
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset up up
GigabitEthernet0/1 unassigned YES unset down down
GigabitEthernet0/2 unassigned YES unset down down
GigabitEthernet0/3 unassigned YES unset down down
GigabitEthernet1/0 unassigned YES unset up up
GigabitEthernet1/1 unassigned YES unset up up
GigabitEthernet1/2 unassigned YES unset down down
GigabitEthernet1/3 unassigned YES unset down down
GigabitEthernet2/0 unassigned YES unset up up
GigabitEthernet2/1 unassigned YES unset down down
GigabitEthernet2/2 unassigned YES unset down down
GigabitEthernet2/3 unassigned YES unset down down
GigabitEthernet3/0 unassigned YES unset down down
GigabitEthernet3/1 unassigned YES unset down down
GigabitEthernet3/2 unassigned YES unset down down
GigabitEthernet3/3 unassigned YES unset down down
Vlan1 192.168.0.254 YES NVRAM up up
SW-A#sh ipv6 int bri
GigabitEthernet0/0 [up/up]
unassigned
GigabitEthernet0/1 [down/down]
unassigned
GigabitEthernet0/2 [down/down]
unassigned
GigabitEthernet0/3 [down/down]
unassigned
GigabitEthernet1/0 [up/up]
unassigned
GigabitEthernet1/1 [up/up]
unassigned
GigabitEthernet1/2 [down/down]
unassigned
GigabitEthernet1/3 [down/down]
unassigned
GigabitEthernet2/0 [up/up]
unassigned
GigabitEthernet2/1 [down/down]
unassigned
GigabitEthernet2/2 [down/down]
unassigned
GigabitEthernet2/3 [down/down]
unassigned
GigabitEthernet3/0 [down/down]
unassigned
GigabitEthernet3/1 [down/down]
unassigned
GigabitEthernet3/2 [down/down]
unassigned
GigabitEthernet3/3 [down/down]
unassigned
Vlan1 [up/up]
unassigned
SW-A#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi0/0, Gi0/1, Gi0/2, Gi0/3
Gi1/0, Gi1/1, Gi1/2, Gi1/3
Gi2/0, Gi2/1, Gi2/2, Gi2/3
Gi3/0, Gi3/1, Gi3/2, Gi3/3
<-- output omesso -->
SW-A#show int desc
Interface Status Protocol Description
Gi0/0 up up
Gi0/1 down down
Gi0/2 down down
Gi0/3 down down
Gi1/0 up up
Gi1/1 up up
Gi1/2 down down
Gi1/3 down down
Gi2/0 up up
Gi2/1 down down
Gi2/2 down down
Gi2/3 down down
Gi3/0 down down
Gi3/1 down down
Gi3/2 down down
Gi3/3 down down
Vl1 up up
Anche l’apparato SW-A è uno switch con IOS virtuale, con solo l’IP 192.168.0.254 configurato sotto la VLAN 1 che è anche l’unica VLAN configurata su tutte le 16 porte delle switch.
Procediamo nella verifica del CDP




