How to obtain LLDP information on the Management switch in VMware Cloud Foundation
search cancel

How to obtain LLDP information on the Management switch in VMware Cloud Foundation

book

Article ID: 316772

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

This article provides instructions for how to obtain LLDP information on the Management Switch in VMware Cloud Foundation.

Resolution

  1. ssh to the SDDC Manager Controller VM.
  2. Run the following command to get the password for the cumulus user.
 /home/vrack/bin/lookup-password
 
Note: The cumulus user entry will be under the Management entry.
  1.  ssh to the management switch using the cumulus user account.
  2. Issue the lldpctl command to query the LLDP information on the switch and to see the configuration:        
sudo /usr/sbin/lldpctl

Notes:
  • Enter the cumulus user password obtained in Step 2 when prompted.
  • The output can be formatted in json or xml since the 'net show interface all' and 'net show configuration' commands uses these formats to create the LLDP cache to show these configurations. This can be useful if the 'net' commands are failing.        
sudo /usr/sbin/lldpctl -f json
sudo /usr/sbin/lldpctl -f xml