LLDP - Link Layer Discovery Protocol
What is LLDP?
LLDP stands for Link Layer Discovery Protocol. It’s a vendor-neutral Layer 2 protocol used by network devices to advertise their identity and capabilities to directly connected devices.
Why is LLDP useful?
Without LLDP, network administrators would have to manually trace cables or log into devices to identify what’s connected where. LLDP simplifies network mapping, troubleshooting, and management by automatically sharing device information.
How it works
Device sends LLDP advertisements – Each LLDP-enabled device periodically sends out LLDP Data Units (LLDPDUs) on its interfaces.
Neighbor receives and stores info – Connected devices receive these messages and store the information in a neighbor table.
Information includes – Device name, port ID, capabilities, IP address, and more.
Network management tools – Can query this data to build a topology map of the network.
Where is LLDP used?
Enterprise networks – For automatic device discovery and documentation.
Data centers – To manage complex interconnections between switches, servers, and routers.
VoIP deployments – Phones use LLDP to learn VLAN and QoS settings from switches.
Multi-vendor environments – Since LLDP is standards-based, it works across different brands.
Which OSI layer does this protocol belong to?
LLDP operates at the Data Link Layer (Layer 2).
It uses Ethernet frames with EtherType 0x88CC.
It does not require IP addressing or higher-layer protocols.
It only communicates with directly connected neighbors.
What are the key features of LLDP?
Vendor-Neutral Standard
Neighbor Discovery
TLV Structure (Type-Length-Value)
What is LLDP-MED?
LLDP-MED is an extension to LLDP used mainly in VoIP and telephony, defined in ANSI/TIA-1057. It provides: * Network policy (voice VLAN, DSCP) * Location data (for 911 services) * Inventory management
What type of devices support LLDP?
Switches
Routers
Wireless access points
IP phones
Servers
What information does LLDP share?
Each LLDP message (called an LLDPDU) includes: * Device name (System Name) * Port ID (interface name/number) * System description * Port description * MAC address * VLAN info * Capabilities (e.g., bridge, router, etc.) * Management IP address
How long is LLDP information retained?
The default Time to Live (TTL) is 120 seconds.
If no LLDP messages are received within TTL, the neighbor entry is removed.
What is the working flow of LLDP?
LLDP is enabled on a device
Devices like switches, routers, or servers have LLDP service running.
On Linux, the lldpd service does this.
LLDP gathers local details such as: * Device name * Port number * System description * VLAN info * Management IP * Capabilities
LLDP sends LLDPDU messages: * Sent every 30 seconds by default * Broadcast in Ethernet frames using reserved multicast MAC: 01:80:C2:00:00:0E
Neighbor devices receive and store: * Devices that support LLDP listen for LLDPDUs * Store received neighbor data in an LLDP table * If no LLDP messages are received within TTL, the entry is removed
Is LLDP suitable for real-time applications?
No, LLDP is intended for network discovery and management purposes. It is not designed for real-time traffic such as voice, video, or live data streaming.
Topics in this section,
In this section, you are going to learn
Terminology
Version Info
S.No |
Version |
IEEE |
Year |
contribution/core ideas |
---|---|---|---|---|
1 |
LLDP/1.0 |
IEEE 802.1AB-2005 |
2005 |
Original version of LLDP; defines a vendor-neutral Layer 2 protocol for advertising identity, capabilities, and neighbors on IEEE 802 networks. |
2 |
LLDP/1.1 |
IEEE 802.1AB-2009 |
2009 |
Minor updates and clarifications to the original standard. |
3 |
LLDP/1.2 |
IEEE 802.1AB-2016 |
2016 |
Latest revision; includes enhancements for management and interoperability. |
setup
setup
LLDP CHASSIS ID TLV Packet
S.No |
Packet Components |
Description |
Size(Bytes) |
---|---|---|---|
1 |
Chassis ID TLV |
Identifies the device sending the LLDP packet (e.g., MAC address). |
7257 |
Type |
TLV type = 1 (Chassis ID) |
1 |
|
Length |
Length of the value field |
1 |
|
Subtype |
Type of chassis ID (e.g., MAC = 4) |
1 |
|
Chassis ID |
Actual identifier (e.g., MAC address) |
1254 |
LLDP PORT ID TLV Packet
2 |
Port ID TLV |
Identifies the port/interface sending the LLDP packet. |
4257 Bytes |
---|---|---|---|
Type |
TLV type = 2 (Port ID) |
1 |
|
Length |
Length of the value field |
1 |
|
Subtype |
Type of port ID (e.g., interface name = 5) |
1 |
|
Port ID |
Actual port identifier (e.g., “eth0”) |
1254 |
LLDP TIME TO LIVE TLV Packet
3 |
Time To Live (TTL) TLV |
Specifies how long the LLDP info is valid. |
4 Bytes |
---|---|---|---|
Type |
TLV type = 3 (TTL) |
1 |
|
Length |
Length of the value field |
1 |
|
TTL |
Time in seconds |
2 |
LLDP SYSTEM NAME TLV Packet
4 |
System Name TLV |
Provides the hostname of the device. |
3257 Bytes |
---|---|---|---|
Type |
TLV type = 5 |
1 |
|
Length |
Length of system name |
1 |
|
System Name |
Hostname string |
1255 |
LLDP SYSTEM DESCRIPTION TLV Packet
LLDP SYSTEM CAPABILITIES TLV Packet |
LLDP MANAGEMENT ADDRESS TLV Packet |
LLDP END OF LLDPDU TLV Packet |
8 |
End of LLDPDU TLV |
Marks the end of the LLDP data unit. |
2 Bytes |
---|---|---|---|
Type |
TLV type = 0 (End of LLDPDU) |
1 |
|
Length |
Always 0 |
1 |
S.No |
Use Case |
Description |
---|---|---|
1 |
Network Topology Discovery |
Helps network administrators map out physical connections between devices. |
2 |
Device Identification |
Allows switches, routers, and endpoints to advertise their identity and role. |
3 |
Troubleshooting and Diagnostics |
Simplifies identifying misconfigured or disconnected devices. |
4 |
VoIP Device Detection |
Automatically detects IP phones and applies appropriate QoS settings. |
5 |
Automatic Configuration |
Enables dynamic configuration of ports based on connected device type. |
6 |
Data Center Management |
Assists in managing large-scale environments by identifying server connections. |
7 |
Security Monitoring |
Helps detect unauthorized or rogue devices on the network. |
8 |
Interoperability |
Facilitates communication between devices from different vendors. |
9 |
Power over Ethernet (PoE) Support |
Identifies power requirements of connected devices like IP cameras or phones. |
10 |
Network Inventory Management |
Provides real-time data for asset tracking and documentation. |
S.No |
LLDP features |
Description |
---|---|---|
1 |
Vendor-Neutral Protocol |
Works across devices from different manufacturers (IEEE 802.1AB standard). |
2 |
Uses TLV Structure |
Information is exchanged using Type-Length-Value format for flexibility. |
3 |
Layer 2 Protocol |
Operates at the Data Link Layer (Layer 2), using Ethernet frames. |
4 |
Periodic Advertisements |
Devices send LLDP packets at regular intervals to announce their presence. |
5 |
One-Way Communication |
LLDP is a unidirectional protocoleach device sends its own info independently. |
6 |
Supports Optional TLVs |
Allows additional data like system name, capabilities, and management address. |
7 |
Low Overhead |
Lightweight protocol with minimal impact on network performance. |
8 |
Fast Link Detection |
Quickly detects changes in network topology or device connections. |
9 |
Supports Multiple Neighbors |
Can advertise and receive information from multiple devices on the same port. |
10 |
Extensible for Custom Use |
Vendors can define custom TLVs for proprietary features or enhancements. |
Vendor Neutral Protocol - Testcases
S.No |
Test Case |
Description |
Expected Result |
---|---|---|---|
1 |
LLDP Basic Discovery |
Enable LLDP on two devices |
Devices discover each other |
2 |
LLDP Disabled |
Disable LLDP on one device |
No LLDP neighbor discovered |
3 |
LLDPDU Transmission |
Verify LLDPDU is sent every 30s |
LLDPDU observed in packet capture |
4 |
LLDPDU Reception |
Verify LLDPDU is received |
LLDP neighbor info updated |
5 |
Chassis ID TLV |
Validate Chassis ID TLV format |
Correct Chassis ID displayed |
6 |
Port ID TLV |
Validate Port ID TLV format |
Correct Port ID displayed |
7 |
TTL TLV |
Check TTL value in LLDPDU |
TTL matches configured value |
8 |
System Name TLV |
Verify system name is advertised |
Correct system name shown |
9 |
System Description TLV |
Verify system description TLV |
Description matches device info |
10 |
Port Description TLV |
Validate port description TLV |
Port description is accurate |
11 |
System Capabilities TLV |
Check capabilities advertised |
Matches device capabilities |
12 |
Management Address TLV |
Validate management address TLV |
IP address is reachable |
13 |
LLDPDU Interval Change |
Change LLDPDU interval |
LLDPDU sent at new interval |
14 |
LLDP Hold Time |
Modify hold time |
Neighbor info expires accordingly |
15 |
LLDP Over VLAN |
Enable LLDP on trunk port |
LLDP works across VLANs |
16 |
LLDP Over LAG |
Enable LLDP on LAG interface |
LLDP works on aggregated link |
17 |
LLDP Over Loopback |
Enable LLDP on loopback |
LLDP does not operate |
18 |
LLDP Over Wireless |
Enable LLDP on wireless interface |
LLDP not supported or ignored |
19 |
LLDP Packet Size |
Check LLDPDU size |
Within MTU limits |
20 |
LLDP Multivendor Interop |
Connect different vendor devices |
LLDP info exchanged correctly |
21 |
LLDP Neighbor Timeout |
Disconnect neighbor |
Entry removed after TTL |
22 |
LLDP Reconnect |
Reconnect neighbor |
Entry reappears |
23 |
LLDP Packet Capture |
Capture LLDPDU using sniffer |
LLDPDU visible with correct TLVs |
24 |
LLDP Security |
Check for spoofed LLDPDU |
Device ignores invalid LLDPDU |
25 |
LLDP Logging |
Check system logs for LLDP events |
LLDP events logged correctly |
26 |
LLDP SNMP Support |
Query LLDP MIB via SNMP |
LLDP info retrievable |
27 |
LLDP CLI Display |
Show LLDP neighbors via CLI |
Accurate neighbor info shown |
28 |
LLDP GUI Display |
View LLDP info in GUI |
Matches CLI output |
29 |
LLDP Restart |
Restart LLDP service |
LLDP resumes normal operation |
30 |
LLDP Interface Specific |
Enable LLDP on specific port |
Only that port advertises |
31 |
LLDP TLV Order |
Check TLV order in LLDPDU |
TLVs follow standard order |
32 |
LLDP Optional TLVs |
Enable/disable optional TLVs |
LLDPDU reflects changes |
33 |
LLDP Fast Start |
Enable fast start |
LLDPDU sent more frequently |
34 |
LLDP-MED Support |
Enable LLDP-MED |
MED TLVs appear in LLDPDU |
35 |
LLDP-MED Location TLV |
Validate location TLV |
Location info accurate |
36 |
LLDP-MED Policy TLV |
Validate policy TLV |
Policy info matches config |
37 |
LLDP-MED Power TLV |
Validate power TLV |
Power info shown |
38 |
LLDP-MED Inventory TLV |
Validate inventory TLV |
Device inventory info visible |
39 |
LLDP-MED Interop |
Interop with VoIP phone |
Phone receives correct info |
40 |
LLDP with STP |
Enable LLDP with STP |
No interference observed |
41 |
LLDP with CDP |
Enable LLDP and CDP |
Both protocols coexist |
42 |
LLDP with DCBX |
Enable LLDP with DCBX |
DCBX TLVs exchanged |
43 |
LLDP with LLDPv2 |
Interop with LLDPv2 device |
Backward compatibility maintained |
44 |
LLDP TLV Corruption |
Send malformed TLV |
Device discards LLDPDU |
45 |
LLDP Rate Limiting |
Enable rate limiting |
LLDPDU rate is controlled |
46 |
LLDP CPU Load |
Monitor CPU during LLDP |
Minimal CPU impact |
47 |
LLDP Memory Usage |
Monitor memory usage |
Within acceptable limits |
48 |
LLDP Interface Flap |
Flap interface |
LLDP neighbor info updates |
49 |
LLDP Firmware Upgrade |
Upgrade firmware |
LLDP config persists |
50 |
LLDP Configuration Backup |
Backup and restore LLDP config |
LLDP settings restored correctly |
Uses TLV Structure - Testcases
S.No |
Test Case |
Description |
Expected Result |
---|---|---|---|
1 |
TLV Format Validation |
Verify TLV follows Type-Length-Value format |
TLV structure is correct |
2 |
Mandatory TLVs Presence |
Check for Chassis ID, Port ID, TTL |
All mandatory TLVs present |
3 |
Optional TLVs Presence |
Check for optional TLVs like System Name |
Optional TLVs present if configured |
4 |
TLV Order |
Verify TLVs are in correct order |
TLVs follow standard order |
5 |
TLV Length Field Accuracy |
Validate length field matches actual value |
Length field is accurate |
6 |
TLV Type Field Accuracy |
Validate type field matches TLV type |
Type field is correct |
7 |
TLV Value Field Accuracy |
Validate value field content |
Value matches expected data |
8 |
TLV Padding |
Check for unnecessary padding |
No extra padding present |
9 |
TLV End of LLDPDU |
Verify End of LLDPDU TLV is present |
End TLV is correctly placed |
10 |
TLV Parsing |
Ensure device can parse all TLVs |
All TLVs parsed without error |
11 |
TLV Corruption Handling |
Send malformed TLV |
Device discards or logs error |
12 |
TLV Truncation |
Send truncated TLV |
Device handles gracefully |
13 |
TLV Overflow |
Send TLV with length > actual data |
Device discards TLV |
14 |
TLV Underflow |
Send TLV with length < actual data |
Device discards TLV |
15 |
TLV Repetition |
Send duplicate TLVs |
Device handles duplicates correctly |
16 |
TLV Omission |
Omit mandatory TLV |
LLDPDU is discarded |
17 |
TLV Extension |
Add custom TLV |
Device ignores or logs unknown TLV |
18 |
TLV Encoding |
Validate character encoding in TLVs |
UTF-8 or ASCII as per spec |
19 |
TLV Alignment |
Check byte alignment of TLVs |
TLVs are byte-aligned |
20 |
TLV Length Limit |
Send TLV with max allowed length |
TLV accepted if within limit |
21 |
TLV Length Exceeded |
Send TLV exceeding max length |
TLV rejected |
22 |
TLV Type Range |
Use reserved TLV type |
Device ignores or logs |
23 |
TLV Value Validation |
Validate content of known TLVs |
Matches expected format |
24 |
TLV Interoperability |
Exchange TLVs with other vendors |
TLVs interpreted correctly |
25 |
TLV Update |
Change TLV value and observe update |
Neighbor info reflects change |
26 |
TLV Refresh |
Periodic TLV refresh |
TLVs updated at interval |
27 |
TLV Expiry |
TTL expiry removes TLVs |
Neighbor info cleared |
28 |
TLV Filtering |
Filter specific TLVs |
Filtered TLVs not sent |
29 |
TLV Logging |
Log TLV parsing errors |
Errors logged correctly |
30 |
TLV SNMP Access |
Access TLVs via SNMP |
TLV data available in MIB |
31 |
TLV GUI Display |
Display TLVs in GUI |
Matches CLI and packet capture |
32 |
TLV CLI Display |
Show TLVs via CLI |
Accurate TLV info shown |
33 |
TLV in Packet Capture |
Capture and decode TLVs |
TLVs visible and decodable |
34 |
TLV with VLAN Info |
Include VLAN info in TLV |
VLAN TLV shown if supported |
35 |
TLV with Power Info |
Include power TLV (LLDP-MED) |
Power TLV visible |
36 |
TLV with Location Info |
Include location TLV (LLDP-MED) |
Location TLV visible |
37 |
TLV with Policy Info |
Include policy TLV (LLDP-MED) |
Policy TLV visible |
38 |
TLV with Inventory Info |
Include inventory TLV (LLDP-MED) |
Inventory TLV visible |
39 |
TLV with DCBX Info |
Include DCBX TLVs |
DCBX TLVs visible |
40 |
TLV with Custom Info |
Add custom organizational TLV |
Custom TLV visible if supported |
41 |
TLV with Invalid Type |
Use invalid TLV type |
Device ignores TLV |
42 |
TLV with Invalid Length |
Use incorrect length field |
TLV discarded |
43 |
TLV with Null Value |
Send TLV with empty value |
TLV accepted or ignored |
44 |
TLV with Max Neighbors |
Send TLVs from many neighbors |
Device handles all entries |
45 |
TLV with Fast Start |
TLVs sent rapidly |
TLVs updated quickly |
46 |
TLV with Hold Multiplier |
Adjust hold multiplier |
TTL reflects change |
47 |
TLV with Interface Flap |
Interface flaps during TLV exchange |
TLVs re-advertised |
48 |
TLV with Firmware Upgrade |
Upgrade firmware |
TLV config persists |
49 |
TLV with Config Restore |
Restore config |
TLV settings restored |
50 |
TLV with Rate Limiting |
Apply rate limit |
TLVs sent within limits |
Layer 2 Protocol - Testcases
S.No |
Test Case |
Description |
Expected Result |
---|---|---|---|
1 |
LLDP Frame Format |
Verify LLDP Ethernet frame format |
Frame matches IEEE 802.1AB |
2 |
LLDP Ethertype |
Check Ethertype value |
Ethertype is 0x88CC |
3 |
LLDP MAC Address |
Verify destination MAC address |
MAC is 01:80:C2:00:00:0E |
4 |
LLDP Broadcast Behavior |
Ensure LLDP frames are not flooded |
Frames sent only to LLDP-capable ports |
5 |
LLDP VLAN Transparency |
Check LLDP operation across VLANs |
LLDP functions independently of VLANs |
6 |
LLDP on Access Port |
Enable LLDP on access port |
LLDPDU sent and received |
7 |
LLDP on Trunk Port |
Enable LLDP on trunk port |
LLDPDU sent and received |
8 |
LLDP on Tagged Frames |
Check LLDP behavior with tagged frames |
LLDPDU remains untagged |
9 |
LLDP on Untagged Frames |
Check LLDP behavior with untagged frames |
LLDPDU transmitted correctly |
10 |
LLDP on LAG Interface |
Enable LLDP on link aggregation group |
LLDPDU sent on active member |
11 |
LLDP on STP Blocked Port |
Enable LLDP on STP-blocked port |
LLDPDU not transmitted |
12 |
LLDP on MACsec Interface |
Enable LLDP on MACsec-enabled port |
LLDPDU transmitted securely |
13 |
LLDP on Port Mirroring |
Mirror LLDP-enabled port |
LLDPDU visible in mirror |
14 |
LLDP on Loopback Interface |
Enable LLDP on loopback |
LLDPDU not transmitted |
15 |
LLDP on Wireless Interface |
Enable LLDP on wireless port |
LLDPDU not supported |
16 |
LLDP Frame Size |
Verify LLDP frame size |
Within Ethernet MTU limits |
17 |
LLDP Frame Rate |
Check LLDPDU transmission rate |
Matches configured interval |
18 |
LLDP Frame Priority |
Check 802.1p priority tagging |
LLDPDU sent with default priority |
19 |
LLDP Frame Filtering |
Apply Layer 2 ACL to LLDP frames |
LLDPDU filtered as per ACL |
20 |
LLDP Frame Capture |
Capture LLDP frame using sniffer |
LLDPDU visible with correct TLVs |
21 |
LLDP Frame Replay |
Replay captured LLDP frame |
Device ignores duplicate |
22 |
LLDP Frame Drop |
Drop LLDP frame intentionally |
Neighbor info not updated |
23 |
LLDP Frame Modification |
Modify LLDP frame in transit |
Device discards malformed frame |
24 |
LLDP Frame Integrity |
Check frame checksum |
Frame passes CRC check |
25 |
LLDP Frame Collision |
Simulate collision scenario |
LLDPDU retransmitted |
26 |
LLDP Frame Delay |
Introduce delay in LLDPDU |
Neighbor info updates with delay |
27 |
LLDP Frame Loss |
Simulate frame loss |
Neighbor info expires after TTL |
28 |
LLDP Frame Duplication |
Send duplicate LLDPDU |
Device handles gracefully |
29 |
LLDP Frame Flooding |
Flood LLDP frames on network |
Devices ignore non-local LLDPDU |
30 |
LLDP Frame Loop |
Create loop with LLDP-enabled ports |
LLDP does not cause loop |
31 |
LLDP Frame with QoS |
Apply QoS to LLDP frames |
LLDPDU prioritized correctly |
32 |
LLDP Frame with MAC Filtering |
Filter LLDP MAC address |
LLDPDU blocked |
33 |
LLDP Frame with Port Security |
Enable port security |
LLDPDU allowed if MAC is authorized |
34 |
LLDP Frame with Storm Control |
Enable storm control |
LLDPDU not dropped unless threshold exceeded |
35 |
LLDP Frame with BPDU Guard |
Enable BPDU guard |
LLDPDU not affected |
36 |
LLDP Frame with EtherChannel |
Enable LLDP on EtherChannel |
LLDPDU sent on active link |
37 |
LLDP Frame with Redundancy |
Test LLDP in redundant topology |
LLDPDU sent on active path |
38 |
LLDP Frame with MAC Learning |
Check MAC learning with LLDP |
LLDPDU does not affect MAC table |
39 |
LLDP Frame with MAC Aging |
Check MAC aging behavior |
LLDPDU does not reset MAC timer |
40 |
LLDP Frame with Port Flap |
Flap LLDP-enabled port |
LLDP neighbor info updates |
41 |
LLDP Frame with Interface Errors |
Introduce errors on interface |
LLDPDU may be dropped |
42 |
LLDP Frame with Jumbo Frames |
Enable jumbo frames |
LLDPDU remains standard size |
43 |
LLDP Frame with MTU Mismatch |
Set mismatched MTU |
LLDPDU transmitted successfully |
44 |
LLDP Frame with MAC ACL |
Apply MAC ACL to LLDPDU |
LLDPDU filtered if rule matches |
45 |
LLDP Frame with MAC Address Change |
Change MAC address |
LLDP neighbor info updates |
46 |
LLDP Frame with Port Shutdown |
Shutdown LLDP-enabled port |
LLDP neighbor info removed |
47 |
LLDP Frame with Port Enable |
Enable LLDP on port |
LLDPDU transmitted |
48 |
LLDP Frame with Interface Rename |
Rename interface |
LLDP Port ID TLV reflects change |
49 |
LLDP Frame with Interface Speed Change |
Change interface speed |
LLDPDU continues unaffected |
50 |
LLDP Frame with Duplex Change |
Change duplex mode |
LLDPDU continues unaffected |
Periodic Advertisements - Testcases
S.No |
Test Case |
Description |
Expected Result |
---|---|---|---|
1 |
Default Advertisement Interval |
Verify default LLDPDU interval |
LLDPDU sent every 30 seconds |
2 |
Custom Advertisement Interval |
Change interval to custom value |
LLDPDU sent at new interval |
3 |
Interval Accuracy |
Measure actual interval between LLDPDUs |
Matches configured value |
4 |
Interval Change Persistence |
Reboot device after interval change |
Interval setting persists |
5 |
Interval Change via CLI |
Change interval using CLI |
LLDPDU interval updates |
6 |
Interval Change via GUI |
Change interval using GUI |
LLDPDU interval updates |
7 |
Interval Change via SNMP |
Change interval using SNMP |
LLDPDU interval updates |
8 |
Interval with Fast Start |
Enable fast start mode |
LLDPDU sent more frequently initially |
9 |
Interval with Hold Time |
Adjust hold time |
Neighbor info expires accordingly |
10 |
Interval with Interface Flap |
Flap interface during advertisement |
LLDPDU resumes after link up |
11 |
Interval with Port Shutdown |
Shutdown port |
LLDPDU transmission stops |
12 |
Interval with Port Enable |
Enable port |
LLDPDU transmission resumes |
13 |
Interval with CPU Load |
Monitor CPU during periodic LLDPDU |
Minimal CPU impact |
14 |
Interval with Memory Usage |
Monitor memory during LLDPDU |
Within acceptable limits |
15 |
Interval with Logging |
Check logs for periodic LLDPDU |
Logs show regular transmission |
16 |
Interval with SNMP Polling |
Poll LLDP MIB periodically |
LLDP info updates consistently |
17 |
Interval with Packet Capture |
Capture LLDPDU over time |
LLDPDU visible at expected intervals |
18 |
Interval with Multiple Neighbors |
LLDPDU sent to multiple neighbors |
All neighbors receive updates |
19 |
Interval with VLAN Change |
Change VLAN on port |
LLDPDU continues unaffected |
20 |
Interval with MAC Change |
Change MAC address |
LLDPDU reflects new MAC |
21 |
Interval with Interface Rename |
Rename interface |
Port ID TLV reflects change |
22 |
Interval with Speed Change |
Change interface speed |
LLDPDU continues unaffected |
23 |
Interval with Duplex Change |
Change duplex mode |
LLDPDU continues unaffected |
24 |
Interval with MTU Change |
Change MTU size |
LLDPDU remains within limits |
25 |
Interval with Jumbo Frames |
Enable jumbo frames |
LLDPDU remains standard size |
26 |
Interval with QoS |
Apply QoS to LLDPDU |
LLDPDU prioritized correctly |
27 |
Interval with Rate Limiting |
Apply rate limit |
LLDPDU sent within limits |
28 |
Interval with Storm Control |
Enable storm control |
LLDPDU not dropped unless threshold exceeded |
29 |
Interval with ACL |
Apply ACL to LLDPDU |
LLDPDU filtered if rule matches |
30 |
Interval with Port Mirroring |
Mirror LLDP-enabled port |
LLDPDU visible in mirror |
31 |
Interval with Loopback |
Enable LLDP on loopback |
LLDPDU not transmitted |
32 |
Interval with Wireless |
Enable LLDP on wireless |
LLDPDU not supported |
33 |
Interval with LAG |
Enable LLDP on LAG |
LLDPDU sent on active member |
34 |
Interval with EtherChannel |
Enable LLDP on EtherChannel |
LLDPDU sent periodically |
35 |
Interval with Redundancy |
Test LLDP in redundant topology |
LLDPDU sent on active path |
36 |
Interval with Interface Errors |
Introduce errors |
LLDPDU may be delayed or dropped |
37 |
Interval with TLV Update |
Change TLV value |
LLDPDU reflects change at next interval |
38 |
Interval with TLV Addition |
Add new TLV |
LLDPDU includes new TLV at next interval |
39 |
Interval with TLV Removal |
Remove TLV |
LLDPDU excludes TLV at next interval |
40 |
Interval with TLV Corruption |
Corrupt TLV |
LLDPDU discarded or logged |
41 |
Interval with TLV Replay |
Replay LLDPDU |
Device ignores duplicate |
42 |
Interval with TLV Filtering |
Filter TLV |
LLDPDU excludes filtered TLV |
43 |
Interval with TLV Logging |
Log TLV changes |
Logs show periodic updates |
44 |
Interval with SNMP Trap |
Generate SNMP trap on change |
Trap sent after LLDPDU update |
45 |
Interval with Firmware Upgrade |
Upgrade firmware |
Interval setting persists |
46 |
Interval with Config Restore |
Restore config |
Interval setting restored |
47 |
Interval with Factory Reset |
Reset device |
Interval returns to default |
48 |
Interval with Neighbor Timeout |
Neighbor goes offline |
Info removed after TTL |
49 |
Interval with Neighbor Reconnect |
Neighbor reconnects |
Info updated at next interval |
50 |
Interval with Multivendor Interop |
Connect to different vendor |
LLDPDU exchanged periodically |
One Way Communication - Testcases
S.No |
Test Case |
Description |
Expected Result |
---|---|---|---|
1 |
Send Message |
Send a message from sender to receiver |
Receiver receives message |
2 |
No Reply Allowed |
Ensure receiver cannot reply |
Reply option disabled |
3 |
Message Format |
Send message with text formatting |
Message retains formatting |
4 |
Long Message |
Send a message with 1000+ characters |
Message delivered successfully |
5 |
Special Characters |
Send message with symbols/emojis |
Symbols/emojis displayed correctly |
6 |
HTML Content |
Send HTML content |
HTML rendered properly |
7 |
Image Attachment |
Send image with message |
Image visible to receiver |
8 |
File Attachment |
Send document with message |
File downloadable by receiver |
9 |
Audio Message |
Send audio clip |
Audio playable by receiver |
10 |
Video Message |
Send video clip |
Video playable by receiver |
11 |
Delivery Confirmation |
Check if sender gets delivery status |
Status: Delivered |
12 |
Read Receipt |
Check if sender gets read status |
Status: Read |
13 |
Offline Receiver |
Send message to offline user |
Message queued |
14 |
Online Receiver |
Send message to online user |
Message delivered instantly |
15 |
Invalid Receiver |
Send message to non-existent user |
Error: Invalid receiver |
16 |
Message Encryption |
Send encrypted message |
Message decrypted correctly |
17 |
Message Timestamp |
Check timestamp accuracy |
Correct timestamp shown |
18 |
Message Order |
Send multiple messages |
Messages appear in correct order |
19 |
Message Priority |
Send high-priority message |
Message marked as high priority |
20 |
Message Expiry |
Send message with expiry time |
Message auto-deletes after expiry |
21 |
Message Draft |
Save message as draft |
Draft saved successfully |
22 |
Message Scheduling |
Schedule message for future |
Message sent at scheduled time |
23 |
Message Recall |
Recall sent message |
Message removed from receiver view |
24 |
Message Logging |
Log all sent messages |
Logs updated correctly |
25 |
Notification Trigger |
Trigger notification on message receipt |
Receiver gets notification |
26 |
No Notification |
Disable notification |
Receiver does not get notification |
27 |
Message Filtering |
Filter messages by type |
Filter works correctly |
28 |
Message Search |
Search messages by keyword |
Relevant messages shown |
29 |
Message Archiving |
Archive old messages |
Messages moved to archive |
30 |
Message Deletion |
Delete sent message |
Message removed from system |
31 |
Message Backup |
Backup sent messages |
Backup created successfully |
32 |
Message Restore |
Restore from backup |
Messages restored correctly |
33 |
Message Forwarding |
Forward message to another user |
Message forwarded successfully |
34 |
Message Tagging |
Tag message with labels |
Tags visible and searchable |
35 |
Message Analytics |
Analyze message delivery stats |
Stats generated correctly |
36 |
Message Throttling |
Limit message rate |
Excess messages blocked |
37 |
Message Queueing |
Queue messages during downtime |
Messages sent after recovery |
38 |
Message Retry |
Retry failed message |
Message resent successfully |
39 |
Message Compression |
Compress large message |
Message size reduced |
40 |
Message Integrity |
Check message hash |
Hash matches original |
41 |
Message Preview |
Preview message before sending |
Preview displayed correctly |
42 |
Message Template |
Use predefined template |
Template applied correctly |
43 |
Message Personalization |
Add user-specific data |
Personalized message sent |
44 |
Message Localization |
Send message in local language |
Correct language displayed |
45 |
Message Accessibility |
Ensure screen reader compatibility |
Message readable by screen reader |
46 |
Message API |
Send message via API |
API returns success |
47 |
Message UI |
Send message via UI |
UI sends message correctly |
48 |
Message Permissions |
Check sender permissions |
Unauthorized sender blocked |
49 |
Message Audit Trail |
View message history |
Complete audit trail shown |
50 |
Message Sync |
Sync messages across devices |
Messages synced correctly |
Support Optional TLVs - Testcases
S.No |
Test Case |
Description |
Expected Result |
---|---|---|---|
1 |
Validate Optional TLVs Support |
Check if LLDP supports optional TLVs |
Optional TLVs are accepted and processed |
2 |
Send System Name TLV |
Include system name TLV in LLDPDU |
TLV parsed and displayed correctly |
3 |
Send System Description TLV |
Include system description TLV |
TLV parsed and displayed correctly |
4 |
Send Port Description TLV |
Include port description TLV |
TLV parsed and displayed correctly |
5 |
Send Management Address TLV |
Include management address TLV |
TLV parsed and displayed correctly |
6 |
Send Organizationally Specific TLV |
Include custom TLV |
TLV parsed and displayed correctly |
7 |
TLV Length Validation |
Send TLV with incorrect length |
Error or TLV discarded |
8 |
TLV Type Validation |
Send TLV with invalid type |
Error or TLV discarded |
9 |
TLV Value Validation |
Send TLV with malformed value |
Error or TLV discarded |
10 |
TLV Order Flexibility |
Send TLVs in different order |
LLDPDU processed correctly |
11 |
TLV Absence Handling |
Omit optional TLVs |
LLDPDU processed without error |
12 |
TLV Duplication |
Send duplicate TLVs |
LLDP handles duplicates gracefully |
13 |
TLV Overflow |
Send excessive TLVs |
LLDPDU size checked, excess TLVs dropped |
14 |
TLV Encoding |
Check encoding format of TLVs |
TLVs encoded per LLDP spec |
15 |
TLV Decoding |
Decode received TLVs |
Values extracted correctly |
16 |
TLV Logging |
Log received optional TLVs |
TLVs logged in system |
17 |
TLV Filtering |
Filter specific TLVs |
Only selected TLVs processed |
18 |
TLV Forwarding |
Forward TLVs to management system |
TLVs forwarded correctly |
19 |
TLV Security |
Check for spoofed TLVs |
Invalid TLVs flagged |
20 |
TLV Compatibility |
Check compatibility with other LLDP versions |
TLVs interpreted correctly |
21 |
TLV Update |
Update TLV values dynamically |
New values reflected in LLDPDU |
22 |
TLV Timeout |
Check TTL for optional TLVs |
TLVs expire as expected |
23 |
TLV Refresh |
Periodic refresh of TLVs |
TLVs updated at interval |
24 |
TLV Suppression |
Suppress specific TLVs |
TLVs not included in LLDPDU |
25 |
TLV Configuration |
Configure TLVs via CLI |
Configuration applied successfully |
26 |
TLV GUI Configuration |
Configure TLVs via GUI |
Configuration applied successfully |
27 |
TLV SNMP Access |
Access TLVs via SNMP |
TLVs retrievable via SNMP |
28 |
TLV MIB Mapping |
Map TLVs to MIB entries |
Correct mapping verified |
29 |
TLV Parsing Performance |
Measure TLV parsing time |
Parsing within acceptable limits |
30 |
TLV Memory Usage |
Measure memory usage for TLVs |
Usage within expected range |
31 |
TLV CPU Load |
Measure CPU load during TLV processing |
Load within acceptable limits |
32 |
TLV Error Handling |
Inject malformed TLVs |
Errors logged, LLDP continues |
33 |
TLV Interoperability |
Test with third-party LLDP |
TLVs exchanged successfully |
34 |
TLV Display in UI |
Show TLVs in network UI |
TLVs displayed correctly |
35 |
TLV Export |
Export TLVs to file |
TLVs saved correctly |
36 |
TLV Import |
Import TLVs from file |
TLVs loaded correctly |
37 |
TLV Validation Script |
Run script to validate TLVs |
Script passes all checks |
38 |
TLV Notification |
Trigger alert on TLV change |
Notification sent |
39 |
TLV Audit Trail |
Maintain history of TLVs |
Audit trail complete |
40 |
TLV Sync |
Sync TLVs across devices |
TLVs consistent across devices |
41 |
TLV Compression |
Compress TLVs for transmission |
TLVs compressed and decompressed correctly |
42 |
TLV Encryption |
Encrypt TLVs |
TLVs decrypted correctly |
43 |
TLV Backup |
Backup TLV configuration |
Backup created successfully |
44 |
TLV Restore |
Restore TLV configuration |
TLVs restored correctly |
45 |
TLV Versioning |
Maintain TLV version history |
Version tracked correctly |
46 |
TLV Conflict Resolution |
Resolve conflicting TLVs |
Conflict handled gracefully |
47 |
TLV Policy Enforcement |
Enforce TLV policies |
Policies applied correctly |
48 |
TLV Monitoring |
Monitor TLV changes |
Changes logged and alerted |
49 |
TLV Customization |
Customize TLV format |
Custom format accepted |
50 |
TLV Compliance |
Check TLVs against LLDP spec |
TLVs compliant with IEEE 802.1AB |
Low Overheaad - Testcases
S.No |
Test Case |
Description |
Expected Result |
---|---|---|---|
1 |
LLDPDU Size Check |
Verify LLDPDU size is within limits |
LLDPDU 1500 bytes |
2 |
Minimal TLVs |
Send LLDPDU with only mandatory TLVs |
LLDPDU processed successfully |
3 |
Optional TLVs Disabled |
Disable optional TLVs |
Reduced LLDPDU size |
4 |
Transmission Interval |
Set long transmission interval |
Reduced network traffic |
5 |
CPU Usage Monitoring |
Measure CPU usage during LLDP |
Usage remains low |
6 |
Memory Usage Monitoring |
Measure memory usage during LLDP |
Usage remains low |
7 |
Bandwidth Consumption |
Measure bandwidth used by LLDP |
Minimal bandwidth used |
8 |
LLDPDU Compression |
Compress LLDPDU payload |
LLDPDU size reduced |
9 |
Efficient Encoding |
Use efficient TLV encoding |
TLVs encoded compactly |
10 |
TLV Filtering |
Filter unnecessary TLVs |
Only essential TLVs sent |
11 |
LLDPDU Aggregation |
Aggregate multiple TLVs efficiently |
LLDPDU size optimized |
12 |
LLDPDU Scheduling |
Schedule LLDPDU during low traffic |
No congestion caused |
13 |
LLDPDU Retry Limit |
Limit retries for failed LLDPDU |
Retry count within threshold |
14 |
LLDPDU Queue Size |
Check LLDPDU queue size |
Queue size remains small |
15 |
LLDPDU Drop Policy |
Drop LLDPDU under load |
LLDPDU dropped gracefully |
16 |
LLDPDU Priority |
Assign low priority to LLDPDU |
LLDPDU does not affect critical traffic |
17 |
LLDPDU TTL Optimization |
Use optimal TTL value |
Reduced unnecessary retransmissions |
18 |
LLDPDU Header Size |
Verify header size is minimal |
Header size within spec |
19 |
LLDPDU Payload Efficiency |
Check payload structure |
No redundant data |
20 |
LLDPDU Fragmentation |
Avoid fragmentation |
LLDPDU sent as single frame |
21 |
LLDPDU Rate Limiting |
Apply rate limiting |
LLDPDU rate within limits |
22 |
LLDPDU Caching |
Cache TLV data |
Reduced recomputation |
23 |
LLDPDU Reuse |
Reuse unchanged TLVs |
Reduced processing |
24 |
LLDPDU Logging Efficiency |
Log LLDPDU with minimal overhead |
Lightweight logging |
25 |
LLDPDU Parsing Speed |
Measure parsing time |
Fast parsing |
26 |
LLDPDU Generation Speed |
Measure generation time |
Fast generation |
27 |
LLDPDU Transmission Efficiency |
Measure transmission time |
Fast transmission |
28 |
LLDPDU Reception Efficiency |
Measure reception time |
Fast reception |
29 |
LLDPDU Storage Optimization |
Store LLDPDU efficiently |
Minimal storage used |
30 |
LLDPDU Update Frequency |
Limit update frequency |
Updates only when needed |
31 |
LLDPDU Timer Accuracy |
Verify timer precision |
Accurate and efficient |
32 |
LLDPDU Thread Usage |
Check thread count |
Minimal threads used |
33 |
LLDPDU Process Isolation |
Isolate LLDP process |
No interference with other processes |
34 |
LLDPDU Resource Cleanup |
Cleanup after LLDPDU processing |
No memory leaks |
35 |
LLDPDU Error Handling |
Handle errors efficiently |
Minimal impact on system |
36 |
LLDPDU Debug Mode |
Enable debug with low overhead |
Lightweight debugging |
37 |
LLDPDU Interface Load |
Measure load per interface |
Load remains low |
38 |
LLDPDU Multicast Efficiency |
Efficient multicast handling |
No excess traffic |
39 |
LLDPDU Packet Drop Rate |
Monitor drop rate |
Drop rate within acceptable limits |
40 |
LLDPDU Retry Backoff |
Use exponential backoff |
Reduced retry overhead |
41 |
LLDPDU Packet Inspection |
Inspect packet with low overhead |
Inspection does not affect performance |
42 |
LLDPDU Notification Load |
Send notifications efficiently |
Minimal system load |
43 |
LLDPDU SNMP Integration |
Integrate with SNMP efficiently |
No performance degradation |
44 |
LLDPDU GUI Load |
Display LLDP info in GUI |
GUI remains responsive |
45 |
LLDPDU CLI Load |
Display LLDP info in CLI |
CLI remains responsive |
46 |
LLDPDU MIB Access |
Access MIB with low overhead |
Fast and efficient access |
47 |
LLDPDU Policy Enforcement |
Enforce policies efficiently |
No excess processing |
48 |
LLDPDU Sync Efficiency |
Sync LLDP data across devices |
Minimal sync overhead |
49 |
LLDPDU Custom TLV Load |
Add custom TLVs with low impact |
System remains stable |
50 |
LLDPDU Compliance Check |
Ensure LLDPDU meets IEEE 802.1AB |
Fully compliant with low overhead |
Fast Link Detection - Testcases
S.No |
Test Case |
Description |
Expected Result |
---|---|---|---|
1 |
Detect HTTP Link |
Input contains an HTTP link |
Link is detected and clickable |
2 |
Detect HTTPS Link |
Input contains an HTTPS link |
Link is detected and clickable |
3 |
Detect FTP Link |
Input contains an FTP link |
Link is detected and clickable |
4 |
Detect Subdomain Link |
Input contains a subdomain URL |
Subdomain link is detected |
5 |
Detect IP Address Link |
Input contains a URL with IP address |
IP-based link is detected |
6 |
Detect Port in URL |
Input contains a URL with port number |
Link with port is detected |
7 |
Detect URL with Query Params |
URL includes query parameters |
Full URL is detected |
8 |
Detect URL with Anchor |
URL includes anchor tag (e.g., #section) |
Anchor part is included in detection |
9 |
Detect Shortened URL |
Input contains a shortened URL (e.g., bit.ly) |
Shortened link is detected |
10 |
Detect Email Link |
Input contains a mailto link |
Email link is detected |
11 |
Detect Tel Link |
Input contains a tel: link |
Phone link is detected |
12 |
Detect Multiple Links |
Input contains multiple URLs |
All links are detected |
13 |
Detect Link in Sentence |
URL embedded in sentence |
Link is detected without affecting text |
14 |
Detect Link with Special Characters |
URL contains special characters |
Link is detected correctly |
15 |
Detect Link with Unicode |
URL contains Unicode characters |
Link is detected and encoded properly |
16 |
Detect Link in HTML |
Link inside HTML content |
Link is parsed and detected |
17 |
Detect Link in Markdown |
Link in markdown format |
Link is rendered and clickable |
18 |
Detect Link in JSON |
URL inside JSON string |
Link is extracted and detected |
19 |
Detect Link in XML |
URL inside XML tag |
Link is detected |
20 |
Detect Link in Code Block |
URL inside code snippet |
Link is detected but not auto-clickable |
21 |
Detect Link in Quotation |
URL inside quotes |
Link is detected correctly |
22 |
Detect Link in Parentheses |
URL inside brackets or parentheses |
Link is detected without extra characters |
23 |
Detect Broken Link |
URL is malformed |
Link is not detected |
24 |
Detect Incomplete Link |
Missing protocol (e.g., www.example.com) |
Link is detected and protocol assumed |
25 |
Detect Link with Spaces |
URL contains spaces |
Link is detected and encoded |
26 |
Detect Link with Trailing Slash |
URL ends with slash |
Link is detected correctly |
27 |
Detect Link with File Extension |
URL ends with .pdf, .jpg, etc. |
Link is detected and previewed if supported |
28 |
Detect Link in Multiline Text |
URL spans multiple lines |
Link is detected as one |
29 |
Detect Link in Real-Time Input |
URL typed in real-time |
Link is detected instantly |
30 |
Detect Link in Pasted Text |
URL pasted into input |
Link is detected immediately |
31 |
Detect Link in Image Alt Text |
URL in image alt attribute |
Link is not detected (expected behavior) |
32 |
Detect Link in Comment |
URL in comment section |
Link is detected and clickable |
33 |
Detect Link in Notification |
URL in push/email notification |
Link is detected and clickable |
34 |
Detect Link in Tooltip |
URL in tooltip text |
Link is not detected (expected behavior) |
35 |
Detect Link in Attachment |
URL in attached file |
Link is detected if file is parsed |
36 |
Detect Link in Encrypted Message |
URL in encrypted content |
Link not detected until decrypted |
37 |
Detect Link in Image (OCR) |
URL in image via OCR |
Link is detected if OCR is enabled |
38 |
Detect Link in Voice Input |
URL spoken and transcribed |
Link is detected from transcription |
39 |
Detect Link in QR Code |
URL encoded in QR |
Link is detected after scan |
40 |
Detect Link in Form Field |
URL in form input |
Link is detected and validated |
41 |
Detect Link in Table |
URL inside table cell |
Link is detected and clickable |
42 |
Detect Link in List |
URL in bullet/numbered list |
Link is detected |
43 |
Detect Link in Header/Footer |
URL in document header/footer |
Link is detected |
44 |
Detect Link in Signature |
URL in email signature |
Link is detected |
45 |
Detect Link in Chat Bubble |
URL in chat message |
Link is detected and clickable |
46 |
Detect Link in SMS |
URL in SMS message |
Link is detected and clickable |
47 |
Detect Link in Notification Banner |
URL in banner |
Link is detected and clickable |
48 |
Detect Link in System Logs |
URL in logs |
Link is detected and highlighted |
49 |
Detect Link in Error Message |
URL in error/debug message |
Link is detected |
50 |
Detect Link in External API Response |
URL in API data |
Link is parsed and detected |
Supports Multiple Neighbors - Testcases
S.No |
Test Case |
Description |
Expected Result |
---|---|---|---|
1 |
Single Neighbor Detection |
Connect one neighbor |
Neighbor info displayed |
2 |
Multiple Neighbors Detection |
Connect multiple neighbors |
All neighbors detected |
3 |
Neighbor Count Accuracy |
Verify number of neighbors |
Count matches actual connections |
4 |
Neighbor Info Uniqueness |
Ensure each neighbor has unique info |
No duplicate entries |
5 |
Neighbor Info Refresh |
Update neighbor info periodically |
Info refreshed correctly |
6 |
Neighbor Info Timeout |
Remove stale neighbor info |
Expired entries removed |
7 |
Neighbor Info Persistence |
Maintain info across reboots |
Info retained or refreshed |
8 |
Neighbor Info Logging |
Log all neighbor info |
Logs contain all entries |
9 |
Neighbor Info Display |
Show all neighbors in UI/CLI |
All entries visible |
10 |
Neighbor Info Sorting |
Sort neighbors by port or name |
Sorted list displayed |
11 |
Neighbor Info Filtering |
Filter neighbors by criteria |
Filtered list shown |
12 |
Neighbor Info Search |
Search for specific neighbor |
Correct entry found |
13 |
Neighbor Info Export |
Export neighbor info to file |
File contains all entries |
14 |
Neighbor Info Import |
Import neighbor info |
Info loaded correctly |
15 |
Neighbor Info SNMP Access |
Access via SNMP |
All entries retrievable |
16 |
Neighbor Info MIB Mapping |
Map to MIB entries |
Correct mapping verified |
17 |
Neighbor Info Update Interval |
Set update interval |
Updates occur as configured |
18 |
Neighbor Info Conflict Resolution |
Resolve conflicting info |
Conflict handled gracefully |
19 |
Neighbor Info Compression |
Compress data for storage |
Data size reduced |
20 |
Neighbor Info Encryption |
Encrypt neighbor info |
Info decrypted correctly |
21 |
Neighbor Info Backup |
Backup all entries |
Backup created successfully |
22 |
Neighbor Info Restore |
Restore from backup |
Info restored correctly |
23 |
Neighbor Info Sync |
Sync across devices |
Info consistent across devices |
24 |
Neighbor Info Notification |
Notify on new neighbor |
Notification triggered |
25 |
Neighbor Info Removal Notification |
Notify on neighbor removal |
Notification triggered |
26 |
Neighbor Info GUI Load |
Display in GUI efficiently |
GUI remains responsive |
27 |
Neighbor Info CLI Load |
Display in CLI efficiently |
CLI remains responsive |
28 |
Neighbor Info API Access |
Access via API |
API returns correct data |
29 |
Neighbor Info Rate Limiting |
Limit update rate |
Rate within limits |
30 |
Neighbor Info Error Handling |
Handle malformed entries |
Errors logged, system stable |
31 |
Neighbor Info Performance |
Measure performance with many neighbors |
Acceptable performance |
32 |
Neighbor Info Scalability |
Test with 100+ neighbors |
System handles load |
33 |
Neighbor Info Interoperability |
Test with different vendors |
Info exchanged correctly |
34 |
Neighbor Info Versioning |
Maintain version history |
Versions tracked |
35 |
Neighbor Info Audit Trail |
Maintain history of changes |
Audit trail complete |
36 |
Neighbor Info Policy Enforcement |
Apply policies to entries |
Policies enforced correctly |
37 |
Neighbor Info Customization |
Customize display format |
Format applied correctly |
38 |
Neighbor Info Localization |
Display in local language |
Correct translation shown |
39 |
Neighbor Info Accessibility |
Compatible with screen readers |
Info readable |
40 |
Neighbor Info Redundancy |
Handle redundant connections |
No duplicate entries |
41 |
Neighbor Info Aggregation |
Aggregate similar entries |
Aggregation works correctly |
42 |
Neighbor Info Filtering by Port |
Filter by port ID |
Correct entries shown |
43 |
Neighbor Info Filtering by VLAN |
Filter by VLAN ID |
Correct entries shown |
44 |
Neighbor Info Filtering by System Name |
Filter by system name |
Correct entries shown |
45 |
Neighbor Info Filtering by Capability |
Filter by system capability |
Correct entries shown |
46 |
Neighbor Info Filtering by Management Address |
Filter by IP |
Correct entries shown |
47 |
Neighbor Info TTL Validation |
Validate TTL values |
TTLs within expected range |
48 |
Neighbor Info TLV Parsing |
Parse TLVs for each neighbor |
TLVs parsed correctly |
49 |
Neighbor Info TLV Display |
Display TLVs per neighbor |
TLVs shown correctly |
50 |
Neighbor Info Compliance |
Ensure compliance with IEEE 802.1AB |
Fully compliant behavior |
Extensible For Custom - Testcases
S.No |
Test Case |
Description |
Expected Result |
---|---|---|---|
1 |
Custom TLV Support |
Add a custom TLV to LLDPDU |
TLV accepted and transmitted |
2 |
Custom TLV Parsing |
Parse received custom TLV |
TLV parsed correctly |
3 |
Custom TLV Display |
Display custom TLV in UI/CLI |
TLV shown correctly |
4 |
Custom TLV Logging |
Log custom TLV data |
TLV logged successfully |
5 |
Custom TLV SNMP Access |
Access custom TLV via SNMP |
TLV retrievable |
6 |
Custom TLV MIB Mapping |
Map custom TLV to MIB |
Mapping works correctly |
7 |
Custom TLV Encoding |
Encode custom TLV efficiently |
Encoding conforms to spec |
8 |
Custom TLV Decoding |
Decode custom TLV correctly |
Decoding successful |
9 |
Custom TLV Length Validation |
Validate length of custom TLV |
Length within limits |
10 |
Custom TLV Type Validation |
Validate type field |
Type conforms to custom spec |
11 |
Custom TLV Value Validation |
Validate value field |
Value parsed correctly |
12 |
Custom TLV Error Handling |
Handle malformed custom TLV |
Error logged, LLDP continues |
13 |
Custom TLV Filtering |
Filter custom TLVs |
Filtering works correctly |
14 |
Custom TLV Forwarding |
Forward custom TLV to management system |
TLV forwarded successfully |
15 |
Custom TLV Notification |
Trigger alert on custom TLV |
Notification sent |
16 |
Custom TLV Policy Enforcement |
Apply policy to custom TLV |
Policy enforced |
17 |
Custom TLV Configuration via CLI |
Configure custom TLV |
Configuration applied |
18 |
Custom TLV Configuration via GUI |
Configure via GUI |
GUI reflects changes |
19 |
Custom TLV Backup |
Backup custom TLV settings |
Backup created |
20 |
Custom TLV Restore |
Restore custom TLV settings |
Settings restored |
21 |
Custom TLV Sync |
Sync custom TLVs across devices |
TLVs consistent |
22 |
Custom TLV Versioning |
Maintain version history |
Versions tracked |
23 |
Custom TLV Audit Trail |
Log changes to custom TLVs |
Audit trail complete |
24 |
Custom TLV Compression |
Compress custom TLV data |
Data size reduced |
25 |
Custom TLV Encryption |
Encrypt custom TLV |
TLV decrypted correctly |
26 |
Custom TLV Performance |
Measure impact of custom TLVs |
Performance within limits |
27 |
Custom TLV Scalability |
Test with many custom TLVs |
System handles load |
28 |
Custom TLV Interoperability |
Test with other LLDP implementations |
TLV exchanged successfully |
29 |
Custom TLV TTL Handling |
Handle TTL for custom TLV |
TTL respected |
30 |
Custom TLV Retry Mechanism |
Retry sending custom TLV |
Retry successful |
31 |
Custom TLV Rate Limiting |
Limit rate of custom TLV transmission |
Rate within limits |
32 |
Custom TLV Queue Management |
Manage queue for custom TLVs |
Queue handled correctly |
33 |
Custom TLV Resource Usage |
Measure CPU/memory usage |
Usage within acceptable range |
34 |
Custom TLV Thread Safety |
Ensure thread-safe handling |
No concurrency issues |
35 |
Custom TLV API Access |
Access via API |
API returns correct data |
36 |
Custom TLV GUI Responsiveness |
GUI remains responsive |
No lag or crash |
37 |
Custom TLV CLI Responsiveness |
CLI remains responsive |
Commands execute correctly |
38 |
Custom TLV Localization |
Display in local language |
Correct translation |
39 |
Custom TLV Accessibility |
Compatible with screen readers |
TLV readable |
40 |
Custom TLV Conflict Resolution |
Resolve conflicts with standard TLVs |
Conflict handled gracefully |
41 |
Custom TLV Aggregation |
Aggregate similar custom TLVs |
Aggregation works |
42 |
Custom TLV Filtering by Type |
Filter by custom type |
Correct entries shown |
43 |
Custom TLV Filtering by Value |
Filter by value content |
Correct entries shown |
44 |
Custom TLV Display Format |
Customize display format |
Format applied correctly |
45 |
Custom TLV Validation Script |
Run validation script |
Script passes all checks |
46 |
Custom TLV Monitoring |
Monitor changes to custom TLVs |
Changes logged |
47 |
Custom TLV Notification Policy |
Apply notification rules |
Notifications triggered correctly |
48 |
Custom TLV Compliance Check |
Check against internal standards |
TLV compliant |
49 |
Custom TLV Integration with NMS |
Integrate with network management system |
TLVs visible in NMS |
50 |
Custom TLV Removal |
Remove custom TLV safely |
TLV removed without error |
Reference links