diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-03 12:00:30 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-03 12:00:30 -0800 |
commit | 86f4250ae356e0e9755b8514a0222dccccdf387a (patch) | |
tree | cfb7faad8db3c8b64ea5ea54f87edf77bcf75e3e /templates/qos-policy | |
parent | e1af7e6ee561a59df282d15424b3f0d1f844f931 (diff) | |
download | vyatta-cfg-qos-86f4250ae356e0e9755b8514a0222dccccdf387a.tar.gz vyatta-cfg-qos-86f4250ae356e0e9755b8514a0222dccccdf387a.zip |
Show DSCP field values
Add better help for DSCP values.
Bugfix: 2930
Diffstat (limited to 'templates/qos-policy')
3 files changed, 36 insertions, 10 deletions
diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/dscp/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/dscp/node.def index 7a6e52e..b470e0e 100644 --- a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/dscp/node.def +++ b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/dscp/node.def @@ -1,9 +1,18 @@ type: txt help: Match DSCP (formerly known as TOS) value syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --dscp \"$VAR(@)\"" -comp_help: Differentiated Services Condepoint (DSCP) value - <number> decimal number (or 0x for hex) -or <name> name from /etc/iproute2/rt_dsfield allowed: awk ' /^#/ { next } { printf "%s ", $2 }' </etc/iproute2/rt_dsfield +comp_help: <0-63> Differentiated Services Codepoint (DSCP) value + default match dscp (000000) + reliability match dscp (000001) + throughput match dscp (000010) + lowdelay match dscp (000100) + priority match dscp (001000) + immediate match dscp (010000) + flash match dscp (011000) + flash-override match dscp (100000) + critical match dscp (101000) + internet match dscp (110000) + network match dscp (111000) diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/set-dscp/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/set-dscp/node.def index 6a72cdb..9fcc608 100644 --- a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/set-dscp/node.def +++ b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/set-dscp/node.def @@ -1,10 +1,18 @@ type: txt help: Change the Differentiated Services (DiffServ) field in the IP header syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --dscp \"$VAR(@)\"" -comp_help: New Differentiated Services Condepoint (DSCP) value - <number> decimal number (or 0x for hex) -or <name> name from /etc/iproute2/rt_dsfield allowed: awk ' /^#/ { next } { printf "%s ", $2 }' </etc/iproute2/rt_dsfield - +comp_help: <0-63> Differentiated Services Codepoint (DSCP) value + default set dscp to (000000) + reliability set dscp to (000001) + throughput set dscp to (000010) + lowdelay set dscp to (000100) + priority set dscp to (001000) + immediate set dscp to (010000) + flash set dscp to (011000) + flash-override set dscp to (100000) + critical set dscp to (101000) + internet set dscp to (110000) + network set dscp to (111000) diff --git a/templates/qos-policy/traffic-shaper/node.tag/default/set-dscp/node.def b/templates/qos-policy/traffic-shaper/node.tag/default/set-dscp/node.def index 31330f0..9fcc608 100644 --- a/templates/qos-policy/traffic-shaper/node.tag/default/set-dscp/node.def +++ b/templates/qos-policy/traffic-shaper/node.tag/default/set-dscp/node.def @@ -1,9 +1,18 @@ type: txt help: Change the Differentiated Services (DiffServ) field in the IP header syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --dscp \"$VAR(@)\"" -comp_help: New Differentiated Services Condepoint (DSCP) value - <number> decimal number (or 0x for hex) -or <name> name from /etc/iproute2/rt_dsfield allowed: awk ' /^#/ { next } { printf "%s ", $2 }' </etc/iproute2/rt_dsfield +comp_help: <0-63> Differentiated Services Codepoint (DSCP) value + default set dscp to (000000) + reliability set dscp to (000001) + throughput set dscp to (000010) + lowdelay set dscp to (000100) + priority set dscp to (001000) + immediate set dscp to (010000) + flash set dscp to (011000) + flash-override set dscp to (100000) + critical set dscp to (101000) + internet set dscp to (110000) + network set dscp to (111000) |