Examples
The following is sample output of the
show
x25
vc command for a PVC configured with record boundary preservation (RBP):
Router# show x25 vc
PVC 2, State:D1, Interface:Serial3/0
Started 00:08:08, last input 00:00:01, output 00:00:01
recordsize:1500, connected
local address 10.0.0.1 port 9999; remote address 10.0.0.5 port 11029
deferred ack:1
Window size input:2, output:2
Packet size input:128, output:128
PS:2 PR:2 ACK:1 Remote PR:2 RCNT:1 RNR:no
P/D state timeouts:0 timer (secs):0
data bytes 8000/8000 packets 80/80 Resets 9/0 RNRs 0/0 REJs 0/0 INTs 0/0
The following table describes the fields shown in the sample output that are typical for virtual circuits.
Table 38 show x25 vc Field Descriptions
Field
|
Description
|
SVC
n or PVC
n
|
Identifies the type of virtual circuit (switched or permanent) and its LCN (also called its “virtual circuit number”).
|
State
|
State of the virtual circuit (which is independent of the states of other virtual circuits); D1 is the normal ready state. See the International Telecommunication Union Telecommunication Standardization Sector (ITU-T)5 X.25 Recommendation for a description of virtual circuit states.
|
Interface
|
Interface or subinterface on which the virtual circuit is established.
|
Started
|
Time elapsed since the virtual circuit was created.
|
last input
|
Time of last input.
|
output
|
Time of last output.
|
Connects...<-->..
|
Traffic-specific connection information. See the tables below for more information.
|
D-bit permitted
|
Indicates that the X.25 D-bit (Delivery Confirmation) may be used on this circuit (displayed as needed).
|
Fast select VC
|
Indicates that the Fast Select facility was present on the incoming call (displayed as needed).
|
Reverse charged
|
Indicates reverse charged virtual circuit (displayed as needed).
|
Window size
|
Window sizes for the virtual circuit.
|
Packet size
|
Maximum packet sizes for the virtual circuit.
|
PS
|
Current send sequence number.
|
PR
|
Current receive sequence number.
|
ACK
|
Last acknowledged incoming packet.
|
Remote PR
|
Last receive sequence number received from the other end of the circuit.
|
RCNT
|
Count of unacknowledged input packets.
|
RNR
|
State of the Receiver Not Ready flag; this field is true if the network sends a Receiver-not-Ready packet.
|
Window is closed
|
This line appears if the router cannot transmit any more packets until the X.25 Layer 3 peer has acknowledged some outstanding packets.
|
P/D state timeouts
|
Number of times a supervisory packet (Reset or Clear) has been retransmitted.
|
Timer
|
A nonzero time value indicates that a control packet has not been acknowledged yet or that the virtual circuit is being timed for inactivity.
|
Reassembly
|
Number of bytes received and held for reassembly. Packets with the M-bit set are reassembled into datagrams for encapsulation virtual circuits; switched X.25 traffic is not reassembled (and is displayed only when values are not zero).
|
Held Fragments/Packets
|
Number of X.25 data fragments to transmit to complete an outgoing datagram, and the number of datagram packets waiting for transmission (displayed only when values are not zero).
|
data bytes
m/n packets
p/q
|
Total number of data bytes sent (m), data bytes received (n), data packets sent (p), and data packets received (q) since the circuit was established.
|
Resets
t/r
|
Total number of reset packets transmitted/received since the circuit was established.
|
RNRs t/r
|
Total number of Receiver Not Ready packets transmitted/received since the circuit was established.
|
REJs t/r
|
Total number of Reject packets transmitted/received since the circuit was established.
|
INTs t/r
|
Total number of Interrupt packets transmitted/received since the circuit was established.
|
5 The ITU-T carries out the functions of the former Consultative Committee for International Telegraph and Telephone (CCITT).
The following table describes the fields specific to VCs configured with record boundary preservation.
Table 39 show x25 vc Field Descriptions for VCs That Use Record Boundary Preservation
Field
|
Description
|
recordsize
|
Maximum record size for the session.
|
connected
|
Connection status.
|
local address; port
|
IP address and port number of the local end of the TCP session.
|
remote address; port
|
IP address and port number of the remote end of the TCP session.
|
input queue
|
Number of inbound X.25 data packets not yet processed. This field appears in the display only when the value is not zero.
|
record buffer
|
Number of bytes of X.25 data in the current partial record (not including data packets in the input queue). This field appears in the display only when the value is not zero.
|
deferred ack
|
Number of X.25 data packets that have been received and processed but not yet acknowledged. This field appears in the display only when the value is not zero.
|
The following is sample output of the
show
x25
vc command used on an encapsulated traffic circuit:
Router# show x25 vc 1024
SVC 1024, State: D1, Interface: Serial0
Started 0:00:31, last input 0:00:31, output 0:00:31
Connects 170090 <-->
compressedtcp 172.20.170.90
ip 172.20.170.90
Call PID multi, Data PID ietf
Reverse charged
Window size input: 2, output: 2
Packet size input: 128, output: 128
PS: 5 PR: 5 ACK: 4 Remote PR: 5 RCNT: 1 RNR: FALSE
Window is closed
P/D state timeouts: 0 Timer (secs): 0
data bytes 505/505 packets 5/5 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0
The following table describes the connection fields specific to encapsulation traffic.
Table 40 show x25 vc Encapsulation Traffic Field Descriptions
Field
|
Description
|
170090
|
The X.121 address of the remote host.
|
ip 172.20.170.90
|
The higher-level protocol and address values that are mapped to the virtual circuit.
|
Call PID
|
Identifies the method used for protocol identification (PID) in the Call User Data (CUD) field. Because PVCs are not set up using a Call packet, this field is not displayed for encapsulation PVCs. The available methods are as follows:
cisco--Cisco’s traditional method was used to set up a single protocol virtual circuit.
ietf--The IETF’s standard RFC 1356 method was used to set up a single protocol virtual circuit.
snap--The IETF’s Subnetwork Access Protocol (SNAP) method for IP encapsulation was used.
multi--the IETF’s multiprotocol encapsulation method was used.
|
Data PID
|
Identifies the method used for PID when sending datagrams. The available methods are as follows:
none--The virtual circuit is a single-protocol virtual circuit; no PID is used.
ietf--The IETF’s standard RFC 1356 method for identifying the protocol is used.
snap--The IETF’s SNAP method for identifying IP datagrams is used.
|
The following is sample output of the
show
x25
vc command used on a virtual circuit carrying locally switched X.25 traffic:
Router# show x25 vc
PVC 1, State: D1, Interface: Serial2
Started 0:01:26, last input never, output never
PVC <--> Serial1 PVC 1, connected
Window size input: 2, output: 2
Packet size input: 128, output: 128
PS: 0 PR: 0 ACK: 0 Remote PR: 0 RCNT: 0 RNR: FALSE
P/D state timeouts: 0 Timer (secs): 0
data bytes 0/0 packets 0/0 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0
SVC 5, State: D1, Interface: Serial2
Started 0:00:16, last input 0:00:15, output 0:00:15
Connects 170093 <--> 170090 from Serial1 VC 5
Window size input: 2, output: 2
Packet size input: 128, output: 128
PS: 5 PR: 5 ACK: 4 Remote PR: 5 RCNT: 1 RNR: FALSE
P/D state timeouts: 0 Timer (secs): 0
data bytes 505/505 packets 5/5 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0
The following table describes the connection fields for virtual circuits carrying locally switched X.25 traffic.
Table 41 show x25 vc Local Traffic Field Descriptions
Field
|
Description
|
PVC <-->
|
Indicates a switched connection between two PVCs.
|
Serial1 PVC 1
|
Identifies the other half of a local PVC connection.
|
connected
|
Identifies connection status for a switched connection between two PVCs. See the final table below for PVC status messages.
|
170093
|
Identifies the Calling (source) Address of the connection. If a Calling Address Extension was encoded in the call facilities, it is also displayed. If the source host is a CMNS host, its MAC address is also displayed.
|
170090
|
Identifies the Called (destination) Address of the connection. If a Called Address Extension was encoded in the call facilities, it is also displayed. If the destination host is a CMNS host, its MAC address is also displayed.
|
from Serial1
|
Indicates the direction of the call and the connecting interface.
|
VC 5
|
Identifies the circuit type and LCN for the connecting interface. VC indicates an SVC, and PVC indicates a PVC. If the connecting host is a CMNS host, its MAC address is also displayed.
|
The following is sample output of the
show
x25
vc command used on a virtual circuit carrying locally switched PVC-to-SVC X.25 traffic:
Router# show x25 vc
PVC 5, State: D1, Interface: Serial0
Started 4d21h, last input 00:00:14, output 00:00:14
Connects 101600 <--> 201700 from Serial2 VC 700
D-bit permitted
Window size input: 2, output: 2
Packet size input: 128, output: 128
PS: 5 PR: 5 ACK: 4 Remote PR: 5 RCNT: 1 RNR: no
P/D state timeouts: 0 timer (secs): 0
data bytes 1000/1000 packets 10/10 Resets 1/0 RNRs 0/0 REJs 0/0 INTs 0/0
SVC 700, State: D1, Interface: Serial2
Started 00:00:16, last input 00:00:16, output 00:00:16
Connects 101600 <--> 201700 from Serial0 PVC 5
Window size input: 2, output: 2
Packet size input: 128, output: 128
PS: 5 PR: 5 ACK: 5 Remote PR: 4 RCNT: 0 RNR: no
P/D state timeouts: 0 timer (secs): 103
data bytes 500/500 packets 5/5 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0
The following table describes the connection fields for virtual circuits carrying locally switched X.25 traffic between PVCs and SVCs.
Table 42 show x25 vc Locally Switched PVC-to-SVC Traffic Field Descriptions
Field
|
Description
|
101600
|
Identifies the Calling (source) Address of the connection. If a Calling Address Extension was encoded in the call facilities, it is also displayed. If the source host is a CMNS host, its MAC address is also displayed.
|
201700
|
Identifies the Called (destination) Address of the connection. If a Called Address Extension was encoded in the call facilities, it is also displayed. If the destination host is a CMNS host, its MAC address is also displayed.
|
from Serial2
|
Indicates the direction of the call and the connecting interface.
|
VC 700
|
Identifies the circuit type and LCN for the connecting interface. VC indicates an SVC and PVC indicates a PVC. If the remote host is a CMNS host, its MAC address is also displayed.
|
The following is sample output from the
show
x25
vc command used on a virtual circuit carrying remotely switched X.25 traffic:
Router# show x25 vc
PVC 2, State: D1, Interface: Serial2
Started 0:01:25, last input never, output never
PVC <--> [172.20.165.92] Serial2/0 PVC 1 connected
XOT between 172.20.165.95, 1998 and 172.20.165.92, 27801
Window size input: 2, output: 2
Packet size input: 128, output: 128
PS: 0 PR: 0 ACK: 0 Remote PR: 0 RCNT: 0 RNR: FALSE
P/D state timeouts: 0 Timer (secs): 0 Reassembly (bytes): 0
Held Fragments/Packets: 0/0
data bytes 0/0 packets 0/0 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0
SVC 6, State: D1, Interface: Serial2
Started 0:00:04, last input 0:00:04, output 0:00:04
Connects 170093 <--> 170090 from
XOT between 172.20.165.91, 1998 and 172.20.165.92, 27896
Window size input: 2, output: 2
Packet size input: 128, output: 128
PS: 5 PR: 5 ACK: 4 Remote PR: 5 RCNT: 1 RNR: FALSE
P/D state timeouts: 0 Timer (secs): 0 Reassembly (bytes): 0
Held Fragments/Packets: 0/0
data bytes 505/505 packets 5/5 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0
The following table describes the connection fields for virtual circuits carrying remotely switched X.25 traffic.
Table 43 show x25 vc Remote X.25 Traffic Field Descriptions
Field
|
Description
|
PVC
|
Flags PVC information.
|
[172.20.165.92]
|
Indicates the IP address of the router remotely connecting the PVC.
|
Serial 2/0 PVC 1
|
Identifies the remote interface and PVC number.
|
connected
|
Identifies connection status for a switched connection between two PVCs. See the table below for PVC status messages.
|
170093
|
Identifies the Calling (source) Address of the connection. If a Calling Address Extension was encoded in the call facilities, it is also displayed.
|
170090
|
Identifies the Called (destination) Address of the connection. If a Called Address Extension was encoded in the call facilities, it is also displayed.
|
from
|
Indicates the direction of the call.
|
XOT between...
|
Identifies the IP addresses and port numbers of the X.25-over-TCP (XOT) connection.
|
The following table lists the PVC states that can be reported. These states are also reported by the
debug
x25 command in PVC-SETUP packets (for remote PVCs only). Some states apply only to remotely switched PVCs.
Table 44 X.25 PVC Status Messages
Status Message
|
Description
|
awaiting PVC-SETUP reply
|
A remote PVC has initiated an XOT TCP connection and is waiting for a reply to the setup message.
|
can’t support flow control values
|
The window sizes or packet sizes of the PVC cannot be supported by one of its two interfaces.
|
connected
|
The PVC is up.
|
dest. disconnected
|
The other end has disconnected the PVC.
|
dest interface is not up
|
The target interface’s X.25 service is down.
|
dest PVC config mismatch
|
The targeted PVC is already connected.
|
mismatched flow control values
|
The configured flow control values do not match.
|
no such dest. interface
|
The remote destination interface was reported to be in error by the remote router.
|
no such dest. PVC
|
The targeted PVC does not exist.
|
non-X.25 dest. interface
|
The target interface is not configured for X.25.
|
PVC/TCP connect timed out
|
A remote PVC XOT TCP connection attempt timed out.
|
PVC/TCP connection refused
|
A remote PVC XOT TCP connection was tried and refused.
|
PVC/TCP routing error
|
A remote PVC XOT TCP connection routing error was reported.
|
trying to connect via TCP
|
A remote PVC XOT TCP connection is established and is in the process of connecting.
|
waiting to connect
|
The PVC is waiting to be processed for connecting.
|