LLDP MED Configuration
In LLDP-MED protocol, it provides extra Organizationally Specific TLVs. The TLVs lists that Pica8 switch support are as follows :
M Mandatory for this TLV to be included in all outgoing LLDP-MED LLDPDUs,
C Conditionally required, mandatory for this TLV to be included in outgoing LLDP-MED LLDPDUs under the described conditions,
LLDP-MED TLV Subtype | TLV Name | LLDPDU Usage |
1 | LLDP-MED Capabilities | M |
2 | Network Policy | C1 |
3 | Location Identification | C1 |
4 | Extended Power-via-MDI | C2 |
Note 1: Transmission of these mandatory TLVs only applies if the associated TLV data contents have been administratively configured and apply on a given port.
Note 2: Extended Power-via-MDI TLV is mandatory for IEEE 802.3af compliant PSE Network Connectivity Devices. This TLV is not applicable for non-PoE capable ports, and should not be included in outgoing LLDP-MED LLDPDUs on such ports.
Basic Configuration:Â
Enable LLDP
set protocols lldp enable true
Configure lldp med tlvs
- basiclly these tlvs are selected by default:
set protocols lldp med-tlv-select inventory-management true/false set protocols lldp med-tlv-select network-policy true/false set protocols lldp med-tlv-select extended-power-via-mdi true/false
- Configure the lldp med fast start repeat count:
- The LLDP-MED fast start repeat count specifies the number of LLDP packets that will be sent during the LLDP-MED fast start period.
set protocols lldp med-fast-start-repeat-count 5
The LLDP MED function will only be active by receiving lldp med packets.
Show the med working status:
admin@XorPlus# run show lldp detail LLDP: Enable Advertisement interval: 30 Re-initialization Delay: 2 Transmit Delay: 2 Hold timer: 120 LLDP-MED fast start repeat count: 5 Selected TLVs: port_description system_name system_description system_capabilities management_address port_vlan_id mac_phy Selected MED TLVs: inventory management network_policy extended_power_via_mdi
Show the med information of neighbor device:
admin@XorPlus# run show lldp neighbor ge-1/1/1 detail Local Port: ge-1/1/1 LLDP info: Time To Live: 180 Chassis Id: 192.1.1.1 Port ID: 189C5DB7E4F4:P1 Port Description: SW PORT System Name: SEP189C5DB7E4F4 System Description: Cisco IP Phone 7965G,V14, System Capability: Bridge, Telephone Management Address: Default VLAN ID: 0 Auto Negotiation: Supported, Enabled Physical media capabilities: FDX_S_Pause, FDX_B_Pause, 1000base_XFD, 1000base_T Media Attachment Unit type: 1000base_T_Full_Duplex +Med capabilities: Capabilities, Network Policy, Extended Power via MDI-PD, Inventory Med device type: Endpoint Class III +MED Network Policy Application Type: Voice Policy Flags: Known Policy Vlan ID: 4095 L2 Priority: 5 DSCP Value: 46 +MED Network Policy Application Type: Voice Signaling Policy Flags: Known Policy Vlan ID: 4095 L2 Priority: 0 DSCP Value: 0 +MED Extended Power via MDI Power Type: PD device Power Source: Unknown Power Priority: Unknown Power Value: 12.0 watts +MED Hardware revision: 14 +MED Firmware revision: tnp65.9-3-1-CR17.bin +MED Software revision: +MED Serial number: FCH174499U2 +MED Manufacturer: Cisco Systems, Inc. +MED Model name: CP-7965G +MED Asset ID:
Â
Show the med information of local device:
admin@XorPlus# run show lldp local_info ge-1/1/1 detail LLDP Local configuration details Chassis ID: 70:72:cf:fd:8f:21 System name: XorPlus System description: PICA8 Inc., Model as4610_30p, PicOS 2.9.1 Interface LLDP State ---------- --------- --------- ge-1/1/1 Enable tx_rx +Med capabilities: Capabilities, Network Policy, Extended Power via MDI-PD, Inventory Med device type: Network Connectivity +MED Network Policy Application Type: Voice Policy Flags: Unknown Policy Vlan ID: 0 L2 Priority: 6 DSCP Value: 46 +MED Network Policy Application Type: Voice Signaling Policy Flags: Unknown Policy Vlan ID: 0 L2 Priority: 0 DSCP Value: 0 +MED Extended Power via MDI Power Type: PSE device Power Source: Primary Power Source Power Priority: Unknown Power Value: 0.0 watts +MED Hardware revision: N/A +MED Firmware revision: 2.9.1/ac36038 +MED Software revision: 2.9.1/ac36038 +MED Serial number: AF10029779 +MED Manufacturer: Edgecore +MED Model name: as4610_30p +MED Asset ID: N/A
Copyright © 2024 Pica8 Inc. All Rights Reserved.