Documente Academic
Documente Profesional
Documente Cultură
This document provides information about configuring and monitoring neighbor discovery on Enterasys Matrix N-Series, S-Series, K-Series, stackable and standalone fixed switch devices.
Note: For information on Enterasys Matrix X-Series support, refer to the Enterasys Matrix X Secure Core Router Configuration Guide.
For information about... What is Neighbor Discovery? Why Would I Use Neighbor Discovery in My Network? How Do I Implement Neighbor Discovery? Understanding Neighbor Discovery Configuring LLDP Configuring Enterasys Discovery Protocol Configuring Cisco Discovery Protocol
Refer to page... 1 1 2 2 7 11 12
Page 1 of 14
Page 2 of 14
Figure 1
Discovery MIB Port Device ge. 1.1 IP phone ge. 1.2 PC ge. 1.4 IP switch
PSTN
Im a switch
Im a switch
Im a switch
Im a switch
Im a switch
Im a switch
Im a switch Im an IP phone
Im an IP-PBX
Im an IP phone
LLDP-MED
The LLDP-Media Endpoint Discovery (LLDP-MED) extension of LLDP is defined to share information between media endpoint devices such as IP telephones, media gateways, media servers, and network connectivity devices. Either LLDP or LLDP-MED, but not both, can be used on an interface between two devices. A switch port uses LLDP-MED when it detects that an LLDP-MED device is connected to it. LLDP-MED provides the following benefits: Auto discovery of LAN policies, such as VLAN ID, 802.1p priority, and DiffServ codepoint settings, leading to plug-and-play networking. Device location and topology discovery, allowing creation of location databases and, in the case of VoIP, provision of E911 services. Extended and automated power management of Power over Ethernet endpoints Inventory management, allowing network administrators to track their network devices and to determine their characteristics, such as manufacturer, software and hardware versions, and serial or asset numbers.
Im an IP phone
Im a PC
Page 3 of 14
There are two primary LLDP-MED device types (as shown in Figure 2 on page 5): Network connectivity devices, which are LAN access devices such as LAN switch/routers, bridges, repeaters, wireless access points, or any device that supports the IEEE 802.1AB and MED extensions defined by the standard and can relay IEEE 802 frames via any method. Endpoint devices, which have three defined sub-types or classes: LLDP-MED Generic Endpoint (Class I) All endpoint products that, while requiring the base LLDP discovery services defined in the standard, do not support IP media or act as an end-user communication device, such as IP communications controllers, other communication-related servers, or any device requiring basic services. Discovery services defined in this class include LAN configuration, device location, network policy, power management, and inventory management. LLDP-MED Media Endpoint (Class II) All endpoint products that have IP media capabilities but that may not be associated with a particular end user, such as voice/media gateways, conference bridges, and media servers. Capabilities include all of the capabilities defined for Generic Endpoint (Class I) and are extended to include aspects related to media streaming. Discovery services defined in this class include media type specific network layer policy discovery. LLDP-MED Communication Endpoint (Class III) All endpoint products that act as an endpoint user communication device supporting IP media. Capabilities include all of the capabilities defined for the Generic Endpoint (Class I) and Media Endpoint (Class II) devices and are extended to include aspects related to end user devices, such as IP phones, PC-based soft phones, and other communication devices that directly support the end user.
Page 4 of 14
Figure 2
LLDP-MED
LLDP-MED Network Connectivity Devices: Provide IEEE 802 network access to LLDP-MED endpoints (for example, L2/L3 switch)
LLDP-MED Generic Endpoints (Class I): Basic participant endpoints in LLDP-MED (for example, IP communications controller)
IP Network Infrastructure
(IEEE 802 LAN)
LLDP-MED Media Endpoints (Class ll): Supports IP media streams (for media gateways, conference bridges)
LLDP-MED Communication Device Endpoints (Class III): Support IP communication end user (for example, IP phone, soft phone)
Page 5 of 14
LLDPDU Frames
As shown in Figure 3, each LLDPDU frame contains the following mandatory TLVs: Chassis ID The chassis identification for the device that transmitted the LLDP packet. Port ID The identification of the specific port that transmitted the LLDP packet. The receiving LLDP agent joins the chassis ID and the port ID to correspond to the entity connected to the port where the packet was received. Time to Live The length of time that information contained in the receive LLDP packet will be valid. End of LLDPDU Indicates the final TLV of the LLDPDU frame. Frame Format
IEEE 802.3 LLDP frame format
DA LLDP_Multicast address 6 octets SA MAC address 6 octets
LLDP Ethertype
Figure 3
88-CC 2 octets
LLDPDU format
Chassis ID TLV Port ID TLV (M) (M) Time to Live TLV (M) Optional TLV ... Optional TLV
End of LLDPDU TLV (M)
Each LLDPDU frame can also contain the following optional TLVs: Port Description The port from which the LLDP agent transmitted the frame. System Name The systems administratively assigned name. System Description Includes the systems name, hardware version, OS level, and networking software version. System Capabilities A bitmap that defines the primary functions of the system. The currently defined capabilities include, among other things, WLAN access point, router, and telephone. Management Address The IP or MAC address associated with the local LLDP agent that may be used to reach higher layer entities.
An LLDPDU frame can also contain the following extension TLVs: 802.1 VLAN extension TLVs describe attributes associated with VLANs: Port VLAN ID Allows a bridge port to advertise the ports VLAN identifier (PVID) that will be associated with untagged or priority tagged frames it receives. Port & Protocol VLAN ID Allows a bridge to advertise whether it supports protocol VLANs and, if so, what VLAN IDs these protocols will be associated with.
Page 6 of 14
Configuring LLDP
VLAN Name Allows a bridge to advertise the textual name of any VLAN with which it is configured. Protocol Identity Allows a bridge to advertise the particular protocols that are accessible through its port.
802.3 LAN interface extensions TLVs describe attributes associated with the operation of an 802.3 LAN interface: MAC/PHY Configuration/Status Advertises the bit-rate and duplex capability of the sending 802.3 node, the current duplex and bit-rating of the sending 802.3 node, and whether these settings were the result of auto-negotiation during link initiation or manual override. Power-Via-MDI Advertises the power-via-MDI capabilities of the sending 802.3 node. Link-Aggregation Advertises whether the link is capable of being aggregated, whether it is currently in an aggregation, and, if it is in an aggregation, the port of the aggregation. Maximum Frame Size Advertises the maximum supported 802.3 frame size of the sending station.
LLDP-MED extension TLVs: Capabilities Indicates the network connectivity devices capabilities. Network Policy Used to configure tagged/untagged VLAN ID/L2 priority/DSCP on LLDP-MED endpoints (for example, IP phones). Location Identification Provides the location identifier information to communication endpoint devices, based on the configuration of the network connectivity device it is connected to. Extended Power via MDI Enables advanced power management between LLDP-MED endpoints and network connectivity devices. Inventory Management Includes hardware revision, firmware revision, software revision, serial number, manufacturer name, model name, and asset ID.
Some TLVs support multiple subtypes. For example, Port ID is sent as an ifName (for example, ge.1.1) between Enterasys devices, but when an LLDP-MED endpoint is detected on a port, that TLV subtype changes to a network address (MAC address), and other MED TLVs are sent, as defined by the MED spec.
Configuring LLDP
LLDP Configuration Commands
Table 1 lists LLDP configuration commands. The table indicates which commands are device specific. Table 1
Task Set the time, in seconds, between successive LLDP frame transmissions initiated by changes in the LLDP local system information. Default value is 30 seconds.
Page 7 of 14
Configuring LLDP
Table 1
Task
Set the time-to-live value used in LLDP frames sent by this device. The time-to-live for LLDPDU data is calculated by multiplying the transmit interval by the hold multiplier. The default value is 4. Set the minimum interval between LLDP notifications sent by this device. LLDP notifications are sent when a remote system change has been detected. The default value is 5 seconds. Set the number of fast start LLDPDUs to be sent when an LLDP-MED endpoint device is detected. Network connectivity devices transmit only LLDP TLVs in LLDPDUs until they detect that an LLDPMED endpoint device has connected to a port. At that point, the network connectivity device starts sending LLDP-MED TLVs at a fast start rate on that port. The default value is 3. Enable or disable transmitting and processing received LLDPDUs on a port or range of ports. Enable or disable sending LLDP traps when a remote system change is detected. Enable or disable sending an LLDP-MED trap when a change in the topology has been sensed on the port (that is, a remote endpoint device has been attached or removed from the port). Configure LLDP-MED location information on a port or range of ports. Currently, only Emergency Call Services (ECS) Emergency Location Identification Number (ELIN) is supported. ELIN is a special phone number used to indicate location, and is assigned and associated with small geographies in the organization.It is one of the forms of identification that the location identification TLV provides. Select the optional LLDP and LLDP-MED TLVs to be transmitted in LLDPDUs by the specified port or ports.
set lldp port status {tx-enable | rxenable | both | disable} port-string set lldp port trap {enable | disable} port-string set lldp port med-trap {enable | disable} port-string
set lldp port tx-tlv {[all] | [portdesc] [sys-name] [sys-desc] [sys-cap] [mgmtaddr] [vlan-id] [stp] [lacp] [gvrp] [mac-phy] [poe] [link-aggr] [max-frame] [medcap] [med-pol] [medloc] [med-poe]} port-string set lldp port network-policy {all | voice | voice-signaling | guest-voice | guest-voice-signaling | softphone-voice | video-conferencing | streaming-video | video-signaling} [state {enable | disable}] [ tag {tagged | untagged}] [vid {vlan-id | dot1p}] [cos cos-value] [dscp dscp-value] port-string
Configure network policy for a set of applications on a port or range of ports. The policies configured with this command are sent in LLDPDUs as LLDP-MED Network Policy TLVs. Multiple Network Policy TLVs can be sent in a single LLDPDU.
Page 8 of 14
Configuring LLDP
Table 1
Task
Return the port status to the default value of both (both transmitting and processing received LLDPDUs are enabled). Return the port LLDP trap setting to the default value of disabled. Return the port LLDP-MED trap setting to the default value of disabled. Return the port ECS ELIN location setting to the default value of null. Return network policy for a set of applications on a port or range of ports to default values.
clear lldp port trap port-string clear lldp port med-trap port-string clear lldp port location-info elin port-string clear lldp port network-policy {all | voice | voice-signaling | guest-voice | guest-voice-signaling | softphone-voice | video-conferencing | streaming-video | video-signaling} {[state ] [ tag ] [vid ] [cos ] [dscp ] } portstring clear lldp port tx-tlv {[all] | [portdesc] [sys-name] [sys-desc] [sys-cap] [mgmtaddr] [vlan-id] [stp] [lacp] [gvrp] [mac-phy] [poe] [link-aggr] [max-frame] [medcap] [med-pol] [medloc] [med-poe]} port-string
Clear the optional LLDP and LLDP-MED TLVs to be transmitted in LLDPDUs by the specified port or ports to the default value of disabled.
Refer to the devices CLI Reference Guide or Configuration Guide, as applicable, for more information about each command.
Page 9 of 14
Configuring LLDP
Configuring LLDP
Command(s) set lldp tx-interval set lldp hold-multiplier set lldp trap-interval set lldp med-fast-repeat clear lldp
2.
Enable/disable specific ports to: Transmit and process received LLDPDUs Send LLDP traps Send LLDP-MED traps set/clear lldp port status set/clear lldp port trap set/clear lldp port med-trap set/clear lldp port location-info set/clear lldp port network-policy set/clear lldp tx-tlv
3. 4. 5.
Configure an ECS ELIN value for specific ports. Configure Network Policy TLVs for specific ports. Configure which optional TLVs should be sent by specific ports. For example, if you configured an ECS ELIN and/or Network Policy TLVs, you must enable those optional TLVs to be transmitted on the specific ports.
Page 10 of 14
show lldp port tx-tlv [port-string] show lldp port location-info [portstring] show lldp port local-info [port-string] show lldp port remote-info [portstring] show lldp port network policy {all | voice | voice-signaling | guest-voice | guestvoice-signaling | software-voice | video-conferencing | streaming-video | videosignaling} [port-string]
Refer to the devices CLI Reference Guide or Configuration Guide, as applicable, for a description of the output of each command.
Page 11 of 14
Table 3
Task
Refer to the devices CLI Reference Guide or Configuration Guide, as applicable, for more information about each command.
This example shows how to enable the CDP for port ge.1.2:
Router1(rw)->set cdp state enable ge.1.2
This example shows how to disable the CDP for port ge.1.2:
Router1(rw)->set cdp state disable ge.1.2
Refer to the devices CLI Reference Guide or Configuration Guide, as applicable, for a description of the output of each command.
Page 12 of 14
Table 5
Task
Set the time to live (TTL) for Cisco Discovery Protocol PDUs. This is the amount of time (in seconds) neighboring devices will hold PDU transmissions from the sending device. Set the status, voice VLAN, extended trust mode, and CoS priority for untrusted traffic for the Cisco Discovery Protocol on one or more ports.
set ciscodp port { [status {disable | enable}] [ vvid {<vlan-id> | none | dot1p | untagged}] [trust-ext {trusted | untrusted}] [cos-ext value] } <portstring> clear ciscodp { [status | timer | holdtime | port {status | vvid | trust-ext | cos-ext}] } <port-string>
Refer to the devices CLI Reference Guide or Configuration Guide, as applicable, for more information about each command.
Display global Cisco Discovery Protocol information. show ciscodp Display summary information about the Cisco Discovery Protocol on one or more ports. Display Network Neighbor Discovery information from all supported discovery protocols. show ciscodp port info [port-string] show neighbors [port-string]
Refer to the devices CLI Reference Guide or Configuration Guide, as applicable, for a description of the output of each command.
Page 13 of 14
Revision History
Date 09-29-08 10-15-08 2-24-2012 Description New document Corrected trademark list and template issues Updated document to include new platforms, remove obsolete limitations.
Enterasys Networks reserves the right to make changes in specifications and other information contained in this document and its web site without prior notice. The reader should in all cases consult Enterasys Networks to determine whether any such changes have been made. The hardware, firmware, or software described in this document is subject to change without notice. IN NO EVENT SHALL ENTERASYS NETWORKS BE LIABLE FOR ANY INCIDENTAL, INDIRECT, SPECIAL, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING BUT NOT LIMITED TO LOST PROFITS) ARISING OUT OF OR RELATED TO THIS DOCUMENT, WEB SITE, OR THE INFORMATION CONTAINED IN THEM, EVEN IF ENTERASYS NETWORKS HAS BEEN ADVISED OF, KNEW OF, OR SHOULD HAVE KNOWN OF, THE POSSIBILITY OF SUCH DAMAGES. Enterasys Networks, Inc. 50 Minuteman Road Andover, MA 01810 2012 Enterasys Networks, Inc. All rights reserved. ENTERASYS, ENTERASYS NETWORKS, ENTERASYS NETSIGHT, LANVIEW, WEBVIEW, and any logos associated therewith, are trademarks or registered trademarks of Enterasys Networks, Inc., in the United States and other countries. For a complete list of Enterasys trademarks, see http://www.enterasys.com/company/ trademarks.aspx. All other product names mentioned in this manual may be trademarks or registered trademarks of their respective companies.