XG Series User's Guide
Chapter 5 Command Reference
LAN Information Settings
197
5.5.1.6
lan ip dscp
Function
Set the DSCP value rewriting conditions.
Available Model
XG0224 / XG0448 / XG0440DC / XG0440DCR / XG2600
Syntax
lan [<number>] ip dscp <count> acl <acl_count> <new_dscp>
Options
<number>
•
lan definition number
Specify a lan definition serial number with a decimal value.
The default is 0.
<count>
•
DSCP value rewriting definition number
Specify a definition number, which indicates the priority of DSCP value rewriting
conditions, with a decimal value.
The specified value is sorted and renumbered forward when setting was completed.
If any DSCP value rewriting definition with the same definition number exists, the value
of the existing definition will be changed.
<acl_count>
•
ACL definition number
Specify the required ACL definition number with a decimal value.
If the ACL specified in <acl_count> is not defined, the DSCP value rewriting definition
will be disabled and ignored.
Use the following ACL definition for DSCP value rewriting.
- ip
If the ip value is not set, the DSCP value rewriting definition will be disabled and
ignored.
- tcp
Available only when "6" is set in <protocol> of ip.
Otherwise, the set value is ignored.
If the tcp value is not set while "6" is set in <protocol> of ip, each value of tcp will be
assumed to be "any".
- udp
Available only when "17" is set in <protocol> of ip.
Otherwise, the set value is ignored.
If the udp value is not set while "17" is set in <protocol> of ip, each value of udp is
assumed to be "any".
- icmp
Available only when "1" is set in <protocol> of ip.
Otherwise, the set value is ignored.
If the icmp value is not set while "1" is set in <protocol> of ip, each value of icmp will
be assumed to be "any".
<new_dscp>
•
DSCP value
Specify the DSCP value to be rewritten with a decimal value from 0 to 63.
Use Mode
Configuration mode (admin class)
Range
Model
0 to 511
XG0224 / XG0448 / XG0440DC / XG0440DCR
0 to 63
XG2600