Reset Search
 

 

Article

How to configure and enable LLDP on EXOS-based Extreme Switches

« Go Back

Information

 
TitleHow to configure and enable LLDP on EXOS-based Extreme Switches
Objective
Configure, enable and verify the operability of the Link Layer Discovery Protocol (LLDP) on EXOS-based switches.
Environment
  • EXOS 15.x or later
  • All EXOS-based Switches
Procedure
LLDP is disabled by default on EXOS based switches.  The TLV (Type Length Value) format is used for the individual advertisements within the LLDP packets. In addition to the mandatory TLVs that must be advertised (including the Chassis ID, Port ID, Time To Live & End-of-LLDP PDU) when LLDP is enabled, some of the most commonly utilized Optional TLVs include: System Name, System Description, System Capability, Management address & VLAN name.

To configure and enable two EXOS based switches to exchange LLDP neighbor information using the commonly used TLVs mentioned above, the following sample configuration can be applied to the switch (Please modify the port numbers according to the switch platform in use and the ports that would need to be enabled for LLDP):

configure lldp ports [all | port_list] advertise port-description
configure lldp ports [all | port_list] advertise system-name
configure lldp ports [all | port_list] advertise system-capabilities
configure lldp ports [all | port_list] advertise management-address
configure lldp ports [all | port_list] advertise vendor-specific dot1 vlan-name
enable lldp ports  [all | port_list]


During LLDP testing in the lab, two Summit X460 switches running EXOS 15.7.2.9 were connected to each other via ports 11 on each X460 The switches were then configured and enabled for LLDP on port 11, as shown in the following CLI outputs:


* SW2-U39.11 # configure lldp port 11 advertise port-description
* SW2-U39.12 # configure lldp ports 11 advertise system-name
* SW2-U39.13 # configure lldp ports 11 advertise system-capabilities
* SW2-U39.14 # configure lldp ports 11 advertise management-address
* SW2-U39.15 # configure lldp ports 11 advertise vendor-specific dot1 vlan-name
* SW2-U39.16 # enable lldp ports 11


* SW2-U39.17 # show lldp ports 11

LLDP transmit interval           : 30 seconds
LLDP transmit hold multiplier    : 4  (used TTL = 120 seconds)
LLDP transmit delay              : 2 seconds
LLDP SNMP notification interval  : 5 seconds
LLDP reinitialize delay          : 2 seconds
LLDP-MED fast start repeat count : 3


LLDP Port Configuration:

Port    Rx          Tx        SNMP         Optional enabled transmit TLVs --
        Mode        Mode    Notification  LLDP      802.1       802.3  MED   AvEx  DCBX
===============================================================================
11      Enabled   Enabled   --            PNDCM  --N    ----   ----  ----  --
===============================================================================
Notification: (L) lldpRemTablesChange, (M) lldpXMedTopologyChangeDetected
LLDP Flags  : (P) Port Description, (N) System Name, (D) System Description
              (C) System Capabilities, (M) Mgmt Address
802.1 Flags : (P) Port VLAN ID, (p) Port & Protocol VLAN ID, (N) VLAN Name
802.3 Flags : (M) MAC/PHY Configuration/Status, (P) Power via MDI
              (+) Power via MDI with DLL Classification for PoE+,
              (L) Link Aggregation, (F) Frame Size
MED Flags   : (C) MED Capabilities, (P) Network Policy,
              (L) Location Identification, (p) Extended Power-via-MDI
AvEx Flags  : (P) PoE Conservation Request, (C) Call Server, (F) File Server
              (Q) 802.1Q Framing
DCBX Flags  : (I) IEEE 802.1Qaz DCBX, (B) Baseline v1.01 DCBX



The higlighted flags above reflect the optional LLDP TLVs that have been enabled on port 11 and that port 11 has been enabled for LLDP (Rx Mode and Tx Mode).

The "show lldp neighbor" & "show lldp neighbors detail" output will now reflect the information learned via LLDP from the neighbor switch including the configured optional TLVs,  as follows:

* SW2-U39.24 # sh lldp neighbors

Port     Neighbor Chassis ID        Neighbor Port ID           TTL     Age
=============================================================================
11       00:04:96:97:81:B3                       11                      120      7
=============================================================================
NOTE: The Chassis ID and/or Port ID might be truncated to fit the screen.

* SW2-U39.25 # sh lldp port 11 neighbors detailed

-----------------------------------------------------------------------------
LLDP Port 11 detected 1 neighbor
  Neighbor: 00:04:96:97:81:B3/11, age 15 seconds
    - Chassis ID type: MAC address (4)
      Chassis ID     : 00:04:96:97:81:B3
    - Port ID type: ifName (5)
      Port ID     : "11"
    - Time To Live: 120 seconds
    - Port Description: ""
    - System Name: "SW1-U38"
    - System Description: "ExtremeXOS (X460-24t) version 15.7.2.9 v1572b9 by\
                            release-manager on Wed Jul 8 16:27:07 EDT 2015"
    - System Capabilities : "Bridge, Router"
      Enabled Capabilities: "Bridge"
    - Management Address Subtype: IPv4 (1)
      Management Address        : 10.67.72.154
      Interface Number Subtype  : ifIndex (2)
      Interface Number          : 1000007
      Object ID String          : "null"
    - IEEE802.1 VLAN Name: "Default", VLAN ID: 1


We then created VLAN "V100" and added port 11 as tagged on both X460 switches to demonstrate how the VLAN information can be advertised via LLDP as shown in the following outputs:

SW2-U39.28 # create vlan "v100"
* SW2-U39.29 # configure vlan v100 tag 100
* SW2-U39.30 # configure vlan v100 add ports 11 tagged
* SW2-U39.31 #

The "show lldp ports 11 neighbors detail" output now include vlan "V100" as show in the output below:

* SW2-U39.35 # show lldp ports 11 neighbors detail

-----------------------------------------------------------------------------
LLDP Port 11 detected 1 neighbor
  Neighbor: 00:04:96:97:81:B3/11, age 17 seconds
    - Chassis ID type: MAC address (4)
      Chassis ID     : 00:04:96:97:81:B3
    - Port ID type: ifName (5)
      Port ID     : "11"
    - Time To Live: 120 seconds
    - Port Description: ""
    - System Name: "SW1-U38"
    - System Description: "ExtremeXOS (X460-24t) version 15.7.2.9 v1572b9 by\
                            release-manager on Wed Jul 8 16:27:07 EDT 2015"
    - System Capabilities : "Bridge, Router"
      Enabled Capabilities: "Bridge"
    - Management Address Subtype: IPv4 (1)
      Management Address        : 10.67.72.154
      Interface Number Subtype  : ifIndex (2)
      Interface Number          : 1000007
      Object ID String          : "null"
    - IEEE802.1 VLAN Name: "Default", VLAN ID: 1
    - IEEE802.1 VLAN Name: "v100", VLAN ID: 100
 
Additional notes

You can disable LLDP with the below command:

disable lldp ports [all | port_list]

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255