Gestion des liaisons de données réseau dans Oracle® Solaris 11.2

Quitter la vue de l'impression

Mis à jour : Septembre 2014
 
 

Affichage des informations publiées

Les informations peuvent être locales ou distantes. Les informations locales proviennent du système local. Les informations distantes proviennent d'autres agents définis sur le réseau LLDP et sont reçues par l'agent LLDP local.

Utilisez la commandelldpadm show-agent pour afficher les informations publiées.

# lldpadm show-agent -[l|r][v] agent
  • –l affiche des informations locales publiées par l'agent LLDP local.

  • –r affiche les informations distantes reçues par le agent LLDP.

  • –v affiche les informations locales ou distantes détaillées.

Exemple 5-6  Affichage d'informations publiées de l'agent LLDP

L'exemple ci-dessous illustre comment afficher les informations publiées localement ou à distance par un agent LLDP. Par défaut, les informations s'affichent sous forme abrégée. En utilisant l'option –v, vous pouvez vous obtenir des informations détaillées.

Pour afficher les informations locales publiées par l'agent LLDP, entrez la commande suivante :

# lldpadm show-agent -l net0
AGENT   CHASSISID   PORTID
net0    004bb87f    00:14:4f:01:77:5d

Pour afficher les informations distantes LLDP publiées par l'agent, procédez comme suit :

# lldpadm show-agent -r net0
AGENT   SYSNAME   CHASSISID   PORTID
net0    hostb     0083b390    00:14:4f:01:59:ab

Pour afficher les informations locales en mode verbose, utilisez l'option –v :

# lldpadm show-agent -l -v net4
                                       Agent: net4
                          Chassis ID Subtype: Local(7)
                                  Chassis ID: 00843300
                             Port ID Subtype: MacAddress(3)
                                     Port ID: 00:1b:21:89:03:d0
                            Port Description: --
                                Time to Live: 21 (seconds)
                                 System Name: --
                          System Description: --
                      Supported Capabilities: --
                        Enabled Capabilities: --
                          Management Address: --
                          Maximum Frame Size: --
                                Port VLAN ID: --
                                VLAN Name/ID: vlan1/22
                         VNIC PortID/VLAN ID: 02:08:20:63:2d:9d,02:08:20:e5:6c:af/21
                     Aggregation Information: --
                                 PFC Willing: On
                                     PFC Cap: 8
                                     PFC MBC: False
                                  PFC Enable: 4
                                 PFC Pending: True
                  Application(s)(ID/Sel/Pri): --
                                 ETS Willing: On
                          ETS Configured CBS: 0
                          ETS Configured TCS: 8
                          ETS Configured PAT: 0,1,2,3,4,5,6,7
                          ETS Configured BAT: 40,20,0,40,0,0,0,0
                          ETS Configured TSA: 2,2,2,2,2,2,2,2
                         ETS Recommended PAT: 0,1,2,3,4,5,6,7
                         ETS Recommended BAT: 40,20,0,40,0,0,0,0
                         ETS Recommended TSA: 2,2,2,2,2,2,2,2
                                    EVB Mode: Station
                           EVB GID (Station): Not Supported
                     EVB ReflectiveRelay REQ: Not Requested
                  EVB ReflectiveRelay Status: RR Not Enabled
                            EVB GID (Bridge): Not Supported
         EVB ReflectiveRelay Capable (RRCAP): Not Supported
         EVB ReflectiveRelay Control (RRCTR): Not Enabled
                         EVB max Retries (R): 0
           EVB Retransmission Exponent (RTE): 0
               EVB Remote or Local(ROL) and
                   Resource Wait Delay (RWD): Local
               EVB Resource Wait Delay (RWD): 0
              EVB Remote or Local (ROL) and
                     Reinit Keep Alive (RKA): Local
                 EVB Reinit Keep Alive (RKA): 0
                    Next Packet Transmission: 4 (seconds) 

Pour afficher les informations distantes en mode verbose, utilisez l'option –v :

# lldpadm show-agent -r -v net4
                                       Agent: net4
                          Chassis ID Subtype: Local(7)
                                  Chassis ID: 00843300
                             Port ID Subtype: MacAddress(3)
                                     Port ID: 00:1b:21:89:03:d0
                            Port Description: --
                                Time to Live: 21 (seconds)
                                 System Name: --
                          System Description: --
                      Supported Capabilities: --
                        Enabled Capabilities: --
                          Management Address: --
                          Maximum Frame Size: --
                                Port VLAN ID: --
                                VLAN Name/ID: vlan1/22
                         VNIC PortID/VLAN ID: 02:08:20:63:2d:9d,02:08:20:e5:6c:af/21
                     Aggregation Information: --
                                 PFC Willing: On
                                     PFC Cap: 8
                                     PFC MBC: False
                                  PFC Enable: 4
                  Application(s)(ID/Sel/Pri): --
                                 ETS Willing: On
                          ETS Configured CBS: 0
                          ETS Configured TCS: 8
                          ETS Configured PAT: 0,1,2,3,4,5,6,7
                          ETS Configured BAT: 40,20,0,40,0,0,0,0
                          ETS Configured TSA: 2,2,2,2,2,2,2,2
                         ETS Recommended PAT: 0,1,2,3,4,5,6,7
                         ETS Recommended BAT: 40,20,0,40,0,0,0,0
                         ETS Recommended TSA: 2,2,2,2,2,2,2,2
                                    EVB Mode: Station
                           EVB GID (Station): Not Supported
                     EVB ReflectiveRelay REQ: Not Requested
                  EVB ReflectiveRelay Status: RR Not Enabled
                            EVB GID (Bridge): Not Supported
         EVB ReflectiveRelay Capable (RRCAP): Not Supported
         EVB ReflectiveRelay Control (RRCTR): Not Enabled
                         EVB max Retries (R): 0
           EVB Retransmission Exponent (RTE): 0
               EVB Remote or Local(ROL) and
                   Resource Wait Delay (RWD): Local
               EVB Resource Wait Delay (RWD): 0
              EVB Remote or Local (ROL) and
                     Reinit Keep Alive (RKA): Local
                 EVB Reinit Keep Alive (RKA): 0
                     Information Valid Until: 19 (seconds)