Skip to content

Commit 85f58fa

Browse files
committed
RM4965039 - remarking
1 parent a3ef46b commit 85f58fa

File tree

2 files changed

+96
-0
lines changed
  • content
    • cumulus-linux-516/Layer-1-and-Switch-Ports/Quality-of-Service
    • cumulus-linux-517/Layer-1-and-Switch-Ports/Quality-of-Service

2 files changed

+96
-0
lines changed

content/cumulus-linux-516/Layer-1-and-Switch-Ports/Quality-of-Service/_index.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,54 @@ cumulus@switch:~$ nv set qos remark default-global switch-priority 2 dscp 40
345345
cumulus@switch:~$ nv config apply
346346
```
347347

348+
To show global remarking configuration, run the `nv show qos remark default-global` command:
349+
350+
```
351+
cumulus@switch:~$ nv show qos remark default-global
352+
operational applied
353+
------- ----------- -------
354+
rewrite l2 l2
355+
356+
SP->PCP/DSCP mapping configuration
357+
=====================================
358+
switch-priority pcp dscp
359+
--------------- --- ----
360+
0 0 0
361+
1 7 8
362+
2 2 16
363+
3 3 24
364+
4 4 32
365+
5 5 40
366+
6 6 48
367+
7 7 56
368+
```
369+
370+
To show global remarking configuration for a specific interface, run the `nv show interface <interface-id> qos remark` command:
371+
372+
```
373+
cumulus@switch:~$ nv show interface swp5 qos remark
374+
operational applied
375+
------- ----------- -------
376+
rewrite l2
377+
378+
SP->PCP/DSCP remark configuration
379+
====================================
380+
switch-priority pcp dscp
381+
--------------- --- ----
382+
0 0 0
383+
1 1 8
384+
2 2 16
385+
3 3 24
386+
4 4 32
387+
5 5 40
388+
6 6 48
389+
7 7 56
390+
```
391+
392+
{{%notice note%}}
393+
When you configure global QoS remarking with `default-global`, the `nv show interface <interface-id> qos remark` command displays the default PCP and DSCP mappings derived from SDK defaults; however, the `nv show qos remark default-global` command only displays the PCP and DSCP mappings if you configure them.
394+
{{%/notice%}}
395+
348396
{{< /tab >}}
349397
{{< tab "Linux Commands ">}}
350398

content/cumulus-linux-517/Layer-1-and-Switch-Ports/Quality-of-Service/_index.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,54 @@ cumulus@switch:~$ nv set qos remark default-global switch-priority 2 dscp 40
345345
cumulus@switch:~$ nv config apply
346346
```
347347

348+
To show global remarking configuration, run the `nv show qos remark default-global` command:
349+
350+
```
351+
cumulus@switch:~$ nv show qos remark default-global
352+
operational applied
353+
------- ----------- -------
354+
rewrite l2 l2
355+
356+
SP->PCP/DSCP mapping configuration
357+
=====================================
358+
switch-priority pcp dscp
359+
--------------- --- ----
360+
0 0 0
361+
1 7 8
362+
2 2 16
363+
3 3 24
364+
4 4 32
365+
5 5 40
366+
6 6 48
367+
7 7 56
368+
```
369+
370+
To show global remarking configuration for a specific interface, run the `nv show interface <interface-id> qos remark` command:
371+
372+
```
373+
cumulus@switch:~$ nv show interface swp5 qos remark
374+
operational applied
375+
------- ----------- -------
376+
rewrite l2
377+
378+
SP->PCP/DSCP remark configuration
379+
====================================
380+
switch-priority pcp dscp
381+
--------------- --- ----
382+
0 0 0
383+
1 1 8
384+
2 2 16
385+
3 3 24
386+
4 4 32
387+
5 5 40
388+
6 6 48
389+
7 7 56
390+
```
391+
392+
{{%notice note%}}
393+
When you configure global QoS remarking with `default-global`, the `nv show interface <interface-id> qos remark` command displays the default PCP and DSCP mappings derived from SDK defaults; however, the `nv show qos remark default-global` command only displays the PCP and DSCP mappings if you configure them.
394+
{{%/notice%}}
395+
348396
{{< /tab >}}
349397
{{< tab "Linux Commands ">}}
350398

0 commit comments

Comments
 (0)