Filtering/QoS Information
GR2K-GA-0014
1-77
Ver. 07-02
Specifying the maximum band restr minimum band ass
important packet protecting function:
Sets the maximum band restriction, the minimum band assurance, and
important packet protecting function for each end user by using ISP. Specifies
that the users with the interface name of Tokyo and the transmitter address of
10.10.10.1 have a maximum band restriction band of 128 kbit/s and the
minimum band assurance band of 64 kbit/s, gives the important packet a DSCP
value of 20, and the other packets TOS values different from that.
Connects two bases by two VCs, and allots them to separate VCs according to
flow:
Allots the VC with the connection branching index number one to packets whose
transmitter IP addresses are 10.10.10.2 to 10.10.10.5, and the VC with the
connection branching index number zero to packets with the transmitter
addresses other than those above.
DSCP value rewriting:
Rewrites the DSCP value according to each traffic flow received from end users.
Rewrites the DSCP value of the packets with the transmitter IP address of
10.10.10.1 to 34 and those with 10.10.10.2 to 20.
(config)# flow qos Tokyo out list 1 ip any 10.10.10.1 premium ip any any
dscp 20 -action -max_rate 128 -min_rate 64
(config)# flow yes
(config)# show flow
flow yes {
qos Tokyo out {
list 1 ip any 10.10.10.1 premium ip any any dscp 20 action
max_rate 128 min_rate 64;
};
};
(config)#
(config)# flow qos Tokyo out list 1 ip 10.10.10.2-10.10.10.5 any -action
-index 1
(config)# flow qos Tokyo out list 2 ip any any -action -index 0
(config)# flow -yes
(config)# show flow
flow yes {
qos Tokyo out {
list 1 ip 10.10.10.2-10.10.10.5 any action index 1;
list 2 ip any any action index 1;
};
};
(config)#
(config)# flow qos Tokyo in list 1 ip 10.10.10.1 any action -replace_dscp
34
(config)# flow qos Tokyo in list 2 ip 10.10.10.2 any action -replace_dscp
20
(config)# flow -yes
(config)# show flow
flow yes {
qos Tokyo in {
list 1 ip 10.10.10.1 any action replace_dscp 34;
list 2 ip 10.10.10.2 any action replace_dscp 20;
};
};
(config)#