Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Administration: Network Interfaces and Network Virtualization Oracle Solaris 11 Information Library |
1. Overview of the Networking Stack
Network Configuration in This Oracle Solaris Release
The Network Stack in Oracle Solaris
Network Devices and Datalink Names
Administration of Other Link Types
3. NWAM Configuration and Administration (Overview)
4. NWAM Profile Configuration (Tasks)
5. NWAM Profile Administration (Tasks)
6. About the NWAM Graphical User Interface
Part II Datalink and Interface Configuration
7. Using Datalink and Interface Configuration Commands on Profiles
8. Datalink Configuration and Administration
9. Configuring an IP Interface
10. Configuring Wireless Interface Communications on Oracle Solaris
12. Administering Link Aggregations
16. Exchanging Network Connectivity Information With LLDP
Overview of LLDP in Oracle Solaris
Components of an LLDP Implementation
Configuring How the LLDP Agent Operates
Configuring What Information To Advertise
How to Specify TLV Units for LLDP Packets
How to Define Global TLV Values
How to Set Per-Agent TLV Values
Part III Network Virtualization and Resource Management
17. Introducing Network Virtualization and Resource Control (Overview)
18. Planning for Network Virtualization and Resource Control
19. Configuring Virtual Networks (Tasks)
20. Using Link Protection in Virtualized Environments
21. Managing Network Resources
The lldpadm show-agent subcommand displays the complete information that is advertised by an LLDP agent. Relative to a given system, the advertisement can be information about the local system that is transmitted to the rest of the network. Or, the advertisement can be information that is received by the system from other systems on the same network.
This procedure shows how to display the information that is being advertised by an LLDP agent. The information can be either local or remote. Local information comes from the local system. Remote information comes from other systems on the network, which is received by the local system.
# lldpadm show-agent -l agent
# lldpadm show-agent -r agent
# lldpadm show-agent -[l|r]v agent
Example 16-5 Obtaining LLDP Agent Information That Is Advertised
The following example shows how to display the information that is being advertised locally or remotely by an LLDP agent. By default, the information is displayed in short form. By using the -v option, you can obtain verbose or detailed information.
# lldpadm show-agent -l net0 AGENT CHASSISID PORTID net0 004bb87f 00:14:4f:01:77:5d # lldpadm show-agent -lv net0 Agent: net0 Chassis ID Subtype: Local(7) Port ID Subtype: MacAddress(3) Port ID: 00:14:4f:01:77:5d Port Description: net0 Time to Live: 81 (seconds) System Name: hosta.example.com System Description: SunOS 5.11 dcb-clone-x-01-19-11 i86pc Supported Capabilities: bridge,router Enabled Capabilities: router Management Address: 192.168.1.2 Maximum Frame Size: 3000 Port VLAN ID: -- VLAN Name/ID: vlan25/25 VNIC PortID/VLAN ID: 02:08:20:72:71:31 Aggregation Information: Capable, Not Aggregated PFC Willing: -- PFC Cap: -- PFC MBC: -- PFC Enable: -- Application(s) (ID/Sel/Pri): -- Information Valid Until: 117 (seconds) # lldpdadm show-agent -r net0 AGENT SYSNAME CHASSISID PORTID net0 hostb 0083b390 00:14:4f:01:59:ab # llpdadm show-agent -rv net0 Agent: net0 Chassis ID Subtype: Local(7) Port ID Subtype: MacAddress(3) Port ID: 00:14:4f:01:59:ab Port Description: net0 Time to Live: 121 (seconds) System Name: hostb.example.com System Description: SunOS 5.11 dcb-clone-x-01-19-11 i86pc Supported Capabilities: bridge,router Enabled Capabilities: router Management Address: 192.168.1.3 Maximum Frame Size: 3000 Port VLAN ID: -- VLAN Name/ID: vlan25/25 VNIC PortID/VLAN ID: 02:08:20:72:71:31 Aggregation Information: Capable, Not Aggregated PFC Willing: -- PFC Cap: -- PFC MBC: -- PFC Enable: -- Application(s) (ID/Sel/Pri): -- Information Valid Until: 117 (seconds)
You can display LLDP statistics to obtain information about LLDP packets that are being advertised by the local system or by remote systems. The statistics refer to significant events that involve LLDP packet transmission and reception.
# lldpadm show-agent -s agent
# lldpadm show-agent -s -o field[,field,...]agent
where field refers to any field name in the output of the show-agent -s command.
Example 16-6 Displaying LLDP Packet Statistics
This example shows how to display information about LLDP packet advertisement.
# lldpadm show-agent -s net0 AGENT IFRAMES IEER IDISCARD OFRAMES OLENERR TLVDISCARD TLVUNRECOG AGEOUT net0 9 0 0 14 0 4 5 0
The command output provides the following information:
AGENT specifies the name of the LLDP agent, which is identical to the datalink on which the LLDP agent is enabled.
IFRAMES, IEER, and IDISCARD display information about packets being received, incoming packets with errors, and incoming packets that are dropped.
OFRAMES and OLENERR refer to outgoing packets as well as packets that have length errors.
TLVDISCARD and TLVUNRECOG display information about TLV units that are discarded as well as TLV units that are not recognized.
AGEOUT refers to packets that have timed out.
The example indicates that out of 9 frames received into the system, 5 TLVs are unrecognized, possibly because of noncompliance with standards. The example also shows that 14 frames were transmitted by the local system to the network.