cc/td/doc/product/access/acs_fix/750
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

System Management Commands

System Management Commands

This chapter describes the commands for system interfaces, system booting, and terminal sessions. The system interface commands display the router configuration in various forms using the show commands. The system booting commands are used to reboot the router, download software, and reset configuration value to their defaults. The terminal session commands manage communications between an ASCII terminal or a PC running terminal emulation software and the router. (The Cisco 700 Series Installation Guide provides instructions for connecting a terminal to the router.)

cd

To create a profile, enter an existing profile, or return to system mode, use the cd command (also known as the change user command).

CD [username]
Syntax Description

username

Profile name.

Command Mode

System or profile mode

Usage Guidelines

This command creates a profile if the user name does not exist or moves to the specified profile if the user name does exist. From within a profile, this command returns from the profile to system mode.

The user name displays in the prompt, following the router name.

The user name can be abbreviated to the fewest number of characters that make the name unique. The minimum is two characters. The maximum is 64 characters. User names are not case-sensitive. If no user name is specified, you return to system mode.

For authentication purposes, the user name is the string the remote device uses as a username when authenticating itself through Point-to-Point Protocol (PPP).

Example

The following example moves from system mode (where the router name is Host) to a profile named 2503:

Host> cd 2503
Host:2503>

help

To display a list of commands and the syntax for each command, use the help command.

HElp [cmd [modifier]]
Syntax Description

cmd

All commands for the specified group are listed. The most useful are set commands, reset commands, show commands, log commands, test commands, and unset commands.

modifier

All modifiers for the specified command are listed. The most useful are ip (Internet Protocol), ipx (Internetwork Packet Exchange), and snmp (Simple Network Management Protocol).

Default

None

Command Mode

System or profile mode

Usage Guidelines

Use this command to display online help information about commands. You can enter a question mark (?) in place of the word "help." Used without parameters, the command displays all the commands.

Example

The following example displays help for the call command:

Host> help call
CAll [ C# | L# | # | C#/L# | C#/# | #/# ]  [ P# | CH# | P#/CH# ] [<number>]
where
 C#            indicates a Connection number
 # or L#       indicates a Link number
 C#/L# or #/#  indicates Link of a Connection
 P#            indicates Port
 CH#           indicates Channel
 P#/CH#        indicates Channel of a Port
<Q> and <enter> to Quit or <enter> for MORE

log

To implement the logging functions, use the log command.

LOg NOne | CAlls | MEssage | ERrors | IPx [TIme] [VErbose]
LOg [LAN | connection] PAckets | TRaffic [CHannel = channel] [VErbose [INbound | OUtbound]]

NOne

Disable all logging.

CAlls

Log call statistics. Each major call event is logged, and a message displays every time a channel is assigned a connection.

MEssage

Display a message when a channel is assigned a connection.

ERrors

Log error messages that otherwise are not displayed, including buffer allocation errors, mail delivery errors, and chip-level errors.

IPx

Display messages when Service Advertisement Protocol (SAP) entries get changed, interface characteristics are set or changed, or when erroneous Routing Information Protocol (RIP) information is received.

TIme

Display time and date of each logged event or message.

VErbose

Log all layers of the ISDN call control stack and traffic by printing the entire packet.

LAN

Enable logging for the LAN connection. Used with packets or traffic.

PAckets

Display statistics on packet routing once per second. Number of packets filtered, forwarded, received, and the packet queue lengths are displayed.

TRaffic

Display a one-character indicator of each packet sent on the connection or the whole packet when verbose is specified.

CHannel

Provide the channel number (logs traffic on a channel before the channel is assigned to a connection). This is primarily used to diagnose Point-to-Point Protocol (PPP) negotiation problems.

INbound OUtbound

In conjunction with verbose, restrict the packet content display to either incoming or outgoing packets.

Syntax Description
Default

Log calls

Command Mode

System or profile mode

Usage Guidelines

The log command displays all enabled logged entries. More than one keyword can be entered at a time.

Examples

The following example shows output from the log calls command:

Host> log calls time
cb760>ca16545
04/04/199600:24:08L0506545OutgoingCallInitiated
cb760>cb760>01/01/199500:24:10L040LineDeactivated
cb760>01/01/199500:24:10L270Disconnected
cb760>

The following example shows output from the log messages command:

Host> log messages
> Host> 04/04/1996 04:19:26  L05  0 814159031604  Outgoing Call Initiated
Host>0500-->04000001
01000280131d180200032c
0c383134313539303331
3630356c090000373734
3238363504028890
Host>04/04/199604:19:26L050814159031605OutgoingCallInitiated
Host0400-->03000180120340b548
0801008004028890180183
2c0c3831343135393033
313630346c0900803737
3432383635
Host>0400-->03000280130340b548
0801008004028890180183
2c0c3831343135393033
313630356c0900803737
3432383635
Host>0300-->04000280130341b3f6
02011498180189
 

The following example shows output from the log messages verbose command:

Host> log messages verbose
Host>0300-->020a0280150240b3f6
0801160f
Host>0400-->05000004
04000280150418020101
Host>020a-->02000200000140b3f6
0093fa2e
0801160f
Host>0200-->020a0000000141b3f6
02810ce0
08019507
Host>04/04/1995604:22:48L082814159031605CallConnected
Host>020a-->03000100000241b3f6
02810ce0
08019507
Host>020a-->02000100000140b0c6
0281010e

The following example shows output from the log errors command:

2865_66>  log errors
2865_66>  Log Errors: 11003 IPX RIP Not Sent To Virtual Conn 3
2865_66>  Log Errors: 11003 IPX RIP Not Sent To Virtual Conn 3
2865_66>  Log Errors: 11003 IPX RIP Not Sent To Virtual Conn 3
2865_66>  Log Errors: 11003 IPX RIP Not Sent To Virtual Conn 3
2865_66>  Log Errors: 11003 IPX RIP Not Sent To Virtual Conn 3
2865_66>

ping

To determine whether a system can be reached on any connected interface, use the ping command.

PIng ipaddress
Syntax Description

ipaddress

IP address of the target system.

Default

None

Command Mode

System or profile mode

Usage Guidelines

The router generates a ping packet that includes the source address of the profile from which it was sent. If the destination can be reached, the round-trip delay is determined and reported. If the destination cannot be reached, a "no response" message is generated.

The ping command automatically tries three times to reach the destination.

Example

The following example illustrates a successful ping:

Host> ping 172.16.2.1
start sending : round trip time is 40 msec.
start sending : round trip time is 40 msec.
start sending : round trip time is 40 msec.
 

The following example illustrates an unsuccessful ping:

Host> ping 172.16.2.1
start sending : no response
start sending : no response
start sending : no response

reboot

To boot the router manually, use the reboot command.

REBoot
Default

None

Command Mode

System or profile mode

Example

The following example shows a manual reboot:

Host> reboot
Boot version 2.1(1) 08/13/97 17:33
Copyright (c) 1993-1997.  All rights reserved.
POST ............ OK (1.5MB).
Validating FLASH ... OK.
Booting up ............................
01/01/199500:00:00Connection1Opened
tomd>01/01/199500:00:00L010StartedOperation
tomd>01/01/199500:00:01Connection2Opened
Related Commands

set baudrate
set default

reset packets

To set accumulated packet counts to zero for one connection, use the reset packets command.

REset [connection | LAN] PACkets [ALl]
Syntax Description

connection

Reset accumulated packet counts to zero on the specified connection. If neither a connection number nor LAN is specified, packet counts for the connection associated with the current profile are reset.

LAN

Reset accumulated packet counts to zero on the LAN connection.

ALl

Reset all accumulated packets.

Default

None

Command Mode

Profile mode

Example

The following example resets the packet counts for profile 2503:

Host:2503> reset packets
Related Command

show packets

set baudrate

To configure the baud rate for the console port, use the set baudrate command.

SEt BAudrate 300 | 1200 | 2400 | 4800 | 9600 | 19200 | 38400
Syntax Description

300

Configure the console port for 300 baud.

1200

Configure the console port for 1200 baud.

2400

Configure the console port for 2400 baud.

4800

Configure the console port for 4800 baud.

9600

Configure the console port for 9600 baud.

19200

Configure the console port for 19200 baud.

38400

Configure the console port for 38400 baud.

Default

9600 baud

Command Mode

System mode

Example

The following example configures the console port for 2400 baud:

Host> set baudrate 2400
Related Command

reboot

set callduration

To place a limit on the length of time a data call is up, use the set callduration command.

SEt CALLDuration minutes
Syntax Description

minutes

Maximum duration of a call in minutes. Enter any value between 1 and 1430. A value of 0 turns off any configured limit on data call duration.

Default

None

Command Mode

System or profile mode

Usage Guidelines

The set callduration command is allowed only after system-level password authentication is complete.

This command does not affect voice calls.

Example

The following example sets the duration of a data call to 10 minutes:

Host> set callduration 10
Related Commands

set calltime
set password
show callduration

set calltime

To set the time of day when calls can be made or accepted, use the set calltime command.

SEt CALLTime [VOice | DAta] INcoming | OUTgoing [starttime | endtime]
SEt CALLTime [VOice | DAta] INcoming | OUTgoing OFf]
Syntax Description

VOice

Time-of-day parameters affect voice calls only.

DAta

Time-of-day parameters affect data calls only.

INcoming

Time-of-day parameters affect incoming calls only.

OUTgoing

Time-of-day parameters affect outgoing calls only.

starttime

Starting time of day when calls are allowed. The router uses a 24-hour clock, and the parameter is entered HH:MM format, where HH is a number from 0 to 23, and MM is a two-digit number from 00 to 59.

endtime

Ending time of day when calls are no longer allowed. Enter the parameter in HH:MM format, where HH is a number from 0 to 23, and MM is a two-digit number from 00 to 59.

OFf

Turn off any configured time-of-day limits on calls.

Default

None

Command Mode

System mode

Usage Guidelines

The system time on the router must be set correctly for this feature to be accurate and effective. System-level password authentication is required before the set calltime command is allowed. The router does not have an auxiliary power supply, such as a battery, to maintain the router clock. If you power-cycle the router, reenter the system date and time.

Example

The following example allows incoming voice calls from 8:00 am to 4:00 pm:

Host> set calltime voice incoming 08:00 16:00
Related Commands

set callduration
set date
set password
set sntp server
set time
show callduration
show calltime

set compression

To enable or disable data compression, use the set compression command.

SEt COmpression STac | OFf
Syntax Description

STac

Enable data compression.

OFf

Disable data compression.

Default

STac (enabled)

Command Mode

Profile mode

Usage Guidelines

Turn compression off if you are using High Level Data Link Control (HDLC) protocol.

Example

The following example disables compression for the profile 2503 connection:

Host:2503> set compression off
 

set date

To set the current date, use the set date command.

SEt DAte MM/DD/YYYY
Syntax Description

MM

A two-digit number from 01 to 12.

DD

A two-digit number from 01 to 31.

YYYY

A four-digit number from 1994 to 2020.

Default

The default date is 01/01/1995.

Command Mode

System mode

Usage Guidelines

You must reset the date every time the router is booted. The date appears during logging.

Example

The following example configures the date in the router for August 13, 1999:

Host> set date 08/13/1999
Related Command

set time

set default

To set all variable parameters to their default values, use the set default command.

SEt DEfault
Default

None

Command Mode

System or profile mode

Usage Guidelines

The set default command resets all parameters to their default values, deletes the user-defined profiles, sets the Auto_Config flag to FALSE, and reboots the router. Setting the Auto_Config flag to FALSE triggers the auto-configuration procedure in the power-up operation.

The auto-configuration feature allows the router to obtain the configuration file from a remote server by using Bootstrap Protocol(BOOTP). Upon power-up, the router examines the Auto_Config flag stored in nonvolatile RAM (NVRAM). If the Auto_Config flag is FALSE, the router initiates a BOOTP to request an IP address from the server when a connection is established. (If the flag is TRUE, the BOOTP request is not initiated.)

When the router and BOOTP and TFTP servers at the central site are set up, use ping to generate traffic and trigger the ISDN call. When the call is connected, the Cisco 700 series router sends a BOOTP request. If the server finds a matching MAC address from BOOTPTAB, the server returns a client profile that includes an IP address and configuration filename. The router initiates a TFTP client request, requesting the server download the configuration file. (The U.S. image requires SPID and switch configuration information before the ISDN connection can be established.)

After successfully loading the configuration file, the router sets the Auto_Config flag to TRUE in NVRAM. In a subsequent power-up operation, if the Auto_Config flag is TRUE, the router does not initiate BOOTP to request a configuration file from the server.

This should be done on the LAN side (Ethernet interface) only. If this operation fails, the Auto_Config flag remains FALSE. If this is done on the WAN side and there is a WAN/PPP connection established, this process is triggered repeatedly on the WAN link.

Example

The following example configures the router to default values:

Host> set default
Related Command

reboot

set echo

To enable and disable terminal echo of keyboard entries, use the set echo command.

SEt ECho ON | OFf
Syntax Description

ON

Enable terminal echo.

OFf

Disable terminal echo.

Default

On

Command Mode

System mode

Example

The following example disables terminal echo for the router:

Host> set echo off

set ipx trace

To convert IPX packets to hexadecimal values for troubleshooting purposes, use the set ipx trace command.

SEt IPX TRace length | OFf | ON
Syntax Description

length

Packet length (from 1 to 65535).

ON

Enable IPX packet conversion to hexadecimal numbers.

OFf

Disable IPX packet conversion to hexadecimal numbers.

Default

Off

Command Mode

Profile mode

Examples

The following example enables IPX trace and sets packet length to 4096:

Host> set ipx trace 4096 on
 

The following example disables IPX trace:

Host> set ipx trace off

set loopback

To create a loop from the Cisco 700 series router toward the remote router on the ISDN line, use the set loopback command.

SEt [connection] LOOpback ON | OFf
Syntax Description

connection

A connection number on which to create a loop. If no connection number is specified, a loop is created on the connection associated with the current profile. If the router cannot determine the connection number from the profile, the router displays an error message.

ON

Enable a loop.

OFf

Disable a loop.

Default

Disabled

Command Mode

System or profile mode

Usage Guidelines

This command is used with the test command for troubleshooting purposes. In system mode, this command must be used with the connection-number argument. The router displays an error message if a connection number is not specified. In profile mode, the command uses the connection number for the profile. Use the show connection command to display which profiles have a loopback.

Example

The following example creates a loopback on connection 1:

Host> set 1 loopback on
Related Commands

show connection
test

set screenlength

To set the maximum number of lines to display on the terminal, use the set screenlength command.

SEt SCreenlength lines
Syntax Description

lines

Maximum screen length to display on your terminal. The length can be from 2 to 128 lines.

Default

20 lines

Command Mode

System mode

Example

The following example configures the terminal to display 30 lines:

Host> set screenlength 30
Related Commands

set baudrate
set serialport

set serialport

To toggle the serial port to function as a configuration port or a TPAD (Controller PAD) port, use the set serialport command.

SEt SErialport TPad | COnfig
Syntax Description

TPAD

Set the serial port as a TPAD port.

COnfig

Set the serial port as a configuration port.

Default

COnfig

Command Mode

System mode

Usage Guidelines

When you enable the serial port as a TPAD, communications from a configuration terminal to the serial port are not possible. You can enter configuration commands by using Telnet. (Refer to the Cisco 700 Series Installation Guide for information on connecting a terminal to the router.)

To switch from TPAD mode to configuration mode, do one of the following:

Attention (AT) commands are entered at the prompt on the TPAD terminal.

There are two mode of operation in the TPAD implementation that respond to the enhanced point-of-sale system (EPOS), Verbose and Terse. In Verbose mode, the response is in strings, such as "CONNECT," "NO CARRIER," "BUSY" and so forth. In Terse mode the response is in numbers, such as 1 (CONNECT), 3 (DISCONNECT), 7 (BUSY), and so forth.

When the router is in TPAD mode, these responses are echoed to a terminal attached to the router serial port. Prior to software Release 4.3(1), the mode of operation was always verbose with echo on. In software Release 4.3(1), a series of TPAD commands were implemented to support RIVA functionality.

Multiple commands can be entered on a single line.


Table 2-1: AT Commands
Command Description

ATV0

Response strings display in Terse mode (as numbers).

ATV1

Response strings display in Verbose mode (as strings). Default.

ATE0

Disable echoing commands.

ATE1

Enable echoing commands (default).

ATP

Pulse dial prefix.

ATDT

Tone dial prefix.

AT&F

Force factory defaults.

ATS7

Set carrier wait time.

The current state of the serial port can be displayed by using the show configuration command.

Example

The following example sets the serial port as a TPAD port:

Host> set serialport tpad 
Related Commands

set tpad parity
show configuration
show tpad

set systemname

To configure the router name as the system prompt and for Point-to-Point Protocol (PPP) authentication, use the set systemname command.

SEt SYstemname [systemname]
Syntax Description

systemname

Name used as the system prompt.

Default

No system name

Command Mode

System mode

Usage Guidelines

The system name is case sensitive and can be from 1 to 64 characters. If no system name is entered, the system name is blanked.

The system name identifies the router when making PPP connections to an Internet service provider (ISP) if there is no PPP client name in the profile defined with the set ppp clientname command. If a PPP client name is defined in the profile, the router uses the PPP client name for PPP authentication; the router retains the system name as part of the prompt. To delete the system name, enter the systemname command without an argument.

Example

The following example sets the system name to Host:

> set systemname Host
Host>
Related Command

set ppp clientname

set time

To set the current time, use the set time command.

SEt TIme HH:MM:SS
Syntax Description

HH

A two-digit number from 00 to 23.

MM

A two-digit number from 00 to 59.

SS

A two-digit number from 00 to 59.

Default

None

Command Mode

System mode

Usage Guidelines

The time must be reset whenever the router is rebooted.

Example

The following example configures the current time in the router:

Host> set time 08:48:20
Related Command

set calltime

set tpad parity

To select the communications parameters for TPAD, use the set tpad parity command.

SEt TPad PArity EVen | ODd | None
Syntax Description

EVen

7 data bits, 1 stop bit, and even parity.

ODd

7 data bits, 1 stop bit, and odd parity.

None

8 data bits, 1 stop bit, and no parity.

Default

None (8 data bits, 1 stop bit, and no parity)

Command Mode

System mode

Usage Guidelines

You can change parity of TPAD communications in software Release 4.1(2) and higher. (In software Release 4.1(1), serial port communication is limited to 8 data bits, 1 stop bit, and no parity.)

The TPAD protocol requires the following X.25 fixed parameters:

The X.25 protocol requires the following fixed parameters:

X.28 and other X.25 Packet Assembly Disassemblies (PADs) are not supported because there is no provision for protocol sensing.

The call direction is dial-out only. Incoming calls and two-way calls are not supported.

Cisco 700 series router software Release 4.2(1) supports Network User Information (NUI) and Network User Address (NUA), as described in British Telecom CardWay 0800 Phase 3 Access Platform specification.

Example

The following example sets the TPAD to even parity, 7 data bits, and 1 stop bit:

Host> set tpad parity even 
Related Commands

set serialport
show tpad

show

To display the configuration and the status of both ISDN B channels, use the show command.

SHow
Command Mode

System or profile mode

Usage Guidelines

In profile mode, the show command displays only the profile-based configuration parameters. Parameters that have been changed are indicated by an asterisk (*). Values without an asterisk are inherited from the profile template.

In system mode, the show command displays the profile template.

Example

The following example shows output from the show command in system mode:

Host>show
SystemParameters
Environment
ScreenLength20
EchoModeON
CountryGroup1
BridgingParameters
LANForwardModeANY
WANForwardModeONLY
AddressAgeTimeOFF
CallStartupParameters
MultidestinationOFF
LineParameters
SwitchType5ESS
AutoSPIDandSwitchDetectionOFF
CallParametersLink1Link2
RetryDelay3030
 
ProfileParameters
BridgingParameters
 
BridgingON
RoutedProtocols
LearnModeON
PassthruOFF
CallStartupParameters
LineParameters
LineSpeedAUTO
NumberingPlanNORMAL
CallParametersLink1Link2
AutoONON
CalledNumber
BackupNumber
RingbackNumber
CLICallbackOFF
 
Status01/01/199500:01:00
LineStatus
LineDeActivated
TerminalIdentifierUnassigned
PortStatusInterfaceConnectionLink
Ch:1WaitingforCall
Ch:2WaitingforCall
Related Command

show configuration

show callduration

To show the current setting for call duration, use the show callduration command.

SHow CALLDuration
Default

None

Command Mode

System or profile mode

Example

The following example shows the time limit of a call:

Host> show callduration
Host> Call Duration Limit      10 min.
Related Commands

set callduration
show calltime

show calltime

To show the current of time-of-day limits on calls, use the show calltime command.

SHow CALLTime
Default

None

Command Mode

Profile mode

Example

The following example displays the call-time limits:

Host:2503> show calltime
 ***   Call Time Limits   ***
  DATA CallsStarttimeEndtime
Incoming00:0014:59
Outgoing00:0023:59
  VOICE CallsStarttimeEndtime
Incoming00:0004:59
Outgoing00:0020:59
Related Commands

set callduration
set calltime
show callduration

show configuration

To display a subset of the current configuration parameters, use the show configuration command.

SHow COnfig [ALl]
Syntax Description

ALl

Displays system configurations and profile configurations in both system mode and profile mode.

Command Mode

System or profile mode

Usage Guidelines

In profile mode, the show configuration command without an argument displays only profile-based configurations. Parameters that have been changed are indicated by an asterisk (*). Values without an asterisk are inherited from the profile template. To display the profile template, type the show command in system mode.

Example

The following example shows output from the show configuration command in profile mode:

Host> show config
SystemParameters
Environment
ScreenLength20
EchoModeON
CountryGroup1
BridgingParameters
LANForwardModeANY
WANForwardModeONLY
AddressAgeTimeOFF
CallStartupParameters
MultidestinationOFF
LineParameters
	SwitchType5ESS
SvcProfileID1123123123
DirectoryNumber(s)01123412345
AutoSPIDandSwitchDetectionOFF
CallParametersLink1Link2
RetryDelay3030
Profile Parameters
BridgingParameters
BridgingON
RoutedProtocolsIP
LearnModeON
PassthruOFF
CallStartupParameters
LineParameters
LineSpeedAUTO
NumberingPlanNORMAL
CallParametersLink1Link2LinkD
AutoONONOFF
PermanentModeONOFFOFF
CalledNumber
BackupNumber
Related Command

show demand

show connection

To display all current connections, use the show connection command.

SHow CONNection
Command Mode

System mode

Example

The following example shows output from the show connection command:

Host> show connection
 
Connections12/04/199617:49:38
StartDate&Time#Name#Ethernet
112/04/199600:00:00##000000000000
212/04/199600:00:00#Top#
Link:1Channel:1telephone:9018
Link:2Channel:2telephone:9018
 

Table 2-2 describes the fields shown in the display.


Table 2-2: Show Connection Field Descriptions
Field Description

Connections

Connection number assigned by the router.

Start Date

Connection start date.

Start Time

Connection start time.

Name

System ID of the remote device.

Ethernet

Ethernet address of the remote device.

show demand

To display demand and timeout configurations, use the show demand command.

SHow DEmand
Command Mode

System or profile mode

Usage Guidelines

In profile mode, the show demand command displays only profile-based configurations. Parameters that have been changed are indicated by an asterisk (*). Values without an asterisk are inherited from the profile template. To display the profile template, enter the show command in system mode.

Example

The following example displays the profile template:

Host>showdemand
DemandCallingParametersLink1Link2
ConnectionTypeAutoONAutoON
Threshold0kbs48kbs
Duration1sec1sec
SourceLANBOTH
Timeout(calltear
down)Parameters Threshold0kbs48kbs DurationOFFOFF SourceLANBOTH
Related Commands

demand
set timeout
show
timeout

show memstat

To display the memory configuration, use the show memstat command.

SHow MEmstat
Command Mode

System mode

Usage Guidelines

The RAM size displays in hexadecimal. For example, a Cisco 700 series router with 1 MB displays 0x100000, and a router with 1.5 MB displays 0x180000.

Table 2-3 lists the RAM size hexadecimal values reported by the show memstat command and the corresponding RAM size in megabytes.


Table 2-3: Device RAM Sizes
RAM Size (hex) Memory

0x100000

1 MB

0x180000

1.5 MB

0x200000

2 MB

Example

The following example shows output from the show memstat command:

Host>showmemstat
ID0:Size:10Avail:8Max:8Used:1Addr:0x000DDBA8
ID1:Size:30Avail:69Max:80Used:16Addr:0x000DDDE2
ID2:Size:18Avail:35Max:35Used:0Addr:0x000DE5A8
ID3:Size:4Avail:36Max:36Used:0Addr:0x000DE850
ID4:Size:8Avail:220Max:220Used:1Addr:0x000DE908
ID5:Size:32Avail:223Max:400Used:180Addr:0x000E0650
ID6:Size:268Avail:20Max:20Used:1Addr:0x000E2238
ID7:Size:20Avail:80Max:80Used:2Addr:0x000E3764
ID8:Size:14Avail:124Max:200Used:76Addr:0x000E41E0
ID9:Size:54Avail:38Max:50Used:17Addr:0x000E629A
ID10:Size:8Avail:1Max:2Used:1Addr:0x000EEC40
ID11:Size:54Avail:6Max:6Used:0Addr:0x000EEC70
ID12:Size:462Avail:4Max:4Used:0Addr:0x000EF588
ID13:Size:134Avail:2Max:2Used:0Addr:0x000F00C0
ID14:Size:68Avail:5Max:5Used:1Addr:0x000F0BB8
ID15:Size:96Avail:5Max:6Used:2Addr:0x000F0DA0
ID16:Size:112Avail:2Max:2Used:0Addr:0x000F0FA8
NVStoreUsed:1203,Remaining6989(Deleted77+Unused6912),Total8192
RamStoreUsed:0,Remaining10000,Total10000
RAMSize=0x180000
 
Availablememory=517088,Allocs=119,Frees=0
MbufAllocs=0x5,MbufFrees=0x5,MbufFail=0x0
IbufAllocs=0x0,IbufFrees=0x0,IbufFails=0x0
MlenMax=0xe0,MlenAvail=0xe0,MlenLow=0xdf,MlenAllocs=0x5,MlenFails=0x0
ZeroMax=0x0,ZeroAvail=0x0,ZeroLow=0x7fff,ZeroAllocs=0x0,ZeroFails=0x0

show packets

To display packet count statistics, use the show packets command.

SHow [connection | LAn] PAckets
Syntax Description

connection

Display packet statistics for the connection number. If no connection number is entered, the router displays statistics for the current profile.

LAn

Display packet statistics for the LAN connection.

Command Mode

System or profile mode

Examples

The following example shows the statistics for connection 14:

host> show 14 packets
PacketStatisticsforConnection14
Filtered:11013246Forwarded:8400Received:5993
Dropped:263Lost:0Corrupted:0Misordered:1
CompressionRatio:1.73:1
EthernetType:0806Count:3375
EthernetType:0800Count:979
EthernetType:80f3Count:1068
EthernetType:809bCount:48718

The following example shows statistics for the LAN connection:

Host> show lan packets
PacketStatisticsforLAN
Filtered:11001795Forwarded:12411637Received:25496880
Dropped:0Lost:6911Corrupted:46Misordered:0
EthernetType:0806Count:3375
EthernetType:0800Count:979
EthernetType:80f3Count:1068
EthernetType:809bCount:48718

Table 2-4 describes the fields.


Table 2-4: Show Packets Field Descriptions
Field Description

Filtered

Packets received by the bridge engine and not forwarded.

Forwarded

Packets forwarded to specified connection.

Received

Packets received from the specified connection.

Dropped

Packets received from the connection and dropped because the queue of packets to be forwarded was too long.

Lost

Packets received from the connection but not successfully transmitted (often because of a faulty Ethernet connection).

Corrupted

Packets received from the connection with a bad checksum (CRC) that were discarded as corrupted.

Misordered

Packet received out of sequence when using ordered or fragmented protocol.

Compression

Packets compressed.

Ethernet Type

Broadcast packet types received.

Count

Number of packets of this type received.

show tpad

To display the TPAD parity, use the show tpad command.

SHow TPad
Default

None

Command Mode

System or profile level

Example

The following example displays the TPAD parity setting:

Host> show tpad
TPADSerialPortParity:NONE
TPADEchoResponse:ON
TPADResponseMode:VerboseMode
TPADCarrierWaitTime:10seconds
Related Commands

set serialport
set tpad parity

show users

To display all profiles and their status, use the show users command.

SHow USers
Command Mode

System mode

Example

The following example shows output from the show users command:

Host> show users
UserStateConnection
--------------------------------------------
LANActiveLAN
InternalActiveINTERNAL
StandardActive1
tomdInactive
 

Table 2-5 describes the fields shown in the display.


Table 2-5: Show Users Field Descriptions
Field Description

Profile Name

Name of profile.

State

Active or inactive.

Connection

Name or number of the connection assigned to the profile.

swl

To download new router software or configuration files across a TCP/IP network using Trivial File Transfer Protocol (TFTP) or through the configuration port using a serial cable link, use the swl command.

SWL [TFTP] [CONFIG] [ipaddress filename]
Syntax Description

TFTP

Load the software across a TCP/IP network by using TFTP or use the router as a TFTP server, depending on the status of the ipaddress and filename parameters. When the parameters are not included, the router is a TFTP (proxy) server.

CONFIG

Load a configuration file across a TCP/IP network by using TFTP.

ipaddress

TFTP server IP address used when the router acts as a TFTP client. When the ipaddress is included, the filename must also be included.

filename

Name of the software image file when the router acts as a TFTP client during download. The filename should include the directory path if the file is not in the server default directory. When the filename is included, the ipaddress must also be included.

Default

None

Command Mode

System mode

Usage Guidelines

The swl command assumes that communications occur through the configuration port. (See Cisco 700 Series Installation Guide for information on connecting a terminal to the router.)

The swl tftp command assumes that communications occur through a TFTP server.

The swl tftp command loads the software across a TCP/IP network by using TFTP when the ipaddress and filename are included. The command sets the router as a TFTP proxy server when an ipaddress and filename are not included. The software or configuration file must be stored on a client server. (TFTP server mode times out in 1 minute.)

On the TFTP client, you must use binary file transfer mode to transfer the software file. If the transfer is successful, the router reboots using the downloaded software and the downloaded configuration (if a configuration file was also downloaded). If the transfer was not successful, the router displays an error message or fails to boot, and the software must be reloaded.

The TFTP client and TFTP server implementation is based on RFC 1350. TFTP timeout interval and transfer size options are not implemented.

Examples

The following example loads the operating system software in the router through a serial connection from the terminal to the configuration port. (You can use an ASCII terminal or a personal computer running terminal emulation software.)

To load software with the swl command, follow these steps:

Step 1 Connect your terminal to the configuration port on the router.

Step 2 Set the baud rate for the terminal to 9600 and the protocol to 8N1.

Step 3 Turn on power to the router. The router boots, and when the boot process is complete, the router displays a prompt.

Step 4 Enter the swl command:

    Host> swl
     
    

You are prompted to verify that you are downloading the software image.

Step 5 Enter y to continue:

    Are you sure? y
     
    

You are prompted for the baud rate.

    BOOT version 2.0(1) 04-16-96 12:03:06
    Copyright (c) 1993-1996. All rights reserved.
     
    Ready to upload new firmware into flash. Select baud rate:
     
    	1 -    300 baud
        	2 -   1200 baud
        	3 -   2400 baud
        	4 -   4800 baud
        	5 -   9600 baud
        	6 -  19200 baud
        	7 -  38400 baud
        	8 -  57600 baud
        	9 - 115200 baud
     
    

Step 6 At the prompt, enter one of the baud rates listed (do not press the Return key), and make sure that the load rate you choose is supported by your terminal emulation software. Table 2-6 shows the approximate software load times.


Table 2-6: Approximate Software Load Time
Load Rate (Baud) Approximate Time (Minutes)

2400

48

9600

12

19200

6

38400

3

57600

2

115200

1

Step 7 Change the baud rate of the terminal to the appropriate download rate.

Step 8 Set the protocol to ASCII on the terminal.

Step 9 Download the file containing the new software to the router by following the prompts on your terminal. (The LINE LED blinks throughout the loading process.)

You are prompted to change the terminal baud rate to 9600.

    Change settings to 8n1/9600 baud and press a key
     
    

Step 10 Change the baud rate of the terminal emulation software to the appropriate baud rate and press any key.

When the download is successful, the LINE LED turns off, and the RDY LED turns on. If the download was not successful, use Table 2-7, which shows symptoms and possible solutions.


Table 2-7: Software Download Command Troubleshooting
Symptom Probable Cause and Solution

Download takes significantly longer than the approximate time listed in Table 2-6.

The terminal emulation program interline and intercharacter delays are not set to zero. If the load was successful, no further action is necessary. If the load was terminated prematurely, reset the interline and intercharacter delays to zero, and reload the software.

The terminal displays unrecognizable text after the download is completed.

The terminal has not been reset to 9600 baud. Reset the terminal any time after loading the new software. After changing the terminal baud rate, press Return to gain access to the standard prompt (>).

Two or more LEDs are blinking.

Incorrect configuration of the PC COM port or a defective console cable. Press Esc on the keyboard, and try to load the software again.

TFTP File Transfer Example

The following example shows the transfer of an image by using TFTP. The router is the server and the workstation is the client. (Before beginning this procedure, configure your workstation to operate as a TFTP client. In server mode, the workstation only accepts put requests for the file.

Step 1 Check the file directory to confirm that the new software and, optionally, the new configuration file are installed on the TFTP server.

Step 2 Ping the TFTP server from the router to confirm that the router can be reached from the client machine:

    Host> ping clientipaddress
     
    
Caution
When the swl tftp command is entered, the existing software is erased. If a catastrophic event such as a power failure occurs before the file transfer is complete, the router must be initialized through the configuration port.

Step 3 Enter the swl tftp command to load the software image on the router:

    Host> swl tftp 171.69.91.33 foxus.fl
    Are you sure? y
    Host>
    SWL TFTP: Starting transfer ...
    SWL TFTP: Transfer successful.
    Image received successfully.
    Burning flash, standby (15 seconds max.) ...
     
    

The software is downloaded. You can follow the same procedure using the swl tftp config command to download a configuration:

    Host> swl tftp config 171.69.91.33 efoxcfg.txt
    Are you sure? y
    Host>
    SWL TFTP: Starting transfer ...
    SWL TFTP: Transfer successful.
    SWL TFTP: Erasing old configuration.
    Host> Connection 1 Closed
    Host>  Connection 2 Closed
    Host>  Connection 3 Closed
    Host>  Connection 4 Closed
    Host>
    SWL TFTP: Setting new configuration.
     
    
Configuration Load Example

The following example loads a configuration. (The example uses Terminal for Windows, a commonly used terminal emulation program. You can use other terminal emulation software.) Although this is not part of the swl command, the following example is provided for your convenience:

Step 1 From the terminal emulation program, go to the Setting menu, and select Text Transfer. The Text Transfer dialog box appears.

Step 2 Set flow control to Line at a Time, and set Delay Between Lines to 0.5 to 1 second.

Step 3 Click OK.

Step 4 From the Transfer menu, select Send Text File.

Step 5 Select the file to be loaded.

Step 6 Click OK. The parameters are transferred to your router.

Step 7 If errors occur during the transfer, enter the set default command, increase the delay between lines, and repeat the procedure for loading the configuration beginning with Step 1.

Related Command

show security

test

To generate test packets, use the test command.

TEst [connection] [WAn | ALl] [STop | REsult | ETher] RAte pps [MInpkts bytes MAxpkts bytes]
Syntax Description

connection

Number of the connections where test packets are generated.

WAn

Generate test packets on the (WAN) ISDN line. Packets should be sent to a WAN switch that has a loopback enabled. Compare number of sent packets to number of received packets.

ALl

Generate test packets on both the ISDN line and on the LAN.

STop

Stop all test packets from being generated.

REsult

Display results of last completed test.

ETher

Generate test packets on the LAN and compare the number of sent packets to the number of received packets.

RAte

Rate in packets per second (pps) at which test packets are generated. The rate can be between 1 and 100; the default value is 10.

MInpkts

Minimum size (in bytes) of test packets. The size can be between 60 and 1514; the default value is 60.

Packets are generated in incrementally larger sizes, starting with the minimum size and ending with the maximum size. After the maximum length is reached, the next packet is the minimum size.

MAxpkts

Maximum size in bytes of test packets. The size can be between 60 and 1514; the default value is 1514.

Default

None

Command Mode

System mode

Example

The following example enables a test on the ISDN line and the LAN with a minimum packet size of 255 bytes and a maximum packet size of 1024 bytes:

Host> test all min 255 max 1024

upload

To send a set of ASCII strings containing the current configuration to the terminal or TFTP client, use the upload command.

UPload [TFTP ipaddress filename]
Syntax Description

TFTP

Upload the configuration across a TCP/IP network by using TFTP. The output goes to the console port if this parameter is not included.

ipaddress

TFTP server IP address.

filename

Name of the file where the router configuration is to be stored on the TFTP server. The filename field should include the directory path if the file is not in the default directory of the server.

Default

None

Command Mode

Profile mode

Usage Guidelines

The upload command (without any parameters) sends the current configuration to the console port. The upload tftp command uploads the configuration through a TFTP client.

You can use the captured file to reconfigure the router after loading new software or to configure multiple routers with the same parameters.

Set the ASCII download for 1 second so that each line is correctly processed.

Password and secret information are encrypted for security reasons. If you are reloading a configuration into a router for reconfiguration, all password and secret information is loaded.

Example

The following example uses TFTP to send the router configuration to IP address 10.1.1.1, filename 700ted.cfg:

Host> upload tftp 10.1.1.1 700ted.cfg
Related Commands

set default
set echo
swl

version

To display the software release level and date, use the version command.

VErsion
Default

None

Command Mode

System or profile mode

Example

The following example shows output from the version command:

Host> version
SoftwareVersionc760-in.r.US4.2(1)-Aug13199808:34:02
Cisco761
ISDNStackRevisionUS2.10(5ESS/DMS/NI-1)
Copyright(c)1993-1997byCiscoSystems,Inc.Allrightsreserved.
Softwareisusedsubjecttosoftwarelicenseagreementcontained
withthisproduct.Byusingthisproductyouagreetoacceptthe
termsofthesoftwarelicense.
HardwareConfiguration:
DRAM:1.5MB
Flash:0.5MB
POTS:Type2(Rev.Unknown)
NT1:NotInstalled
ROM:2.1(1)ALPHA-7
 

Table 2-8 lists the specific types of basic telephone service (POTS) used in each country.


Table 2-8: POTS Types and Countries
Board Types Countries

Type 0

Mexico, United States

Type 1

Canada, Japan, Korea, Netherlands, Singapore, Taiwan

Type 2

Austria, Belgium, Denmark, Finland, France, Germany, Greece, Hong Kong, Ireland, Italy, Luxembourg, Norway, Portugal, Spain, Switzerland, United Kingdom



hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Jul 8 12:51:41 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.