Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

show lldp neighbors

Displays a summary of link layer neighbors that are running LLDP.

show lldp neighbors [ detail ]

When used with no option, this command displays a summary of information about link layer neighbors.

detail
Optional. Displays detailed information about link layer neighbors.

Operational mode

Use this command to display information about link layer neighbors that are running LLDP.

If support for any legacy link-layer discovery protocol has been enabled (using service lldp legacy-protocols <protocol>), the system also displays neighbors discovered using that protocol.

The following example shows how to display a summary of link layer neighbors.

vyatta@vyatta:~$show lldp neighbors

Capability Codes: R - Router, B - Bridge, W - Wlan r - Repeater, S - Station
                  D - Docsis, T - Telephone, O - Other

Device ID        Local     Proto  Cap   Platform             Port ID 
---------        -----     -----  ---   --------             ------- 
R1               dp0p160p1 LLDP   RS    Vyatta Router      dp0p160p1
R2               dp0p160p1 LLDP   RS    Vyatta Router      dp0p160p1
HNF-BFD2         dp0p160p1 LLDP   RS    Vyatta Router      dp0p160p1
HNF-BF           dp0p192p1 LLDP   RS    Vyatta Router      dp0p192p1
HNF-BFD2         dp0p224p1 LLDP   RS    Vyatta Router      dp0p224p1

The following example shows how to display details of link layer neighbors.

vyatta@vyatta:~$show lldp neighbors detail
-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------
Interface:    dp0p1p1, via: CDPv1, RID: 3, Time: 0 day, 00:19:34
  Chassis:     
    ChassisID:    local medusa
    SysName:      medusa
    SysDescr:     cisco 2511 running on
Cisco Internetwork Operating System Software 
IOS (tm) 2500 Software (C2500-I-L), Version 12.0(14), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Tue 31-Oct-00 23:59 by linda
    MgmtIP:       10.1.0.9
    Capability:   Router, on
  Port:        
    PortID:       ifname Ethernet0
    PortDescr:    Ethernet0
-------------------------------------------------------------------------------
Interface:    dp0p1p1, via: LLDP, RID: 4, Time: 0 day, 00:19:28
  Chassis:     
    ChassisID:    mac 00:1b:21:44:70:44
    SysName:      tethys
    SysDescr:     Vyatta Series 3500 running on 999.larkspurse.04270036
    MgmtIP:       10.1.0.40
    Capability:   Bridge, off
    Capability:   Router, on
    Capability:   Wlan, off
  Port:        
    PortID:       mac 00:24:e8:7b:ca:6c
    PortDescr:    dp0p1p1
    PMD autoneg:  supported: yes, enabled: yes
      Adv:          10Base-T, HD: yes, FD: yes
      Adv:          100Base-T, HD: yes, FD: yes
      Adv:          1000Base-T, HD: no, FD: yes
      MAU oper type: 100BaseTXFD - 2 pair category 5 UTP, full duplex mode
  LLDP-MED:    
    Device Type:  Network Connectivity Device
    Capability:   Capabilities
    Capability:   Location
    Capability:   Inventory
    LLDP-MED Location Identification: Type: elin
      ECS ELIN:     0000000911
    Inventory:   
      Software Revision: 2.6.32-1-586-vyatta
      Firmware Revision: 2.0.11
      Serial Number: JGSM3K1
      Manufacturer: Vyatta
      Model:        Series 3500
-------------------------------------------------------------------------------
Interface:    dp0p1p4, via: LLDP, RID: 6, Time: 0 day, 00:00:03
  Chassis:     
    ChassisID:    mac 00:0c:29:8c:53:7c
    SysName:      R1
    SysDescr:     Vyatta Router running on Vyatta Subscription Edition 6.0 2010.03.22
    MgmtIP:       20.0.0.2
    Capability:   Bridge, off
    Capability:   Router, on
    Capability:   Wlan, off
  Port:        
    PortID:       ifname dp0p1p1
    PortDescr:    bridge
    PMD autoneg:  supported: yes, enabled: yes
      Adv:          10Base-T, HD: yes, FD: yes
      Adv:          100Base-T, HD: yes, FD: yes
      Adv:          1000Base-T, HD: no, FD: yes
      MAU oper type: 1000BaseTFD - Four-pair Category 5 UTP, full duplex mode
  LLDP-MED:    
    Device Type:  Network Connectivity Device
    Capability:   Capabilities
    Capability:   Location
    Capability:   Inventory
    LLDP-MED Location Identification: Type: address
      Country:      US
      Language:     English
      City, township: Belmont
      Street:       1301 Shoreway Road
      Name:         Vyatta, Inc. Corporate Headquarters
      Postal/ZIP code: 94002-4157
      Floor:        2nd
      Room number:  Suite 200
    Inventory:   
      Hardware Revision: None
      Software Revision: 2.6.32-1-586-vyatta-virt
      Firmware Revision: 6.00
      Serial Number: VMware-56 4d 6b 88 64 cc 44 27-2
      Manufacturer: VMware, Inc.
      Model:        VMware Virtual Platform
      Asset ID:     No Asset Tag
-------------------------------------------------------------------------------