Configuring Lldp Management Tlv Ip Addresses On An Interface - Cisco Nexus 3000 Series Configuration Manual

Nx-os layer 2 switching configuration guide, release 6.x
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Configuring LLDP

Configuring LLDP Management TLV IP Addresses on an Interface

Before You Begin
Ensure that the LLDP management TLV option is configured.
Procedure
Step 1
Step 2
Step 3
This example shows how to specify the management IPv4 address in the management TLV:
switch# configure terminal
switch(config)# interface ethernet 1/8
switch(config-if)# lldp tlv-set management-address 1.1.1.20
This example shows how to specify the management IPv6 address in the management TLV:
switch# configure terminal
switch(config)# interface ethernet 1/8
switch(config-if)# lldp tlv-set management-address 0dc3:0dc3:0000:0000:0218:baff:fed8:239d
ipv6
This example shows how to specify the VLAN ID in the management TLV:
switch# configure terminal
switch(config)# interface ethernet 1/8
switch(config-if)# lldp tlv-set vlan 10
OL-29545-03
If you configure both TLVs and no IPv4 address is configured, no interface port's MAC
Note
address is sent in the v4 TLV. Only one TLV is sent.
If only one TLV is sent that has the interface port's MAC address, this address is
displayed in both the IPv4 and IPv6 address column of the peer.
Command or Action
switch# configure terminal
switch(config)# interface ethernet
slot/port
switch(config-if)# [no] lldp
tlv-set { management-address
ip-address [ipv6] | vlan [vlan-id]
}
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x

Configuring LLDP Management TLV IP Addresses on an Interface

Purpose
Enters global configuration mode.
Specifies an interface to configure and enters interface
configuration mode.
Specifies the management IPv4 address, IPv6 address, or the
VLAN ID.
The lldp tlv-set vlan command must be run on Layer 2 ports
only. If you run this command on Layer 3 ports, this
configuration will be ignored while determining the
management IPv4 or IPv6 address for the LLDP management
TLV. However, the configuration will not be removed. When
the port layer mode is changed to Layer 2 again, this
configuration will be considered again.
123

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents