Cisco Systems N3KC3064TFAL3 Manual De Usuario

Descargar
Página de 164
This example shows how to configure the global LLDP hold time to 200 seconds:
switch#
configure terminal
switch(config)#
lldp holdtime 200
switch(config)#
This example shows how to to enable LLDP to send or receive the management address TLVs:
switch#
configure terminal
switch(config)#
lldp tlv-select management-address
switch(config)#
Configuring Interface LLDP Commands
To configure the LLDP feature for a physical Ethernet interface, perform this task:
Procedure
Purpose
Command or Action
Enters configuration mode.
switch# configure terminal
Step 1
Selects the interface to change.
switch(config)# interface type slot/port
Step 2
Sets the selected interface to either receive or
transmit.
switch(config-if)# [nolldp {receive |
transmit}
Step 3
The no form of the command disables the LLDP
transmit or receive.
Displays LLDP configurations.
(Optional)switch#show lldp
Step 4
This example shows how to set an interface to transmit LLDP packets:
switch#
configure terminal
switch(config)#
interface ethernet 1/2
switch(config-if)#
lldp transmit
This example shows how to configure an interface to disable LLDP:
switch#
configure terminal
switch(config)#
interface ethernet 1/2
switch(config-if)#
no lldp transmit
switch(config-if)#
no lldp receive
This example shows how to display LLDP interface information:
switch#
show lldp interface ethernet 1/2
tx_enabled: TRUE
rx_enabled: TRUE
dcbx_enabled: TRUE
Port MAC address:
00:0d:ec:a3:5f:48
Remote Peers Information
No remote peers exist
This example shows how to display LLDP neighbor information:
switch#
show lldp neighbors
LLDP Neighbors
Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)    
   OL-26590-01
129
Configuring LLDP
Configuring Interface LLDP Commands