Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX] Behavior of Cisco and EX series switches when Link Layer Discovery Protocol (LLDP) is enabled



Article ID: KB23996 KB Last Updated: 04 Mar 2017Version: 2.0
This article provides information about the behavior of EX and Cisco switches, when LLDP is enabled.
In the following topology, Cisco and EX switches are connected with each other with a trunk link and the Cisco switch can see the EX switch with LLDP; but  the EX switch is unable to see the Cisco switch LLDP.



Cisco Behavior for LLDP:

The Cisco IOS always sends LLDP on VLAN 1; whether trunked or not. If the native VLAN ID is not 1, the frames are sent as 802.1Q tagged with VLAN ID 1; even if the VLAN is not configured on the trunk.

EX behavior for LLDP

The EX switch, as it has only LLDP (IEEE standard), sends LLDP packets without any tagging. Junos will not accept any packets on an 802.1Q trunk port, unless it is untagged and there is a defined native VLAN or the frame is tagged with a VLAN ID that is allowed on the trunk.

Due to the above mentioned behaviors, the Cisco device can see the EX switch; but EX switch is unable to see the Cisco device.

The workarounds are as follows:

  • Set the native VLAN 1 on both sides of the trunk (Cisco switch and EX switch).

  • Cisco sends LLDP packets on VLAN 1. In EX switches, the native VLAN id is not 1; but 506. So the LLDP frames are sent with the tagging of VLAN 1; but on the EX side, VLAN 1 is not allowed. So, the packets are being dropped. To resolve this issue VLAN 1 should be added in the allowed VLAN list on the trunk from the EX switch, so that it can can accept the LLDP packets from VLAN 1 on the Cisco switch. The configuration on the EX switch is as follows:
    user@switch# set interfaces ge-0/0/X unit 0 family ethernet-switching port-mode trunk vlan members [1 10 20 30]
    user@switch# set interfaces ge-0/0/X unit 0 family ethernet-switching port-mode trunk native-vlan-id 506
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search