|
|
This chapter describes the commands that pertain to system interfaces, system booting, and terminal sessions.
To enter profile mode or return to system mode, use the change user command.
CD [username]| username | (Optional) Profile name. You can abbreviate the profile name to the fewest characters that make it unique. The minimum is two characters. Profile names are not case-sensitive for this command. If no profile name is specified, you return to system mode. |
None
System or profile mode
Use this command in system mode to move to any profile, or in profile mode to return to system mode.
The following example moves you from system mode to profile mode for profile 2503:
Host> cd 2503
Host:2503>
To display a list of commands and the syntax for each command, use the help command.
HElp [cmd [modifier]]| cmd | (Optional) 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 | (Optional) 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). |
None
System or profile mode
Use this command to display online help information about commands. You can also enter a question mark (?) in place of the word help.
The following example shows output from the help 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 CD [<username>] DEmand [<link>] [THreshold=kb/s] [DUration=<seconds>] [SOurce= WAN | LAn | BOth] DIsconnect [ C# | L# | # | C#/L# | C#/# #/# | P# | CH# | P#/CH# | ALl ] 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 EStablish [<spid id>] <Q> and <enter> to Quit or <enter> for MORE
To implement the router logging functions, use the log command.
LOg NOne | CAlls | MEssage | ERrors | IPx [TIme] [VErbose] LOg [LAN | connection] PAckets | TRaffic [CHannel = channel] [VErbose [INbound | OUtbound]]Syntax Description
| none | (Optional) Disables all logging. |
| calls | (Optional) Logs call statistics. Each major call event is logged and a message is displayed every time a channel is assigned a connection. |
| errors | (Optional) Logs error messages that otherwise are not displayed, including buffer allocation errors, mail delivery errors, and chip level errors. |
| IPX | (Optional) Displays 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 | (Optional) Displays time and date of each logged event or message. |
| verbose | (Optional) Modifies the action of the messages keyword by logging all layers of the ISDN call control stack and traffic by printing the entire packet. |
| lan | (Optional) Enables logging for the LAN connection. Used with packets or traffic. |
| packets | (Optional) Displays statistics on packet routing once per second. Number of packets filtered, forwarded, received, and the packet queue lengths are displayed. |
| traffic | (Optional) Displays a one-character indicator of each packet sent on the connection or the whole packet when verbose is specified. |
| channel | (Optional) Provides the channel number, used to log traffic on a channel before the channel is assigned to a connection. This is primarily used to diagnose PPP negotiation problems. |
| inbound/outbound | (Optional) When entered in conjunction with verbose, restricts the packet content display to either incoming or outgoing packets. |
Log calls
System or profile mode
The log command displays all logged entries that are enabled. More than one keyword can be entered at a time.
The following example shows output from the log calls command:
Host> log calls time
cb760> ca 1 6545
04/04/1996 00:24:08 L05 0 6545 Outgoing Call Initiated
cb760> cb760> 01/01/1995 00:24:10 L04 0 Line Deactivated
cb760> 01/01/1995 00:24:10 L27 0 Disconnected
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 --> 0400 0001
01 00 02 80 13 1d 18 02 00 03 2c
0c 38 31 34 31 35 39 30 33 31
36 30 35 6c 09 00 00 37 37 34
32 38 36 35 04 02 88 90
Host> 04/04/1996 04:19:26 L05 0 814159031605 Outgoing Call Initiated
Host 0400 --> 0300 01 8012 0340 b548
08 01 00 80 04 02 88 90 18 01 83
2c 0c 38 31 34 31 35 39 30 33
31 36 30 34 6c 09 00 80 37 37
34 32 38 36 35
Host> 0400 --> 0300 02 8013 0340 b548
08 01 00 80 04 02 88 90 18 01 83
2c 0c 38 31 34 31 35 39 30 33
31 36 30 35 6c 09 00 80 37 37
34 32 38 36 35
Host> 0300 --> 0400 02 8013 0341 b3f6
02 01 14 98 18 01 89
The following example shows output from the log messages verbose command:
Host> log messages verbose
Host> 0300 --> 020a 02 8015 0240 b3f6
08 01 16 0f
Host> 0400 --> 0500 0004
04 00 02 80 15 04 18 02 01 01
Host> 020a --> 0200 02 0000 0140 b3f6
00 93 fa 2e
08 01 16 0f
Host> 0200 --> 020a 00 0000 0141 b3f6
02 81 0c e0
08 01 95 07
Host> 04/04/19956 04:22:48 L08 2 814159031605 Call Connected
Host> 020a --> 0300 01 0000 0241 b3f6
02 81 0c e0
08 01 95 07
Host> 020a --> 0200 01 0000 0140 b0c6
02 81 01 0e
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>
Use the ping command to determine whether a system can be reached on any connected interface.
PIng ip address| ip address | Specifies the IP address of the system connected to an interface on the Cisco router. |
None
System or profile mode
The router generates a ping packet with 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.
The following example illustrates a successful ping:
Host> ping 172.16.2.1
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
To boot the router manually, use the reboot command.
REBootThis command has no keywords or arguments.
None
System or profile mode
The following example shows how to boot the router manually:
Host> reboot
To set accumulated packet counts to zero for one connection, use the reset packets command.
REset [connection | LAN] PACkets [ALl]| connection | (Optional) Resets 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 | (Optional) Resets accumulated packet counts to zero on the LAN connection. |
| all | (Optional) Resets all accumulated packets. |
None
Profile mode
The following example resets the packet counts for profile 2503:
Host:2503> reset packets
show packets
To configure the baud rate for the console port, use the set baudrate command. This command configures the terminal emulation software.
SEt BAudrate 300 | 1200 | 2400 | 4800 | 9600 | 19200 | 38400| 300 | Configures the console port for 300 baud. |
| 1200 | Configures the console port for 1200 baud. |
| 2400 | Configures the console port for 2400 baud. |
| 4800 | Configures the console port for 4800 baud. |
| 9600 | Configures the console port for 9600 baud. |
| 19200 | Configures the console port for 19200 baud. |
| 38400 | Configures the console port for 38400 baud. |
9600
System mode
The following example configures the console port for 2400 baud:
Host> set baudrate 2400
reboot
To set the current date, use the set date command.
SEt DAte MM/DD/YYYY| 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. |
The default date is 01/01/1995.
System mode
You must reset the date every time the router is booted. The date can be seen during logging.
The following example configures the current date in the router:
Host> set date 12/09/1996
To set all variable parameters to their default values, use the set default command.
SEt DEfaultThis command has no keywords or arguments.
None
System or profile mode
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-config feature allows the router to obtain the configuration file from a remote server using BOOTP protocol. Upon power-up, the router examines the Auto_Config flag stored in NVRAM. If the Auto_Config flag is FALSE, the router initiates a BOOTP to request an IP address from the server.
If the server finds a matching MAC address from BOOTPTAB, a UNIX server, the server returns a client profile that includes an IP address and configuration filename. The router initiates a TFTP client request to the server to download the configuration file.
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 segment (Ethernet interface) only. If this operation fails, the Auto_Config flag remains as FALSE. If there is a WAN/PPP connection established, this process would be triggered repeatedly on the WAN link.
The following example configures the router to default values:
Host> set default
To enable and disable terminal echo of keyboard entries, use the set echo command.
SEt ECho ON | OFf| on | Enables terminal echo. |
| off | Disables terminal echo. |
Terminal echo is enabled.
System mode
The following example disables terminal echo for the Cisco router:
Host> set echo off
To convert IPX packets to hexadecimal values for troubleshooting purposes, use the set ipx trace command.
SEt IPX TRace length | OFf | ON| length | Can be from 1 to 65,535. |
| on | Enables IPX packet conversion to hexadecimal numbers. |
| off | Disables IPX packet conversion to hexadecimal numbers. |
Off
Profile mode
The following example enables IPX trace and sets packet length to 4096:
Host>set ipx trace4096on
The following example disables IPX trace:
Host> set ipx trace off
To create a loop from the router toward the ISDN line, use the set loopback command. This command is used with the test command.
SEt [connection] LOOpback ON | OFf| connection | (Optional) Specifies 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, an error message will be displayed. |
| on | Enables a loop. |
| off | Disables a loop. |
Disabled
System or profile mode
Use this command in system mode with the connection-number argument, or in profile mode. This command is used for troubleshooting purposes. Use a show connection command to display which profiles have a loopback.
The following example creates a loopback on connection 14:
Host> set 14 loopback on
show connection
To set the maximum number of lines to display on your terminal, use the set screen length command. This command configures the terminal emulation software.
SEt SCreenlength lines| lines | Sets the maximum screen length to display on your terminal. The length must be between 2 and 128 lines. |
20
System mode
The following example configures the terminal to display 30 lines:
Host> set screenlength 30
To configure the router's name as the system prompt and for PPP authentication, use the set system name command.
SEt SYstemname [systemname]| systemname | (Optional) Name used as the system prompt. The system name is case sensitive and can be from 1 to 64 characters. The system name is used as this router's identity when making PPP connections. It is the user name when making a connection to your ISP. If no system name is entered, the system name is blank. |
No system name
System mode
The system name is used as the router's identity when making PPP connections, if there is no PPP client name defined with the set ppp clientname command at the profile level. If a PPP client name is defined at the profile level, this name is not used for PPP authentication, but it is retained as the system name. To delete the system name, enter the systemname command without an argument.
The following example configures the router with the system name host:
> set systemname Host
Host>
set ppp clientname
To set the current time, use the set time command.
SEt TIme HH:MM:SS| HH | A number from 1 to 23. |
| MM | A two-digit number from 00 to 59. |
| SS | A two-digit number from 00 to 59. |
None
System mode
The time must be reset whenever the router is rebooted.
The following example configures the current time in the router:
Host> set time 8:48:20
To display the router's configuration and the status of both ISDN B channels, use the show command.
SHowThis command has no keywords or arguments.
System or profile mode
In profile mode, the show command displays only profile-based configurations. The profile template is viewed by typing the command in system mode. Parameters that have been configured in profile mode are indicated by an asterisk (*). All other values are inherited from the profile template.
The following example shows output from the show command in system mode:
Host> show
System Parameters
Environment
Screen Length 20
Echo Mode ON
CountryGroup 1
Bridging Parameters
LAN Forward Mode ANY
WAN Forward Mode ONLY
Address Age Time OFF
Call Startup Parameters
Multidestination OFF
Line Parameters
Switch Type 5ESS
Auto SPID and Switch Detection OFF
Call Parameters Link 1 Link 2
Retry Delay 30 30
Profile Parameters
Bridging Parameters
Bridging ON
Routed Protocols
Learn Mode ON
Passthru OFF
Call Startup Parameters
Line Parameters
Line Speed AUTO
Numbering Plan NORMAL
Call Parameters Link 1 Link 2
Auto ON ON
Called Number
Backup Number
Ringback Number
CLICallback OFF
Status 01/01/1995 00:01:00
Line Status
Line DeActivated
Terminal Identifier Unassigned
Port Status Interface Connection Link
Ch: 1 Waiting for Call
Ch: 2 Waiting for Call
Host>
To display a subset of the current configuration parameters, use the show configuration command.
SHow COnfig [ALl]| all | (Optional) Displays system configurations and profile configurations in both system mode and profile mode. |
System or profile mode
In profile mode, the show configuration command without an argument displays only profile-based configurations. Parameters that have been configured in profile mode are indicated by an asterisk (*). All other values are inherited from the profile template.
The following example shows output for the Cisco 700 series routers, from the show configuration command in profile mode:
Host> show config
System Parameters
Environment
Screen Length 20
Echo Mode ON
CountryGroup 1
Bridging Parameters
LAN Forward Mode ANY
WAN Forward Mode ONLY
Address Age Time OFF
Call Startup Parameters
Multidestination OFF
Line Parameters
Switch Type 5ESS
Auto SPID and Switch Detection OFF
Call Parameters Link 1 Link 2
Retry Delay 30 30
Profile Parameters
Bridging Parameters
Bridging ON
Routed Protocols
Learn Mode ON
Passthru OFF
Call Startup Parameters
Line Parameters
Line Speed AUTO
Numbering Plan NORMAL
Call Parameters Link 1 Link 2
Auto ON ON
Called Number
Backup Number
Ringback Number
CLICallback OFF
To display all current connections, use the show connection command.
SHow CONNectionThis command has no keywords or arguments.
System mode
The following example shows output from the show connection command:
Host> show connection
Connections 12/04/1996 17:49:38
Start Date & Time # Name # Ethernet
1 12/04/1996 00:00:00 # # 00 00 00 00 00 00
2 12/04/1996 00:00:00 # Top #
Link: 1 Channel: 1 telephone: 9018
Link: 2 Channel: 2 telephone: 9018
Table 2-1 describes the fields shown in the display.
| 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. |
To display demand and timeout configurations, use the show demand command.
SHow DEmandThis command has no keywords or arguments.
System or profile mode
In profile mode, the show demand command displays only profile-based configurations. Parameters that have been configured in profile mode are indicated by an asterisk (*). All other values are inherited from the profile template.
The following example shows output from the show demand command in system mode:
Host> show demand Demand Calling Parameters Link 1 Link 2 Connection Type Auto ON Auto ON Threshold 0 kbs 48 kbs Duration 1 sec 1 sec Source LAN BOTH Timeout (call tear down) Parameters Threshold 0 kbs 48 kbs Duration OFF OFF Source LAN BOTH
demand
set timeout
timeout
To display memory configuration, use the show memstat command.
SHow MEmstatThis command has no keywords or arguments.
System mode
The RAM size is displayed in hexadecimal. For example, a Cisco 700 series router with 1 MB displays 0x100000 and a router with1.5 MB displays 0x180000.
Table 2-2 lists the RAM size hexadecimal values reported by the show memstat command and the corresponding RAM size in megabytes.
| RAM Size (hex) | Memory |
|---|---|
| 0x100000 | 1 MB |
| 0x180000 | 1.5 MB |
| 0x200000 | 2 MB |
The following example shows output from the show memstat command in system mode:
Host> show memstat ID 0: Size: 10 Avail: 8 Max: 8 Used: 1 Addr: 0x000DDBA8 ID 1: Size: 30 Avail: 69 Max: 80 Used: 16 Addr: 0x000DDDE2 ID 2: Size: 18 Avail: 35 Max: 35 Used: 0 Addr: 0x000DE5A8 ID 3: Size: 4 Avail: 36 Max: 36 Used: 0 Addr: 0x000DE850 ID 4: Size: 8 Avail: 220 Max: 220 Used: 1 Addr: 0x000DE908 ID 5: Size: 32 Avail: 223 Max: 400 Used: 180 Addr: 0x000E0650 ID 6: Size: 268 Avail: 20 Max: 20 Used: 1 Addr: 0x000E2238 ID 7: Size: 20 Avail: 80 Max: 80 Used: 2 Addr: 0x000E3764 ID 8: Size: 14 Avail: 124 Max: 200 Used: 76 Addr: 0x000E41E0 ID 9: Size: 54 Avail: 38 Max: 50 Used: 17 Addr: 0x000E629A ID 10: Size: 8 Avail: 1 Max: 2 Used: 1 Addr: 0x000EEC40 ID 11: Size: 54 Avail: 6 Max: 6 Used: 0 Addr: 0x000EEC70 ID 12: Size: 462 Avail: 4 Max: 4 Used: 0 Addr: 0x000EF588 ID 13: Size: 134 Avail: 2 Max: 2 Used: 0 Addr: 0x000F00C0 ID 14: Size: 68 Avail: 5 Max: 5 Used: 1 Addr: 0x000F0BB8 ID 15: Size: 96 Avail: 5 Max: 6 Used: 2 Addr: 0x000F0DA0 ID 16: Size: 112 Avail: 2 Max: 2 Used: 0 Addr: 0x000F0FA8 NVStore Used: 1203, Remaining 6989 (Deleted 77 + Unused 6912), Total 8192 RamStore Used: 0, Remaining 10000, Total 10000 RAM Size = 0x180000 Available memory=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
To display packet count statistics, use the show packets command.
SHow [connection | LAn] PAckets| connection | (Optional) Displays packet statistics for the connection number indicated. If no connection number is entered, statistics for the current profile are displayed. |
| LAN | (Optional) Displays packet statistics for the LAN connection. |
System or profile mode
The following example shows output from the show packets command for a specified connection:
host> show 14 packets
Packet Statistics for Connection 14
Filtered: 11013246 Forwarded: 8400 Received: 5993
Dropped: 263 Lost: 0 Corrupted: 0 Misordered: 1
Compression Ratio: 1.73:1
Ethernet Type: 0806 Count: 3375
Ethernet Type: 0800 Count: 979
Ethernet Type: 80f3 Count: 1068
Ethernet Type: 809b Count: 48718
The following example shows output from the show packets command for the LAN connection:
Host> show lan packets
Packet Statistics for LAN
Filtered: 11001795 Forwarded: 12411637 Received: 25496880
Dropped: 0 Lost: 6911 Corrupted: 46 Misordered: 0
Ethernet Type: 0806 Count: 3375
Ethernet Type: 0800 Count: 979
Ethernet Type: 80f3 Count: 1068
Ethernet Type: 809b Count: 48718
Table 2-3 describes the 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). |
| 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. |
To display all profiles and their status, use the show users command.
SHow USersThis command has no keywords or arguments.
System mode
The following example shows output from the show users command:
Host> show users User State Connection -------------------------------------------- LAN Active LAN Internal Active INTERNAL Standard Active 1 tomd Inactive
Table 2-4 describes the fields shown in the display.
| Field | Description |
|---|---|
| Profile Name | Name of profile. |
| State | Active or Inactive. |
| Connection | Name or number of the connection assigned to the profile. |
To download new software or configuration files through the configuration port or across a TCP/IP network using Trivial File Transfer Protocol (TFTP), use the swl command.
SWl [TFTP] [CONFIG] [ipaddress] [filename]None
System mode
If ipaddress and filename fields are not entered, the system invokes the TFTP server instead of the TFTP client. The TFTP client and TFTP server implementation is based on RFC 1350. TFTP timeout interval and transfer size options are not implemented.
Entering the swl tftp command on the router causes it to enter TFTP server mode and wait for client requests. The TFTP server mode times out in one minute. If the transfer is successful, the router reboots with the new software, and the new configuration (if a new configuration file was loaded).
On the TFTP client machine, you must use binary file transfer mode to transfer the new software file. The remote filename must be set to CODE.
You need terminal emulation software to load new software.
Following is an example of the swl for a console upgrade:
Host> swl
To load software with the swl command, take the following steps:
Step 1 Connect the serial cable from your terminal to the configuration port on the Cisco router.
Step 2 On the terminal emulation software, set the baud rate to 9600.
Step 3 Turn on power to the Cisco router.
Step 4 In the terminal emulation software, enter the swl command:
Step 5 Enter y in response to the prompt:
y
Step 6 At the prompt, enter one of the load rates listed (but do not press the Return key), and make sure that the load rate you choose is supported by your terminal emulation software:
See Table 2-5 for approximate software load times according to baud rate.
Step 7 Change the baud rate of the terminal emulation software to the appropriate download rate.
Step 8 Select ASCII on the terminal emulation software you are using.
Step 9 From the terminal, load the file containing the new software by following the prompts from your terminal emulation program. The file is sent as an ASCII (text) file to the router. The LINE LED should blink throughout the loading process.
Step 10 When the software has been downloaded, you are prompted to change the terminal emulator baud rate to 9600.
When the load is successful, the LINE LED turns off and the RDY LED should be on. If the load was not successful, refer to Table 2-6 for symptoms and solutions.
| Load Rate (Baud) | Approximate Time (Minutes) |
|---|---|
| 2400 | 48 |
| 9600 | 12 |
| 19200 | 6 |
| 38400 | 3 |
| 57600 | 2 |
| 115200 | 1 |
| Symptom | Probable Cause/Solution |
|---|---|
| Load takes significantly longer than the approximate time listed in Table 2-5. | The terminal emulation program's interline and intercharacter delays are not set to zero. |
| The terminal displays unrecognizable text after the load 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 personal computer's COM port or a defective console cable. Press Escape on the terminal and try to load the software again. |
The following is an example of a TFTP file transfer of an image. In this case, 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 Confirm that the new software and, optionally, the new configuration file are installed on the client machine.
Step 2 Confirm that the router can be reached from the client machine by pinging the router:
ping clientipaddress
Step 3 Enter the software load command to configure the Cisco router for TFTP server mode:
swl tftp
To generate test packets, use the test command.
TEst [connection] [WAn | ALl] [STop | REsult | ETher] RAte pps [MInpkts bytes MAxpkts bytes]None
System mode
This command is useful for troubleshooting purposes.
The following example enables a test on the ISDN line and the Ethernet with a minimum packet size of 255 bytes and a maximum packet size of 1024 bytes:
Host>test all min255max1024
To send a set of ASCII strings containing the current configuration to the terminal, use the upload command.
UPloadThis command has no keywords or arguments.
None
System mode
You can use the captured file to reconfigure the router after loading new software, or to configure multiple routers with the same parameters.
When downloading the file, set the ASCII download for one second so that each line is correctly processed.
Password and secret information is not output for security reasons. If you are reloading a configuration into a router for reconfiguration, all password and secret information must be reentered manually.
Use the set echo off command to prevent the upload command from being captured in the file.
The following example shows the upload command output:
Host> upload
CD
SET SCREENLENGTH 20
SET LAN MODE ANY
SET WAN MODE ONLY
SET AGE OFF
SET MULTIDESTINATION OFF
SET SWITCH 5ESS
SET PLAN NORMAL
SET 1 DELAY 30
SET 2 DELAY 30
SET BRIDGING ON
SET PASSTHRU OFF
SET SPEED AUTO
SET 1 AUTO ON
SET 2 AUTO ON
SET 1 NUMBER
SET 2 NUMBER
SET 1 RINGBACK
SET 2 RINGBACK
LOG CALLS TIME VERBOSE
SET UNICASTFILTER OFF
DEMAND 1 THRESHOLD 0
DEMAND 2 THRESHOLD 48
DEMAND 1 DURATION 1
DEMAND 2 DURATION 1
DEMAND 1 SOURCE LAN
DEMAND 2 SOURCE BOTH
TIMEOUT 1 THRESHOLD 0
TIMEOUT 2 THRESHOLD 48
TIMEOUT 1 DURATION 0
TIMEOUT 2 DURATION 0
TIMEOUT 1 SOURCE LAN
TIMEOUT 2 SOURCE BOTH
SET UNICASTFILTER OFF
SET REMOTEACCESS PROTECTED
SET LOCALACCESS ON
SET CALLERID OFF
SET PPP AUTHENTICATION IN CHAP
SET CALLBACK OFF
SET CALLBACKID OFF
SET PPP AUTHENTICATION OUT CHAP
SET PPP NEGOTIATION INTEGRITY 10
SET PPP NEGOTIATION COUNT 10
SET PPP NEGOTIATION RETRY 3000
SET PPP TERMREQ COUNT 2
SET PPP MULTILINK ON
SET SNMP CONTACT
SET SNMP LOCATION
SET SNMP TRAP COLDSTART OFF
SET SNMP TRAP WARMSTART OFF
SET SNMP TRAP LINKDOWN OFF
SET SNMP TRAP LINKUP OFF
SET SNMP TRAP AUTHENTICATIONFAIL OFF
SET USER LAN
SET USER Internal
SET USER Standard
SET PROFILE POWERUP ACTIVATE
SET PROFILE DISCONNECT KEEP
set echo
To display the software release level and date, use the version command.
VErsionThis command has no keywords or arguments.
None
System or profile mode
The following example shows output from the version command:
Host> version Software Version c760-in.r.US 4.1(1.23) - Oct 24 1997 08:34:02 Cisco 761 ISDN Stack Revision US 2.10 (5ESS/DMS/NI-1) Copyright (c) 1993-1997 by Cisco Systems, Inc. All rights reserved. Software is used subject to software license agreement contained with this product. By using this product you agree to accept the terms of the software license. Hardware Configuration: DRAM: 1.5MB Flash: 0.5MB POTS: Type 2 (Rev. Unknown) NT1: Not Installed ROM: 2.1(1) ALPHA-7
Table 2-7 lists the specific types of POTS used in each country.
| 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 |
|
|