< Home

telnet ipv6 server-source

Function

The telnet ipv6 server-source command specifies an IPv6 source address for a Telnet server.

The undo telnet ipv6 server-source command cancels the IPv6 source address specified for a Telnet server.

By default, the IPv6 source address of a Telnet server is ::.

Format

telnet ipv6 server-source -a ipv6_address [ -vpn-instance vpn_name ]

undo telnet ipv6 server-source

Parameters

Parameter Description Value

-a ipv6_address

Specifies the IPv6 source address for a Telnet server.

The total length of an IPv6 address is 128 bits, which are divided into eight groups. Each group contains four hexadecimal digits. The value is in the format X:X:X:X:X:X:X:X.

-vpn-instance vpn_name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces. The VPN instance name cannot be _public_. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

By default, a Telnet server accepts connection requests from all IPv6 addresses, as a result of which system security is low. For security purposes, run the telnet ipv6 server-source command to specify an IPv6 source address for the Telnet server. In this case, users can log in to the Telnet server only using this IPv6 address.

Prerequisites

A VPN instance has been created before you specify it for a Telnet server. Otherwise, the telnet ipv6 server-source command cannot be executed.

Configuration Impact

After an IPv6 source address is specified for a Telnet server, Telnet users can log in to the Telnet server only using this IPv6 address. This configuration applies to the Telnet users who attempt to log in to the server, not to the Telnet users who have logged in to the server.

Precautions

After an IPv6 source address is specified for a Telnet server using this command, ensure that Telnet users can access this IPv6 address at Layer 3. Otherwise, Telnet users will fail to log in to the Telnet server.

If the specified IPv6 source address is bound to a VPN instance, the Telnet server is also bound to the VPN instance.

Example

# Specify the IPv6 source address 1::1 for a Telnet server.

<HUAWEI> system-view
[HUAWEI] telnet ipv6 server-source -a 1::1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >