3 lldp-med example, Lldp-med, Xample – PLANET WGSW-52040 User Manual

Page 142

Advertising
background image

17.3 LLDP-MED Example

Figure 17-1: Basic LLDP-MED configuration topology

1) Configure Switch A

SwitchA(config)#interface ethernet1/1

SwitchA (Config-If-Ethernet1/1)# lldp enable
SwitchA (Config-If-Ethernet1/1)# lldp mode both(this configuration can be omitted, the

default mode is RxTx)

SwitchA (Config-If-Ethernet1/1)# lldp transmit med tlv capability

SwitchA (Config-If-Ethernet1/1)# lldp transmit med tlv network policy

SwitchA (Config-If-Ethernet1/1)# lldp transmit med tlv inventory

SwitchB (Config-If-Ethernet1/1)# network policy voice tag tagged vid 10 cos 5 dscp 15

SwitchA (Config-If-Ethernet1/1)# exit

SwitchA (config)#interface ethernet1/2

SwitchA (Config-If-Ethernet1/2)# lldp enable

SwitchA (Config-If-Ethernet1/2)# lldp mode both

2) Configure Switch B

SwitchB (config)#interface ethernet1/1

SwitchB(Config-If-Ethernet1/1)# lldp enable

SwitchB (Config-If-Ethernet1/1)# lldp mode both

SwitchB (Config-If-Ethernet1/1)# lldp transmit med tlv capability

17-64

Advertising