|
|
Shows information about WAN connections.
show wan {config | state |
config | The show wan config command displays all of the relevant information about how the WAN interface(s) have been configured. The output is split into a number of sections, each of which can be displayed with other show wan commands. |
state | The show wan state command displays the status of each WAN interface and its connection statistics. |
connect {config [Status] | statistics} |
|
serial {config [Status] | statistics} |
|
mode [Status] | The show wan mode command displays the present operating mode for each of the WAN interfaces. Presently, the modes supported are Frame Relay, PPP, SMDS and Off. If the optional Status parameter is used, then the runtime status of the interfaces will be displayed. |
ds3 {config | statistics} |
|
hssi {config | statistics} |
|
The following sections describe the display contents for each command.
The show wan connect config display includes the following information:
Mode | Values will be Always for always up connections, Dedctd for dedicated connections, and Dialup for on-demand dialup. |
Dial | This is the dialing method used. Values will be AT for Hayes AT Command Set dialing, V25bs for V.25bis synchronous dialing, or "-" for dedicated connections that do not need to dial. |
ConnectOut | This is the name of the chat script to be used to originate a connection. |
Callback | This is the name of the chat script to be used for a dial-back connection. |
Flags | The Flags indicate runtime flags set for this interface. The Flags are indicated numerically and are decoded inside the "<" and ">" characters. Values for the Flags include DCD when the carrier has been detected, Dial when the device is dialing, In when the current connection was initiated by an incoming call, Out when the current connection was initiated by an outgoing call, DIOK when the interface is configured for dial-in, DOOK when the interface is configured for dial-out, and Ucnnt if the interface is presently in the user connect state. |
Delay | This is the period of time that the device will wait between attempts to connect. |
Retry | This is the number of times the device will try to establish a new connection or reconnect to one that has gone down. If the mode is "always up" the device will retry this many times and then re-initialize and begin the cycle again. "On demand" devices will try this many times and then wait for the next event to cause it to dial again. |
Inactivity | This is the amount of time in minutes that the device will wait before closing the connection due to inactivity. |
Chat | The Chat timeout value is the maximum amount of time in seconds for the chat script to complete. If it does not complete, the connection is dropped. |
The show wan connect statistics display includes the following information:
inact | This is the present value of the inactivity disconnect timer. A value of 0:00 usually indicates a connection that is synchronous, always up, or dedicated. |
cur cnnt | This is the amount of time that the current connection has been up. |
avg cnnt | This is the average amount of time that the device has stayed connected for each connection made. |
tot cnnt | This is the total amount of time that the device was in a connected state. |
dial try | This is the total number of dial-out tries attempted. |
dial out | This is the number of successful dial-out connections. |
dial in | This is the number of successful dial-in connections. |
The show wan serial config display includes the following information:
Port | This is the name of the interface. |
Type | The Type will be either Sync for synchronous operation, Async for asynchronous operation, or Off if the interface is not turned on. |
TX Clk | The TX Clk column has values when the interface is set to synchronous mode only. It will have either Ext to indicate that the device receives the transmit clock signal externally or Int if the device is providing the transmit clock. The n/a value is displayed for asynchronous interfaces. |
Baud Rate | The Baud Rate is the serial speed for asynchronous links and synchronous links where the transmit clock is internal. |
Fcntl | The Fcntl is the flow control assigned to each interface. Values will be None if no flow control is configured, HW for hardware (RTS/CTS), XON/XOFF for software, and n/a when there is no need for any (as in a sync connection). |
Flags | The Flags indicate special options configured for this interface. The Flags are indicated numerically and are decoded inside the "<" and ">" characters. The three flags that you can expect to see are IntTxClk when synchronous interfaces are set for internal transmit clock, DIOK when the interface is configured for dial-in, and DOOK when the interface is configured for dial-out. |
The show wan serial statistics display includes the following information:
in pkts | The number of packets received by this interface. |
out pkts | The number of packets sent by this interface. |
tot disc | The total number of packets discarded due to an error. |
crc | The number of packets received with CRC Frame Check Errors. |
overruns | The number of overrun errors. |
framing | The number of framing errors. |
oversize | The number of oversized packets received. |
abort | The number of abort events logged by the serial chip. An abort is defined as more than seven 1s in a row in the datastream. This is an error found on synchronous lines of an HDLC connection. |
break | The number of break events logged by the serial chip. |
PPP flag | The number of PPP flags received on PPP connections. There will usually be two flags per packet. |
sw fc in | The number of software flow control (Xon/Xoff) bytes received. |
unalign | The number of packets received with alignment errors while in HDLC mode. The packet size was not a multiple of 8 bits. |
fr2long | The number of packets that exceed the maximum frame length. |
rx_busy | The number of times the serial processor receives a packet and does not have a buffer to allocate to it. This statistic may be non-zero since it may get one occurrence during startup. |
tx_gltch | The number of times the serial processor detects a glitch in the TX clock during HDLC mode. |
rx_gltch | The number of times the serial processor detects a glitch in the RX clock during HDLC mode. |
underrun | The number of times the serial processor detected a transmission underrun in HDLC mode. |
cts_lost | The number of times the Clear-to-Send (CTS) signal was negated during transmission. |
cd_lost | The number of times the Data Carrier Detect (DCD) signal was negated during reception. |
sp_int | The number of times the serial processor detected a spurious interrupt. Nothing is in the interrupt register. |
nullptr | The number of null pointers encountered in the interrupt routine. |
noIbuf | The number of times the serial processor fails to get a Pbuf in asynchronous mode. |
unknown | The number of errors with an unknown tally type. |
asi rst | The number of times the async receive serial driver was reset due to overloading. |
asi wrap | The number of times the async receive buffer wrapped. This is informational only and not an error. |
asi waits | The number of async transmit packets which needed to wait for an async-HDLC conversion buffer. This is not an error but is an indication of heavy transmit traffic. |
asi oflow | The number of times the async receive buffer overflowed. This is an indication of very heavy receive traffic. |
The show wan state display includes the following information. The first block of statistics displays the current state of each interface by protocol. Except for Connect, each protocol will have a value of Up, Down, Nego (for negotiating), or "-" for not applicable.
Connect | The Connect state is the status of the physical level connection. Values include: Cnnt indicating that the interface is connected and is able to communicate with the equipment attached to it, Check when the device is checking the interface to see if it can communicate with the attached device, UCnnt when the interface is in User Connect mode, Idle when the link is available but is not being used, CIn when there is an incoming connection in progress, COut when there is an outgoing connection in progress, Drop when the connection is in the process of being dropped, and Off if the interface is disabled. |
FRmaint | This is the status of the Frame Relay maintenance protocol for each interface. |
PPP | This is the status of PPP for each interface. |
IP | This is the status of the IP protocol for each interface. |
IPX | This is the status of the IPX protocol for each interface. |
Atalk | This is the status of the AppleTalk protocol for each interface. |
The second set of statistics displays the connection information about each interface. The values are explained in the show wan connect statistics.
The show wan ds3 statistics display includes the following information:
Statistic Type The interface for which statistics are being displayed. Packets In The number of packets received by this interface since powerup or since the statistics were reset using the reset wan ds3 stats command (see reset statistics). Packets Out The number of packets sent by this interface since powerup or since the statistics were reset using the reset wan ds3 stats command (see reset statistics). Tx discards The number of outgoing packets discarded due to an error. heldoff The number of packets held off due to a busy interface. Code Violations The count of D3RC cycles for which CV is high. Pulse Density Lo The number of Loss of Signal interrupts received from the framer. CRC errors The number of packets received with CRC Frame Check Errors. RX Overflows The number of times the receive buffer overflowed. This is an indication of very heavy receive traffic. Frame len errors The number of times a frame over the maximum frame length was received. RX Aborts The number of abort events logged by the serial chip. An abort is defined as more than seven 1s in a row in the datastream. TX underflow The number of times the transmitter was in the middle of a transmission and the Tx FIFO did not have data to send out. TX len errors The number of times transmission of a packet greater than the maximum allowed size was attempted. TX Aborts sent The number of abort events sent by the interface. An abort is defined as more than seven 1s in a row in the datastream. RX Busy The number of times no Buf was available for a received packet. RX FIFO full The number of packets received which were bigger than the Framer's Rx FIFO. TX FIFO full The number of packets received which were bigger than the Framer's Tx FIFO. DS3 EF SA The number of Equipment Failure, Service Affecting messages received from the remote device. DS3 LOS The number of Loss of Signal messages received from the remote device. DS3 OOF The number of Out Of Frame Detected messages received from the remote device. DS3 AIS Rcvd The number of yellow alarm messages received from the remote device. A yellow alarm indicates that there is a remote loss of signal and informs the local user that the locally generated transmission is not being received at the destination. DS3EF NSA The number of Equipment Failure, Non Service Affecting messages received from the remote device. DS3 CEF The number of Common Equipment Failure messages received from the remote device. DS3 LOOPA This is the number of times Loopback Activate requests have been received from the remote device. DS3 LOOPD The number of Loopback De-activate requests have been received from the remote device. DS3 Line Loop The number of times the remote end has gone into loopback. DS3 Norm Op The number of times the remote end has returned to normal operation after being in loopback. Spurious Int The number of times the serial processor detected a spurious interrupt. Nothing is in the interrupt register.
The show wan hssi statistics display includes the following information:
Statistic Type | The interface for which statistics are being displayed. |
Packets In | The number of packets received by this interface since powerup or since the statistics were reset using the reset wan hssi stats command (see reset statistics). |
Packets Out | The number of packets sent by this interface since powerup or since the statistics were reset using the reset wan hssi stats command (see reset statistics). |
Tx discards | The number of outgoing packets discarded due to an error. |
Tx Heldoff | The number of packets held off due to a busy interface. |
Rx discards | The number of incoming packets discarded due to an error. |
PCI Bus Error | The number of times a PCI Bus error has occurred on this interface. |
Transmit Error | The number of packets that were not sent due to a transmit error. |
Tx Too Long | The number of transmit packets discarded due to a length error. |
Deferred | This indicates the number of times the 21140 processor had to defer a transmit because the carrier was asserted. |
Receive Error | The number of packets where an error was detected in the packet header. |
RX Overflow | The number of times the receive buffer overflowed. This is an indication of very heavy receive traffic. |
Length Error | The number of packets received that had an invalid length. |
Desc Len Error | The number of length errors detected in the 21140 processor's buffer descriptors. |
Illegal Length | The number of packets received that had an invalid length (either too long or too short). |
CRC Error | The number of packets that contained CRC (Cyclical Redundancy Check) errors on packets received. |
The following sections show an example for each command.
The following example display is for the show wan config command:
WAN modes:
Port Mode
WAN0 Frame Relay
WAN1 Frame Relay
WAN2 PPP
WAN3 PPP
Connect Info:
Port Mode Dial ConnectOut Callback Flags
Delay Retry Inactivity Chat
WAN 0 Dedctd - - - rt=8000<Out>
0 0 n/a 0
WAN 1 Dedctd - - - rt=8000<Out>
0 0 n/a 0
WAN 2 Dedctd - - - rt=28000<Out,DIOK>
0 0 n/a 0
WAN 3 Dedctd - - - rt=28000<Out,DIOK>
0 0 n/a 0
Serial Info:
Port Type TX Clk Baud Rate Fcntl Flags
WAN 0 Sync Ext n/a n/a =0<>
WAN 1 Sync Ext n/a n/a =0<>
WAN 2 Async n/a 115200 HW =1<DIOK>
WAN 3 Async n/a 115200 HW =1<DIOK>
AUX 0 Async n/a 9600 None =0<>
PPP Lcp Info:
WAN 0 Off
WAN 1 Off
WAN 2:
Want=1a4<ACCM,MAGIC,PFC,ACFC>
Allow=1a4<ACCM,MAGIC,PFC,ACFC>
ACCM Mask=0<>
WAN 3:
Want=1a4<ACCM,MAGIC,PFC,ACFC>
Allow=1a4<ACCM,MAGIC,PFC,ACFC>
ACCM Mask=0<>
PPP Data Compression:
Port Compression
WAN 0 Off
WAN 1 Off
WAN 2 Off
WAN 3 Predictor1
Frame Relay Maintenance Info:
Port Maint Poll MTU
WAN0 annexD 5 1500
WAN1 LMI 10 1500
WAN2 Off
WAN3 Off
Frame Relay DLCI Info:
Port WAN 0 DLCI Configuration
DLCI IP AppleTalk IPX
20 IARP IARP IARP
Port WAN 1 DLCI Configuration
DLCI IP AppleTalk IPX
16 200.30.9.1 IARP IARP
Port WAN 2 DLCI Configuration
Off
Port WAN 3 DLCI Configuration
Off
The following example display is for the show wan connect config command:
Port Mode Dial ConnectOut Callback Flags
Delay Retry Inactivity Chat
WAN 0 Always V25bs coop - rt=48002<DCD,Out,DOOK>
2 5 n/a 30
WAN 1 Dedctd - - - rt=8000<Out>
15 5 n/a 30
WAN 2 Dialup AT - - rt=20000<DIOK>
15 5 10 30
WAN 3 Always AT netcom - rt=48002<DCD,Out,DOOK>
15 5 n/a 60
The following example display is for the show wan connect statistics command:
Stats Wan0 Wan1 Wan2 Wan3 inact 0:00 0:00 0:00 0:00 cur cnnt 0:00:00:02 0:00:00:08 0:00:00:03 0:00:00:05 avg cnnt 0:00:00:17 0:00:00:32 0:00:00:39 0:00:00:39 tot cnnt 0:01:08:28 0:01:08:27 0:01:12:05 0:01:12:05 dial try 229 125 109 109 dial out 229 125 109 109 dial in 0 0 0 0
The following example display is for the show wan serial config command:
Port Type TX Clk Baud Rate Fcntl Flags WAN 0 Sync Ext n/a n/a =2<DOOK> WAN 1 Sync Int 1544000 n/a =8<IntTxClk> WAN 2 Async n/a 115200 HW =1<DIOK> WAN 3 Async n/a 57600 HW =2<DOOK> AUX 0 Async n/a 9600 None =0<>
The following example display is for the show wan serial statistics command:
Stats Wan0 Wan1 Wan2 Wan3 in pkts 3446870 0 2050 55920 out pkts 3849662 21701 2881 2910 tot disc 0 0 5095 0 crc 0 0 5095 0 overruns 0 0 0 0 framing 0 0 0 0 oversize 0 0 0 0 abort 0 0 9 0 break 0 0 0 0 PPP flag 0 0 9701 46306 sw fc in 0 0 0 0 unalign 0 0 0 0 fr2long 0 0 0 0 rx_busy 0 0 0 0 tx_gltch 0 0 0 0 rx_gltch 0 0 0 0 underrun 0 0 0 0 cts_lost 0 0 0 0 cd_lost 0 0 0 0 sp_int 0 0 0 0 nullptr 0 0 0 0 noIbuf 0 0 0 0 unknown 0 0 0 0
The following example display is for the show wan mode command:
Port Mode WAN0 Frame Relay WAN1 Frame Relay WAN2 PPP WAN3 PPP
The following example display is for the show wan state command:
State Wan0 Wan1 Wan2 Wan3 Connect Cnnt Cnnt Cnnt Cnnt FRmaint Up Up - - PPP - - Nego Up IP - - Down Up IPX - - Down Up Atalk - - Down Up DECnet - - Down Down Stats Wan0 Wan1 Wan2 Wan3 inact 0:11 0:11 0:11 0:11 cur cnnt 0:00:00:16 0:00:00:10 0:00:00:33 0:00:00:35 avg cnnt 0:00:00:18 0:00:00:32 0:00:00:39 0:00:00:39 tot cnnt 0:01:06:18 0:01:06:17 0:01:09:55 0:01:09:55 dial try 221 121 105 105 dial out 221 121 105 105 dial in 0 0 0 0
The following example display is for the show ds3 config command:
DS3 0
Line State Up
DATA Invert Off
DS3 Subrate 44.210 Mbs
CRC Length 32 bit
Clocking Internal
Line Build Out Short
The following example display is for the show ds3 statistics command:
Statistic Type DS3 0 Packets In 308315 Packets Out 309232 Tx discards 0 heldoff 0 Code Violations 0 Pulse Density Lo 0 CRC errors 0 RX Overflows 0 Frame len errors 0 RX Aborts 0 TX underflow 0 TX len errors 0 TX Aborts sent 0 RX Busy 0 RX FIFO full 0 TX FIFO full 0 DS3 EF SA 0 DS3 LOS 0 DS3 OOF 0 DS3 AIS Rcvd 0 DS3 IDLE Rcvd 0 DS3 EF NSA 0 DS3 CEF 0 DS3 LOOPA 0 DS3 LOOPD 0 DS3 Line Loop 0 DS3 Norm Op 0 Spurious Int 0
The following example display is for the show hssi config command:
HSSI 0 Local loop Off CSU/DSU loop Off CRC Length 32 bit Clocking External CA (CSU ready) On Clock Present Yes
The following example display is for the show hssi statistics command:
Statistic Type HSSI 0 Packets In 25622 Packets Out 21531 Tx discards 0 Tx Heldoff 0 Rx discards 0 PCI Bus Error 0 Transmit Error 0 Tx Too Long 0 Deferred 0 Receive Error 0 Rx Overflow 0 Length Error 0 Desc Len Err 0 Illegal Length 0 CRC Error 0
| Command | Description |
|---|---|
configure DS3 Interface | Configures DS3 parameters for an interface |
configure Frame Relay | Configures Frame Relay parameters for an interface |
configure HSSI Interface | Configures HSSI parameters for an interface |
configure PPP | Configures PPP parameters for an interface |
configure SMDS | Configures SMDS parameters for an interface |
reset statistics | Resets statistics |
show ppp | Shows PPP information |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Sep 27 11:36:30 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.