Operation Manual

IP Services Commands
IP Services Commands
8 – 145
telnet
Opens a Telnet client session with a remote device.
Syntax
telnet {ip-addr | hostname} [port port-num]
Defaults
MSS attempts to establish Telnet connections with TCP port 23 by default.
Access
Enabled.
History
Introduced in MSS Version 1.1.
Usage
To end a Telnet session from the remote device, press Ctrl+t or type exit in the management
session on the remote device. To end a client session from the local device, use the clear sessions
telnet client command.
If the configuration of the MX on which you enter the telnet command has an ACL that denies Telnet
client traffic, the ACL also denies access by the telnet command.
Examples
In the following example, an administrator establishes a Telnet session with another MX
and enters a command on the remote MX:
MX# telnet 10.10.10.90
Session 0 pty tty2.d Trying 10.10.10.90...
Connected to 10.10.10.90
Disconnect character is '^t'
Copyright (c) 2002, 2003
Trapeze Networks, Inc.
Username: username
Password: password
MX-remote> show vlan
Admin VLAN Tunl Port
VLAN Name Status State Affin Port Tag State
---- ---------------- ------ ----- ----- ---------------- ----- -----
1 default Up Up 5
1 none Up
3 red Up Up 5
10 backbone Up Up 5
21 none Up
22 none Up
When the administrator presses Ctrl+t to end the Telnet connection, the management session returns
to the local MX prompt:
MX-remote> Session 0 pty tty2.d terminated tt name tty2.d
MX#
See Also
clear sessions on page 19-449
show sessions on page 19-451
ip-addr IP address of the remote device.
hostname Hostname of the remote device.
port port-num TCP port number that the TCP server on the remote device listens for Telnet
connections.