Configuring Link Layer Discovery Protocol
|
This chapter describes the Link Layer Discovery Protocol (LLDP) feature that allows individual interfaces on the switch to advertise major capabilities and physical descriptions. Network managers can view this information and identify system topology and detect bad configurations on the LAN.
LLDP has separately configurable transmit and receive functions. Interfaces can transmit and receive LLDP information.
This chapter contains the following topics:
Configuring LLDP via CLIExample 1: Set Global LLDP Parameters
Use the following sequence to specify switch-wide notification interval and timers for all LLDP interfaces.
CODE EXAMPLE 12-1 Setting Global LLDP Parameters
(DTI SWITCH) #config
(DTI SWITCH) (Config)#lldp ?
notification-interval Configure minimum interval to send remote data change notifications
timers Configure the LLDP global timer values.
(DTI SWITCH) (Config)#lldp notification-interval ?
<interval-seconds> Range <5 - 3600> seconds.
(DTI SWITCH) (Config)#lldp notification-interval 1000
(DTI SWITCH) (Config)#lldp timers ?
<cr> Press Enter to execute the command.
hold The interval multiplier to set local LLDP data TTL.
interval The interval in seconds to transmit local LLDP data.
reinit The delay before re-initialization.
(DTI SWITCH) (Config)#lldp timers hold 8 reinit 5
(DTI SWITCH) (Config)#exit
(DTI SWITCH) #
|
Example 2: Set Interface LLDP Parameters
The following commands configure interface 0/10 to transmit and receive LLDP information.
CODE EXAMPLE 12-2 Setting Interface LLDP Parameters
(DTI SWITCH) #config
(DTI SWITCH) (Config)#interface 0/10
(DTI SWITCH) (Interface 1/0/10)#lldp ?
notification Enable/Disable LLDP remote data change notifications.
receive Enable/Disable LLDP receive capability.
transmit Enable/Disable LLDP transmit capability.
transmit-mgmt Include/Exclude LLDP management address TLV.
transmit-tlv Include/Exclude LLDP optional TLV(s).
(DTI SWITCH) (Interface 0/10)#lldp receive
(DTI SWITCH) (Interface 0/10)#lldp transmit
(DTI SWITCH) (Interface 0/10)#lldp transmit-mgmt
(DTI SWITCH) (Interface 0/10)#exit
(DTI SWITCH) (Config)#exit
(DTI SWITCH) #
|
Example 3: Show Global LLDP Parameters
CODE EXAMPLE 12-3 Showing Global LLDP Parameters
(DTI SWITCH) #show lldp
LLDP Global Configuration
Transmit Interval............................ 30 seconds
Transmit Hold Multiplier..................... 8
Reinit Delay................................. 5 seconds
Notification Interval........................ 1000 seconds
(DTI SWITCH) #
|
Example 4 Show Interface LLDP Parameters
CODE EXAMPLE 12-4 Showing Interface LLDP Parameters
(DTI SWITCH) #show lldp interface 0/10
LLDP Interface Configuration
Interface Link Transmit Receive Notify TLVs Mgmt
--------- ------ -------- -------- -------- ------- ----
1/0/10 Down Enabled Enabled Disabled Y
TLV Codes: 0- Port Description, 1- System Name
2- System Description, 3- System Capabilities
(DTI SWITCH) #
|
Configuring LLDP via Web Interface
The LLDP menu page contains links to the following features:
- LLDP Configuration
- LLDP Statistics
- LLDP Connections
- LLDP Configuration
Use the LLDP Global Configuration page to specify LLDP parameters.
FIGURE 12-1 LLDP Global Configuration
The LLDP Global Configuration page contains the following fields:
- Transmit Interval (1-32768) -- Specifies the interval at which frames are transmitted. The default is 30 seconds.
- Hold Multiplier (2-10) -- Specifies multiplier on the transmit interval to assign to TTL. Default is 4.
- Re-Initialization Delay (1-10) -- Specifies delay before a re-initialization. Default is 2 seconds.
- Notification Interval (5-3600) -- Limits the transmission of notifications. The default is 5 seconds.
Use the LLDP Interface Configuration screen to specify transmit and receive functions for individual interfaces.
FIGURE 12-2 LLDP Interface Configuration
Interface Parameters
- Interface--Specifies the port to be affected by these parameters.
- Transmit Mode--Enables or disables the transmit function. The default is disabled.
- Receive Mode--Enables or disables the receive function. The default is disabled.
- Transmit Management Information--Enables or disables transmission of management address instance. Default is disabled.
- Notification Mode--Enables or disables remote change notifications. The default is disabled.
- Included TLVs--Selects TLV information to transmit. Choices include System Name, System Capabilities, System Description, and Port Description.
FIGURE 12-3 LLDP Interface Summary
FIGURE 12-4 LLDP Statistics
FIGURE 12-5
Sun Netra CP3240 Switch User’s Guide
|
820-3252-11
|
|
© 2007 Diversified Technology, Inc. All Rights Reserved. © 2009 Sun Microsystems, Inc. All rights reserved.