Configure DSCP with a higher priority value, for packets originating from Versa Director, to assign higher priority to management traffic.
Follow these steps to mark all NetConf traffic towards device with CS6:
1. Run the sudo iptables -t mangle -A OUTPUT -p tcp --dport 2022 -j DSCP --set-dscp 48 command to mark all NetConf traffic towards device with CS6.
Administrator@GDVD176:~$ sudo iptables -t mangle -A OUTPUT -p tcp --dport 2022 -j DSCP --set-dscp 48
2. Run sudo iptables -t mangle -L -n command to verify Step 1.
Administrator@GDVD176:~$ sudo iptables -t mangle -L -n
Example:
Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination DSCP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2022 DSCP set 0x30 Chain POSTROUTING (policy ACCEPT) target prot opt source destination
To verify if netconf packets are marked with CS6, use tshark (install it) or take packet capture and verify on wire-shark.