lsqeth - List qeth-based network devices

SUSE Linux Enterprise Server 15 SP5 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 RPM.

lsqeth syntax


1  lsqeth
2.1  -p
1?  <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 the version number of lsqeth and exits.
-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 eth0 in the default format:
    # lsqeth eth0
    Device name                     : eth0
    ---------------------------------------------
            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   hsi0       HiperSockets   0    sw     always_q_2 no   no   0     128
    0.0.f5a2/0.0.f5a3/0.0.f5a4 xB5   eth0       OSD_1000       0    sw     always_q_2 no   no   1     64
    0.0.fba2/0.0.fba3/0.0.fba4 xB0   eth1       OSD_1000       0    sw     always_q_2 no   no   0     64