lldp
config>port>ethernet
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure Link Layer Discovery Protocol (LLDP) parameters on the specified port.
[no] tunnel-nearest-bridge-dest-mac
config>port>ethernet>lldp
7210 SAS-D, 7210 SAS-Dxp, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, 7210 SAS-K 3SFP+ 8C
This command configures tunneling for LLDP frames that use the nearest-bridge-dest-mac as destination MAC address. If enabled using the tunnel-nearest-bridge-dest-mac command, all frames received with the appropriate destination MAC address are forwarded transparently to the remote end of the service. To forward these frames transparently the port on which tunneling is enabled must be configured with NULL SAP and the NULL SAP must be configured in an Epipe service. Tunneling is not supported for any other port encapsulation or when using any other service.
Additionally, before enabling tunneling, admin status for LLDP dest-mac nearest-bridge must be set to disabled or Tx only, using the command admin-status available under configure> port> ethernet> lldp> dest-mac nearest-bridge. If admin-status for dest-mac nearest-bridge is set to receive and process nearest-bridge LLDPDUs (that is, if either rx or tx-rx is set) then it overrides the tunnel-nearest-bridge-dest-mac command.
The following table describes the behavior for LLDP with different values set in use for admin-status and when tunneling is enabled or disabled.
Nearest-bridge MAC Admin status |
Tunneling enabled |
Tunneling disabled |
---|---|---|
Rx |
Process/Peer |
Process/Peer |
Tx |
Tunnel |
Drop |
Rx-Tx |
Process/Peer |
Process/Peer |
Disabled |
Tunnel |
Drop |
Transparent forwarding of LLDP frames can be achieved using the standard defined mechanism when using the either nearest-non-tmpr or the nearest-customer as the destination MAC address in the LLDP frames. It is recommended that the customers use these MAC address where possible to conform to standards. This command allows legacy LLDP implementations that do not support these additional destinations MAC addresses to tunnel LLDP frames that use the nearest-bridge destination MAC address.
The no form of this command disable LLDP tunneling for frames using nearest-bridge destination MAC address.
no tunnel-nearest-bridge-dest-mac
dest-mac {nearest-bridge | nearest-non-tpmr | nearest-customer}
config>port>ethernet>lldp
Supported on all 7210 SAS platforms as described in this document
This command configures destination MAC address parameters to use by LLDP.
Specifies to use the nearest bridge
Specifies to use the nearest non-Two-Port MAC Relay (TPMR).
Specifies to use the nearest customer.
admin-status {rx | tx | tx-rx | disabled}
config>port>ethernet>lldp>dstmac
Supported on all 7210 SAS platforms as described in this document
This command specifies the desired administrative status of the local LLDP agent.
Specifies that the LLDP agent receives LLDP frames on this port, also indicates that the LLDP agent does not transmit LLDP frames.
Specifies that the LLDP agent transmits LLDP frames on this port and does not store any information about the remote systems connected.
Specifies that the LLDP agent transmits and receives LLDP frames on this port.
Specifies that the LLDP agent does not transmit or receive LLDP frames on this port. If there is remote systems information which is received on this port and stored in other tables, before the port's admin status becomes disabled, then the information will naturally age out.
lldp-med
config>port>ethernet>lldp>dest-mac
7210 SAS-Dxp
Commands in this context configure the administrative status of the local LLDP-MED agent.
admin-status {tx-rx | disabled}
no admin-status
config>port>ethernet>lldp>dest-mac>lldp-med
7210 SAS-Dxp
This command configures the administrative status of the local LLDP-MED agent.
The no form of this command disables the ability to specify the administrative status of the local LLDP-MED agent.
admin-status disabled
Keyword to configure the LLDP agent to transmit and receive LLDP-MED TLVs on the configured port.
Keyword to indicate that the LLDP-MED agent does not transmit or receive LLDP frames with LLDP-MED TLVs on the configured port. If no remote systems information is received on the configured port and stored in other tables before the port administrative status becomes disabled, the information ages out.
network-policy policy-id [policy-id...(up to 4 max)]
no network-policy
config>port>ethernet>lldp>dest-mac>lldp-med
7210 SAS-Dxp
This command configures the network policy information that the node transmits in the Network Policy TLV.
Up to four policies can be configured, as long as the configured application-type for each policy is different. The system includes multiple Network Policy TLVs (if multiple policies are configured), with the policy for each application-type included in its own Network Policy TLV. The Network Policy TLV order in the LLDP message matches the policy order configured in the CLI. If the system cannot fit all configured Network Policy TLVs into the LLDP frame because of size constraints, a log message is generated for the last network policy that exceeds the frame size. The error notification allows the user to adjust the configuration appropriately.
The user must explicitly configure a network policy (with values assigned to the endpoint device) before the transmission and reception of LLDP-MED TLVs on the port is allowed. If a port is configured to transmit the LLDP-MED Network Policy TLV but the user has not configured a network policy, the node will not transmit the Network Policy TLV. The node processes the received Network Policy TLV and displays the TLV values in the LLDP message received from the peer provided that the LLDP-MED receiving processing and Network Policy TLV processing is enabled, regardless of whether network-policy is configured.
The no form of this command removes the association of all network policies with the port.
no network-policy
Specifies network policy ID.
tx-tlvs [network-policy] [mac-phy-config-status]
no tx-tlvs
config>port>ethernet>lldp>dest-mac>lldp-med
7210 SAS-Dxp
This command configures the specific transmit TLV from the network connectivity TLV set to be transmitted on the port if LLDP-MED TLV transmission is enabled on the port.
The no form of this command removes the configuration.
no tx-tlvs
Keyword to enable the transmission of the network policy TLV.
Keyword to enable the transmission of the MAC-PHY Configuration and Status TLV.
[no] notification
config>port>ethernet>lldp>dstmac
Supported on all 7210 SAS platforms as described in this document
This command enables LLDP notifications.
The no form of this command disables LLDP notifications.
port-id-subtype {tx-if-alias | tx-if-name | tx-local}
no port-id-subtype
config>port>ethernet>lldp>dest-mac
7210 SAS-D, 7210 SAS-Dxp, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, 7210 SAS-K 3SFP+ 8C
This command specifies how to encode the PortID TLV transmit to the peer. Some versions of the NSP NFM-P require the default tx-local (if Index value) setting to properly build the Layer Two topology map using LLDP. Changing this setting to transmit the ifName (tx-if-name) or ifAlias (tx-if-alias), instead of the ifIndex (tx-local), may affect the ability of the NSP NFM-P to build the Layer 2 topology map using LLDP.
The no form of this command reverts to the default value.
portid-subtype tx-local
Keyword to transmit the ifAlias String (subtype 1) that describes the port as stored in the IF-MIB, either user configured or the default entry (for example, 10/100/Gig Ethernet SFP).
Keyword to transmit the ifName string (subtype 5) that describes the port as stored in the IF-MIB ifName information.
Keyword to specify the interface ifIndex value (subtype 7) as the PortID.
tx-mgmt-address [system] [system-ipv6]
no tx-mgmt-address
config>port>ethernet>lldp>dstmac
7210 SAS-D, 7210 SAS-Dxp, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, 7210 SAS-K 3SFP+ 8C
This command specifies which management address to transmit. The operator can choose to send the system IPv4 IP Address, system IPv6 address, or both.
The system address is sent only once. When both options are configured, both system addresses are sent. The system address must be configured for the specific version of the protocol to send the management address.
no tx-mgmt-address
Keyword to transmit the system IPv4 address.
Keyword to transmit the system IPv6 address. This parameter can only be used on platforms that support IPv6.
tx-tlvs [port-desc] [sys-name] [sys-desc] [sys-cap]
no tx-tlvs
config>port>ethernet>lldp>dstmac
Supported on all 7210 SAS platforms as described in this document
This command specifies which LLDP TLVs to transmit.
The no form of this command reverts to the default value.
no tx-tlvs
Specifies that the LLDP agent should transmit port description TLVs.
Specifies that the LLDP agent should transmit system name TLVs.
Specifies that the LLDP agent should transmit system description TLVs.
Specifie that the LLDP agent should transmit system capabilities TLVs.