lsqeth - List qeth-based network devices

LPAR mode z/VM guest

Use the lsqeth command to display a summary of information about qeth-based network devices.

Before you begin: To be able to use this command, you must also install qethconf. You install both qethconf and lsqeth with the s390-tools package.

lsqeth syntax

Read syntax diagramSkip visual syntax diagramlsqeth -p <interface>

Where:

-p or --proc
displays the interface information in the former /proc/qeth format. This option can generate input to tools that expect this particular format.
<interface>
limits the output to information about the specified interface only.
-v or --version
displays version information for the command.
-h or --help
displays a short help text, then exits. To view the man page, enter man lsqeth.

Examples

  • The following command lists information about interface encf500 in the default format:
    # lsqeth encf500
    Device name                     : encf500
    ---------------------------------------------
            card_type               : OSD_10GIG
            cdev0                   : 0.0.f5a2
            cdev1                   : 0.0.f5a3
            cdev2                   : 0.0.f5a4
            chpid                   : B5
            online                  : 1
            portname                : no portname required
            portno                  : 0
            route4                  : no
            route6                  : no
            state                   : UP (LAN ONLINE)
            priority_queueing       : always queue 2
            fake_broadcast          : 0
            buffer_count            : 64
            layer2                  : 0
            isolation               : none
            sniffer                 : 0
            switch_attrs            : [802.1] rr
  • The following command lists information about all qeth-based interfaces in the former /proc/qeth format:
    # lsqeth -p
    devices                    CHPID interface  cardtype       port chksum prio-q'ing rtr4 rtr6 lay'2 cnt
    -------------------------- ----- ---------- -------------- ---- ------ ---------- ---- ---- ----- -----
    0.0.833f/0.0.8340/0.0.8341 xFE   enc8000    HiperSockets   0    sw     always_q_2 no   no   0     128
    0.0.f5a2/0.0.f5a3/0.0.f5a4 xB5   encf500    OSD_1000       0    sw     always_q_2 no   no   1     64
    0.0.fba2/0.0.fba3/0.0.fba4 xB0   ence400    OSD_1000       0    sw     always_q_2 no   no   0     64