LLDP Ethernet Port Commands

Refer to the 7705 SAR Basic System Configuration Guide, ‟System Management”, for LLDP system commands.

lldp

Syntax

lldp

Context

config>port>ethernet

Description

This command enables the context to configure LLDP parameters on the specified port.

Note:

In order for LLDP to be operational on the Ethernet ports on the 2-port 10GigE (Ethernet) Adapter card/module, the v-port must be active (that is, in no shutdown mode).

dest-mac

Syntax

dest-mac {nearest-bridge | nearest-non-tpmr | nearest-customer}

Context

config>port>ethernet>lldp

Description

This command configures destination MAC address parameters.

Parameters

nearest-bridge

configures the LLDP to use the nearest bridge

nearest-non-tpmr

configures the LLDP to use the nearest non-two-port MAC relay (TPMR) bridge

nearest-customer

configures the LLDP to use the nearest customer bridge

admin-status

Syntax

admin-status {rx | tx | tx-rx | disabled}

Context

config>port>ethernet>lldp>dest-mac

Description

This command specifies the administratively desired status of the local LLDP agent.

Default

disabled

Parameters

rx

specifies that the LLDP agent will receive, but will not transmit, LLDP frames on this port

tx

specifies that the LLDP agent will transmit LLDP frames on this port and will not store any information about the remote systems connected to it

tx-rx

specifies that the LLDP agent will transmit and receive LLDP frames on this port

disabled

specifies that the LLDP agent will not transmit or receive LLDP frames on this port. If there is remote system information that was received on this port and stored in other tables before the port’s admin-status was disabled, the information will naturally age out.

notification

Syntax

[no] notification

Context

config>port>ethernet>lldp>dest-mac

Description

This command enables LLDP notifications.

The no form of the command disables LLDP notifications.

Default

no notification

port-id-subtype

Syntax

port-id-subtype {tx-if-alias | tx-if-name | tx-local}

Context

config>port>ethernet>lldp>destmac

Description

This command specifies how to encode the port ID TLV transmit to the peer. The default setting tx-local (ifindex value) is required by some versions of the NSP NFM-P to properly build the Layer 2 topology map using LLDP. Changing this value to transmit the ifName (tx-if-name) or ifAlias (tx-if-alias) in place of the ifindex (tx-local) may affect the ability of the NSP NFM-P to build the Layer 2 topology map using LLDP.

Default

tx-local

Parameters

tx-if-alias

transmits the ifAlias string (subtype 1) that describes the port as stored in the IF-MIB, either user-configured or the default entry (that is, 10/100/Gig Ethernet SFP)

tx-if-name

transmits the ifName string (subtype 5) that describes the port as stored in the IF-MIB ifName info

tx-local

the interface ifindex value (subtype 7) as the port ID

tx-mgmt-address

Syntax

tx-mgmt-address [system] [system-ipv6]

no tx-mgmt-address

Context

config>port>ethernet>lldp>dest-mac

Description

This command specifies which management address to transmit. The 7705 SAR can only be configured to send or not send the system address.

If the no form of the command is used, the port will not include the system management address TLV in any LLDPDUs it transmits.

Default

no tx-mgmt-address

Parameters

system

specifies to use the system IPv4 address. The system address is only transmitted after it has been configured.

system-ipv6

specifies to use the system IPv6 address. The system address is only transmitted after it has been configured.

tx-tlvs

Syntax

tx-tlvs [port-desc] [sys-name] [sys-desc] [sys-cap]

no tx-tlvs

Context

config>port>ethernet>lldp>dest-mac

Description

This command specifies which LLDP optional TLVs to transmit.

If the no form of the command is used, the port will not include any optional TLVs in any LLDPDUs it transmits.

Default

no tx-tlvs

Parameters

port-desc

indicates that the LLDP agent should transmit port description TLVs

sys-name

indicates that the LLDP agent should transmit system name TLVs

sys-desc

indicates that the LLDP agent should transmit system description TLVs

sys-cap

indicates that the LLDP agent should transmit system capabilities TLVs