ssh server dscp

Function

The ssh server dscp command configures a DSCP value for the SSH packets sent by a server.

The undo ssh server dscp command restores the default DSCP value of the SSH packets sent by a server.

By default, the DSCP value of SSH packets is 48.

Format

ssh server dscp value

undo ssh server dscp value

undo ssh server dscp

Parameters

Parameter Description Value
value

Specifies a DSCP value for the SSH packets sent by a server.

The value is an integer ranging from 0 to 63.

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ssh-server write

Usage Guidelines

  • To change the priority of the SSH packets sent by a server, run the ssh server dscp command to change the DSCP value of the packets. A greater DSCP value indicates a higher priority.
  • The priority of this command is higher than that of the host-packet type dscp command. If a DSCP value is configured using this command, the configured value takes effect. If a DSCP value is configured using the host-packet type dscp command rather than this command, the value configured using the host-packet type dscp command takes effect. If no DSCP value is configured using the preceding commands, the default DSCP value is used.
  • When you run the undo ssh server dscp command:
    • If value is not specified, the DSCP field is restored to the default value.
    • If value is 48, the DSCP field is restored to the default value.
    • If value is set to a non-48 value, the value must be the same as value in the telnet server dscp command. Otherwise, the command execution fails.
    • The command only takes effect for IPv4 packets.

Example

# Set the DSCP value to 10 for the SSH packets sent by a server.
<HUAWEI> system-view
[~HUAWEI] ssh server dscp 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >