HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 53

telnet ipv6

Page 53 highlights

Description Use telnet client source to specify the source IPv4 address or source interface for sending Telnet packets when the device serves as a Telnet client. Use undo telnet client source to remove the source IPv4 address or source interface for sending Telnet packets. By default, no source IPv4 address or source interface for sending Telnet packets is specified. The source IPv4 address is selected by routing. The source IPv4 address or source interface specified by this command is applicable all Telnet connections. If you use both this command and the telnet command to specify the source IPv4 address or source interface, the source IPv4 address or interface specified by the telnet command takes effect. Related commands: display telnet client configuration. Examples # Specify the source IPv4 address for sending Telnet packets when the device serves as a Telnet client as 1.1.1.1. system-view [Sysname] telnet client source ip 1.1.1.1 telnet ipv6 Syntax View telnet ipv6 remote-host [ -i interface-type interface-number ] [ port-number ] User view Default level 0: Visit level Parameters remote-host: IP address or host name of a remote host, a case-insensitive string of 1 to 46 characters. -i interface-type interface-number: Specifies the outbound interface for sending Telnet packets, where interface-type interface-number represents the interface type and number. If the destination address is a link-local address, provide the -i interface-type interface-number argument. port-number: TCP port number for the remote host to provide the Telnet service. It is in the range of 0 to 65535 and defaults to 23. Description Use telnet ipv6 to Telnet to a remote host in an IPv6 network. To terminate the current Telnet connection, press Ctrl+K or use the quit command. Examples # Telnet to the remote host with the IPv6 address 5000::1. telnet ipv6 5000::1 46

  • 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
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180

46
Description
Use
telnet client source
to specify the source IPv4 address or source interface for sending Telnet packets
when the device serves as a Telnet client.
Use
undo telnet client source
to remove the source IPv4 address or source interface for sending Telnet
packets.
By default, no source IPv4 address or source interface for sending Telnet packets is specified. The source
IPv4 address is selected by routing.
The source IPv4 address or source interface specified by this command is applicable all Telnet
connections.
If you use both this command and the
telnet
command to specify the source IPv4 address or source
interface, the source IPv4 address or interface specified by the
telnet
command takes effect.
Related commands:
display telnet client configuration
.
Examples
# Specify the source IPv4 address for sending Telnet packets when the device serves as a Telnet client as
1.1.1.1.
<Sysname> system-view
[Sysname] telnet client source ip 1.1.1.1
telnet ipv6
Syntax
telnet
ipv6
remote-host
[
-i
interface-type
interface-number
] [
port-number
]
View
User view
Default level
0: Visit level
Parameters
remote-host
: IP address or host name of a remote host, a case-insensitive string of 1 to 46 characters.
-i
interface-type interface-number
: Specifies the outbound interface for sending Telnet packets, where
interface-type interface-number
represents the interface type and number. If the destination address is a
link-local address, provide the
–i
interface-type interface-number
argument.
port-number
: TCP port number for the remote host to provide the Telnet service. It is in the range of 0 to
65535 and defaults to 23.
Description
Use
telnet ipv6
to Telnet to a remote host in an IPv6 network. To terminate the current Telnet connection,
press
Ctrl+K
or use the
quit
command.
Examples
# Telnet to the remote host with the IPv6 address 5000::1.
<Sysname> telnet ipv6 5000::1