C H A P T E R  15

Feedback LLDP

The SEFOS LLDP module is a portable software implementation of the LLDP. The module provides complete management capabilities using SNMP and CLI.

The SEFOS LLDP module conforms to IEEE 802.1AB-2005 standard. The LLDP allows systems on an Ethernet LAN to advertise their key capabilities and also to learn about the key capabilities of other systems on the same Ethernet LAN. This, in turn, promotes a unified network management view of the LAN topology and connectivity to aid network administration and trouble-shooting.

The SEFOS LLDP module provides the following features:


15.1 LLDP Commands

The list of CLI commands for the configuration of LLDP is as follows:

15.1.1 shutdown lldp

Shutdowns LLDP on the system and the no form of the command starts LLDP on the system.


shutdown lldp


no shutdown lldp


Mode

Global Configuration

Defaults

no shutdown lldp

Example

SEFOS(config)# shutdown lldp


15.1.2 set lldp

Enables or disables LLDP on the system.


set lldp {enable | disable}


Mode

Global Configuration

Defaults

Disabled.

Example

SEFOS(config)# set lldp enable


Related Commands

15.1.3 lldp transmit-interval

Sets the transmission interval and the no form of the command sets the transmission interval to the default value.


lldp transmit-interval 5-32768_seconds


no lldp transmit-interval


Syntax Description

transmit-interval - Interval at which LLDPDUs are transmitted

Mode

Global Configuration

Defaults

30 seconds.

Example

SEFOS(config)# lldp transmit-interval 50


Related Commands

15.1.4 lldp holdtime-multiplier

Sets the multiplier value and the no form of the command sets the multiplier to the default value. The multiplier value is used to compute the time-to live(ttl) value (ttl = message transmission interval * hold time multiplier.


lldp holdtime-multiplier 2-10


no lldp holdtime-multiplier


Syntax Description

holdtime-multiplier value - Used to calculate time-to-live for the LLDP advertisements.

Mode

Global Configuration

Defaults

4

Example

SEFOS(config)# lldp holdtime-multiplier 5


Related Commands

15.1.5 lldp reinitialization-delay

Sets the reinitialization delay time and the no form of the command sets the reinitialization delay time to the default value.


lldp reinitialization-delay 1-10_seconds


no lldp reinitialization-delay


Syntax Description

reinitialization-delay - Time taken by LLDP to re-initialize on any interface.

Mode

Global Configuration

Defaults

2 seconds.

Example

SEFOS(config)# lldp reinitialization-delay 4


Related Commands

15.1.6 lldp tx-delay

Sets the transmit delay and the no form of the command sets the transmit delay to the default value.


lldp tx-delay 1-8192_seconds


no lldp tx-delay


Syntax Description

tx-delay - Minimum amount of delay between successive LLDPDU frame transmissions.

Mode

Global Configuration

Defaults

2 seconds.

Example

SEFOS(config)# lldp tx-delay 12


Related Commands

15.1.7 lldp notification-interval

Sets the notification interval and the no form of the command sets the notification interval to the default value.


lldp notification-interval 5-3600_seconds


no lldp notification-interval


Syntax Description

notification-level - Interval at which LLDP notifications are sent to NMS.

Mode

Global Configuration

Defaults

5 seconds.

Example

SEFOS(config)# lldp notification-interval 150


Related Commands

15.1.8 lldp chassis-id-subtype

Configures LLDP chassis identifier subtype and chassis identifier value of the chassis component, port component and local.

The chassis identifier value can be set only for the chassis-component and local system subtypes. For all other subtypes, the command takes the value from the system automatically.


lldp chassis-id-subtype {chassis-comp string_255 | if-alias | port-comp string_255 | mac-addr | nw-addr | if-name | local string_255}


Syntax Description

chassis-comp - Chassis component.

if-alias - Interface alias.

port-comp - Port component.

mac-addr - MAC address.

nw-addr - Network address.

if-name - Interface name.

local - Locally assigned.

Mode

Global Configuration

Defaults

mac-addr

Example

SEFOS(config)# lldp chassis-id-subtype chassis-comp Sunswitch

 

SEFOS(config)# lldp chassis-id-subtype if-alias


Related Commands

15.1.9 lldp port-id-subtype

Configures LLDP port identifier subtype and port identifier value for port component and local on a specific interface.


lldp port-id-subtype {if-alias | port-comp string_255 | mac-addr | if-name | local string_255}


Syntax Description

if-alias - Interface alias.

port-comp - Port component.

mac-addr - MAC address.

if-name - Interface name.

local - Locally assigned.

Mode

Interface Cofiguration

Defaults

if-alias

Example

SEFOS(config-if)# lldp port-id-subtype mac-addr

 

SEFOS(config-if)# lldp port-id-subtype local slot0/1


Related Commands

15.1.10 clear lldp counters

Clears all the interface related transmit and receive counters. This command does not clear the global statistics.


clear lldp counters


Mode

Global Configuration

Example

SEFOS(config)# clear lldp counters


Related Commands

15.1.11 clear lldp table

Clears all the learnt LLDP neighbors information.


clear lldp table


Mode

Global Configuration

Example

SEFOS(config)# clear lldp table


Related Commands

15.1.12 debug lldp

Specifies debug level for LLDP module. When no arguments are given, displays current debug level. The no form of the command disables debug option for LLDP module.


debug lldp [{all | [init-shut] [mgmt] [data-path] [ctrl] [pkt-dump] [resource] [all-fail] [buf] [neigh-add] [neigh-del] [neigh-updt] [neigh-drop] [neigh-ageout] [critical][tlv {all | [chassis-id][port-id] [ttl] [port-descr] [sys-name] [sys-descr] [sys-capab] [mgmt-addr] [port-vlan] [ppvlan] [vlan-name] [proto-id] [mac-phy] [pwr-mdi] [lagg] [max-frame]}] [redundancy]}]


no debug lldp [{all | [init-shut] [mgmt] [data-path] [ctrl] [pkt-dump] [resource] [all-fail] [buf] [neigh-add] [neigh-del] [neigh-updt] [neigh-drop] [neigh-ageout] [critical][tlv {all | [chassis-id][port-id] [ttl] [port-descr] [sys-name] [sys-descr] [sys-capab] [mgmt-addr] [port-vlan] [ppvlan] [vlan-name] [proto-id] [mac-phy] [pwr-mdi] [lagg] [max-frame]}] [redundancy]}]


Syntax Description

all - All trace messages.

init-shut - Init and shutdown debug messages.

mgmt - Management related messages.

data-path - Data path messages.

ctrl - Control plane messages.

pkt-dump - Packet dump messages.

resource - Messages related to all resources except buffers.

all-fail - All failures.

buf - Buffer allocation/release traces.

neigh-add - Neighbor add traces.

neigh-del - Neighbor delete traces.

neigh-updt - Neighbor update traces.

neigh-drop - Neighbor drop traces.

neigh-ageout - Neighbor ageout traces.

critical - Critical traces.

tlv all - TLV traces.

tlv chassis-id - Chassis identifier TLV traces.

tlv port-id - Port identifier TLV trace.

tlv ttl - TTL TLV trace.

tlv port-descr - Port description TLV traces.

tlv sys-name - System name TLV traces.

tlv sys-descr - System description TLV traces.

tlv sys-capab - System capabilities TLV traces.

tlv mgmt-addr - Management address TLV traces.

tlv port-vlan - Port-vlan TLV traces.

tlv ppvlan - Port-protocol-vlan TLV traces.

tlv vlan-name - Vlan-name TLV traces.

tlv proto-id - Protocol identifiers TLV traces.

tlv mac-phy - MAC or PHY TLV traces.

tlv pwr-mdi - Power-through-MDI TLV traces.

tlv lagg - Link aggregation TLV traces.

tlv max-frame - Maximum frame size TLV traces.

redundancy - LLDP redundancy traces. The keyword redundancy is not supported.

Mode

Privileged EXEC

Defaults

Critical.

Example

SEFOS# debug lldp init-shut mgmt

 

SEFOS# debug lldp tlv sys-descr lagg

 

SEFOS# debug lldp


15.1.13 show lldp

Displays LLDP Global Configuration details.


show lldp


Mode

Privileged EXEC

Example

SEFOS# show lldp

 

LLDP is enabled

Transmit Interval : 30

Holdtime Multiplier : 4

Reinitialization Delay : 2

Tx Delay : 2

Notification Interval : 5

Chassis Id SubType : Mac Address

Chassis Id : 00:02:02:03:04:01


Related Commands

15.1.14 show lldp interface

Displays LLDP configuration details on a particular interface or all interfaces.


show lldp interface [interface-type interface-id]


Syntax Description

interface-type - Interface type.

interface-id - Interface identifier.

Mode

Privileged EXEC

Example

SEFOS# show lldp interface extreme-ethernet 0/1

Ex0/1:

Tx State : Enabled

Rx State : Enabled

Tx SEM State : IDLE

Rx SEM State : WAIT FOR FRAME

Notification Status : Disabled

Notification Type : Mis-configuration


Related Commands

15.1.15 show lldp neighbors

Displays information about neighbors learned on an interface or all interfaces.


show lldp neighbors [chassis-id string_255 port-id string_255] [interface-type interface-id] [detail]


Syntax Description

chassis-id - Chassis identifier.

port-id - Port identifier.

interface-type- Interface type.

interface-id - Interface identifier.

detail - Displays the information obtained from all the TLVs received.

Mode

Privileged EXEC

Example

SEFOS# show lldp neighbors

Capability Codes :

(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device,

(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other

 

Chassis ID Local Intf Hold-time Capability Port Id

---------- ---------- --------- ---------- -------

 

00:02:02:03:04:01 Ex0/3 120 Slot0/2

00:01:02:03:04:01 Ex0/2 120 Slot0/2

00:01:02:03:04:01 Ex0/3 120 Slot0/2

 

00:01:02:03:04:01 Ex0/2 120 Slot0/2

00:01:02:03:04:01 Ex0/3 120 Slot0/2

 

Total Entries Displayed : 5

 

SEFOS# show lldp neighbors chassis-id 00:01:02:03:04:01 port-id Slot0/2

 

Capability Codes :

(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device,

(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other

 

Chassis ID Local Intf Hold-time Capability Port Id

 

---------- ---------- --------- ---------- -------

00:01:02:03:04:01 Ex0/2 120 Slot0/2

00:01:02:03:04:01 Ex0/3 120 Slot0/2

 

Total Entries Displayed : 2

 

 

SEFOS# show lldp neighbors chassis-id 00:01:02:03:04:01 port-id Slot0/2 extreme-ethernet 0/2

 

Capability Codes :

(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device,

(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other

 

Chassis ID Local Intf Hold-time Capability Port Id

---------- ---------- --------- ---------- -------

00:01:02:03:04:01 Ex0/2 120 Slot0/2

 

Total Entries Displayed : 1

 

SEFOS# show lldp neighbors chassis-id 00:01:02:03:04:01 port-id Slot0/2 detail

 

Capability Codes :

(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device,

(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other

 

Chassis ID Local Intf Hold-time Capability Port Id

---------- ---------- --------- ---------- -------

00:01:02:03:04:01 Ex0/2 120 Slot0/2

00:01:02:03:04:01 Ex0/3 120 Slot0/2

 

Total Entries Displayed : 2

 

 

SEFOS# show lldp neighbors chassis-id 00:01:02:03:04:01 port-id Slot0/2 extreme-ethernet 0/2

 

Capability Codes :

(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device,

(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other

 

Chassis ID Local Intf Hold-time Capability Port Id

---------- ---------- --------- ---------- -------

00:01:02:03:04:01 Ex0/2 120 Slot0/2

 

Total Entries Displayed : 1

 

SEFOS# show lldp neighbors chassis-id 00:01:02:03:04:01 port-id Slot0/2 detail

 

Capability Codes :

(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device,

(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other

 

Chassis Id SubType : Mac Address

Chassis Id : 00:01:02:03:04:01

Port Id SubType : Interface Alias

Port Id : Slot0/2

Port Description : Not Advertised

 

System Name : Not Advertised

System Desc : Not Advertised

Local Intf : Ex0/2

Time Remaining : 92 Seconds

System Capabilities Tlv : Not Advertised

Management Addresses : Not Advertised

 

Extended 802.3 TLV Info

-MAC PHY Configuration & Status

 

Auto Negotiation Tlv : Not Advertised

-Link Aggregation

Link Aggregation Tlv : Not Advertised

-Maximum Frame Size Tlv : Not Advertised

 

Extended 802.1 TLV Info

-Port VLAN Id : 0

-Port & Protocol VLAN Id

Protocol Vlan Tlv : Not Advertised

-Vlan Name

Vlan Id Vlan Name

------- ---------

 

------------------------------------------------------------

Chassis Id SubType : Mac Address

Chassis Id : 00:01:02:03:04:01

Port Id SubType : Interface Alias

Port Id : Slot0/2

Port Description : Not Advertised

System Name : Not Advertised

System Desc : Not Advertised

Local Intf : Ex0/3

Time Remaining : 92 Seconds

System Capabilities Tlv : Not Advertised

Management Addresses : Not Advertised

 

Extended 802.3 TLV Info

-MAC PHY Configuration & Status

Auto Negotiation Tlv : Not Advertised

-Link Aggregation

Link Aggregation Tlv : Not Advertised

-Maximum Frame Size Tlv : Not Advertised

 

Extended 802.1 TLV Info

-Port VLAN Id : 0

-Port & Protocol VLAN Id

Protocol Vlan Tlv : Not Advertised

-Vlan Name

Vlan Id Vlan Name

------- ---------

------------------------------------------------------------

 

Total Entries Displayed : 2

 

SEFOS# show lldp neighbors extreme-ethernet 0/1 detail

 

Capability Codes :

(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device,

(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other

 

Chassis Id SubType : Mac Address

Chassis Id : 00:01:02:03:04:01

Port Id SubType : Interface Alias

Port Id : Slot0/1

 

Port Description : Ethernet Interface

System Name : Oracle Router Ver 1.0

System Desc : SNMPV2

Local Intf : Ex0/1

Time Remaining : 95 Seconds

System Capabilities Supported : B,R

System Capabilities Enabled : B,R

Management Addresses :

IfId SubType Address OID

---- ------- ------- ---

33 IPv4 12.0.0.1 1 3 6 1 2 1 2 2 1 1

 

Extended 802.3 TLV Info

-MAC PHY Configuration & Status

Auto-Neg Support & Status : Supported, Disabled

Advertised Capability Bits : 8000

Other

-Link Aggregation

Capability & Status : Not Capable, Not In Aggregation

Aggregated Port Id : 1

-Maximum Frame Size : 1500

 

Extended 802.1 TLV Info

-Port VLAN Id : 1

-Port & Protocol VLAN Id

Protocol Vlan Id Support Status

---------------- ------- ------

1 Supported Enabled

2 Supported Enabled

 

30 Supported Enabled

-Vlan Name

Vlan Id Vlan Name

------- ---------

1 vlan1

2 vlan2

30 vlan30

------------------------------------------------------------

 

Total Entries Displayed : 1


Related Commands

15.1.16 show lldp traffic

Displays LLDP counters on all interfaces or on a specific interface. This includes the following:

Total TLVs discarded


show lldp traffic [iftype ifnum]


Syntax Description

iftype - Interface type

ifnum - Interface number

Mode

Privileged EXEC

Example

SEFOS# show lldp traffic

Total Frames Out : 107

Total Entries Aged : 0

Total Frames In : 159

Total Frames Received In Error : 0

Total Frames Discarded : 0

Total TLVS Unrecognized : 0

Total TLVs Discarded : 0

 

SEFOS# show lldp traffic extreme-ethernet 0/1

Total Frames Out : 49

Total Entries Aged : 0

Total Frames In : 42

Total Frames Received In Error : 0

Total Frames Discarded : 0

Total TLVS Unrecognized : 0

Total TLVs Discarded : 0


Related Commands

15.1.17 show lldp local

Displays the current switch information that will be used to populate outbound LLDP advertisements for a specific interface or all interfaces.


show lldp local {[interface-type interface-id] | [mgmt-addr]}


Syntax Description

interface-type - Interface type.

interface-id - Interface identifier.

mgmt-addr - All the management addresses configured in the system and Tx enabled ports.

Mode

Privileged EXEC

Example

SEFOS# show lldp local extreme-ethernet 0/1

Port Id SubType : Interface Alias

Port Id : Slot0/1

Port Description : Ethernet Interface

Enabled Tx Tlvs : Port Description, System Name,

System Description, System Capability,

Management Address, Port Vlan, Mac Phy,

Link Aggregation, Max Frame Size

 

Extended 802.3 TLV Info

-MAC PHY Configuration & Status

Auto-Neg Support & Status : Supported, Disabled

Advertised Capability Bits : 8000

Other

Operational MAU Type : 0

-Link Aggregation

Capability & Status : Not Capable, Not In Aggregation

Aggregated Port Id : 1

-Maximum Frame Size : 1500

 

Extended 802.1 TLV Info

-Port VLAN Id : 1

-Port & Protocol VLAN Id

Protocol VLAN Id Support Protocol VLAN Status TxStatus

---------------- ------- -------------------- --------

1 Supported Enabled Enabled

2 Supported Enabled Enabled

 

30 Supported Enabled Enabled

-Vlan Name

Vlan Id Vlan Name TxStatus

------- --------- --------

1 vlan1 Enabled

2 vlan2 Enabled

30 vlan3 Enabled

------------------------------------------------------------

 

SEFOS# show lldp local mgmt-addr

Management Address TxEnabledPorts

------------------ --------------

13.0.0.1 Ex0/1

15.0.0.1 Ex0/1


Related Commands

15.1.18 show lldp errors

Displays the information about the errors such as memory allocation failures, queue overflows and table overflow.


show lldp errors


Mode

Privileged EXEC

Example

SEFOS# show lldp errors

Total Memory Allocation Failures : 0

Total Input Queue Overflows : 0

Total Table Overflows : 0


Related Commands

15.1.19 show lldp statistics

Displays the LLDP remote table statistics information.


show lldp statistics


Mode

Privileged EXEC

Example

SEFOS# show lldp statistics

Remote Table Last Change Time : 100300

Remote Table Inserts : 5

Remote Table Deletes : 0

Remote Table Drops : 0

Remote Table Ageouts : 0

Remote Table Updates : 4


Related Commands

15.1.20 lldp transmit | receive

Sets LLDP admin status on an interface to transmit or receive and the no form of the command resets LLDP admin status on an interface.


lldp {transmit | receive}


no lldp {transmit | receive}


Syntax Description

transmit - Enables Transmission of LLDPDU.

receive - Enables Reception of LLDPDU.

Mode

Interface Cofiguration

Defaults

Transmission and reception are enabled.

Example

SEFOS(config-if)# lldp transmit

 

SEFOS(config-if)# lldp receive


Related Commands

15.1.21 lldp notification

Enables LLDP trap notification on an interface. The no form of the command disables LLDP trap notification on an interface.


lldp notification [remote-table-chg] [mis-configuration]


no lldp notification


Syntax Description

remote-table-chg - Trap notification for change in neighbor’s table.

mis-configuration - Trap notification for mis-configuration.

Mode

Interface Cofiguration

Defaults

mis-configuration

Example

SEFOS(config-if)# lldp notification remote-table-chg


Related Commands

15.1.22 lldp tlv-select basic-tlv

Enables the basic TLV transmission on a given port. The no form of the command disables the basic TLV transmission on a given port.


lldp tlv-select basic-tlv {[port-descr] [sys-name] [sys-descr] [sys-capab] [mgmt-addr {all | ipv4 ucast-addr> | ipv6 ip6-addr}]}


no lldp tlv-select basic-tlv {[port-descr] [sys-name] [sys-descr] [sys-capab] [mgmt-addr {all | ipv4 ucast-addr> | ipv6 ip6-addr}]}


Syntax Description

port-descr - Port description TLV.

sys-name - System name TLV.

sys-descr- System description TLV.

sys-capab - System capabilities TLV.

mgmt-addr all- Enables the transmission of all the available management address on the current interface. If no management address is present or configured in the system, switch mac-address will be taken for transmission.

mgmt-addr ipv4 ucast-addr - Enables the transmission of a particular ipv4 address on the current interface.

mgmt-addr ipv6 ipv6-addr - Enables the transmission of a particular ipv6 address on the current interface.

Mode

Interface Configuration

Example

SEFOS(config-if)# lldp tlv-select basic-tlv port-descr mgmt-addr all


Related Commands

15.1.23 lldp tlv-select dot1tlv

Configures dot1 TLV types to be transmitted on a port and the no form of the command disables the transmission of dot1 TLV types on a port.


lldp tlv-select dot1tlv {[port-vlan-id] [protocol-vlan-id {all |vlan-id}] [vlan-name {all | vlan-id}]}


no lldp tlv-select dot1tlv {[port-vlan-id] [protocol-vlan-id {all |vlan-id}] [vlan-name {all | vlan-id}]}


Syntax Description

port-vlan-id - Port VLAN identifier TLV. The keyword port-vlan-id keyword is not supported.

protocol-vlan-id - Protocol VLAN identifier TLV. The keyword protocol-vlan-id is not supported.

vlan-name - Vlan-name TLV.

Mode

Interface Cofiguration

Example

SEFOS(config)# vlan 8

SECOS(config-vlan)# ports ex 0/8 name vlan8

SEFOS(config-vlan)# exit

SEFOS(config)# int ex 0/8

SEFOS(config-if)# lldp tlv-select dot1tlv vlan-name 8


Related Commands

15.1.24 lldp tlv-select dot3tlv

Configures dot3 TLV types to be transmitted on a port. The no form of the command disables the transmission of dot3 TLV types on a port.


lldp tlv-select dot3tlv {[macphy-config] [link-aggregation] [max-framesize]}


no lldp tlv-select dot3tlv {[macphy-config] [link-aggregation] [max-framesize]}


Syntax Description

macphy-config - MAC or PHY TLV.

link-aggregation - Link aggregation TLV.

max-framesize - Maximum frame size TLV.

Mode

Interface Cofiguration

Example

SEFOS(config-if)# lldp tlv-select dot3tlv macphy-config


Related Commands

 

Feedback