42
[Sysname] acl number 2001
[Sysname-acl-basic-2001] rule permit source 1.1.1.1 0
[Sysname-acl-basic-2001] quit
[Sysname] telnet server acl 2001
telnet server dscp
Use
telnet server dscp
to set the DSCP value for IPv4 to use for outgoing Telnet packets on a Telnet server.
Use
undo telnet server dscp
to restore the default.
Syntax
telnet server dscp
dscp-value
undo telnet server dscp
Default
IPv4 uses the DSCP value 48 for outgoing Telnet packets on a Telnet server.
Views
System view
Predefined user roles
network-admin
Parameters
dscp-value
: Specifies a DSCP value in the range of 0 to 63.
Usage guidelines
This command is not supported in FIPS mode.
The DSCP value is carried in the ToS field of an IP packet, and it indicates the transmission priority of the
packet.
Examples
# Set the DSCP value for IPv4 to use for outgoing Telnet packets to 30 on a Telnet server.
<Sysname> system-view
[Sysname] telnet server dscp 30
telnet server enable
Use
telnet server enable
to enable the Telnet server function.
Use
undo
telnet server enable
to disable the Telnet server function.
Syntax
telnet server enable
undo telnet server enable
Default
The Telnet server function is disabled.