OcNOS-RON : Layer 2 Guide : Layer 2 Command Reference : Link Layer Discovery Protocol v2 Commands
Link Layer Discovery Protocol v2 Commands
The commands in this chapter support:
Link Layer Discovery Protocol (LLDP) version 2 as described in IEEE 802.1AB 2009
LLDP-MED protocol extension as per ANSI/TIA-1057 April 2006.
Note: To enable LLDPv2, LLDP (previous version) should be disabled or vice versa.
clear lldp counters
Use this command to clear the LLDP statistics on all the interfaces.
Command Syntax
clear lldp counters
Parameters
counters
Reset the LLDP traffic counters to zero.
Command Mode
Exec Mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#clear lldp counters
 
lldp-agent
Use this command to create an LLDP agent mode.
Note: This command is not supported in SVLAN, VLAN, and loopback interfaces.
Use the no parameter to remove configured lldp agent mode.
Command Syntax
lldp-agent (non-tpmr-bridge |customer-bridge| )
no lldp-agent (non-tpmr-bridge |customer-bridge| )
Parameters
non-tpmr-bridge
 
non-tpmr-bridge
customer-bridge
 
customer-bridge
Default
By default LLDP agent is disabled.
Command Mode
Interface Mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#lldp-agent customer-bridge
(if-lldp-agent)#
 
(if-lldp-agent)#no lldp-agent customer-bridge
(if-lldp-agent)#exit
(config-if)#
debug lldp
Use this command to set the debugging functions for LLDP.
Use the no form of this command to turn off LLDP debugging functions
Command Syntax
debug lldp (event|ha|rx|tx|message)
no debug lldp (event|ha|rx|tx|message)
Parameters
event
Enable or disable event debugging
ha
Enable or disable high availability debugging
rx
Enable or disable RX debugging
tx
Enable or disable TX debugging
message
Enable or disable NSM message debugging
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#debug lldp event
#debug lldp message
 
lldp run
Use this command to start the Link Layer Discovery Protocol (LLDP)
Use the no form of this command to stop LLDP
Command Syntax
lldp run
no lldp run
Parameters
None
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#lldp run
 
(config)#no lldp run
lldp tlv basic-mgmt
Use this command to select and unselect basic management TLVs in LLDP frames at the interface agent level. This command has precedence over the global configurations for inclusion of TLVs in LLDP frames.
Use the no parameter to remove the basic management TLV select/unselect configuration from the interface agent level.
Command Syntax
lldp tlv basic-mgmt (management-address|port-description|system-capabilities|system-description|system-name) (select|unselect)
no lldp tlv basic-mgmt (management-address|port-description|system-capabilities|system-description|system-name)
Parameters
management-address
 
Management address TLV
port-description
 
Port description TLV
system-capabilities
 
System capabilities TLV
system-description
 
System Description TLV
system-name
System name TLV
select
Select the LLDP TLV to send
unselect
Unselect the LLDP TLV to send
Default Value
None
Command Mode
LLDP agent mode
Applicability
This command was introduced in OcNOS-SP version 3.0.
Examples
#configure terminal
(config)#interface eth0
(config-if)lldp-agent
(if-lldp-agent)#lldp tlv basic-mgmt system-name select
(if-lldp-agent)#exit
lldp tlv med
Use this command to select and unselect Media Endpoint Devices (MED) TLVs in LLDP frames at the interface agent level. This command has precedence over the global configurations for inclusion of TLVs in LLDP frames.
LLDP MED TLVs determine the capabilities the connected device supports and the capabilities the device has enabled.
Use the no parameter to remove the MED TLV select/unselect configuration from the interface agent level.
Command Syntax
lldp tlv med (network-policy|location|inventory|media-capabilities|extended-power-via-mdi) (select|unselect)
no lldp tlv med (network-policy|location|inventory|media-capabilities|extended-power-via-mdi)
Parameters
network-policy
Network-policy TLV
location
Location TLV
inventory
Inventory TLV
media-capabilities
Media-capabilities TLV
extended-power-via-mdi
Extended-power-via-mdi TLV (when PoE is available)
select
Select the LLDP TLV to send
unselect
Unselect the LLDP TLV to send
Default Value
None
Command Mode
LLDP agent mode
Applicability
This command was introduced in OcNOS-SP version 3.0.
Examples
#configure terminal
(config)#interface eth0
(config-if)lldp-agent
(if-lldp-agent)#lldp tlv med network-policy select
(if-lldp-agent)#exit
 
lldp tlv ieee-8021-org-specific
Use this command to select and unselect ieee-8021-org-specific TLVs in LLDP frames at the interface agent level. This command has precedence over the global configurations for inclusion of TLVs in LLDP frames.
Use the no parameter to remove the ieee-8021-org-specific TLV select/unselect configuration from the interface agent level.
Command Syntax
lldp tlv ieee-8021-org-specific (link-agg|mgmt-vid|port-ptcl-vlanid|port-vlanid|ptcl-identity|vid-digest|vlan-name) (select|unselect)
no lldp tlv ieee-8021-org-specific {port-vlanid| port-ptcl-vlanid| vlan-name|ptcl-identity|vid-digest|mgmt-vid|link-agg}
Parameters
link-agg
Link-aggregation TLV
mgmt-vid
Management VLAN identifier TLV
port-ptcl-vlanid
 
Port protocol VLAN identifier TLV
port-vlanid
Port VLAN identifier TLV
ptcl-identity
Protocol-identifier TLV
vid-digest
VLAN identifier digest TLV
vlan-name
VLAN name TLV
select
Select the LLDP TLV to send
unselect
Unselect the LLDP TLV to send
Default Value
None
Command Mode
LLDP agent mode
Applicability
This command was introduced in OcNOS-SP version 3.0.
Examples
#configure terminal
(config)#interface eth0
(config-if)lldp-agent
(if-lldp-agent)#lldp tlv ieee-8021-org-specific port-vlanid select
(if-lldp-agent)#exit
lldp tlv ieee-8023-org-specific
Use this command to select and unselect ieee-8023-org-specific TLVs in LLDP frames at the interface agent level. This command has precedence over the global configurations for inclusion of TLVs in LLDP frames.
Use the no parameter to remove the ieee-8023-org-specific TLV select/unselect configuration from the interface agent level.
Command Syntax
lldp tlv ieee-8023-org-specific (mac-phy| power-via-mdi| max-mtu-size) (select|unselect)
no lldp tlv ieee-8023-org-specific (mac-phy| power-via-mdi| max-mtu-size)
Parameters
mac-phy
Provider edge port VLAN ID TLV
power-via-mdi
Power-via-MDI TLV (when PoE is available)
max-mtu-size
Maximum MTU size TLV
select
Select the LLDP TLV to send
unselect
Unselect the LLDP TLV to send
Default Value
None
Command Mode
LLDP agent mode
Applicability
This command was introduced in OcNOS-SP version 3.0.
Examples
#configure terminal
(config)#interface eth0
(config-if)lldp-agent
(if-lldp-agent)#lldp tlv ieee-8023-org-specific mac-phy select
(if-lldp-agent)#exit
lldp tlv-select basic-mgmt
Use this command to select basic management TLVs to be include in the LLDP frames.
Use the no parameter to disable basic management TLVs.
Command Syntax
lldp tlv-select basic-mgmt (management-address|port-description|system-capabilities|system-description|system-name)
no lldp tlv-select basic-mgmt (management-address|port-description|system-capabilities|system-description|system-name)
Parameters
management-address
 
Management address specific TLV
port-description
 
Port description specific TLV
system-capabilities
 
System capabilities specific TLV
system-description
 
System Description specific TLV
system-name
System name specific TLV
Default Value
None
Command Mode
Configuration mode
Applicability
This command was introduced in OcNOS-SP version 3.0.
Examples
#configure terminal
(config)#lldp tlv-select basic-mgmt system-name
lldp tlv-select ieee-8021-org-specific
Use this command to select ieee-8021-org-specific TLVs to include in the LLDP frames.
Use the no parameter to disable ieee-8021-org-specific TLVs.
Command Syntax
lldp tlv-select ieee-8021-org-specific (link-agg|mgmt-vid|port-ptcl-vlanid|port-vlanid|ptcl-identity|vid-digest|vlan-name)
no lldp tlv-select ieee-8021-org-specific {port-vlanid| port-ptcl-vlanid| vlan-name|ptcl-identity| vid-digest|mgmt-vid|link-agg}
Parameters
link-agg
Link-aggregation TLV
mgmt-vid
Management VLAN identifier TLV
port-ptcl-vlanid
 
Port protocol VLAN identifier TLV
port-vlanid
Port VLAN identifier TLV
ptcl-identity
Protocol-identifier TLV
vid-digest
VLAN identifier digest TLV
vlan-name
VLAN name TLV
Default Value
None
Command Mode
Configuration mode
Applicability
This command was introduced in OcNOS-SP version 3.0.
Examples
#configure terminal
(config)#lldp tlv-select ieee-8021-org-specific port-vlanid
lldp tlv-select ieee-8023-org-specific
Use this command to select ieee-8023-org-specific TLVs to be include in LLDP frames.
Use the no parameter to disable ieee-8023-org-specific TLVs.
Command Syntax
lldp tlv-select ieee-8023-org-specific (mac-phy| power-via-mdi| max-mtu-size)
no lldp tlv-select ieee-8023-org-specific (mac-phy| power-via-mdi| max-mtu-size)
Parameters
mac-phy
VLAN ID Of the provider edge port <2-4094>.
power-via-mdi
Power-via-MDI (only when PoE feature is available)
max-mtu-size
Maximum MTU size TLV
Default Value
None
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS-SP version 3.0.
Examples
#configure terminal
(config)#lldp tlv-select ieee-8023-org-specific mac-phy
 
set lldp agt-circuit-id
Use this command to configure LLDP agt-circuit-id.
Command Syntax
set lldp agt-circuit-id VALUE
Parameters
VALUE
Specify LLDP global agt-circuit ID.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#interface eth0
(config-if)#set lldp agt-circuit-id sample
 
set lldp chassis-id-tlv
Use this command to set the chassis ID subtype for the LLDP agent on a port.
Use no form of this command to unset the chassis ID subtype.
Command Syntax
set lldp chassis-id-tlv (if-alias | ip-address | mac-address | if-name | locally-assigned)
no set lldp chassis-id-tlv
Parameters
mac-address
Use the MAC address as the chassis ID
ip-address
Use the management IP address as the chassis ID
if-alias
Use the IP address as the chassis ID
if-name
Use the interface name as the chassis ID
locally-assigned
Use the locally assigned value as the chassis ID
Command Mode
LLDP Agent mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#lldp-agent
(if-lldp-agent)#set lldp chassis-id-tlv ip-address
(if-lldp-agent)#no set lldp chassis-id-tlv
set lldp chassis locally-assigned
Use this command to set the locally assigned chassis name for the LLDP interface.
Command Syntax
set lldp chassis locally-assigned NAME
Parameters
NAME
Name assigned to the chassis.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#set lldp chassis locally-assigned box1
 
set lldp disable
Use this command to disable the admin status of a LLDP agent on a port.
Command Syntax
set lldp disable
Parameters
None
Command Mode
LLDP Agent mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#lldp-agent
(if-lldp-agent)#set lldp disable
(if-lldp-agent)#exit
set lldp enable
Use this command to set the admin status of a LLDP agent on a port.
Command Syntax
set lldp enable (txonly|txrx|rxonly)
Parameters
rxonly
Receive-only
txonly
Transmit-only
txrx
Transmit and receive
Default
By default, no LLDP agent is enabled for a port.
Command Mode
LLDP Agent mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#lldp-agent
(if-lldp-agent)#set lldp enable txrx
(if-lldp-agent)#exit
set lldp locally-assigned
Use this command to set the locally assigned name for LLDP interface.
Use no form of this command to remove the locally assigned name for LLDP interface.
Command Syntax
set lldp locally-assigned NAME
no set lldp locally-assigned NAME
Parameters
NAME
Name assigned to the port.
Command Mode
Interface Mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#set lldp locally-assigned port1
(config-if)#no set lldp locally-assigned
 
 
 
set lldp management-address-tlv
Use this command to set the sub type of the Management Address TLV.
Use no form of this command to unset the sub type of the Management Address TLV.
Command Syntax
set lldp management-address-tlv (mac-address | ip-address)
no set lldp management-address-tlv
Parameters
mac-address
Use the MAC address as the Management Address.
ip-address
Use the management IP address as the Management Address.
Command Mode
LLDP Agent mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#lldp-agent
(if-lldp-agent)#set lldp management-address-tlv ip-address
(if-lldp-agent)#no set lldp management-address-tlv
set lldp med-devtype
Use this command to configure the LLDP device type as Network-Connectivity/ End-Point Class1/ End-Point Class2/ End-Point Class3 device.
Use the no parameter to un set the configured LLDP device type.
Command Syntax
set lldp med-devtype (net-connect| ep-class1| ep-class2| ep-class3)
no lldp med-devtype (net-connect| ep-class1| ep-class2| ep-class3)
Parameters
net-connect
Set device type as Network-Connectivity
ep-class1
Set device type as End-Point Class1
ep-class2
Set device type as End-Point Class2
ep-class3
Set device type as End-Point Class3
Default
None
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#set lldp med-devtype ep-class1
(config-if)#exit
 
#configure terminal
(config)#interface eth0
(config-if)#no set lldp med-devtype
(config-if)#exit
set lldp msg-tx-hold
Use this command to set the msg-tx-hold parameter that determines the Time To Live (TTL) value for LLDPDUs to be transmitted by the port. The value set with this command is multiplied by the lldp timer msg-tx-interval value, which determines the final TTL value.
Use no form of this command to set the default value of message transmit hold.
Command Syntax
set lldp msg-tx-hold <1-100>
no set lldp msg-tx-hold
Parameters
<1-100>
Time in seconds to set message transmit hold.
Default
The default value of message transmit hold is 4 seconds.
Command Mode
LLDP agent mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#interface eth0
(config-if)#lldp-agent
(if-lldp-agent)#set lldp msg-tx-hold 3
(if-lldp-agent)#no set lldp msg-tx-hold
set lldp port-id-tlv
Use this command to set the sub type of the Port ID.
Use no form of this command to unset the sub type of the Port ID.
Command Syntax
set lldp port-id-tlv (if-alias | ip-address | mac-address | if-name | agt-circuit-id | locally-assigned)
no set lldp port-id-tlv
Parameters
mac-address
Use the MAC address as the port-id-tlv.
ip-address
Use the management IP address as the port-id-tlv
if-alias
Use the IP alias as the port-id-tlv
if-name
Use the interface name as the port-id-tlv
agt-circuit-id
Use the agt-circuit-id name as the port-id-tlv
locally-assigned
Use the locally assigned value as the port-id-tlv
Command Mode
LLDP Agent mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#interface eth0
(config-if)#lldp-agent
(if-lldp-agent)#set lldp port-id-tlv ip-address
(if-lldp-agent)#no set lldp port-id-tlv
set lldp timer
Use this command to set the interval at which LLDP frames are transmitted.
Use no form of this command to set the default value for timer.
Command Syntax
set lldp timer msg-fast-tx <1-3600>
set lldp timer msg-tx-interval <5-3600>
set lldp timer reinit-delay <1-10>
no set lldp timer msg-fast-tx
no set lldp timer msg-tx-interval
no set lldp timer reinit-Delay
Parameters
msg-fast-tx
Set the value in range <1-3600>
msg-tx-interval
 
Set the value in range <5-3600>
reinit-delay
Set the value in range <1-10>
Default Values
The default value for msg-fast-tx is 1 second.
The default value for msg-tx-interval is 30 seconds.
The default value for reinit-delay is 2 seconds.
Command Mode
LLDP Agent mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#lldp-agent
(if-lldp-agent)#set lldp timer msg-fast-tx 40
(if-lldp-agent)#no set lldp timer msg-fast-tx
(if-lldp-agent)#exit
 
#configure terminal
(config)#interface eth0
(config-if)#lldp-agent
(if-lldp-agent)#set lldp timer msg-tx-interval 40
(if-lldp-agent)#no set lldp timer msg-tx-interval
(if-lldp-agent)#exit
 
#configure terminal
(config)#interface eth0
(config-if)#lldp-agent
(if-lldp-agent)#set lldp timer reinitDelay 3
(if-lldp-agent)#no set lldp timer reinitDelay
(if-lldp-agent)#exit
 
set lldp too-many-neighbors
Use this command to set the action to take when the remote table is full.
Use no form of this command to unset too many neighbors parameters.
Command Syntax
set lldp too-many-neighbors limit <1-65535> discard received-info timer <1-65535>
set lldp too-many-neighbors limit <1-65535> discard existing-info MAC timer <1-65535>
no set lldp too-many-neighbors limit
Parameters
limit
The limit on the number of LLDP neighbors.
<1-65535>
Upper limit for the number of Remote LLDP Information.
received-info
The information received for this neighbor.
timer
The period after which received information is discarded.
<1-65535>
 
The period in seconds after which received information is discarded.
existing-info
The information for this neighbor.
MAC
Identifies the remote LLDP Agent for which information is discarded.
timer
The period in seconds after which existing information is discarded.
<1-65535>
 
The period in seconds after which existing information is discarded.
Default Value
No upper limit is enforced for the number of remote LLDP agents.
Command Mode
LLDP Agent mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth1
(config-if)#lldp-agent
(if-lldp-agent)#set lldp too-many-neighbors limit 20 disc existing-info 1001.1001.1001 timer 1
 
(config)#interface eth1
(config-if)#lldp-agent
(if-lldp-agent)#set lldp too-many-neighbors limit 1 discard received-info timer 1
 
set lldp tx-fast-init
Use this command to determine the maximum value of LLDP frames that are transmitted during a fast transmission period.
Use no form of this command to set fast transmission period to default value.
Command Syntax
set lldp tx-fast-init <1-8>
no set lldp tx-fast-init
Parameters
tx-fast-init
Set the message transmit interval value <1-8>.
Default Value
Default value is 4.
Command Mode
LLDP Agent mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#lldp-agent
(if-lldp-agent)#set lldp tx-fast-init 4
(if-lldp-agent)#no set lldp tx-fast-init
(if-lldp-agent)#exit
 
set lldp tx-max-credit
Use this command to set the maximum value of transmission credit, which signifies the number of consecutive LLDP frames transmitted.
Use no form of this command to set the maximum value of transmission credit to default value.
Command Syntax
set lldp tx-max-credit <1-10>
no set lldp tx-max-credit
Parameters
tx-max-credit
The maximum value of transmission credit.
Default Value
Default value is 5
Command Mode
LLDP Agent mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)lldp-agent
(if-lldp-agent)#set lldp tx-max-credit <1-10>
(if-lldp-agent)#no set lldp tx-max-credit
(if-lldp-agent)#exit
show debugging lldp
Use this command to display LLDP debugging information.
Command Syntax
show debugging lldp
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following sample output displays information about an LLDP debugging.
#show debugging lldp
LLDP debugging status:
LLDP message debugging is on
 
show lldp neighbors
Use this command to display LLDP neighbors information.
Command Syntax
show lldp (nearest-bridge| non-tpmr-bridge| customer-bridge|) neighbors (brief|details)
Parameters
nearest-bridge
Display LLDP nearest bridge information
non-tpmr-bridge
Display LLDP non-TPMR-bridge information
customer-bridge
Display LLDP customer-bridge information
neighbor
Neighbor
brief
Brief
details
Details
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3 and changed in OcNOS version 1.3.1.
Example
The following sample output displays information about an LLDP neighbors
#sh lldp nearest-bridgr neighbors brief
Loc PortID Rem Host Name Rem Chassis Id Rem Port Id Agent Mode
 
--------------------------------------------------------------------------------------
xe3/1 OcNOS ecf4.bbfe.2864 ecf4.bbb2.4c65 Nearest bridge
 
 
#show lldp neighbors detail
 
--------------------------------------------------------------------------------------
Nearest bridge Neighbors
Interface Name : xe11
Mandatory TLVs
Chassis id type : MAC address [8cea.1b67.236c]
Port id type : MAC address [8cea.1b28.4f6d]
Time to live : 121
Basic Management TLVs
System Name : OcNOS
System Description : Hardware Model:EC_AS5912-54X, Software version: OcNOS,1.3.1.122
Port Description : xe11
Remote System Capabilities : Bridge Router
Capabilities Enabled : Router
Management Address : MAC Address [8cea.1b67.236c]
Interface Number subtype : ifindex
Interface Number : 10011
OID Number : 0
802.1 Org specific TLVs
Port vlan id : 0
Port & Protocol vlan id : 0
Remote Configured VLANs : None
Remote Protocols Advertised: None
Remote VID Usage Digest : 0
Remote Management Vlan : 0
Link Aggregation Capability: capable of being aggregated
Link Aggregation Status : not currently in aggregation
Link Aggregation Port ID :
802.3 Org specific TLVs
AutoNego Support : Supported
AutoNego Status : Disabled
AutoNego Capability : 16
Operational MAU Type : 54 [Four-pair Category 6A or better, full duplex mode only]
Max Frame Size : 1518
 
Table 12-30 Shows the output details.
Table 12-29: show lldp neighbor output details
Entry
Description
Loc Port ID
Local interface SNMP index (appears when the interface option is used).
Rem Host Name
Name of the remote host.
Rem Chassis Id
Remote chassis identifier of the chassis type listed.
Rem Port Id
Remote port identifier of the port type listed.
Agent Mode
Agent mode enabled to the nearest bridge.
Time to live
Number of seconds for which this information is valid.
Interface Name
Name of the interface.
Chassis id type
Chassis identifier of the chassis type listed.
Port id type
Type of port identifier supplied, such as Locally assigned.
System Name
Name supplied by the system on the interface.
System Description
Description supplied by the system on the interface.
Port Description
The port description field uses the configured port description, the port name or the SNMP if Index (appears when the interface option is used).
Remote System Capabilities
Remote system capabilities (such as Bridge, Bridge Router, and Bridge Telephone) that are supported.
Capabilities Enabled
Enabled by the system on the interface (appears when the interface option is used).
Management Address
Details of management address (such as 10.204.35.34).
Interface Number subtype
Interfaces subtype for which neighbor information is available.
Interface Number
Interfaces for which neighbor information is available.
OID Number
Number of identifier.
Port VLAN ID
Details of the port VLAN identifier.
Protocol VLAN ID
Details of the protocol VLAN identifier.
Remote Configured VLANs
Details of the remote configured VLAN.
Remote Protocols Advertised
Details of the remote protocols.
Remote VID usage Digest
Details of the VID usage.
Remote Management VLAN
Details of the management VLAN.
Link Aggregation Capability
Capabilities that supported by the link aggregation on the interface.
Link Aggregation Status
Status of the link aggregation.
Link Aggregation Port ID
Details of the link aggregation port identifier.
Auto Nego Support
Support of the auto nego on the interface.
Auto Nego Status
Status of the auto nego.
Auto Nego Capability
Capabilities that supported by the auto nego on the interface.
Operational MAU Type
Type of operational MAU on the interface.
Max Frame Size
Maximum frame size on the transit.
 
show lldp interface
Use this command to display LLDP interface information.
Command Syntax
show lldp interface IFNAME (nearest-bridge| non-tpmr-bridge| customer-bridge | ) (neighbor| )
Parameters
IFNAME
Display LLDP interface information for all agent
nearest-bridge
Display LLDP nearest bridge information
non-TPMR-bridge
 
Display LLDP non-TPMR-bridge information
customer-bridge
 
Display LLDP customer-bridge information
neighbor
 
Display LLDP neighbor details.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show lldp interface eth0
Agent Mode : Customer-bridge
Enable (tx/rx): N/N
MED Enabled :N
Device Type: NOT_DEFINED
LLDP Agent traffic statistics:
Total frames transmitted: 0
Total entries aged: 0
Total frames recieved: 0
Total frames received in error: 0
Total frames discarded: 0
Total discarded TLVs: 0
Total unrecognised TLVs: 0
 
Agent Mode : Non-TPMR-bridge
Enable (tx/rx): N/N
MED Enabled :N
Device Type: NOT_DEFINED
LLDP Agent traffic statistics:
Total frames transmitted: 0
Total entries aged: 0
Total frames recieved: 0
Total frames received in error: 0
Total frames discarded: 0
Total discarded TLVs: 0
Total unrecognised TLVs: 0
 
Agent Mode : Nearest bridge
Enable (tx/rx): Y/Y
MED Enabled :N
Device Type: NOT_DEFINED
LLDP Agent traffic statistics:
Total frames transmitted: 2495
Total entries aged: 0
Total frames recieved: 0
Total frames received in error: 0
Total frames discarded: 0
Total discarded TLVs: 0
Total unrecognised TLVs: 0
 
 
 
Table 12-30 Shows the output details.
Table 12-30: show lldp interface output details
Entry
Description
Agent Mode
Agent mode enabled to the customer-bridge, Non-TPMR-bridge, and nearest bridge.
Enable (tx/rx)
Enables the transmit and receive on the interface.
Device Type
Type of device in the networks.
LLDP Agent traffic statistics
Statistics on exchanged LLDP frames between a device and neighbors.
Total frames transmitted
Number of frames transmitted in network.
Total entries aged
Number of aged entries in a networks.
Total frames received
Number of frames received from the neighbor network.
Total frames received in error
Number of frames not received from the neighbor network.
Total discarded TLVs
Number of TLVs discarded in transit.
Total unrecognised TLVs
Number of unrecognised TLVs in transit.
 
 
snmp restart lldp
Use this command to restart SNMP in Link Layer Discovery Protocol (LLDP)
Command Syntax
snmp restart lldp
Parameters
None
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#snmp restart lldp