From 86f4250ae356e0e9755b8514a0222dccccdf387a Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 3 Mar 2008 12:00:30 -0800 Subject: Show DSCP field values Add better help for DSCP values. Bugfix: 2930 --- .../class/node.tag/match/node.tag/ip/dscp/node.def | 15 ++++++++++++--- .../node.tag/class/node.tag/set-dscp/node.def | 16 ++++++++++++---- .../traffic-shaper/node.tag/default/set-dscp/node.def | 15 ++++++++++++--- 3 files changed, 36 insertions(+), 10 deletions(-) (limited to 'templates') 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 - decimal number (or 0x for hex) -or name from /etc/iproute2/rt_dsfield allowed: awk ' /^#/ { next } { printf "%s ", $2 }' 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 - decimal number (or 0x for hex) -or name from /etc/iproute2/rt_dsfield allowed: awk ' /^#/ { next } { printf "%s ", $2 }' 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 - decimal number (or 0x for hex) -or name from /etc/iproute2/rt_dsfield allowed: awk ' /^#/ { next } { printf "%s ", $2 }' 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) -- cgit v1.2.3