8 LLDP configuration

Brocade(config)#lldp enable ports e 1/2/1

Syntax: [no] lldp enable ports ethernet <stack-unit>/<slot>/<port>all

Use the [no] form of the command to disable the receipt and transmission of LLDP packets on a port. Specify the ethernet port in the <stack-unit>/<slot>/<port>format. Stack-unit is 1.

You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually.

NOTE

When a port is configured to both receive and transmit LLDP packets and the MED capabilities TLV is enabled, LLDP-MED is enabled as well. LLDP-MED is not enabled if the operating mode is set to receive only or transmit only.

Enabling and disabling receive only mode

When LLDP is enabled on a global basis, by default, each port on the Brocade ICX 6650 device will be capable of transmitting and receiving LLDP packets. To change the LLDP operating mode from receive and transmit mode to receive only mode, simply disable the transmit mode. Enter a command such as the following at the Global CONFIG level of the CLI.

Brocade(config)#no lldp enable transmit ports e 1/1/1 e 1/1/2 e 1/1/3

The above command changes the LLDP operating mode on ports 1/1/1, 1/1/2, and 1/1/3 from transmit and receive mode to receive only mode.

To change a port LLDP operating mode from transmit only to receive only, first disable the transmit only mode, then enable the receive only mode. Enter commands such as the following.

Brocade(config)#no lldp enable transmit ports e 1/1/4 e 1/1/5 e 1/1/6

Brocade(config)#lldp enable receive ports e 1/1/4 e 1/1/5 e 1/1/6

The above commands change the LLDP operating mode on ports 1/1/4, 1/1/5, and 1/1/6, from transmit only to receive only. Note that if you do not disable the transmit only mode, you will configure the port to both transmit and receive LLDP packets.

NOTE

LLDP-MED is not enabled when you enable the receive only operating mode. To enable LLDP-MED, you must configure the port to both receive and transmit LLDP packets. Refer to “Enabling and disabling receive and transmit mode” on page 193.

Syntax: [no] lldp enable receive ports ethernet <stack-unit>/<slot>/<port>all

Use the no form of the command to disable the receive only mode. Specify the ethernet port in the <stack-unit>/<slot>/<port>format. Stack-unit is 1.

You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually.

Enabling and Disabling Transmit Only Mode

When LLDP is enabled on a global basis, by default, each port on the Brocade device will be capable of transmitting and receiving LLDP packets. To change the LLDP operating mode to transmit only mode, simply disable the receive mode. Enter a command such as the following at the Global CONFIG level of the CLI.

194

Brocade ICX 6650 Administration Guide

 

53-1002600-01

Page 212
Image 212
Brocade Communications Systems 6650 Enabling and disabling receive only mode, Enabling and Disabling Transmit Only Mode