41
The source IPv4 address or source interface that is specified by this command applies to all Telnet
connections. However, if a user specifies a source IPv4 address or source interface when executing the
telnet
command, the setting specified by the user takes effect.
Examples
# Set the source IPv4 address for outgoing Telnet packets to 1.1.1.1 when the device serves as a Telnet
client.
<Sysname> system-view
[Sysname] telnet client source ip 1.1.1.1
Related commands
display telnet client configuration
telnet server acl
Use
telnet server acl
to apply an ACL to filter Telnet logins.
Use
undo
telnet server acl
to restore the default.
Syntax
telnet server acl
acl-number
undo telnet server acl
Default
No ACL is used to filter Telnet logins.
Views
System view
Predefined user roles
network-admin
Parameters
acl-number
: Specifies an ACL by its number:
•
Basic ACL
—2000 to 2999.
•
Advanced ACL
—3000 to 3999.
•
Ethernet frame header ACL
—4000 to 4999.
Usage guidelines
This command is not supported in FIPS mode.
Only one ACL can be used to filter Telnet logins, and only users permitted by the ACL can Telnet to the
device.
This command does not take effect on existing Telnet connections.
You can specify an ACL that has not been created yet in this command. The command takes effect after
the ACL is created.
For more information about ACL, see
ACL and QoS Configuration Guide
.
Examples
# Permit only the user at 1.1.1.1 to Telnet to the device.
<Sysname> system-view