SW1#configure terminal | Enter Configure mode |
SW1(config)#lldp tlv-select basic-mgmt port-description | Enable LLDP port description TLV in global mode |
SW1(config)#lldp tlv-select basic-mgmt system-name | Enable LLDP system name TLV in global mode |
SW1(config)#lldp tlv-select basic-mgmt system-capabilities | Enable LLDP system capabilities TLV in global mode |
SW1(config)#lldp tlv-select basic-mgmt system-description | Enable LLDP system description TLV in global mode |
SW1(config)#lldp tlv-select basic-mgmt management-address | Enable LLDP management address TLV in global mode |
SW1(config)#interface eth1 | Enter interface mode |
SW1(config-if)#lldp-agent | Enter LLDP interface mode |
SW1(if-lldp-agent)#set lldp enable txrx | Enable LLDP TLV transmit and receive for the nearest bridge |
SW1(if-lldp-agent)#exit | Exit LLDP mode |
SW1(config-if)#commit | Commit the candidate configuration to the running configuration. |
SW1(config-if)#exit | Exit interface mode |
SW1(config)#end | Exit the configure mode |
SW2#configure terminal | Enter Configure mode |
SW2(config)#lldp tlv-select basic-mgmt port-description | Enable LLDP port description TLV in global mode |
SW2(config)#lldp tlv-select basic-mgmt system-name | Enable LLDP system name TLV in global mode |
SW2(config)#lldp tlv-select basic-mgmt system-capabilities | Enable LLDP system capabilities TLV in global mode |
SW2(config)#lldp tlv-select basic-mgmt system-description | Enable LLDP system description TLV in global mode |
SW2(config)#lldp tlv-select basic-mgmt management-address | Enable LLDP management address TLV in global mode |
SW2(config)#interface eth1 | Enter interface mode |
SW2(config-if)#lldp-agent | Enter LLDP interface mode |
SW2(if-lldp-agent)#set lldp enable txrx | Enable LLDP TLV transmit and receive for the nearest bridge |
SW2(if-lldp-agent)#exit | Exit LLDP mode |
SW2(config-if)#commit | Commit the candidate configuration to the running configuration. |
SW2(config-if)#exit | Exit interface mode |
SW2(config)#end | Exit the configure mode |