Soru

Zorluk: OrtaLayer 2 Discovery Protocols (CDP and LLDP)

A network administrator executes the `show cdp neighbors` command on a Cisco Catalyst switch to inspect connected devices and receives the following output:

Device ID Local Intrfce Holdtme Capability Platform Port ID
SW-ACCESS-02 Gig 0/1 162 R S I WS-C3560 Gig 0/24

Based on this command output, which interface on the local switch directly connects to neighboring switch SW-ACCESS-02?

  1. GigabitEthernet 0/1Cevap
  2. B
    GigabitEthernet 0/24
  3. C
    VLAN 162
  4. D
    FastEthernet 0/1

Cevap

The local switch interface connected to SW-ACCESS-02 is GigabitEthernet 0/1.
In the `show cdp neighbors` command output, the 'Local Intrfce' column specifies the physical interface on the current (local) switch where the CDP advertisement was received. For the entry corresponding to device SW-ACCESS-02, the 'Local Intrfce' is GigabitEthernet 0/1 (abbreviated as Gig 0/1).

Adım Adım Çözüm

1
Examine the column headers of the `show cdp neighbors` output
Identify the columns for neighbor identity ('Device ID'), local port ('Local Intrfce'), remaining hold time ('Holdtme'), neighbor platform ('Platform'), and remote port ('Port ID').
Understanding the CLI output structure allows distinguishing local interface bindings from remote device port identifiers.
2
Locate the entry corresponding to Device ID 'SW-ACCESS-02'
Match 'SW-ACCESS-02' with its row entry.
The row contains parameters specifically sent by and associated with that neighboring device.
3
Read the value under the 'Local Intrfce' column for that row
The value is 'Gig 0/1', corresponding to local interface GigabitEthernet 0/1.
The 'Local Intrfce' field explicitly specifies the port on the local switch receiving the CDP advertisements from the neighbor.

Anahtar Kavram

CDP Neighbor Output Data Parsing (Local vs Remote Interface Identification)
Bu soruyu puanla