1-22
Description
Use the
sysname
command to set a system name for the switch.
Use the
undo sysname
command to revert to the default system name.
The CLI prompt reflects the system name of a switch. For example, if the system name of a switch is
“4510G”, then the prompt of user view is <4510G >.
Examples
# Set the system name of the switch to
ABC
.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] sysname ABC
[ABC]
telnet
Syntax
telnet remote-system
[
port-number
] [
source
{
ip ip-address
|
interface interface-type
interface-number
} ]
View
User view
Default Level
0: Visit level
Parameters
remote-system
: IP address or host name of the remote system. The host name is a string of 1 to 20
characters, which can be specified using the
ip host
command.
port-number
: TCP port number assigned to Telnet service on the remote system, in the range 0 to
65535.
ip-address
: Source IP address of the packets sent by the Telnet client.
interface-type interface-number
: Type and number of the interface through which the Telnet client
sends packets.
Description
Use the
telnet
command to Telnet to another switch from the current switch to manage the former
remotely. You can terminate a Telnet connection by pressing <Ctrl + K>.
Related commands:
display tcp status, ip host
.
Examples
# Telnet to the switch with the host name of
Sysname2
and IP address of 129.102.0.1 from the current
switch (with the host name of
Sysname1
).
<Sysname1> telnet 129.102.0.1
Trying 129.102.0.1 ...
Press CTRL+K to abort
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...