cc/td/doc/product/software/ios113ed/113t
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

UNIX-Style Syntax for rlogin Connections

Feature Summary

Platforms

Supported MIBs and RFCs

Configuration Tasks

Configuration Example

Command Reference

What to Do Next

UNIX-Style Syntax for rlogin Connections

Feature Summary

The rlogin command now supports the standard Berkeley Software Distribution (BSD) UNIX -l option.

The previous EXEC level rlogin command allowed remote users to log in using the /user username option, which was not compatible with the standard UNIX rlogin -l username option.

Benefits

Support for the UNIX-style rlogin command allows users with existing BSD UNIX dial-up scripts to use these scripts without modification.

Platforms

This feature is supported on all of Cisco's TCP/IP-enabled routers and access servers.

Supported MIBs and RFCs

None.

Configuration Tasks

The following tasks are required to use rlogin:

Configure


Table 1: Configuring rlogin
Step Command Purpose
1
4500> enable
Password: <password>
4500> 
Enter enable mode.

Enter the password.

You have entered EXEC mode when the prompt changes to 4500>.

2
4500> rlogin hostname
Enter the name of the host.
Enter the name of the host to which you are connecting.
3
4500> rlogin hostname [-l hostname] [/user hostname]
Enter the user name.
4
4500> rlogin hostname [-l hostname] [/user hostname] [debug]
Enter debug to troubleshoot the connection from the remote site to the host.
5
4500> exit
Hang up the connection.

Configuration Example

The following example illustrates how the user, Joe Smith, can use rlogin ? (help) and debug to establish and troubleshoot a remote connection to the host Alviso:

4500> rlogin ?
  WORD IP address or hostname of a remote system
4500> rlogin Alviso ?
  -l     Specify remote username
  /user  Specify remote username
  debug  Enable rlogin debugging output
  <cr>
4500> rlogin Alviso -l ?
  WORD  Remote user name
4500> rlogin Alviso -l jsmith ?
  debug  Enable rlogin debugging output
  <cr>
4500> rlogin Alviso -l jsmith debug 

Command Reference

rlogin

To log in to a UNIX host using rlogin, use the rlogin EXEC command:

rlogin host [-l username] [/user username] [debug]
Syntax Description
host Specifies the host name or IP address.
-l username (Optional) The BSD UNIX syntax which specifies a user name for the remote login. If you do not use this option, the remote user name is your local user name.
/user username (Optional) The EXEC command syntax which specifies a remote user name in the initial exchange with the remote host. The rlogin protocol will not present you with the login prompt.
debug (Optional) Enables debugging output from the rlogin protocol.
Command Mode

EXEC

Usage Guidelines

This command first appeared in Cisco IOS Release 10.0.

You can have several concurrent rlogin connections open and switch back and forth between them. To open a new connection, suspend the current connection by pressing the escape sequence (Ctrl-Shift-6 then x [Ctrl^x] by default) to return to the EXEC prompt, then open a new connection. A user cannot automatically log in to a UNIX system from the router, but must provide a user ID and a password for each connection.

If your preferred transport is set to rlogin, you can use the connect command in place of the rlogin command. Refer to the Dial Solutions Configuration Guide for more information about configuring a preferred transport type. When your preferred transport is set to none or to another protocol, you must use the rlogin command to connect to a host.

To terminate an active rlogin session, issue the appropriate command from the following list at the UNIX prompt of the device to which you are connecting:

Examples

The following example illustrates how the user, Joe Smith, can use rlogin ? (help) to make and debug a remote connection to the host Alviso:

4500> rlogin ?
  WORD  IP address or hostname of a remote system
4500> rlogin Alviso ?
  -l     Specify remote username
  /user  Specify remote username
  debug  Enable rlogin debugging output
  <cr>
4500> rlogin Alviso -l ?
  WORD  Remote user name
4500> rlogin Alviso -l jsmith?
 debug Enable rlogin debugging output
  <cr>
4500> rlogin Alviso -l jsmith debug 

The following example illustrates debug return on the host, zipper, by the user, staff:

yak# rlogin zipper.cisco.com -l staff debug
Trying zipper.cisco.com (171.69.63.31)... Open
RLOGIN: local username is: ciscoTS
RLOGIN: remote username is: staff
Password: 
Last login: Wed Jun 24 06:15:36 from itech-view3.cisc
1 zipper> uptime
  1:40pm  up 42 day(s), 20:53,  80 users,  load average: 1.44, 2.67, 3.39
2 zipper> logout
[Connection to zipper.cisco.com closed by foreign host]
yak#

The following example makes an rlogin connection to a host at address 108.33.21.2 for a user named supervisor and enables the message mode for debugging:

router> rlogin 108.33.21.2 -l supervisor debug

The following example makes an rlogin connection to a host named headquarters for the user named admin:

router> rlogin headquarters -l admin
Related Commands

connect
telnet

What to Do Next

For more information, refer to the "Configure Support for Telnet and Rlogin Calls" chapter in the Dial Solutions Configuration Guide.

hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1998 © Cisco Systems Inc.