Cisco IOS Configuration Fundamentals and Network Management Command Reference, Release 12.3
CFR Commands: ping -- service sequence numbers

Table Of Contents

ping

ping ip

ping vrf

policy-list

printer

private

process-max-time

prompt

pwd

refuse-message

reload

rename

request-data-size

response-data-size

rmdir

rmon

rmon alarm

rmon capture-userdata

rmon collection history

rmon collection host

rmon collection matrix

rmon collection rmon1

rmon event

rmon queuesize

rommon-pref

rsh

rtr key-chain

rtr low-memory

rtr reaction-configuration

rtr reaction-trigger

rtr reset

rtr responder

rtr responder type frame-relay

rtr responder type tcpConnect

rtr responder type udpEcho

rtr restart

rtr schedule

rtr

rtr slm frame-relay statistics

saa apm cache-size

saa apm copy

saa apm lowWaterMark

saa apm operation

samples-of-history-kept

scheduler allocate

scheduler heapcheck process

scheduler interval

send

server (boomerang)

service compress-config

service config

service decimal-tty

service exec-wait

service finger

service hide-telnet-address

service linenumber

service nagle

service prompt config

service sequence-numbers


ping

To diagnose basic network connectivity on AppleTalk, ATM, Connectionless Network Service (CLNS), DECnet, IP, Novell IPX, or source-route bridging (SRB) networks, use the ping command in user EXEC or privileged EXEC mode.

ping [[protocol [tag] {host-name | system-address}]

Syntax Description

protocol

(Optional) Protocol keyword, either appletalk, atm, clns, decnet, ipx, or srb. If a protocol is not specified, a basic ping will be sent using IP (IPv4). For extended options for ping over IP, see the documentation for the ping ip command.

The ping atm interface atm, ping ip, ping ipv6, ping sna, and ping vrf commands are documented separately.

tag

(Optional) Specifies a tag encapsulated IP (tagIP) ping.

host-name

Hostname of the system to ping. If a host-name or system-address is not specified at the command line, it will be required in the ping system dialog.

system-address

Address of the system to ping. If a host-name or system-address is not specified at the command line, it will be required in the ping system dialog.


Command Default

This command has no default values.

Command Modes

User EXEC (>)
Privileged EXEC (#)

Command History

Release
Modification

10.0

This command was introduced.

12.0(7)T

The ping sna command was introduced.

12.1(12c)E

The ping vrf command was introduced.

12.2(2)T

Support for the IPv6 protocol was added.

12.2(13)T

The atm protocol keyword was added.

The following keywords were removed because the Apollo Domain, Banyan VINES, and XNS protocols are no longer supported in Cisco IOS software:

apollo

vines

xns

12.2(28)SB

This command was integrated into Cisco IOS Release 12.2(28)SB.

12.2(25)SG

This command was integrated into Cisco IOS Release 12.2(25)SG.

12.2(33)SRA

This command was integrated into Cisco IOS Release 12.2(33)SRA.

12.2(33)SXH

This command was integrated into Cisco IOS Release 12.2(33)SXH.


Usage Guidelines

The ping command sends an echo request packet to an address then waits for a reply. Ping output can help you evaluate path-to-host reliability, delays over the path, and whether the host can be reached or is functioning. For example, the ping clns command sends International Organization for Standardization (ISO) CLNS echo packets to test the reachability of a remote router over a connectionless Open System Interconnection (OSI) network.

If you enter the ping command without any keywords or argument values, an interactive system dialog prompts you for the additional syntax appropriate to the protocol you specify. (See the "Examples" section.)

To exit the interactive ping dialog before responding to all the prompts, type the escape sequence. The default escape sequence is Ctrl-^, X (Simultaneously press and release the Ctrl, Shift, and 6 keys and then press the X key). The escape sequence will vary depending on your line configuration. For example, another commonly used escape sequence is Ctrl-c.

Table 37 describes the test characters sent by the ping facility.

Table 37 ping Test Characters

Character
Description

!

Each exclamation point indicates receipt of a reply.

.

Each period indicates that the network server timed out while waiting for a reply.

U

A destination unreachable error protocol data unit (PDU) was received.

C

A congestion experienced packet was received.

I

User interrupted test.

M

Could not fragment.

?

Unknown packet type.

&

Packet lifetime exceeded.



Note Not all protocols require hosts to support pings. For some protocols, the pings are Cisco defined and can be answered only by another Cisco router.


The availability of protocol keywords depends on what protocols are enabled on your system.

Issuing the ping command in user EXEC mode will generally offer fewer syntax options than issuing the ping command in privileged EXEC mode.

Examples

After you enter the ping command in privileged EXEC mode, the system prompts you for a protocol keyword. The default protocol is IP.

If you enter a hostname or address on the same line as the ping command, the default action is taken as appropriate for the protocol type of that name or address.

The following example is sample dialog from the ping command using default values. The specific dialog varies somewhat from protocol to protocol.

Router# ping

Protocol [ip]:
Target IP address: 192.168.7.27

Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.7.27, timeout is 2 seconds:
!!!!!
Success rate is 100 percent, round-trip min/avg/max = 1/2/4 ms 

Table 38 describes the significant fields shown in the display.

Table 38 ping Field Descriptions for IP 

Field
Description

Protocol [ip]:

Prompt for a supported protocol. Default: ip.

Target IP address:

Prompt for the IP address or hostname of the destination node you plan to ping. If you have specified a supported protocol other than IP, enter an appropriate address for that protocol here. Default: none.

Repeat count [5]:

Number of ping packets that will be sent to the destination address. Default: 5.

Datagram size [100]:

Size of the ping packet (in bytes). Default: 100 bytes.

Timeout in seconds [2]:

Timeout interval. Default: 2 (seconds).

Extended commands [n]:

Specifies whether a series of additional commands appears.

Sweep range of sizes [n]:

Allows you to vary the sizes of the echo packets being sent. This capability is useful for determining the minimum sizes of the maximum transmission units (MTUs) configured on the nodes along the path to the destination address. Packet fragmentation contributing to performance problems can then be reduced.

!!!!!

Each exclamation point (!) indicates receipt of a reply. A period (.) indicates that the network server timed out while waiting for a reply. Other characters may appear in the ping output display, depending on the protocol type.

Success rate is 100 percent

Percentage of packets successfully echoed back to the router. Anything less than 80 percent is usually considered problematic.

round-trip min/avg/max = 1/2/4 ms

Round-trip travel time intervals for the protocol echo packets, including minimum/average/maximum (in milliseconds).


The following example verifies connectivity to the neighboring ATM device for the ATM permanent virtual circuit (PVC) with the virtual path identifier (VPI)/virtual channel identifier (VCI) value 0/16:

Router# ping 

Protocol [ip]:atm 
ATM Interface:atm1/0 
VPI value [0]:
VCI value [1]:16 
Loopback - End(0), Segment(1) [0]:1 
Repeat Count [5]:
Timeout [2]:
Type escape sequence to abort. 
Sending 5, 53-byte segment OAM echoes, timeout is 2 seconds:
!!!!! 
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

Table 39 describes the default ping fields shown in the display.

Table 39 ping Field Descriptions for ATM 

Field
Description

Protocol [ip]:

Prompt for a supported protocol. Default: ip.

ATM Interface:

Prompt for the ATM interface.

VPI value [0]:

Prompt for the virtual path identifier. Default: 0.

VCI value [1]:

Prompt for the virtual channel identifier. Default:1.

Loopback - End(0), Segment(1) [0]:

Prompt to specify end loopback, which verifies end-to-end PVC integrity, or segment loopback, which verifies PVC integrity to the neighboring ATM device. Default: segment loopback.

Repeat Count [5]:

Number of ping packets that will be sent to the destination address. Default: 5.

Timeout [2]:

Timeout interval. Default: 2 (seconds).

!!!!!

Each exclamation point (!) indicates receipt of a reply. A period (.) indicates that the network server timed out while waiting for a reply. Other characters may appear in the ping output display, depending on the protocol type.

Success rate is 100 percent

Percentage of packets successfully echoed back to the router. Anything less than 80 percent is usually considered problematic.

round-trip min/avg/max = 1/1/1 ms

Round-trip travel time intervals for the protocol echo packets, including minimum/average/maximum (in milliseconds).


Related Commands

Command
Description

ping atm interface atm

Tests the connectivity of a specific PVC.

ping ip

Tests network connectivity on IP networks.

ping ipv6

Tests the connection to a remote host on the network using IPv6.

ping sna

Tests network integrity and timing characteristics over an SNA Switching network.

ping vrf

Tests the connection in the context of a specific VPN (VRF).


ping ip

To test network connectivity on IP networks, use the ping ip command in privileged EXEC mode.

ping ip {host-name | system-address} [data [hex-data-pattern] | df-bit | repeat [repeat-count] | size [datagram-size] [source {source-address | source-interface} ] [timeout seconds] [validate]

Syntax Description

host-name

Host name of the system to ping.

system-address

Address of the system to ping.

data hex-data-pattern

(Optional) Specifies the data pattern. Range is from 0 to FFFF.

df-bit

(Optional) Enables the "do-not-fragment" bit in the IP header.

repeat repeat-count

(Optional) Specifies the number of pings sent. The range is from 1 to 2147483647. The default is 5.

size

(Optional) Specifies the datagram size. Datagram size is the number of bytes in each ping.

datagram-size

(Optional) Range is from 40 to 18024.

source

(Optional) Specifies the source address or source interface.

source-address

(Optional) IP address to use as the source in the ping packets.

source-interface

(Optional) Name of the interface from which the ping should be sent, and the Interface ID (slot/port/number). Interface name keywords include the following:

async (Asynchronous Interface)

bvi (Bridge-Group Virtual Interface)

ctunnel

dialer

ethernet

fastEthernet

lex

loopback

multilink (Multilink-group interface)

null

port-channel (Ethernet channel of interfaces)

tunnel

vif (PGM Multicast Host interface)

virtual-template

virtual-tokenring

xtagatm (Extended Tag ATM interface)

The availability of these keywords depends on your system hardware.

timeout seconds

(Optional) Specifies the timeout interval in seconds. The default is 2 seconds. Range is from 0 to 3600.

validate

(Optional) Validates the reply data.


Command Modes

Privileged EXEC

Command History

Release
Modification

10.0

This command was introduced.

12.0

The data, df-bit, repeat, size, source, timeout, and validate keywords were added.


Usage Guidelines

The ping command sends an echo request packet to an address, then awaits a reply. Ping output can help you evaluate path-to-host reliability, delays over the path, and whether the host can be reached or is functioning.

To abnormally terminate a ping session, type the escape sequence—by default, Ctrl-^ X. You type the default by simultaneously pressing and releasing the Ctrl, Shift, and 6 keys, and then pressing the X key.

Table 40 describes the test characters that the ping facility sends.

Table 40 ping Test Characters 

Character
Description

!

Each exclamation point indicates receipt of a reply.

.

Each period indicates that the network server timed out while waiting for a reply.

U

A destination unreachable error protocol data unit (PDU) was received.

C

A congestion experienced packet was received.

I

User interrupted test.

?

Unknown packet type.

&

Packet lifetime exceeded.



Note Not all protocols require hosts to support pings. For some protocols, the pings are Cisco-defined and are only answered by another Cisco router.


Examples

After you enter the ping command in privileged mode, the system prompts for one of the following keywords: apollo, appletalk, clns, decnet, ip, novell, vines, or xns. The default protocol is IP.

If you enter a host name or address on the same line as the ping command, the default action is taken as appropriate for the protocol type of that name or address.

The optional data, df-bit, repeat, size, source, timeout, and validate keywords can be used to avoid extended ping command output. You can use as many of these keywords as you need, and you can use them in any order after the host-name or system-address arguments.

Although the precise dialog varies somewhat from protocol to protocol, all are similar to the ping session using default values shown in the following output:

Router# ping

Protocol [ip]:
Target IP address: 192.168.7.27
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.7.27, timeout is 2 seconds:
!!!!!
Success rate is 100 percent, round-trip min/avg/max = 1/2/4 ms

Table 41 describes the default ping fields shown in the display.

Table 41 ping Field Descriptions 

Field
Description

Protocol [ip]:

Prompts for a supported protocol. Enter appletalk, clns, ip, novell, apollo, vines, decnet, or xns. The default is IP.

Target IP address:

Prompts for the IP address or host name of the destination node you plan to ping. If you have specified a supported protocol other than IP, enter an appropriate address for that protocol here. The default is none.

Repeat count [5]:

Prompts for the number of ping packets that will be sent to the destination address. The default is 5 packets.

Datagram size [100]:

Prompts for the size of the ping packet (in bytes). The default is 100 bytes.

Timeout in seconds [2]:

Prompts for the timeout interval. The default is 2 seconds.

Extended commands [n]:

Specifies whether a series of additional commands appears.

Sweep range of sizes [n]:

Allows you to vary the sizes of the echo packets being sent. This capability is useful for determining the minimum sizes of the MTUs configured on the nodes along the path to the destination address. Packet fragmentation contributing to performance problems can then be reduced.

!!!!!

Each exclamation point (!) indicates receipt of a reply. A period (.) indicates that the network server timed out while waiting for a reply. Other characters may appear in the ping output display, depending on the protocol type.

Success rate is 100 percent

Indicates the percentage of packets successfully echoed back to the router. Anything less than 80 percent is usually considered problematic.

round-trip min/avg/max = 1/2/4 ms

Indicates the round-trip travel time intervals for the protocol echo packets, including minimum/average/maximum (in milliseconds).


Related Commands

Command
Description

ping ipv6

Tests the connection to a remote host on the network using IPv6.

ping vrf

Tests a connection in the context of a specific VPN (VRF).


ping vrf

To test a connection in the context of a specific VPN connection, use the ping vrf command in Exec mode.

ping vrf vrf-name [tag] [connection] target-address [connection-options]

Syntax Description

vrf-name

The name of the VPN (VRF context).

tag

(Optional) Specifies a tag encapsulated IP (tagIP) ping.

connection

(Optional) Connection options include atm, clns, decnet, ip, ipv6, ipx, sna, or srb. The default is ip.

target-address

The destination ID for the ping operation. Usually, this is the IP-address of the host. For example, the target for an IP ping in a VRF context would be the IP address or domain name of the target host.

If the target address is not specified, the CLI will enter the interactive dialog for ping.

connection-options

Each connection type may have its own set of connection options. For example, connection options for IP include source, df-bit, and timeout. See the appropriate ping command documentation for details.


Defaults

The default connection type for ping is IP (specifically, IPv4).

Command Modes

User Exec

Privileged Exec

Command History

Release
Modification

12.1(12c)E, 12.2

This command was introduced.


Usage Guidelines

A VPN routing/forwarding (VRF) instance is used to identify a VPN. To check if a configured VRF is working, you can use the ping vrf command.

When attempting to ping from a provider edge (PE) router to a customer edge (CE) router, or from a PE router to PE router, the standard ping command will not usually work. The ping vrf command allows you to ping the IP addresses of LAN interfaces on CE routers.

If you are on a PE router, be sure to indicate the specific VRF (VPN) name, as shown in the "Examples" section.

If all required information is not provided at the command line, the system will enter the interactive dialog (extended mode) for ping.

Examples

In the following example, the target host in the domain 209.165.201.1 is pinged (using IP/ICMP) in the context of the "Customer_A" VPN connection.

Router# ping vrf Customer_A 209.165.201.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 209.165.201.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 176/264/576 ms

Pressing the Enter key before providing all of the required options will begin the interactive dialog for ping. In the following example, the interactive dialog is started after the "ip" protocol is specified, but no address is given:

Router# ping vrf Customer_B ip 
Target IP address: 209.165.200.225
Repeat count [5]: 
Datagram size [100]: 
Timeout in seconds [2]: 
Extended commands [n]: y 
Source address or interface: 
Type of service [0]: 
Set DF bit in IP header? [no]: 
Validate reply data? [no]: 
Data pattern [0xABCD]: 
Loose, Strict, Record, Timestamp, Verbose[none]: Record 
Number of hops [ 9 ]: 
Loose, Strict, Record, Timestamp, Verbose[RV]: 
Sweep range of sizes [n]: 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 209.165.200.225, timeout is 2 seconds:
Packet has IP options:  Total option bytes= 39, padded length=40
 Record route: <*>
   (0.0.0.0)
   (0.0.0.0)
   (0.0.0.0)
   (0.0.0.0)
   (0.0.0.0)
   (0.0.0.0)
   (0.0.0.0)
   (0.0.0.0)
   (0.0.0.0)
 .
 .
 .
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms 

The following example shows the various options for IP in the ping vrf command:

Router# show parser dump exec | include ping vrf 
1 ping vrf <string>
1 ping vrf <string> ip <string> 
1 ping vrf <string> ip (interactive) 
1 ping vrf <string> ip <string> 
1 ping vrf <string> ip <string> source <address> 
1 ping vrf <string> ip <string> source <interface> 
1 ping vrf <string> ip <string> repeat <1-2147483647> 
1 ping vrf <string> ip <string> size Number 
1 ping vrf <string> ip <string> df-bit 
1 ping vrf <string> ip <string> validate 
1 ping vrf <string> ip <string> data <0-65535> 
1 ping vrf <string> ip <string> timeout <0-3600> 
1 ping vrf <string> ip <string> verbose 
1 ping vrf <string> ip <string> data <0-65535> 
1 ping vrf <string> ip <string> timeout <0-3600> 
1 ping vrf <string> tag 
1 ping vrf <string> atm 
1 ping vrf <string> ipv6 
1 ping vrf <string> appletalk 
1 ping vrf <string> decnet 
1 ping vrf <string> clns 
1 ping vrf <string> ipx 
1 ping vrf <string> sna 
1 ping vrf <string> srb 

Related Commands

Command
Description

ping

Diagnoses basic network connectivity to a specific host.

ping atm interface atm

Tests the connectivity of a specific PVC.

ping ip

Tests the connection to a remote host on the network using IPv4.

ping ipv6

Tests the connection to a remote host on the network using IPv6.

ping sna

Tests network integrity and timing characteristics over an SNA Switching network.


policy-list

To associate a policy list with a Command Scheduler occurrence, use the policy-list command in kron-occurrence configuration mode. To delete a policy list from the Command Scheduler occurrence, use the no form of this command.

policy-list list-name

no policy-list list-name

Syntax Description

list-name

Name of policy list. If the list-name is new, a policy list structure will be created. If the list-name is not new, the existing policy list will be edited.


Defaults

No policy list is associated.

Command Modes

Kron-occurrence configuration (config-kron-occurrence)

Command History

Release
Modification

12.3(1)

This command was introduced.


Usage Guidelines

Use the policy-list command with the kron occurrence command to schedule one or more policy lists to run at the same time or interval. Use the kron policy-list command in conjunction with the cli command to create a Command Scheduler policy list containing EXEC command line interface (CLI) commands to be scheduled to run on the router at a specified time.

The Command Scheduler process is useful to automate the running of EXEC commands at recurring intervals, and can it be used in remote routers to minimize manual intervention.

Examples

The following example shows how to create a Command Scheduler occurrence named may and associate a policy list named sales-may with the occurrence:

Router(config)# kron occurrence may at 6:30 may 20 oneshot
Router(config-kron-occurrence)# policy-list sales-may

Related Commands

Command
Description

cli

Specifies EXEC CLI commands within a Command Scheduler policy list.

kron occurrence

Specifies schedule parameters for a Command Scheduler occurrence and enters kron-occurrence configuration mode.

kron policy-list

Specifies a name for a Command Scheduler policy and enters kron-policy configuration mode.


printer

To configure a printer and assign a server tty line (or lines) to it, use the printer command in global configuration mode. To disable printing on a tty line, use the no form of this command.

printer printer-name {line number | rotary number} [newline-convert | formfeed]

no printer

Syntax Description

printer-name

Printer name.

line number

Assigns a tty line to the printer.

rotary number

Assigns a rotary group of tty lines to the printer.

newline-convert

(Optional) Converts newline (linefeed) characters to a two-character sequence "carriage-return, linefeed" (CR+LF).

formfeed

(Optional) Causes the Cisco IOS software to send a form-feed character (ASCII 0x0C) to the printer tty line immediately following each print job received from the network.


Defaults

No printers are defined by default.

Command Modes

Global configuration

Command History

Release
Modification

10.3

This command was introduced.


Usage Guidelines

This command enables you to configure a printer for operations and assign either a single tty line or a group of tty lines to it. To make multiple printers available through the same printer name, specify the number of a rotary group.

In addition to configuring the printer with the printer command, you must modify the file /etc/printcap on your UNIX system to include the definition of the remote printer in the Cisco IOS software. Refer to the Cisco IOS Configuration Fundamentals Configuration Guide for additional information.

Use the optional newline-convert keyword in UNIX environments that cannot handle single-character line terminators. This converts newline characters to a carriage-return, linefeed sequence. Use the formfeed keyword when using the line printer daemon (lpd) protocol to print and your system is unable to separate individual output jobs with a form feed (page eject). You can enter the newline-convert and formfeed keywords together and in any order.

Examples

In the following example a printer named printer1 is configured and output is assigned to tty line 4:

Router(config)# printer printer1 line 4

Related Commands

Command
Description

clear line

Returns a terminal line to idle state.


private

To save user EXEC command changes between terminal sessions, use the private command in line configuration mode. To restore the default condition, use the no form of this command.

private

no private

Syntax Description

This command has no arguments or keywords.

Defaults

User-set configuration options are cleared with the exit EXEC command or when the interval set with the exec-timeout line configuration command has passed.

Command Modes

Line configuration

Command History

Release
Modification

10.0

This command was introduced.


Usage Guidelines

This command ensures that the terminal parameters set by the user remain in effect between terminal sessions. This behavior is desirable for terminals in private offices.

Examples

In the following example, line 15 (in this example, vty 1) is configured to keep all user-supplied settings at system restarts:

Router(config)# line 15
Router(config-line)# private

Related Commands

Command
Description

exec-timeout

Sets the interval that the EXEC command interpreter waits until user input is detected.

exit

Exits any configuration mode, or closes an active terminal session and terminates the EXEC.


process-max-time

To configure the amount of time after which a process should voluntarily yield to another process, use the process-max-time command in global configuration mode. To reset this value to the system default, use the no form of this command.

process-max-time milliseconds

no process-max-time milliseconds

Syntax Description

milliseconds

Maximum duration (in milliseconds) that a process can run before suspension. The range is from 20to 200 milliseconds.


Defaults

The default maximum process time is 200 milliseconds.

Command Modes

Global configuration

Command History

Release
Modification

12.1

This command was introduced.


Usage Guidelines

Lowering the maximum time a process can run is useful in some circumstances to ensure equitable division of CPU time among different tasks.

Only use this command if recommended to do so by the Cisco Technical Assistance Center (TAC).

Examples

The following example limits the duration that a process will run to 100 milliseconds:

Router(config)# process-max-time 100 

prompt

To customize the CLI prompt, use the prompt command in global configuration mode. To revert to the default prompt, use the no form of this command.

prompt string

no prompt [string]

Syntax Description

string

Text that will be displayed on screen as the CLI prompt, including any desired prompt variables.


Defaults

The default prompt is either Router or the name defined with the hostname global configuration command, followed by an angle bracket (>) for user EXEC mode or a pound sign (#) for privileged EXEC mode.

Command Modes

Global configuration

Command History

Release
Modification

10.3

This command was introduced.


Usage Guidelines

You can include customized variables when specifying the prompt. All prompt variables are preceded by a percent sign (%). Table 42 lists the available prompt variables.

Table 42 Custom Prompt Variables

Prompt Variable
Interpretation

%h

Host name. This is either Router or the name defined with the hostname global configuration command.

%n

Physical terminal line (tty) number of the EXEC user.

%p

Prompt character itself. It is either an angle bracket (>) for user EXEC mode or a pound sign (#) for privileged EXEC mode.

%s

Space.

%t

Tab.

%%

Percent sign (%)


Issuing the prompt %h command has the same effect as issuing the no prompt command.

Examples

The following example changes the EXEC prompt to include the tty number, followed by the name and a space:

Router(config)# prompt TTY%n@%h%s%p

The following are examples of user and privileged EXEC prompts that result from the previous command:

TTY17@Router1 > enable
TTY17@Router1 #

Related Commands

Command
Description

hostname

Specifies or modifies the host name for the network server.


pwd

To show the current setting of the cd command, use the pwd command in EXEC mode.

pwd

Syntax Description

This command has no arguments or keywords.

Command Modes

User EXEC

Priviledged EXEC

Command History

Release
Modification

11.0

This command was introduced.


Usage Guidelines

Use the pwd command to show which directory or file system is specified as the default by the cd command. For all EXEC commands that have an optional filesystem argument, the system uses the file system specified by the cd command when you omit the optional filesystem argument.

For example, the dir command contains an optional filesystem argument and displays a list of files on a particular file system. When you omit this filesystem argument, the system shows a list of the files on the file system specified by the cd command.

Examples

The following example shows that the present working file system specified by the cd command is slot 0:

Router> pwd
slot0:/

The following example uses the cd command to change the present file system to slot 1 and then uses the pwd command to display that present working file system:

Router> cd slot1: 
Router> pwd 
slot1:/

Related Commands

Command
Description

cd

Changes the default directory or file system.

dir

Displays a list of files on a file system.


refuse-message

To define and enable a line-in-use message, use the refuse-message command in line configuration mode. To disable the message, use the no form of this command.

refuse-message d message d

no refuse-message

Syntax Description

d

Delimiting character of your choice—a pound sign (#), for example. You cannot use the delimiting character in the message.

message

Message text.


Defaults

Disabled (no line-in-use message is displayed).

Command Modes

Line configuration

Command History

Release
Modification

10.0

This command was introduced.


Usage Guidelines

Follow this command with one or more blank spaces and a delimiting character of your choice. Then enter one or more lines of text, terminating the message with the second occurrence of the delimiting character. You cannot use the delimiting character within the text of the message.

When you define a message using this command, the Cisco IOS software performs the following steps:

1. Accepts the connection.

2. Prints the custom message.

3. Clears the connection.

Examples

In the following example, line 5 is configured with a line-in-use message, and the user is instructed to try again later:

line 5
refuse-message  /The dial-out modem is currently in use.

Please try again later./

reload

To reload the operating system, use the reload command in EXEC mode.

reload [text | in [hh:]mm [text] | at hh:mm [month day | day month] [text] | cancel]

Syntax Description

text

(Optional) Reason for the reload, 1 to 255 characters long.

in [hh:]mm

(Optional) Schedule a reload of the software to take effect in the specified minutes or hours and minutes. The reload must take place within approximately 24 days.

at hh:mm

(Optional) Schedule a reload of the software to take place at the specified time (using a 24-hour clock). If you specify the month and day, the reload is scheduled to take place at the specified time and date. If you do not specify the month and day, the reload takes place at the specified time on the current day (if the specified time is later than the current time), or on the next day (if the specified time is earlier than the current time). Specifying 00:00 schedules the reload for midnight. The reload must take place within approximately 24 days.

month

(Optional) Name of the month, any number of characters in a unique string.

day

(Optional) Number of the day in the range from 1 to 31.

cancel

(Optional) Cancel a scheduled reload.


Command Modes

User EXEC

Priviledged EXEC

Command History

Release
Modification

10.0

The command was introduced.


Usage Guidelines

The reload command halts the system. If the system is set to restart on error, it reboots itself. Use the reload command after configuration information is entered into a file and saved to the startup configuration.

You cannot reload from a virtual terminal if the system is not set up for automatic booting. This prevents the system from dropping to the ROM monitor and thereby taking the system out of the remote user's control.

If you modify your configuration file, the system prompts you to save the configuration. During a save operation, the system asks you if you want to proceed with the save if the CONFIG_FILE variable points to a startup configuration file that no longer exists. If you say "yes" in this situation, the system goes to setup mode upon reload.

When you schedule a reload to occur at a later time, it must take place within approximately 24 days.

The at keyword can be used only if the system clock has be set on the router (either through NTP, the hardware calendar, or manually). The time is relative to the configured time zone on the router. To schedule reloads across several routers to occur simultaneously, the time on each router must be synchronized with NTP.

To display information about a scheduled reload, use the show reload EXEC command.

Examples

The following example immediately reloads the software on the router:

Router# reload

The following example reloads the software on the router in 10 minutes:

Router# reload in 10

Router# Reload scheduled for 11:57:08 PDT Fri Apr 21 1996 (in 10 minutes)
Proceed with reload? [confirm]
Router#

The following example reloads the software on the router at 1:00 p.m. today:

Router# reload at 13:00

Router# Reload scheduled for 13:00:00 PDT Fri Apr 21 1996 (in 1 hour and 2 minutes)
Proceed with reload? [confirm]
Router#

The following example reloads the software on the router on April 20 at 2:00 a.m.:

Router# reload at 02:00 apr 20

Router# Reload scheduled for 02:00:00 PDT Sat Apr 20 1996 (in 38 hours and 9 minutes)
Proceed with reload? [confirm]
Router#

The following example cancels a pending reload:

Router# reload cancel

%Reload cancelled.

Related Commands

Command
Description

copy system:running-config nvram:startup-config

Copies any file from a source to a destination.

show reload

Displays the reload status on the router.


rename

To rename a file in a Class C Flash file system, use the rename command in EXEC mode.

rename url1 url2

Syntax Description

url1

The original path and filename.

url2

The new path and filename.


Command Modes

User EXEC

Priviledged EXEC

Command History

Release
Modification

11.3 AA

This command was introduced.


Usage Guidelines

This command is valid only on Class C Flash file systems.

Examples

In the following example, the file named Karen.1 is renamed test:

Router# dir

Directory of disk0:/Karen.dir/
  0  -rw-           0   Jan 21 1998 09:51:29  Karen.1
  0  -rw-           0   Jan 21 1998 09:51:29  Karen.2
  0  -rw-           0   Jan 21 1998 09:51:29  Karen.3
  0  -rw-           0   Jan 21 1998 09:51:31  Karen.4
243  -rw-         165   Jan 21 1998 09:53:17  Karen.cur
340492288 bytes total (328400896 bytes free)

Router# rename disk0:Karen.dir/Karen.1 disk0:Karen.dir/test 
Router# dir

Directory of disk0:/Karen.dir/
  0  -rw-           0   Jan 21 1998 09:51:29  Karen.2
  0  -rw-           0   Jan 21 1998 09:51:29  Karen.3
  0  -rw-           0   Jan 21 1998 09:51:31  Karen.4
243  -rw-         165   Jan 21 1998 09:53:17  Karen.cur
  0  -rw-           0   Apr 24 1998 09:49:19  test
340492288 bytes total (328384512 bytes free)

request-data-size

To set the protocol data size in the payload of the Service Assurance Agent (SAA) operation's request packet, use the request-data-size command in SAA RTR configuration mode. To return to the default value, use the no form of this command.

request-data-size bytes

no request-data-size

Syntax Description

bytes

Size of the protocol data in the payload of the request packet of the operation. Range is 0 to the maximum of the protocol. The default is 1 byte.


Defaults

1 byte

Command Modes

SAA RTR configuration

Command History

Release
Modification

11.2

This command was introduced.


Usage Guidelines

When the protocol name has the suffix "appl," the packet uses both a request and respond data size (see the response-data-size SAA RTR configuration command), and the data size is 12 bytes smaller than the normal payload size (this 12 bytes is the ARR Header used to control send and data response sizes).

Examples

The following example sets the request packet size to 40 bytes for operation 3:

Router(config)# rtr 3
Router(config-rtr)# type echo protocol snalu0echoappl cwbc0a
Router(config-rtr)# request-data-size 40

Related Commands

Command
Description

response-data-size

Sets the protocol data size in the payload of the SAA operation's response packet.

rtr

Specifies an SAA operation and enters SAA RTR configuration mode.


response-data-size

To set the protocol data size in the payload of an Service Assurance Agent (SAA) operation's response packet, use the response-data-size command in SAA RTR configuration mode. To return to the default value, use the no form of this command.

response-data-size bytes

no response-data-size

Syntax Description

bytes

Size of the protocol data in the payload in the operation's response packet. For "appl" protocols, the default is 0 bytes. For all others, the default is the same value as the request-data-size.


Defaults

0 bytes

Command Modes

SAA RTR configuration

Command History

Release
Modification

11.2

This command was introduced.


Usage Guidelines

The response-data-size command is only applicable for the following operations:

type echo protocol snaLU0EchoAppl

type echo protocol snaLU2EchoAppl

type pathEcho protocol snaLU0EchoAppl

type pathEcho protocol snaLU2EchoAppl

Note that these protocols are defined with the type command that end in "appl" (for example, snalu0echoappl). When the protocol ends in "appl," the response data size is 12 bytes smaller than normal payload size.

Examples

The following example configures the response packet size of snaLU0 Echo operation 3 to 1440 bytes:

Router(config)# rtr 3
Router(config-rtr)# type echo protocol snalu0echoappl cwbc0a
Router(config-rtr)# response-data-size 1440

Related Commands

Command
Description

request-data-size

Sets the protocol data size in the payload of the SAA operation's request packet.

rtr

Specifies an SAA operation and enters SAA RTR configuration mode.


rmdir

To remove an existing directory in a Class C Flash file system, use the rmdir command in EXEC mode.

rmdir directory

Syntax Description

directory

Directory to delete.


Command Modes

User EXEC

Priviledged EXEC

Command History

Release
Modification

11.3 AA

This command was introduced.


Usage Guidelines

This command is valid only on Class C Flash file systems.

Examples

The following example deletes the directory named newdir:

Router# dir 

Directory of flash:

  2  drwx           0   Mar 13 1993 13:16:21  newdir

8128000 bytes total (8126976 bytes free)
Router# rmdir newdir 
Rmdir file name [newdir]?
Delete flash:newdir? [confirm]
Removed dir flash:newdir
Router# dir 
Directory of flash:

No files in directory

8128000 bytes total (8126976 bytes free)

Related Commands

Command
Description

dir

Displays a list of files on a file system.

mkdir

Creates a new directory in a Class C Flash file system.


rmon

To enable Remote Monitoring (RMON) on an Ethernet interface, use the rmon command in interface configuration mode. To disable RMON on the interface, use the no form of this command.

rmon {native | promiscuous}

no rmon

Syntax Description

native

Enables RMON on the Ethernet interface. In native mode, the router processes only packets destined for this interface.

promiscuous

Enables RMON on the Ethernet interface. In promiscuous mode, the router examines every packet.


Defaults

RMON is disabled on the interface.

Command Modes

Interface configuration

Command History

Release
Modification

11.1

This command was introduced.


Usage Guidelines

This command enables RMON on Ethernet interfaces. A generic RMON console application is recommended in order to use the RMON network management capabilities. SNMP must also be configured. RMON provides visibility of individual nodal activity and allows you to monitor all nodes and their interaction on a LAN segment. When the rmon command is issued, the router automatically installs an Ethernet statistics study for the associated interface.


Note RMON can be very data and processor intensive. Users should measure usage effects to ensure that router performance is not degraded and to minimize excessive management traffic overhead. Native mode is less intensive than promiscuous mode.


All Cisco IOS software feature sets support RMON alarm and event groups. Additional RMON groups are supported in certain feature sets. Refer to the Release Notes for feature set descriptions. As a security precaution, support for the packet capture group allows capture of packet header information only; data payloads are not captured.

The RMON MIB is described in RFC 1757.

Examples

The following example enables RMON on Ethernet interface 0 and allows the router to examine only packets destined for the interface:

interface ethernet 0
 rmon native

Related Commands

Command
Description

rmon alarm

Sets an alarm on any MIB object.

rmon event

Adds or removes an event in the RMON event table that is associated with an RMON event number.

rmon queuesize

Changes the size of the queue that holds packets for analysis by the RMON process.

show rmon

Displays the current RMON agent status on the router.


rmon alarm

To set an alarm on any MIB object, use the rmon alarm command in global configuration mode. To disable the alarm, use the no form of this command.

rmon alarm number variable interval {delta | absolute} rising-threshold value [event-number] falling-threshold value [event-number] [owner string]

no rmon alarm number

Syntax Description

number

Alarm number, which is identical to the alarmIndex in the alarmTable in the Remote Monitoring (RMON) MIB.

variable

MIB object to monitor, which translates into the alarmVariable used in the alarmTable of the RMON MIB.

interval

Time in seconds the alarm monitors the MIB variable, which is identical to the alarmInterval used in the alarmTable of the RMON MIB.

delta

Tests the change between MIB variables, which affects the alarmSampleType in the alarmTable of the RMON MIB.

absolute

Tests each MIB variable directly, which affects the alarmSampleType in the alarmTable of the RMON MIB.

rising-threshold value

Value at which the alarm is triggered.

event-number

(Optional) Event number to trigger when the rising or falling threshold exceeds its limit. This value is identical to the alarmRisingEventIndex or the alarmFallingEventIndex in the alarmTable of the RMON MIB.

falling-threshold value

Value at which the alarm is reset.

owner string

(Optional) Specifies an owner for the alarm, which is identical to the alarmOwner in the alarmTable of the RMON MIB.


Defaults

No alarms configured

Command Modes

Global configuration

Command History

Release
Modification

11.2

This command was introduced.


Usage Guidelines

The MIB object must be specified as a dotted decimal value after the entry sequence (for example, ifEntry.10.1). You cannot specify the variable name and the instance (for example, ifInOctets.1) or the entire dotted decimal notation. The variable must be of the form entry.integer.instance.

To disable the RMON alarms, you must use the no form of the command on each configured alarm. For example, enter no rmon alarm 1, where the 1 identifies which alarm is to be removed.

See RFC 1757 for more information about the RMON alarm group.

Examples

The following example configures an RMON alarm using the rmon alarm command:

rmon alarm 10 ifEntry.20.1 20 delta rising-threshold 15 1 falling-threshold 0
     owner jjohnson

This example configures RMON alarm number 10. The alarm monitors the MIB variable ifEntry.20.1 once every 20 seconds until the alarm is disabled, and checks the change in the variable's rise or fall. If the ifEntry.20.1 value shows a MIB counter increase of 15 or more, such as from 100000 to 100015, the alarm is triggered. The alarm in turn triggers event number 1, which is configured with the rmon event command. Possible events include a log entry or a SNMP trap. If the ifEntry.20.1 value changes by 0 (falling-threshold 0), the alarm is reset and can be triggered again.

Related Commands

Command
Description

rmon

Enables Remote Network Monitoring (RMON) on an Ethernet interface

rmon event

Adds or removes an event in the RMON event table that is associated with an RMON event number.

show rmon

Displays the current RMON agent status on the router.


rmon capture-userdata

To disable the packet zeroing feature that initializes the user payload portion of each Remote Monitoring (RMON) MIB packet, use the rmon capture-userdata command in global configuration mode. To enable packet zeroing, use the no form of this command.

rmon capture-userdata

no rmon capture-userdata

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values.

Command Modes

Global configuration

Command History

Release
Modification

12.0(5)T

This command was introduced.


Usage Guidelines

Use the show rmon matrix command to display RMON statistics.

Examples

The following command disables the packet zeroing feature:

Router(config)# rmon capture-userdata 

Related Commands

Command
Description

rmon collection matrix

Enables a RMON MIB matrix group of statistics on an interface.


rmon collection history

To enable Remote Monitoring (RMON) history gathering on an interface, use the rmon collection history command in interface configuration mode. To disable the history gathering on an interface, use the no form of this command.

rmon collection history controlEntry integer [owner ownername] [buckets bucket-number] [interval seconds]

no rmon collection history controlEntry integer [owner ownername] [buckets bucket-number] [interval seconds]

Syntax Description

controlEntry

Specifies the RMON group of statistics using a value.

integer

A value from 1 to 65535 that identifies the RMON group of statistics and matches the index value returned for Simple Network Management Protocol (SNMP) requests.

owner

(Optional) Specifies the name of the owner of the RMON group of statistics.

ownername

(Optional) Records the name of the owner of the RMON group of statistics.

buckets bucket-number

(Optional) Specifies the maximum number of buckets desired for the RMON collection history group of statistics.

interval seconds

(Optional) Specifies the number of seconds history should be gathered in a single bucket. When the interval ends, history is collected into a new bucket.


Defaults

Disabled

Command Modes

Interface configuration

Command History

Release
Modification

12.0(5)T

This command was introduced.


Usage Guidelines

Use the show rmon capture and show rmon matrix commands to display RMON statistics.

Examples

The following command enables an RMON MIB collection history group of statistics with an ID number of 20 and an owner as john:

Router(config-if)# rmon collection history controlEntry 20 owner john 

Related Commands

Command
Description

show rmon capture

Displays the contents of the RMON history table.

show rmon matrix

Displays the RMON MIB matrix table.


rmon collection host

To enable a Remote Monitoring (RMON) MIB host collection group of statistics on the interface, use the rmon collection host command in interface configuration mode. To remove the specified RMON host collection, use the no form of the command.

rmon collection host controlEntry integer [owner ownername]

no rmon collection host controlEntry integer [owner ownername]

Syntax Description

controlEntry integer

Specifies an identification number for the RMON group of statistics. The integer can be any number in the range from 1 to 65535.

owner ownername

(Optional) Specifies the name of the owner of the RMON group of statistics.


Defaults

No RMON host collection is specified.

Command Modes

Interface configuration

Command History

Release
Modification

12.0(5)T

This command was introduced.


Usage Guidelines

Use the show rmon hosts and show rmon matrix commands to display RMON statistics.

Examples

The following command enables an RMON collection host group of statistics with an ID number of 20, and specifies john as the owner:

Router(config-if)# rmon collection host controlEntry 20 owner john 

Related Commands

Command
Description

show rmon hosts

Displays the RMON MIB hosts table.

show rmon matrix

Displays the RMON MIB matrix table.


rmon collection matrix

To enable a Remote Monitoring (RMON) MIB matrix group of statistics on an interface, use the rmon collection matrix command in interface configuration mode. To remove a specified RMON matrix group of statistics, use the no form of the command.

rmon collection matrix controlEntry integer [owner ownername]

no rmon collection matrix controlEntry integer [owner ownername]

Syntax Description

controlEntry integer

Specifies an identification number for the RMON matrix group of statistics. The integer can be any number in the range from 1 to 65535.

owner ownername

(Optional) Specifies the name of the owner of the RMON matrix group of statistics.


Defaults

No RMON matrix group of statistics is specified.

Command Modes

Interface configuration

Command History

Release
Modification

12.0(5)T

This command was introduced.


Usage Guidelines

Use the show rmon matrix command to display RMON statistics.

Examples

The following command enables the RMON collection matrix group of statistics with an ID number of 25, and specifies john as the owner:

Router(config-if)# rmon collection matrix controlEntry 25 owner john 

Related Commands

Command
Description

show rmon matrix

Displays the RMON MIB matrix table.


rmon collection rmon1

To enable all possible autoconfigurable Remote Monitoring (RMON) MIB statistic collections on the interface, use the rmon collection rmon1 command in interface configuration mode. To disable these statistic collections on the interface, use the no form of the command.

rmon collection rmon1 controlEntry integer [owner ownername]

no rmon collection rmon1 controlEntry integer [owner ownername]

Syntax Description

controlEntry integer

Specifies an identification number for the RMON group of statistics. The integer can be any number in the range from 1 to 65535.

owner ownername

(Optional) Specifies the name of the owner of the RMON group of statistics.


Defaults

Disabled.

Command Modes

Interface configuration

Command History

Release
Modification

12.0(5)T

This command was introduced.


Usage Guidelines

Use the show rmon matrix command to display RMON statistics.

Examples

The following command enables the RMON collection rmon1 group of statistics with an ID number of 30, and specifies "john" as the owner:

Router(config-if)# rmon collection rmon1 controlEntry 30 owner john 

Related Commands

Command
Description

show rmon matrix

Displays the RMON MIB matrix table.


rmon event

To add or remove an event in the RMON event table that is associated with an RMON event number, use the rmon event command in global configuration mode. To disable RMON on the interface, use the no form of this command.

rmon event number [log] [trap community] [description string] [owner string]

no rmon event number

Syntax Description

number

Assigned event number, which is identical to the eventIndex in the eventTable in the RMON MIB.

log

(Optional) Generates an RMON log entry when the event is triggered and sets the eventType in the RMON MIB to log or log-and-trap.

trap community

(Optional) SNMP community string used for this trap. Configures the setting of the eventType in the RMON MIB for this row as either snmp-trap or log-and-trap. This value is identical to the eventCommunityValue in the eventTable in the RMON MIB.

description string

(Optional) Specifies a description of the event, which is identical to the event description in the eventTable of the RMON MIB.

owner string

(Optional) Owner of this event, which is identical to the eventOwner in the eventTable of the RMON MIB.


Defaults

No events are configured.

Command Modes

Global configuration

Command History

Release
Modification

11.2

This command was introduced.


Usage Guidelines

This command applies only to the Cisco 2500 series and Cisco AS5200 series.

See RFC 1757 for more information about the RMON MIB.

Examples

The following example enables the rmon event command:

rmon event 1 log trap eventtrap description "High ifOutErrors" owner sdurham 

This example configuration creates RMON event number 1, which is defined as High ifOutErrors, and generates a log entry when the event is triggered by an alarm. The user sdurham owns the row that is created in the event table by this command. This configuration also generates a Simple Network Management Protocol (SNMP) trap when the event is triggered.

Related Commands

Command
Description

rmon

Enables RMON on an Ethernet interface.

show rmon

Displays the current RMON agent status on the router.


rmon queuesize

To change the size of the queue that holds packets for analysis by the Remote Monitoring (RMON) process, use the rmon queuesize command in global configuration mode. To restore the default value, use the no form of this command.

rmon queuesize size

no rmon queuesize

Syntax Description

size

Number of packets allowed in the queue awaiting RMON analysis. Default queue size is 64 packets.


Defaults

64 packets

Command Modes

Global configuration

Command History

Release
Modification

11.1

This command was introduced.


Usage Guidelines

This command applies to the RMON function, which is available on Ethernet interfaces of Cisco 2500 series and Cisco AS5200 series routers only.

You might want to increase the queue size if the RMON function indicates it is dropping packets. You can determine this from the output of the show rmon command or from the etherStatsDropEvents object in the etherStats table. A feasible maximum queue size depends on the amount of memory available in the router and the configuration of the buffer pool.

Examples

The following example configures the RMON queue size to be 128 packets:

Router(config)# rmon queuesize 128 

Related Commands

Command
Description

show rmon

Displays the current RMON agent status on the router.


rommon-pref

To select a ReadOnly or Upgrade ROMmon image to be booted on the next reload of a Cisco 7200 VXR router or Cisco 7301 router when you are in ROMmon, use the rommon-pref command in ROMmon mode.

rommon-pref [readonly | upgrade]

Syntax Description

readonly

Selects the ReadOnly ROMmon image to be booted on the next reload.

upgrade

Selects the Upgrade, second ROMmon image to be booted on the next reload.


Defaults

No default behavior or values

Command Modes

ROMmon

Command History

Release
Modification

12.0(28)S

This command was introduced on the Cisco 7200 VXR router. It was introduced in ROMmon version 12.3(4r)T1 for the Cisco 7200 VXR router.

12.3(8)T

This command was integrated into Cisco IOS Release 12.3(8)T and supported on the Cisco 7200 VXR router and Cisco 7301 router. It was introduced in ROMmon version 12.3(4r)T2 for the Cisco 7301 router.

12.3(9)

This command was integrated into Cisco IOS Release 12.3(9) and supported on the Cisco 7200 VXR router and Cisco 7301 router.


Usage Guidelines

You might select the ReadOnly ROMmon image to be booted on the next reload because the Upgrade image has features or side effects you do not like.

When you are in ROMmon, there is no descriptive output to inform you whether the ReadOnly ROMmon image was reloaded. To confirm the reload, use the showmon command after entering the rommon-pref readonly command.

Use this command when you are in ROMmon mode. Use the upgrade rom-monitor preference command when you are in Cisco IOS.

Examples

The following example, applicable to both the Cisco 7200 VXR and Cisco 7301 routers, shows how to select the ReadOnly ROMmon image to be booted on the next reload of the router when you are already in ROMmon mode:

rommon 2 > rommon-pref readonly

Related Commands

Command
Description

showmon

Shows both the ReadOnly and the Upgrade ROMmon image versions when you are in ROMmon mode, as well as which ROMmon image is running.


rsh

To execute a command remotely on a remote shell protocol (rsh) host, use the rsh command in privileged EXEC mode.

rsh {ip-address | host} [/user username] remote-command

Syntax Description

ip-address

IP address of the remote host on which to execute the rsh command. Either the IP address or the host name is required.

host

Name of the remote host on which to execute the command. Either the host name or the IP address is required.

/user username

(Optional) Remote username.

remote-command

Command to be executed remotely.


Defaults

If you do not specify the /user username keyword and argument, the Cisco IOS software sends a default remote username. As the default value of the remote username, the software sends the username associated with the current tty process, if that name is valid. For example, if the user is connected to the router through Telnet and the user was authenticated through the username command, then the software sends that username as the remote username. If the tty username is invalid, the software uses the host name as the both the remote and local usernames.


Note For Cisco, tty lines are commonly used for access services. The concept of tty originated with UNIX. For UNIX systems, each physical device is represented in the file system. Terminals are sometimes called tty devices (tty stands for teletype, the original UNIX terminal).


Command Modes

Privileged EXEC

Command History

Release
Modification

10.0

This command was introduced.


Usage Guidelines

Use the rsh command to execute commands remotely. The host on which you remotely execute the command must support the rsh protocol, and the .rhosts files on the rsh host must include an entry that permits you to remotely execute commands on that host.

For security reasons, the software does not default to a remote login if no command is specified, as does UNIX. Instead, the router provides Telnet and connect services that you can use rather than rsh.

Examples

The following command specifies that the user named sharon attempts to remotely execute the UNIX ls command with the -a argument on the remote host named mysys.cisco.com. The command output resulting from the remote execution follows the command example:

Router1# rsh mysys.cisco.com /user sharon ls -a
.
.
.
.alias
.cshrc
.emacs
.exrc
.history
.login
.mailrc
.newsrc
.oldnewsrc
.rhosts
.twmrc
.xsession
jazz

rtr key-chain

To enable Service Assurance Agent (SAA) control message authentication and specify an MD5 key chain, use the rtr key-chain command in global configuration mode. To remove control message authentication, use the no form of this command.

rtr key-chain name

no rtr key-chain

Syntax Description

name

Name of MD5 key chain.


Defaults

Control message authentication is disabled.

Command Modes

Global configuration

Command History

Release
Modification

12.0(3)T

This command was introduced.


Usage Guidelines

The authentication configuration on the SAA source and SAA Responder devices must be the same. In other words, both devices must be configured with the same key chain or both devices must not use authentication.

If the rtr key-chain command is entered, at least one key must be added to the specified MD5 key chain in order for MD5 authentication to occur.

Examples

In the following example, the SAA control message uses MD5 authentication, and the key chain name is CSAA. The authentication string for key 1 is csaakey1.

rtr key-chain csaa

key chain csaa
key 1

key-string csaakey1

Related Commands

Command
Description

key

Identifies an authentication key on a key chain.

key chain

Enables authentication for routing protocols and identifies a group of authentication keys.

key-string (authentication)

Specifies the authentication string for a key.

rtr

Specifies an SAA operation and enters SAA RTR configuration mode.


rtr low-memory

To specify how much unused memory must be available to allow Service Assurance Agent (SAA) configuration, use the rtr low-memory command in global configuration mode. To remove the type configuration for the operation, use the no form of this command.

rtr low-memory value

no rtr low-memory

Syntax Description

value

Specifies amount of memory, in bytes, that must be available to configure SAA (RTR). The range is from 0 to the maximum amount of free memory bytes available.


Defaults

The default value is 25 percent of the memory available on the system.

Command Modes

Global configuration

Command History

Release
Modification

12.0(5)T

This command was introduced.


Usage Guidelines

The rtr low-memory command allows the user to specify the amount of memory that the SAA can use. If the amount of available free memory falls below the value specified in the rtr low-memory command, then the SAA will not allow new operations to be configured. If this command is not used, the default low-memory value is 25 percent. This means that if 75 percent of system memory has been utilized you will not be able to configure any SAA characteristics.

The value of the rtr low-memory command should not exceed the amount of free memory available on the system. To determine the amount of free memory available on the system, use the show memory EXEC command.

Examples

In the following example, the router is configured so that no less than 2 MB of memory will be free for RTR configuration:

Router(config)# rtr low-memory 2000000

Related Commands

Command
Description

rtr

Specifies an identification number for an operation and enters SAA RTR configuration mode.

show memory

Displays statistics about memory, including memory-free pool statistics.


rtr reaction-configuration

To configure certain actions to occur based on events under the control of the Service Assurance Agent (SAA), use the rtr reaction-configuration command in global configuration mode. To return to the default values of the operation, use the no form of this command.

rtr reaction-configuration operation-number [verify-error-enable] [connection-loss-enable] [timeout-enable] [threshold-falling milliseconds] [threshold-type option] [action-type option]

no rtr reaction-configuration operation-number

Syntax Description

operation-number

Number of the SAA operation to configure.

verify-error-enable

(Optional) Enables error verification. The default is disabled.

connection-loss-enable

(Optional) Enables checking for connection loss in connection-oriented protocols. Disabled by default.

timeout-enable

(Optional) Enables checking for response time reporting operation timeouts based on the timeout value configured for the operation with the timeout SAA RTR configuration command. The default is disabled.

threshold-falling milliseconds

(Optional) Sets the falling threshold (standard RMON-type hysteresis mechanism) in milliseconds. When the falling threshold is met, generate a resolution reaction event. The rising of the operation over threshold is set with the threshold SAA RTR configuration command. The default value is 3000 ms.

threshold-type option

(Optional) Specify the algorithm used by the SAA to calculate over and falling threshold violations. The value for option can be one of the following keywords:

never—Do not calculate threshold violations (the default).

immediate—When the response time exceeds the rising over threshold or drops below the falling threshold, immediately perform the action defined by action-type.

consecutive [occurrences]—When the response time exceeds the rising threshold consecutively five times or drops below the falling threshold consecutively five times, perform the action defined by action-type. Optionally specify the number of consecutive occurrences. The default is 5.

xofy [x-value y-value]—When the response time exceeds the rising threshold five out of the last five times or drops below the falling threshold five out of the last five times, perform the action defined by action-type. Optionally specify the number of violations that must occur and the number that must occur within a specified number. The default is 5 for both x-value and y-value.

 

average [attempts]—When the average of the last five response times exceeds the rising threshold or when the average of the last five response times drops below the falling threshold, perform the action defined by action-type. Optionally specify the number of operations to average. The default is the average of the last five response time operations. For example: if the threshold of the operation is 5000 ms and the last three attempts results of the operation are 6000, 6000, and 5000 ms, the average would be 6000 + 6000 + 5000=17000/3 > 5000, thus violating the 5000-ms threshold.

action-type option

(Optional) Specify what action or combination of actions the operation performs when you configure connection-loss-enable or timeout-enable, or threshold events occur. For the action-type to occur for threshold events, the threshold-type must be defined to anything other than never. Option can be one of the following keywords:

none—No action is taken.

trapOnly—Send an SNMP trap on both over and falling threshold violations.

nmvtOnly—Send an SNA NMVT Alert on over threshold violation and an SNA NMVT Resolution on falling threshold violations.

triggerOnly—Have one or more target operation's operational state make the transition from "pending" to "active" on over (and falling) threshold violations. The target operations are defined with the rtr reaction-trigger command. A target operation will continue until its life expires as specified by the target operation's life value configured with the rtr schedule global configuration command. A triggered target operation must finish its life before it can be triggered again.

trapAndNmvt—Send a combination of trapOnly and nmvtOnly.

trapAndTrigger—Send a combination of trapOnly and triggerOnly.

nmvtAndTrigger—Send a combination of nmvtOnly and triggerOnly.

trapNmvtAndTrigger—Send a combination of trapOnly, nmvtOnly, and triggerOnly.


Defaults

No reactions are generated.

Error verification is disabled.

Connection loss is disabled.

Checking the timeout is disabled.

The falling threshold value is 3000 ms.

The algorithm threshold is never.

Command Modes

Global configuration

Command History

Release
Modification

11.2

This command was introduced.

12.1(1)T

The verify-error-enable optional keyword was added.


Usage Guidelines

Triggers are used for diagnostics purposes and are not used in normal operation.

You can use triggers to assist you in determining where delays are happening in the network when excessive delays are being seen on an end-to-end basis.

The reaction applies only to attempts to the target (that is, attempts to any hops along the path in pathEcho do not generate reactions).


Note Keywords are not case sensitive and are shown in mixed case for readability only.


Examples

In the following example, operation 19 sends an SNMP trap when there is an over or falling threshold violation:

Router(config)# rtr reaction-configuration 19 threshold-type immediate action-type 
trapOnly

Figure 1 shows that an alert (rising trap) would be issued immediately when the response time exceeds the rising threshold and a resolution (falling trap) would be issued immediately when the response time drops below the falling threshold.

Figure 1 Example of Rising and Falling Thresholds

Related Commands

Command
Description

rtr

Specifies an SAA operation and enters SAA RTR configuration mode.

rtr reaction-trigger

Defines a second SAA operation to make the transition from a pending state to an active state when one of the trigger action-type options are defined with the rtr reaction-configuration global configuration command.

threshold

Sets the rising threshold (hysteresis) that generates a reaction event and stores history information for the SAA operation.

timeout

Sets the amount of time the SAA operation waits for a response from its request packet.


rtr reaction-trigger

To define a second Service Assurance Agent (SAA) operation to make the transition from a pending state to an active state when one of the trigger action-type options are defined with the rtr reaction-configuration command, use the rtr reaction-trigger command in global configuration mode. To remove the trigger combination, use the no form of this command.

rtr reaction-trigger operation-number target-operation

no rtr reaction-trigger operation

Syntax Description

operation-number

Number of the operation in the active state that has the action-type set with the rtr reaction-configuration global configuration command.

target-operation

Number of the operation in the pending state that is waiting to be triggered with the rtr global configuration command.


Defaults

No trigger combination is defined.

Command Modes

Global configuration

Command History

Release
Modification

11.2

This command was introduced.


Usage Guidelines

Triggers are usually used for diagnostics purposes and are not used in normal operation.

Examples

In the following example, the state of operation 1 is changed from pending state to active state when action-type of operation 2 occurs:

Router(config)# rtr reaction-trigger 2 1

Related Commands

Command
Description

rtr

Specifies an SAA operation and enters SAA RTR configuration mode.

rtr reaction-configuration

Configures certain actions to occur based on events under the control of the SAA.

rtr schedule

Configures the time parameters for an SAA operation.


rtr reset

To perform a shutdown and restart of the Service Assurance Agent engine, use the rtr reset command in global configuration mode.

rtr reset

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values.

Command Modes

Global configuration

Command History

Release
Modification

11.2

This command was introduced.


Usage Guidelines

The rtr reset command stops all operations, clears SAA/RTR configuration information, and returns the SAA feature to the startup condition. This command does not reread the SAA RTR configuration stored in startup-config in NVRAM. You must retype the configuration or load a previously saved configuration file.


Caution Use the rtr reset command only in extreme situations such as the incorrect configuration of a number of operations.

Examples

The following example resets SAA, clearing all stored SAA information and configuration:

Router(config)# rtr reset

Related Commands

Command
Description

rtr restart

Restarts a stopped SAA operation.


rtr responder

To enable the Service Assurance Agent (SAA) Responder for general SAA operations, use the rtr responder command in global configuration mode. To disable the SAA Responder, use the no form of this command.

rtr responder

no rtr responder

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled.

Command Modes

Global configuration

Command History

Release
Modification

12.0(3)T

This command was introduced.


Usage Guidelines

This command is used on the destination device for SAA operations to enable the sending of receiving of RTR Control packets. Enabling the SAA/RTR Responder allows the generation of packet loss statistics on the device sending SAA operations.

Examples

The following example enables the SAA Responder:

Router(config)# rtr responder

Related Commands

Command
Description

rtr responder type tcpConnect

Enables the SAA Responder for TCP Connect operations.

rtr responder type udpEcho

Enables the SAA Responder for UDP Echo and Jitter operations.


rtr responder type frame-relay

To enable the Service Assurance Agent (SAA) Responder on the operational target device for Frame Relay operations, use the rtr responder type frame-relay command in global configuration mode. To disable the SAA Responder, use the no form of this command.

rtr responder type frame-relay {all | interface {serial | fr-atm} interface-id dlci dlci-number}

no rtr responder type frame-relay {all | interface {serial | fr-atm} interface-id dlci dlci-number}

Syntax Description

all

Specifies that the SAA Responder will respond to Frame Relay operations on every interface and DLCI.

interface serial

Specifies the serial interface over which to respond to Frame Relay operations.

interface fr-atm

Specifies the Frame Relay interface over which to respond to Frame Relay operations.

interface-number

Frame Relay or Serial interface number.

dlci dlci-number

Specifies the Frame Relay PVC subinterface link (DLCI number) that is assigned to the interface.


Defaults

Disabled.

Command Modes

Global configuration

Command History

Release
Modification

12.2(2)T

This command was introduced.


Usage Guidelines

This command allows the SAA Responder to respond to Frame Relay operations without receiving RTR Control Protocol packets.

Note that if you use this command, packet loss statistics will not be able to be generated for the operation because the Responder will not be able to determine the order of the received packets. To generate packet loss statistics, use the rtr responder command without specifying an operation type.

Examples

In the following example, the SAA Responder is configured to respond to Frame Relay operations specifically on Serial interface 1/0, using DLCI number 16:

Router(config)# rtr responder type frame-relay interface serial1/0 dlci 16 

Related Commands

Command
Description

rtr

Specifies an SAA operation and enters RTR Entry configuration mode.


rtr responder type tcpConnect

To enable the Service Assurance Agent (SAA) Responder for TCP Connect operations, use the rtr responder type tcpConnect command in global configuration mode. To disable the SAA Responder, use the no form of this command.

rtr responder type tcpConnect ipaddress ip-address port port

no rtr responder type tcpConnect ipaddress ip-address port port

Syntax Description

ipaddress ip-address

(Optional) Specifies the IP address that the operation will be received at.

port port

(Optional) Specifies the port number that the operation will be received on.


Defaults

Disabled.

Command Modes

Global configuration

Command History

Release
Modification

12.0(3)T

This command was introduced.

12.1(1)T

The ipaddr and port keywords were added.


Usage Guidelines

This command is used on the destination device for SAA operations to enable the acceptance and return of TCP Connect operation packets.

Related Commands

Command
Description

rtr

Specifies an SAA operation and enters SAA RTR configuration mode.

rtr responder type frame-relay

Enables the SAA Responder for Frame Relay operations.

rtr responder type udpEcho

Enables the SAA Responder for UDP Echo and Jitter operations.


rtr responder type udpEcho

To enable the Service Assurance Agent (SAA) Responder for User Datagram Protocol (UDP) Echo or Jitter operations, use the rtr responder command in global configuration mode. To disable the SAA Responder, use the no form of this command.

rtr responder type udpEcho ipaddress ip-address port port

no rtr responder type udpEcho ipaddress ip-address port port

Syntax Description

ipaddress ip-address

Specifies the IP address that the operation will be received at.

port port

Specifies the port number that the operation will be received on.


Defaults

Disabled.

Command Modes

Global configuration

Command History

Release
Modification

12.1(1)T

This command was introduced.


Usage Guidelines

This command is used on the destination device for SAA operations to enable UPD Echo and Jitter (UDP+) operations on non-native interfaces.

Examples

The following example enables the SAA Responder for Jitter operations:

Router(config)# rtr responder type udpEcho ipaddress A.B.C.D port 1

Related Commands

Command
Description

rtr responder

Enables the SAA Responder for non-specific SAA operations.

rtr responder type frame-relay

Enables the SAA Responder for Frame Relay operations.


rtr restart

To restart an Service Assurance Agent (SAA) operation, use the rtr restart command in global configuration mode.

rtr restart operation-number

Syntax Description

operation-number

Number of the SAA operation to restart. SAA allows a maximum of 2000 operations.


Defaults

No default behavior or values.

Command Modes

Global configuration.

Command History

Release
Modification

12.1(1)T

This command was introduced.

12.2(11)T

The maximum number of operations was increased from 500 to 2000 (SAA Engine II).


Usage Guidelines

To restart an operation, the operation should be in an "active" state (as defined in the rtr reaction-configuration command).

SAA allows a maximum of 2000 operations.

This command does not have a no form.

Examples

The following example restarts operation 12:

Router(config)# rtr restart 12

Related Commands

Command
Description

rtr reset

Clears all current SAA/RTR statistics and configuration information from the router and resets the SAA engine.


rtr schedule

To configure the time parameters for an Service Assurance Agent (SAA) operation, use the rtr schedule command in global configuration mode. To stop the operation and place it in the default state (pending), use the no form of this command.

rtr schedule operation-number [life {forever | seconds}] [start-time {hh:mm[:ss] [month day | day month] | pending | now | after hh:mm::ss}] [ageout seconds]

no rtr schedule operation-number

Syntax Description

operation-number

Number of the SAA operation to schedule.

life seconds

(Optional) Number of seconds the operation actively collects information. The default is 3600 seconds (one hour).

life forever

(Optional) Schedules the operation to run indefinitely.

start-time

(Optional) Time when the operation starts collecting information. If the start-time is not specified, no information is collected until the start-time is configured or a trigger occurs that performs a start-time now.

start-time hh:mm[:ss]

(Optional) Specifies an absolute start time using hour, minute, and (optionally) second. Use the 24-hour clock notation. For example, start-time 01:02 means "start at 1:02 a.m.," and start-time 13:01:30 means "start at 1:01 p.m. and 30 seconds." The current day is implied unless you specify a month and day.

month

(Optional) Name of the month to start the operation in. If month is not specified, the current month is used. Use of this argument requires that a day be specified as well. You can specify the month with the full english name, or using the first three letters of the month.

day

(Optional) Number of the day (in the range 1 to 31) to start the operation on. If a day is not specified, the current day is used. Use of this argument requires that a month be specified as well.

start-time pending

(Optional) No information is collected. This is the default value.

start-time now

(Optional) Indicates that the operation should start immediately.

start-time after hh:mm:ss

(Optional) Indicates that the operation should start hh hours, mm minutes, and ss seconds after this command was entered.

ageout seconds

(Optional) Number of seconds to keep the operation in memory when it is not actively collecting information. The default is 0 seconds (never ages out).


Defaults

The operation is placed in a pending state (that is, the operation is enabled but not actively collecting information).

Command Modes

Global configuration

Command History

Release
Modification

11.2

This command was introduced.

12.1(1)T

The after and forever keywords were added.


Usage Guidelines

After you schedule the operation with the rtr schedule command, you cannot change the configuration of the operation. To change the configuration of the operation, use the no form of the rtr global configuration command and reenter the configuration information.

If the operation is in a pending state, you can define the conditions under which the operation makes the transition from pending to active with the rtr reaction-trigger and rtr reaction-configuration global configuration commands. When the operation is in an active state, it immediately begins collecting information.

The following time line shows the age-out process of the operation:

W----------------------X----------------------Y----------------------Z

where:

W is the time the operation was configured with the rtr global configuration command.

X is the start time or start of life of the operation (that is, when the operation became "active").

Y is the end of life as configured with the rtr schedule global configuration command (life seconds have counted down to zero).

Z is the age out of the operation.

Age out starts counting down at W and Y, is suspended between X and Y, and is reset to its configured size at Y.

It is possible for the operation to age out before it executes (that is, Z can occur before X). To ensure that this does not happen, the difference between the operation's configuration time and start time (X and W) must be less than the age-out seconds.


Note The total RAM required to hold the history and statistics tables is allocated at this time. This is to prevent router memory problems when the router gets heavily loaded and to lower the amount of overhead the feature causes on a router when it is active.


For SLM operations (type slm), the operation will always start at the nearest 15 minute interval since the router start time. For example, if the rtr schedule 1 start-time now command is used, the operation will not start until the next quarter-hour time increment.

Examples

In the following example, operation 25 begins actively collecting data at 3:00 p.m. on April 5. This operation will age out after 12 hours of inactivity, which can be before it starts or after it has finished with its life. When this operation ages out, all configuration information for the operation is removed (that is, the configuration information is no longer in the running-config in RAM).

Router(config)# rtr schedule 25 life 43200 start-time 15:00 apr 5 ageout 43200

In the following example, operation 1 begins collecting data after a 5 minute delay:

Router(config)# rtr schedule 1 start after 00:05:00

In the following example, operation 3 begins collecting data immediately and is scheduled to run indefinitely:

Router(config)# rtr schedule 3 start-time now life forever

Related Commands

Command
Description

rtr

Specifies an SAA operation and enters SAA RTR configuration mode.

rtr reaction-configuration

Configures certain actions to occur based on events under the control of the SAA.

rtr reaction-trigger

Defines a second SAA operation to make the transition from a pending state to an active state when one of the trigger action-type options is defined with the rtr reaction-configuration global configuration command.


rtr

To begin configuring an Service Assurance Agent (SAA) operation by entering SAA RTR configuration mode, use the rtr command in global configuration mode. To remove all configuration information for an operation, including the schedule of the operation, reaction configuration, and reaction triggers, use the no form of this command.

rtr operation-number

no rtr operation-number

Syntax Description

operation-number

Operation number used for the identification of the SAA operation you wish to configure.


Defaults

Disabled.

Command Modes

Global configuration

Command History

Release
Modification

11.2

This command was introduced.

12.2(11)T

The maximum number of operations was increased from 500 to 2000 (SAA Engine II).


Usage Guidelines

The rtr command is used to configure Cisco Service Assurance Agent (SAA) operations. Use this command to specify an identification number for the operation you are about to configure. After you enter this command, you will enter the SAA RTR configuration mode, indicated by the (config-rtr) router prompt. The "Related Commands" table lists the commands you can use in SAA RTR configuration mode.

For detailed information on the configuration of the Cisco SAA feature, see the "Network Monitoring Using Cisco Service Assurance Agent" chapter in the Cisco IOS Configuration Fundamentals Configuration Guide.

SAA allows a maximum of 2000 operations.

Debugging is supported only on the first 32 operation numbers.

After you configure a operation, you must schedule the operation. For information on scheduling a operation, refer to the rtr schedule global configuration command. You can also optionally set reaction triggers for the operation. For information on reaction triggers, refer to the rtr reaction-configuration and rtr reaction-trigger global configuration commands.


Note After you schedule an operation with the rtr schedule global configuration command, you cannot modify the configuration of the operation. To modify the configuration of the operation after it is scheduled, use the no rtr command. You can now reenter the operation's configuration with the rtr command.


To display the current configuration settings of the operation, use the show rtr configuration EXEC command.

Examples

In the following example, operation 1 is configured to perform end-to-end response time operations using an SNA LU Type 0 connection with the host name cwbc0a. Only the type SAA RTR configuration command is required; all others are optional.

Router(config)# rtr 1
Router(config-rtr)# type echo protocol snalu0echoappl cwbc0a
Router(config-rtr)# request-data-size 40
Router(config-rtr)# response-data-size 1440
Router(config-rtr)# exit
Router(config)#

Note If operation 1 already existed and it has not been scheduled, you are placed into SAA RTR configuration command mode. If the operation already exists and has been scheduled, this command will fail.


Related Commands

Command
Description

buckets-of-history-kept

Sets the number of history buckets that are kept during an SAA operation's lifetime.

distributions-of-statistics-kept

Sets the number of statistic distributions kept per hop during an SAA operation's lifetime.

filter-for-history

Defines the types of information to be kept in the history table for SAA operations.

frequency

Sets the frequency at which the operation should execute.

hops-of-statistics-kept

Sets the number of hops for which statistics are maintained per path for the SAA operation.

hours-of-statistics-kept

Sets the number of hours for which statistics are maintained for SAA operations.

lives-of-history-kept

Sets the number of lives maintained in the history table for an SAA operation.

lsr path

Specifies the path on which to measure the ICMP Echo response time.

owner

Configures the SNMP owner of an SAA operation.

paths-of-statistics-kept

Sets the number of paths for which statistics are maintained per hour for an SAA operation.

request-data-size

Sets the protocol data size in the payload of an operation's request packet.

response-data-size

Sets the protocol data size in the payload of an operation's response packet.

samples-of-history-kept

Sets the number of entries kept in the history table for an SAA operation.

statistics-distribution-interval

Sets the time interval for each statistical distribution.

tag

Logically links SAA operations together in a group.

threshold

Sets the rising threshold (hysteresis) that generates a reaction event and stores history information for the probe.

timeout

Sets the amount of time an SAA operation waits for a response from its request packet.

tos

Defines the IP type of service for request packets of SAA operations.

type dlsw

Configures an SAA DLSw operation.

type tcpConnect

Defines an SAA TCP Connect operation.

verify-data

Checks each SAA operation response for corruption.


rtr slm frame-relay statistics

To enable the Service Assurance Agent (SAA) or Cisco Networking Services (CNS) to collect Frame Relay performance monitoring statistics, use the rtr slm frame-relay statistics command in global configuration mode. To disable the collection of Frame Relay performance monitoring statistics, use the no form of this command.

rtr slm frame-relay statistics

no rtr slm frame-relay statistics

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled

Command Modes

Global configuration mode

Command History

Release
Modification

12.3(1)

This command was introduced.


Usage Guidelines

The rtr slm frame-relay statistics command should be issued prior to configuring any of the Frame Relay service level monitoring SAA operations (type slm interface, type slm controller, type slm frame-relay or type slm frame-relay pvc). Performance statistics are not retained for these operations until this command is issued.

This command does not affect the standard Frame Relay SAA operation (type frame-relay).

Examples

In the following example the SAA Frame Relay service level monitoring feature is enabled:

Router(config)# rtr slm frame-relay statistics 

Related Commands

Command
Description

type slm controller

Specifies that the SAA operation is an SLM controller operation, and specifies the controller that the operation should be run on.

type slm frame-relay interface

Specifies that the SAA operation is an SLM FR interface operation, and specifies the interface that the operation should be run on.

type slm frame-relay pvc interface

Specifies that the SAA operation is an SLM FR circuit operation, and specifies the interface and DLCI number that the operation should be run on.

type slm interface

Specifies that the SAA operation is an SLM interface operation, and specifies the interface that the operation should be run on.


saa apm cache-size

To set the size of the Service Assurance Agent (SAA) Application Performance Monitor (APM) cache, use the saa apm cache-size command in global configuration mode. To reset the SAA APM cache size to its default, use the no form of this command.

saa apm cache-size bytes

no saa apm cache-size bytes

Syntax Description

bytes

Number that specifies the size of the cache, in bytes. The default is 100000 bytes.


Defaults

The default APM cache size is 100000 bytes.

Command Modes

Global configuration

Command History

Release
Modification

12.2(2)T

This command was introduced.


Usage Guidelines

SAA APM script and scheduler files are kept in an area of memory called the SAA APM cache. The cache size is checked by the system before each attempt to copy a new file to the cache. If the file to be downloaded puts the cache over its size limit, a "cache trimming" operation is performed, and all files in the cache not tagged with a "sticky bit" (sticky=1) will be deleted.

Examples

In the following example, the SAA APM cache is set to 80,000 bytes (approximately 78 kilobytes):

Router(config)# saa apm cache-size 80000
Router(config)# end
Router#
00:01:50: %SYS-5-CONFIG_I: Configured from console by console
Router# show saa apm cache
 Cache Size (bytes): 80000
 Cache used (bytes): 793
 File Name                                TimeCreated TimeAccessed ref Type sticky
 apm.cf.1234567                              00:02:50     00:00:00   1 CFG  0
 apm/config/smtp-1000.cfg                    00:02:50     00:00:00   1 CFG  0

Related Commands

Command
Description

show saa apm cache

Displays the amount of memory available in the SAA APM cache and information about the files stored in the cache.


saa apm copy

To copy script or scheduler files from an FTP server to the device that will initiate the Service Assurance Agent (SAA) Application Performance Monitor (APM) operations, use the saa apm copy command in global configuration mode.

saa apm copy {script | scheduler} ftp://[username:password@]server-name/path-to-file/filename [sticky]

Syntax Description

script

Specifies that the file to be copied is an APM script file (.scr).

scheduler

Specifies that the file to be copied is an APM scheduler file (.sch).

ftp://

Begins the URL that specifies the file to copy from a remote FTP server.

username:password@

(Optional) Specifies a username and password as part of the URL. Use these arguments only if they are required on the server.

server-name

The server-name component of the URL.

path-to-file

Folder-path component of the URL. A folder-path can contain multiple folder names. Each folder should be separated using a forward slash (/).

filename

Name of the file to be copied from the server.

sticky

(Optional) Indicates that the copied file should not be deleted from the local APM cache during a cache trimming operation.


Defaults

No default behavior or values.

Command Modes

Global configuration

Command History

Release
Modification

12.2(2)T

This command was introduced.


Usage Guidelines

The saa apm copy command downloads an SAA APM script or scheduler file from an FTP server to the local SAA APM cache in NVRAM.

A file tagged as "sticky" will not be deleted from the local APM cache during a cache trimming operation. APM cache trimming operations are initiated when the saa apm lowWaterMark value is reached.

You can force a file tagged as "sticky" to be deleted using the clear saa apm cache command.

Examples

In the following example, a Frame Relay emulation script titled frm.scr is downloaded from the FTP server FTP101. The username joe and the password letmein are used to access the server:

Router(config)# saa apm copy script ftp://joe:letmein@FTP101/userbin/joefiles/frm.scr 
sticky

Related Commands

Command
Description

clear saa apm cache

Deletes files from the SAA APM cache.

saa apm lowWaterMark

Specifies the lowest amount of free memory that must be available on the system to allow additional SAA APM operations to be configured.


saa apm lowWaterMark

To specify the lowest amount of free memory that must be available on the system to allow additional Service Assurance Agent (SAA) Application Performance Monitor (APM) operations to be configured, use the saa apm lowWaterMark command in global configuration mode. To restore the default low-memory-watermark value, use the no form of this command.

saa apm lowWaterMark bytes

no saa apm lowWaterMark

Syntax Description

bytes

Number that specifies the size of the cache, in bytes.


Defaults

The default APM low-memory-watermark is 25 percent of free memory at startup.

Command Modes

Global configuration

Command History

Release
Modification

12.2(2)T

This command was introduced.


Usage Guidelines

The saa apm lowWaterMark global configuration command configures the lowest amount of free memory (low-memory-watermark) that must be available on the system. If the amount of available free memory falls below the value specified in the saa apm lowWaterMark command, then the SAA will not allow new APM operations to be configured. The default value is 25 percent of the memory available on the system at startup.


Note The smaller the low-memory-watermark value is, the more APM operations can be configured. If the value is set to 0, then APM operations can be created until the system runs out of memory. However, you should be careful not to set the low-memory-watermark too low, as all additional router processes must be able to run with the amount of memory specified by the saa apm lowWaterMark and rtr low-memory commands. Setting the low-memory-watermark to 0 is discouraged, as other router processes may not be left with enough system memory to function.


For example, if there are 6 MB of free memory when the router starts up, and the default low-memory-watermark of 25 percent is used, then the SAA APM can use up to 4.5 MB memory for creating operations. If the free memory drops below 1.5 MB, then new APM operations cannot be created.

The value of the saa apm lowWaterMark command should not exceed the amount of free memory available on the system. To determine the amount of free memory available on the system, use the show memory EXEC command.

The show saa apm information EXEC command will display the number of operations that can be configured on the device in the "Max Number of operations supported" field.

Examples

In the following example, the SAA APM low-memory-watermark is set to 3,145,728 bytes (3 MB):

Router(config)# saa apm lowWaterMark 3145728
Router(config)# end
Router# show saa apm information
        Service Assurance Agent: Application Performance Monitor

          APM Engine Version: 1.0
Max Number of oper supported: 23
 Number of configurable oper: 23
   Number of oper configured: 0
    Number of files in cache: 0
          Cache Size (bytes): 100000
          Cache used (bytes): 0
   APM low memory water-mark: 3,145,728

Related Commands

Command
Description

show saa apm information

Displays details about the SAA APM.


saa apm operation

To start or stop an Service Assurance Agent (SAA) Application Performance Monitor (APM) operation, use the saa apm operation command in global configuration mode. To delete existing SAA APM operations, use the no form of this command.

saa apm operation operation-number {start ftp://[user:password@]server-name/path-to-file/filename | stop}

no saa apm operation [operation-number]

Syntax Description

operation-number

A number which uniquely identifies the APM operation. In the no saa apm operation form of this command, this argument is optional. If an operation-number is not specified in the no form of this command, all APM operations are removed from the system configuration.

start

Starts the specified operation.

ftp://

Begins the URL that specifies the configuration file to use for the APM operation.

user:password@

(Optional) Allows you to specify a user-name and password as part of the URL if they are required on the server.

server-name

Server-name component of the URL.

path-to-file

Folder path component of the URL. Each folder should be separated using a forward slash (/).

filename

Name of the APM configuration (.cf) file to be used for the operation.

stop

Stops the specified operation.


Defaults

No SAA APM operations exist.

Command Modes

Global configuration

Command History

Release
Modification

12.2(2)T

This command was introduced.


Usage Guidelines

The following files are required to perform an SAA APM operation:

script file (.scr) available on the routing device running SAA

scheduler file (.sch) available on the routing device running SAA

configuration file (.cf) available on an FTP server

data file (.dat) available on an FTP server

All filenames can have a maximum of 255 characters.

The saa apm operation start command points to the APM configuration file to be used for the operation. The APM configuration file specifies the location of the other files used in the operation, and the target IP address for the operation.

To download script, configuration, data, and scheduler template files used by the SAA APM, and to download the documentation ("readme" files) for the scripts, go to the "Cisco SAA APM" page at http://www.cisco.com/pcgi-bin/tablebuild.pl/saa-apm.

After an operation is started using the saa apm operation start command, the operation should be stopped using the saa apm operation stop command.

Examples

In the following example, an SAA APM NNTP operation is started and stopped, and the operation is deleted from the configuration:

Router# config terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)# saa apm operation 2 start 
ftp://user:password@saa-nms/apm/config/nntp-20.cf
Router(config)#
1d09h: SAA-APM-1: downloading file (apm/config/nntp-20.cf) of size (532)
1d09h: SAA-APM-1: using cached file (apm/scheduler/master.sch)
1d09h: SAA-APM-1: using cached file (apm/scripts/nntp.scr)
1d09h: SAA-APM-1: sending APM_SCRIPT_DONE message
1d09h: SAA-APM-1: operation done
Router(config)# saa apm operation 2 stop
Router(config)# no saa apm operation 2

Related Commands

Command
Description

show saa apm results

Displays the data gathered using the SAA Application Performance Monitor.


samples-of-history-kept

To set the number of entries kept in the history table per bucket for the Service Assurance Agent (SAA) operation, use the samples-of-history-kept command in SAA RTR configuration mode. To return to the default value, use the no form of this command.

samples-of-history-kept samples

no samples-of-history-kept

Syntax Description

samples

Number of entries kept in the history table per bucket. The default is 16 entries for type pathEcho and 1 entry for type echo.


Defaults

16 entries for type pathEcho

1 entry for type echo

Command Modes

SAA RTR configuration

Command History

Release
Modification

11.2

This command was introduced.


Usage Guidelines

Use the samples-of-history-kept command to control how many entries are saved in the history table. To control the type of information that gets saved in the history table, use the filter-for-history command. To set how many buckets get created in the history table, use the buckets-of-history-kept command.

An operation can collect history and capture statistics. By default, history is not collected. When a problem arises where history is useful (for example, a large number of timeouts are occurring), you can configure the lives-of-history-kept SAA RTR configuration command to collect history.


Note Collecting history increases the usage of RAM. Only collect history when you think there is a problem. For general network response time information, use statistics.


Examples

In the following example, ten entries are kept in the history table for each of the lives of operation 3:

Router(config)# rtr 1
Router(config-rtr)# type pathecho protocol ipIcmpEcho 172.16.1.176
Router(config-rtr)# lives-of-history-kept 3
Router(config-rtr)# samples-of-history-kept 10

Related Commands

Command
Description

buckets-of-history-kept

Sets the number of history buckets that are kept during the lifetime of the SAA.

filter-for-history

Defines the type of information kept in the history table for the SAA operation.

lives-of-history-kept

Sets the number of lives maintained in the history table for the SAA operation.

rtr

Specifies an SAA operation and enters SAA RTR configuration mode.


scheduler allocate

To guarantee CPU time for processes, use the scheduler allocate command in global configuration mode. To restore the default, use the no form of this command.

scheduler allocate interrupt-time process-time

no scheduler allocate

Syntax Description

interrupt-time

Integer (in microseconds) that limits the maximum number of microseconds to spend on fast switching within any one network interrupt context. The range is from 400 to 60000 microseconds. The default is 4000 microseconds.

process-time

Integer (in microseconds) that guarantees the minimum number of microseconds to spend at the process level when network interrupts are disabled. The range is from 100 to 4000 microseconds. The default is 200 microseconds.


Defaults

Approximately 5 percent of the CPU is available for process tasks.

Command Modes

Global configuration

Command History

Release
Modification

11.2

This command was introduced.


Usage Guidelines

This command applies to the Cisco 7200 series and Cisco 7500 series routers.


Note Changing settings associated with CPU processes can negatively impact system performance.


Examples

The following example makes 20 percent of the CPU available for process tasks:

Router(config)# scheduler allocate 2000 500

Related Commands

Command
Description

scheduler interval

Controls the maximum amount of time that can elapse without running system processes.


scheduler heapcheck process

To perform a "sanity check" for corruption in memory blocks when a process switch occurs, use the scheduler heapcheck process command in global configuration mode. To disable this feature, use the no form of this command.

scheduler heapcheck process [memory [fast] [io] [multibus] [pci] [processor] [checktype {all | magic | pointer | refcount}]]

no scheduler heapcheck process

Syntax Description

memory

(Optional) Specifies checking all memory blocks and memory pools.

fast

(Optional) Specifies checking the fast memory block.

io

(Optional) Specifies checking the I/O memory block.

multibus

(Optional) Specifies checking the multibus memory block.

pci

(Optional) Specifies checking the process control information (PCI) memory block.

processor

(Optional) Specifies checking the processor memory block.

checktype

(Optional) Specifies checking specific memory pools.

all

(Optional) Specifies checking the value of the block magic, red zone, size, refcount, and pointers (next and previous).

magic

(Optional) Specifies checking the value of the block magic, red zone, and size.

pointer

(Optional) Specifies checking the value of the next and previous pointers.

refcount

(Optional) Specifies checking the value of the block magic and refcount.


Defaults

This command is not enabled by default. If no keywords are specified, a sanity check will be performed on all the memory blocks and memory pools.

Command Modes

Global configuration

Command History

Release
Modification

12.2(15)T

This command was introduced.


Usage Guidelines

When configuring this command, you can choose none or all memory block keywords (fast, io, multibus, pci, processor, and checktype).

Enabling this command has a significant impact on router performance.

Examples

The following example shows how to sanity check for corruption in the I/O memory block when a process switch occurs. In this example, the values of only the block magic, red zone, and size will be checked.

scheduler heapcheck process memory io checktype magic

The following example shows how to sanity check for corruption in the processor memory block when a process switch occurs. In this example, the values of only the next and previous pointers will be checked.

scheduler heapcheck process memory processor checktype pointer

Related Commands

Command
Description

memory sanity

Performs a "sanity check" for corruption in buffers and queues.


scheduler interval

To control the maximum amount of time that can elapse without running system processes, use the scheduler interval command in global configuration mode. To restore the default, use the no form of this command.

scheduler interval milliseconds

no scheduler interval

Syntax Description

milliseconds

Integer that specifies the interval (in milliseconds). The minimum interval that you can specify is 500 milliseconds; there is no maximum value.


Defaults

High-priority operations are allowed to use as much of the CPU as needed.

Command Modes

Global configuration

Command History

Release
Modification

10.0

This command was introduced.


Usage Guidelines

The normal operation of the network server allows the switching operations to use as much of the central processor as is required. If the network is running unusually heavy loads that do not allow the processor the time to handle the routing protocols, give priority to the system process scheduler. High-priority operations are allowed to use as much of the CPU as needed.


Note Changing settings associated with CPU processes can negatively impact system performance.


On the Cisco 7200 series and Cisco 7500 series, use the scheduler allocate global configuration command instead of the scheduler interval command.

Examples

The following example changes the low-priority process schedule to an interval of 750 milliseconds:

Router(config)# scheduler interval 750

Related Commands

Command
Description

scheduler allocate

Guarantees CPU time for processes.


send

To send messages to one or all terminal lines, use the send command in EXEC mode.

send {line-number | * | aux number | console number | tty number | vty number}

Syntax Description

line-number

Line number to which the message will be sent.

*

Sends a message to all lines.

aux number

Sends a message to the specified AUX port.

console number

Sends a message to the specified console port.

tty number

Sends a message to the specified asynchronous line.

vty number

Sends a message to the specified virtual asynchronous line.


Defaults

No messages are sent.

Command Modes

User EXEC

Priviledged EXEC

Command History

Release
Modification

11.2

This command was introduced.


Usage Guidelines

After entering this command, the system prompts for the message to be sent, which can be up to 500 characters long. Enter Ctrl-Z to end the message. Enter Ctrl-C to abort this command.


Caution Be aware that in some circumstances text sent using the send command may be interpreted as an executable command by the receiving device. For example, if the receiving device is Unix workstation, and the receiving device is in a state (shell) where commands can be executed, the incoming text, if a properly formated Unix command, will be accepted by the workstation as a command. For this reason, you should limit your exposure to potential messages from terminal servers or other Cisco IOS-based devices when running an interactive shell.

Examples

The following example sends a message to all lines:

2509# send *
Enter message, end with CTRL/Z; abort with CTRL/C:
The system 2509 will be shut down in 10 minutes for repairs.^Z
Send message? [confirm]
2509#
***
***
*** Message from tty0 to all terminals:
***
The system 2509 will be shut down in 10 minutes for repairs.

server (boomerang)

To configure the server address for a specified boomerang domain, use the server command in boomerang configuration mode. To remove this command from the configuration file and restore the system to its default condition with respect to this command, use the no form of this command.

server server-ip-address

no server server-ip-address

Syntax Description

server-ip-address

IP address of the specified server.


Defaults

No default behavior or values.

Command Modes

Boomerang configuration

Command History

Release
Modification

12.2(8)T

This command was introduced.


Usage Guidelines

The server command can be used only on a Director Response Protocol (DRP) agent. The boomerang client is the Director Response Protocol (DRP) agent.

Use the server command to specify a server address that is to be associated with a given domain name. This configuration overrides the server-to-DRP agent association that is configured on DistributedDirector.

Examples

The following example configures the server for a domain named www.boom1.com. The server address for www.boom1.com is 172.16.101.101:

Router(config)# ip drp domain www.boom1.com
Router(config-boomerang)# server 172.16.101.101

Router# show running-config
.
.
.
ip drp domain www.boom1.com
content-server 172.16.101.101

Related Commands

Command
Description

alias (boomerang)

Configures an alias name for a specified domain.

ip drp domain

Adds a new domain to the DistributedDirector client or configures an existing domain and puts the client in boomerang configuration mode.

show ip drp

Displays DRP statistics on DistributedDirector or a DRP server agent.

show ip drp boomerang

Displays boomerang information on the DRP agent.

ttl dns

Configures the number of seconds for which an answer received from the boomerang client will be cached by the DNS client.

ttl ip

Configures the IP TTL value for the boomerang response packets sent from the boomerang client to the DNS client in number of hops.


service compress-config

To compress startup configuration files, use the service compress-config command in global configuration mode. To disable compression, use the no form of this command.

service compress-config

no service compress-config

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled

Command Modes

Global configuration

Command History

Release
Modification

10.0

This command was introduced.


Usage Guidelines

After you configure the service compress-config command, the router will compress configuration files every time you save a configuration to the startup configuration. For example, when you enter the copy system:running-config nvram:startup-config command, the running configuration will be compressed before storage in NVRAM.

If the file compression succeeds, the following message is displayed:

Compressing configuration from configuration-size to compressed-size
[OK]

If the boot ROMs do not recognize a compressed configuration, the following message is displayed:

Boot ROMs do not support NVRAM compression Config NOT written to NVRAM

If the file compression fails, the following message is displayed:

Error trying to compress nvram

One way to determine whether a configuration file will be compressed enough to fit into NVRAM is to use a text editor to enter the configuration, then use the UNIX compress command to check the compressed size. To get a closer approximation of the compression ratio, use the UNIX compress -b12 command.

Once the configuration file has been compressed, the router functions normally. At boot time, the system recognizes that the configuration file is compressed, uncompresses it, and proceeds normally. A partition nvram:startup-config command uncompresses the configuration before displaying it.

To disable compression of the configuration file, enter configuration mode and specify the no service compress-config command. Then, exit global configuration mode and enter the copy system:running-config nvram:startup-config command. The router displays an OK message if it is able to write the uncompressed configuration to NVRAM. Otherwise, the router displays an error message indicating that the configuration is too large to store. If the configuration file is larger than the physical NVRAM, the following message is displayed:

##Configuration too large to fit uncompressed in NVRAM Truncate configuration? [confirm]

When the file is truncated, commands at the end of the file are erased. Therefore, you will lose part of your configuration. To truncate and save the configuration, type Y. To not truncate and not save the configuration, type N.

Examples

In the following example, the configuration file is compressed:

Router# configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)# service compress-config
Router(config)# end
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router# copy system:running-config nvram:startup-config
Building configuration...
Compressing configuration from 1179 bytes to 674 bytes
[OK]

Related Commands

Command
Description

partition nvram:startup-config

Separates Flash memory into partitions on Class B file system platforms.


service config

To enable autoloading of configuration files from a network server, use the service config command in global configuration mode. To restore the default, use the no form of this command.

service config

no service config

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled, except on systems without NVRAM or with invalid or incomplete information in NVRAM. In these cases, autoloading of configuration files from a network server is enabled automatically.

Command Modes

Global configuration

Command History

Release
Modification

10.0

This command was introduced.


Usage Guidelines

Usually, the service config command is used in conjunction with the boot host or boot network command. You must enter the service config command to enable the router to automatically configure the system from the file specified by the boot host or boot network command.

With IOS software versions 12.3(2)T , 12.3(1)B, and later, you no longer have to specify the service config command for the boot host or boot network command to be active.

If you specify both the no service config command and the boot host command, the router attempts to find the specified host configuration file. The service config command can also be used without the boot host or boot network command. If you do not specify host or network configuration filenames, the router uses the default configuration files. The default network configuration file is network-confg. The default host configuration file is host-confg, where host is the hostname of the router. If the Cisco IOS software cannot resolve its hostname, the default host configuration file is router-confg.

Examples

In the following example, a router is configured to autoload the default network and host configuration files. Because no boot host or boot network commands are specified, the router uses the broadcast address to request the files from a TFTP server.

Router(config)# service config

The following example changes the network configuration filename to bridge_9.1, specifies that rcp is to be used as the transport mechanism, and gives 172.16.1.111 as the IP address of the server on which the network configuration file resides:

Router(config)# service config
Router(config)# boot network rcp://172.16.1.111/bridge_9.1

Related Commands

Command
Description

boot host

Changes the default name of the host configuration filename from which to load configuration commands.

boot network

Changes the default name of the network configuration file from which to load configuration commands.


service decimal-tty

To specify that line numbers be displayed and interpreted as octal numbers rather than decimal numbers, use the no service decimal-tty command in global configuration mode. To restore the default, use the service decimal-tty command.

service decimal-tty

no service decimal-tty

Syntax Description

This command has no arguments or keywords.

Defaults

Enabled (line numbers displayed as decimal numbers)

Command Modes

Global configuration

Command History

Release
Modification

10.0

This command was introduced.


Examples

In the following example, the router is configured to display decimal rather than octal line numbers:

Router(config)# service decimal-tty

service exec-wait

To delay the startup of the EXEC on noisy lines, use the service exec-wait command in global configuration mode. To disable the delay function, use the no form of this command.

service exec-wait

no service exec-wait

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled

Command Modes

Global configuration

Command History

Release
Modification

10.0

This command was introduced.


Usage Guidelines

This command delays startup of the EXEC until the line has been idle (no traffic seen) for 3 seconds. The default is to enable the line immediately on modem activation.

This command is useful on noisy modem lines or when a modem attached to the line is configured to ignore MNP/V.42 negotiations, and MNP/V.42 modems may be dialing in. In these cases, noise or MNP/V.42 packets may be interpreted as usernames and passwords, causing authentication failure before the user has a chance to type a username or password. The command is not useful on nonmodem lines or lines without some kind of login configured.

Examples

The following example delays the startup of the EXEC:

Router(config)# service exec-wait

service finger

The service finger command has been replaced by the ip finger command. However, the service finger and no service finger commands continue to function to maintain backward compatibility with older versions of Cisco IOS software. Support for this command may be removed in a future release. See the description of the ip finger command for more information.

service hide-telnet-address

To hide addresses while trying to establish a Telnet session, use the service hide-telnet-address command in global configuration mode. To disable this service, use the no form of this command.

service hide-telnet-address

no service hide-telnet-address

Syntax Description

This command has no arguments or keywords.

Defaults

Addresses are displayed.

Command Modes

Global configuration

Command History

Release
Modification

11.2

This command was introduced.


Usage Guidelines

When you attempt to connect to a device, the router displays addresses and other messages (for example, "Trying router1 (171.69.1.154, 2008)...)." With the hide feature, the router suppresses the display of the address (for example, "Trying router1 address #1..."). The router continues to display all other messages that would normally be displayed during a connection attempt, such as detailed error messages if the connection was not successful.

The hide feature improves the functionality of the busy-message feature. When you configure only the busy-message command, the normal messages generated during a connection attempt are not displayed; only the busy-message is displayed. When you use the hide and busy features together you can customize the information displayed during Telnet connection attempts. When you configure the service hide-telnet-address command and the busy-message command, the router suppresses the address and displays the message specified with the busy-message command if the connection attempt is not successful.

Examples

The following example hides Telnet addresses:

Router(config)# service hide-telnet-address

Related Commands

Command
Description

busy-message

Creates a "host failed" message that is displayed when a connection fails.


service linenumber

To configure the Cisco IOS software to display line number information after the EXEC or incoming banner, use the service linenumber command in global configuration mode. To disable this function, use the no form of this command.

service linenumber

no service linenumber

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled

Command Modes

Global configuration

Command History

Release
Modification

10.0

This command was introduced.


Usage Guidelines

With the service linenumber command, you can have the Cisco IOS software display the host name, line number, and location each time an EXEC process is started, or an incoming connection is made. The line number banner appears immediately after the EXEC banner or incoming banner. This feature is useful for tracking problems with modems, because the host and line for the modem connection are listed. Modem type information can also be included.

Examples

In the following example, a user Telnets to Router2 before and after the service linenumber command is enabled. The second time, information about the line is displayed after the banner.

Router1> telnet Router2

Trying Router2 (172.30.162.131)... Open

Welcome to Router2.

User Access Verification

Password:
Router2> enable
Password:
Router2# configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router2(config)# service linenumber
Router2(config)# end
Router2# logout

[Connection to Router2 closed by foreign host]
Router1> telnet Router2
Trying Router2 (172.30.162.131)... Open

Welcome to Router2.

Router2 line 10


User Access Verification

Password:
Router2>

Related Commands

Command
Description

show users

Displays information about the active lines on the router.


service nagle

To enable the Nagle congestion control algorithm, use the service nagle command in global configuration mode. To to disable the algorithm, use the no form of this command.

service nagle

no service nagle

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled

Command Modes

Global configuration

Command History

Release
Modification

10.0

This command was introduced.


Usage Guidelines

When using a standard TCP implementation to send keystrokes between machines, TCP tends to send one packet for each keystroke typed. On larger networks, many small packets use up bandwidth and contribute to congestion.

The algorithm developed by John Nagle (RFC 896) helps alleviate the small-packet problem in TCP. In general, it works this way: The first character typed after connection establishment is sent in a single packet, but TCP holds any additional characters typed until the receiver acknowledges the previous packet. Then the second, larger packet is sent, and additional typed characters are saved until the acknowledgment comes back. The effect is to accumulate characters into larger chunks, and pace them out to the network at a rate matching the round-trip time of the given connection. This method is usually effective for all TCP-based traffic. However, do not use the service nagle command if you have XRemote users on X Window system sessions.

Examples

The following example enables the Nagle algorithm:

Router(config)# service nagle

service prompt config

To display the configuration prompt (config), use the service prompt config command in global configuration mode. To remove the configuration prompt, use the no form of this command.

service prompt config

no service prompt config

Syntax Description

This command has no arguments or keywords.

Defaults

The configuration prompts appear in all configuration modes.

Command Modes

Global configuration

Command History

Release
Modification

11.1

This command was introduced.


Examples

In the following example, the no service prompt config command prevents the configuration prompt from being displayed. The prompt is still displayed in EXEC mode. When the service prompt config command is entered, the configuration mode prompt reappears.

Router# configure terminal

Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)# no service prompt config
hostname newname
end
newname# configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
service prompt config
newname(config)# hostname Router
Router(config)# end
Router#

Related Commands

Command
Description

hostname

Specifies or modifies the host name for the network server.

prompt

Customizes the prompt.


service sequence-numbers

To enable visible sequence numbering of system logging messages, use the service sequence-numbers command in global configuration mode. To disable visible sequence numbering of logging messages, use the no form of this command.

service sequence-numbers

no service sequence-numbers

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled.

Command Modes

Global configuration

Command History

Release
Modification

12.0

This command was introduced.


Usage Guidelines

Each system status messages logged in the system logging process have a sequence reference number applied. This command makes that number visible by displaying it with the message. The sequence number is displayed as the first part of the system status message. See the description of the logging commands for information on displaying logging messages.

Examples

In the following example logging message sequence numbers are enabled:

.Mar 22 15:28:02 PST: %SYS-5-CONFIG_I: Configured from console by console
Router# config terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)# service sequence-numbers 
Router(config)# end 
Router#
000066: .Mar 22 15:35:57 PST: %SYS-5-CONFIG_I: Configured from console by console

Related Commands

Command
Description

logging on

Enables system logging globally.

service timestamps

Enables time-stamping of system logging messages or debugging messages.