L Commands


This chapter describes the Cisco NX-OS Fibre Channel, virtual Fibre Channel, and Fibre Channel over Ethernet (FCoE) commands that begin with L.

lldp

To configure the Link Layer Discovery Protocol (LLDP) global options, use the lldp command. To remove the LLDP settings, use the no form of this command.

lldp {holdtime seconds | reinit seconds | timer seconds}

no lldp {holdtime | reinit | timer}

Syntax Description

holdtime seconds

Specifies the hold time (in seconds) to set the length of time that a device should save LLDP information received before discarding it.

The range is from 10 to 255, and the default is 120 seconds.

reinit seconds

Specifies the length of time (in seconds) to wait before performing LLDP initialization on any interface.

The range is from 1 to 10 seconds, and the default is 2 seconds.

timer seconds

Specifies the rate (in seconds) at which LLDP packets are sent.

The range is from 5 to 254 seconds, and the default is 30 seconds.


Command Default

Holdtime: 120 seconds.
Reinit: 2 seconds.
Timer: 30 seconds.

Command Modes

Global configuration mode

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

The LLDP settings include the length of time before discarding LLDP information received from peers, the length of time to wait before performing LLDP initialization on any interface, and the rate at which LLDP packets are sent.

Examples

This example shows how to configure the global LLDP holdtime to 200 seconds:

switch(config)# lldp holdtime 200 
switch(config)#
 
   

Related Commands

Command
Description

lldp (Interface)

Configures the LLDP feature on an interface.

show lldp

Displays the LLDP configuration information.


lldp (interface)

To enable the reception, or transmission, of Link Layer Discovery Protocol (LLDP) packets on an interface, use the lldp command. To disable the reception or transmission of LLDP packets, use the no form of this command.

lldp {receive | transmit}

no lldp {receive | transmit}

Syntax Description

receive

Specifies that the interface receive LLDP packets.

transmit

Specifies that the interface transmit LLDP packets.


Command Default

None

Command Modes

Interface configuration mode

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

This example shows how to set an interface to transmit LLDP packets:

switch(config)# interface ethernet 2/1 
switch(config-if)# lldp transmit 
switch(config-if)# 
 
   

Related Commands

Command
Description

show interface

Displays configuration information about interfaces.


logging abort

To discard the logging Cisco Fabric Services (CFS) distribution session in progress, use the logging abort command.

logging abort

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Global configuration mode

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

This example shows how to discard the logging CFS distribution session in progress:

switch(config)# logging abort 
 
   

Related Commands

Command
Description

show logging

Displays logging information.


logging commit

To apply the pending configuration pertaining to the logging Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the logging commit command.

logging commit

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Global configuration mode

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

This example shows how to commit changes to the active logging configuration:

switch(config)# logging commit 
 
   

Related Commands

Command
Description

show logging

Displays logging information.


logging distribute

To enable Cisco Fabric Services (CFS) distribution for logging, use the logging distribute command. To disable this feature, use the no form of this command.

logging distribute

no logging distribute

Syntax Description

This command has no arguments or keywords.

Command Default

Disabled

Command Modes

Global configuration mode

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

Before distributing the Fibre Channel timer changes to the fabric, the temporary changes to the configuration must be committed to the active configuration using the logging commit command.

Examples

This example shows how to change the distribute logging configuration changes:

switch(config)# logging distribute
 
   

Related Commands

Command
Description

logging commit

Commits the logging configuration changes to the active configuration.

show logging

Displays logging information.