[ Previous | Next | Contents | Search ]
AIXLink/X.25 1.1 for AIX: Guide and Reference

lspvc Command

Purpose

Lists the non-default permanent virtual circuits (PVCs) defined on an X.25 port.

Syntax

General Use:

lspvc  -l  Name  [  -n  Number  ]  [  -O  ]  [  -N  ]

To Display the Command Usage:

Description

The lspvc command displays the non-default PVC attribute information for an X.25 port. If the -n flag is used, only the PVC information for that virtual circuit is displayed. If no number is specified, the information for all PVCs defined on that port is listed.

You can display the attribute information in one of two ways. The default output is the pvc_num rx_win rx_size tx_win tx_size and d-bit attribute information separated by spaces. The -O flag displays all the corresponding attribute values separated by colons. Using the -N flag will suppress the header information.

Flags

-l Name Specifies the defined port name as found in the ODM customized devices object class.
-n Number Specifies the non-default PVC virtual circuit number.
-O Displays the attribute information separated by colons for each PVC. The information for each virtual circuit number is displayed on a different line.
-N Suppress the attribute header information.
-h Displays the command usage message.

Examples

  1. To list the current PVC attribute information for all virtual circuits on port sx25a0, enter:
    lspvc -l sx25a0
    The system displays a message similar to the following:
    pvc_num  rx_win  rx_size  tx_win  tx_size  d_bit
    1        3       128      3       128      1
    2        3       256      3       256      0
    3        7       256      7       256      0
  2. To list the current PVC attribute information for virtual circuit 2 on port sx25a0, in colon format, enter:
    lspvc -l sx25a0 -n 2 -O
    The system displays a message similar to the following:
    pvc_num:rx_win:rx_size:tx_win:tx_size:d_bit
    2:3:256:3:256:0
  3. To list the current PVC attribute information for all virtual circuits on port sx25a0, in colon format and suppressing the header, enter:
    lspvc -l sx25a0 -O -N
    The system displays a message similar to the following:
    1:3:128:3:128:1
    2:3:256:3:256:0
    3:7:256:7:256:0

Related Information

The chdev command, chsx25 command, lsdev command, mkdev command, mkpvc command, mksx25 command, rmdev command, and rmsx25 command.


[ Previous | Next | Contents | Search ]