Skip to content

Commit ea0d140

Browse files
author
Capirca Team
committed
Update the documentation for Arista Traffic Policy to include the flags that set the DSCP and traffic class in the action block.
PiperOrigin-RevId: 726133250
1 parent 564e634 commit ea0d140

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ generators:
402402
<!-- begin-generator-term-links -->
403403

404404
* [`arista`](./doc/generators/arista.md): Arista
405+
* [`arista_tp`](./doc/generators/arista_tp.md): Arista Traffic Policy
405406
* [`aruba`](./doc/generators/aruba.md): Aruba
406407
* [`brocade`](./doc/generators/brocade.md): Brocade
407408
* [`cisco`](./doc/generators/cisco.md): Cisco

doc/generators/arista_tp.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The following tokens are supported:
1111
- `destination-port`
1212
- `destination-prefix` - this should resolve to a configured field-set in
1313
traffic-policy format.
14+
- `dscp-set`
1415
- `fragment-offset`
1516
- `icmp-type`
1617
- `logging`
@@ -26,6 +27,7 @@ The following tokens are supported:
2627
- `source-port`
2728
- `source-prefix` - this should resolve to a configured field-set in
2829
traffic-policy format.
30+
- `traffic-class`
2931
- `verbatim`
3032

3133
## documentation
@@ -94,7 +96,7 @@ references within the policy.
9496
2001:4860:4860::8888/128
9597
2001:4860:4860::8844/128
9698
!
97-
traffic-policy management-inbound-v6
99+
traffic-policy policy-1
98100
match src-ipv6-term-1 ipv6
99101
destination prefix field-set src-ipv6-term-1
100102
protocol udp destination port 53
@@ -114,6 +116,19 @@ In EOS traffic-policies, ports can be configured using:
114116
Currently, all and field-sets are not supported for ports. Only port-lists are
115117
supported.
116118

119+
## traffic-class
120+
121+
An optional traffic class can be set in the action block with a value between 0
122+
and 7.
123+
124+
- `set traffic class <0-7>`
125+
126+
## dscp-set
127+
128+
DSCP can be set in the action block with decimal values ranging between 0 and 63.
129+
130+
- `set dscp <0-63>`
131+
117132
## default-terms
118133

119134
EOS has (2) default terms per traffic-policy, one for each address family:

0 commit comments

Comments
 (0)