SNR S2940-8G-v2 Switch Configuration Guide
LLDP-MED
Command Explanation
Admin mode
show lldp Show the configuration of the global LLDP and LLDP-MED.
show lldp [ interface ethernet
<IFNAME> ]
Show the configuration of LLDP and LLDP-MED on the cur-
rent port.
show lldp neighbors [ interface
ethernet <IFNAME> ]
Show LLDP and LLDP-MED configuration of the neighbors.
13.3 LLDP-MED Example
Figure 13.1: Basic LLDP-MED configuration topology
1) Configure Switch A
SwitchA(config)#interface ethernet1/0/1
SwitchA(Config-If-Ethernet1/0/1)#lldp enable
SwitchA(Config-If-Ethernet1/0/1)#lldp mode both
SwitchA(Config-If-Ethernet1/0/1)#lldp transmit med tlv capability
SwitchA(Config-If-Ethernet1/0/1)#lldp transmit med tlv network policy
SwitchA(Config-If-Ethernet1/0/1)#lldp transmit med tlv inventory
SwitchB(Config-If-Ethernet1/0/1)#network policy voice tag tagged vid 10 cos 5 dscp 15
SwitchA(Config-If-Ethernet1/0/1)#exit
SwitchA(config)#interface ethernet1/0/2
SwitchA(Config-If-Ethernet1/0/2)#lldp enable
SwitchA(Config-If-Ethernet1/0/2)#lldp mode both
2) Configure Switch B
SwitchB(config)#interface ethernet1/0/1
SwitchB(Config-If-Ethernet1/0/1)#lldp enable
SwitchB(Config-If-Ethernet1/0/1)#lldp mode both
SwitchB(Config-If-Ethernet1/0/1)#lldp transmit med tlv capability
SwitchB(Config-If-Ethernet1/0/1)#lldp transmit med tlv network policy
SwitchB(Config-If-Ethernet1/0/1)#lldp transmit med tlv inventory
SwitchB(Config-If-Ethernet1/0/1)#network policy voice tag tagged vid 10 cos 4
96