HP 6125XLG R2306-HP 6125XLG Blade Switch Fundamentals Configuration Guide - Page 37

Using the device to log in to a Telnet server

Page 37 highlights

Step Command 9. Set the idle timeout. idle-timeout minutes [ seconds ] 10. Specify a command to be automatically executed when users log in to the user interfaces. auto-execute command command Remarks By default, the idle timeout is 10 minutes for all user interfaces. If there is no interaction between the device and the user within the idle timeout, the system automatically terminates the user connection on the user interface. If you set the idle timeout to 0, the session will not be aged out. By default, no automatically executed command is specified. Using the device to log in to a Telnet server You can use the device as a Telnet client to log in to a Telnet server. If the server is located in a different subnet than the device, make sure the two devices have routes to reach each other. Figure 11 Telnetting from the device to a Telnet server To use the device to log in to a Telnet server: Step 1. Enter system view. Command system-view 2. (Optional.) Specify the source IPv4 address or source interface for outgoing Telnet packets. telnet client source { interface interface-type interface-number | ip ip-address } 3. Exit to user view. quit • Log in to an IPv4 Telnet server: telnet remote-host [ service-port ] [ vpn-instance vpn-instance-name ] [ source { interface interface-type 4. Use the device to log in to interface-number | ip ip-address } ] a Telnet server. • Log in to an IPv6 Telnet server: telnet ipv6 remote-host [ -i interface-type interface-number ] [ port-number ] [ vpn-instance vpn-instance-name ] Remarks N/A By default, no source IPv4 address or source interface is specified, and the primary IPv4 address of the outbound interface is used as the source address for outgoing Telnet packets. N/A Use either command. 30

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155

30
Step
Command
Remarks
9.
Set the idle timeout.
idle-timeout
minutes
[
seconds
]
By default, the idle timeout is 10 minutes for all
user interfaces.
If there is no interaction between the device and
the user within the idle timeout, the system
automatically terminates the user connection on
the user interface.
If you set the idle timeout to 0, the session will not
be aged out.
10.
Specify a command to
be automatically
executed when users
log in to the user
interfaces.
auto-execute command
command
By default, no automatically executed command
is specified.
Using the device to log in to a Telnet server
You can use the device as a Telnet client to log in to a Telnet server. If the server is located in a different
subnet than the device, make sure the two devices have routes to reach each other.
Figure 11
Telnetting from the device to a Telnet server
To use the device to log in to a Telnet server:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
(Optional.) Specify the
source IPv4 address or
source interface for
outgoing Telnet packets.
telnet client source
{
interface
interface-type interface-number
|
ip
ip-address
}
By default, no source IPv4
address or source interface is
specified, and the primary IPv4
address of the outbound
interface is used as the source
address for outgoing Telnet
packets.
3.
Exit to user view.
quit
N/A
4.
Use the device to log in to
a Telnet server.
Log in to an IPv4 Telnet server:
telnet
remote-host
[
service-port
]
[
vpn-instance
vpn-instance-name
]
[
source
{
interface
interface-type
interface-number
|
ip
ip-address
} ]
Log in to an IPv6 Telnet server:
telnet
ipv6
remote-host
[
-i
interface-type interface-number
]
[
port-number
] [
vpn-instance
vpn-instance-name
]
Use either command.