Setting the DSCP value for packets sent by the SFTP client

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Set the DSCP value for packets sent by the SFTP client.

  • Set the DSCP value for IPv4 packets sent by the SFTP client:sftp client dscp dscp-value

  • Set the DSCP value for IPv6 packets sent by the SFTP client:sftp client ipv6 dscp dscp-value

Optional.

By default, the DSCP value is 16 in IPv4 packets sent by the SFTP client and is 8 in IPv6 packets sent by the SFTP client.