Hitachi Gigabit Router GR2000 Series Enhanced Version Configuration Commands, Vol. 2
1-22
GR2K-GA-0014
Ver. 07-02
Input Examples
1. Setting the parameter:
The flow control function is set to the use mode.
2. Deleting the parameter:
The contents set for the flow control function are deleted.
3. Determine the priority of all IP packets freely.
Specify the packet, whose source IP address is 10.10.10.1, destination IP address
is 10.10.10.5, upper protocol is UDP, and destination port number is 161 (snmp),
as output priority 1.
4. Designation of flow list number in which COPS agent function can be set. Flow
list numbers 1 to 500 are designated as the flow list in which a COPS agent
function can be set.
5. Setting L2 UPC functions
The total byte count of received TCP packets, including layer-2 header, is subject
to bandwidth monitoring and packets are discarded if they exceed 6 Mbit/s.
(config)# flow -yes
(config)# show flow
flow yes;
(config)#
(config)# show flow
flow yes;
(config)# delete flow
(config)#
(config)# flow -classify_all
(config)# show flow
flow yes {
classify_all;
qos Tokyo1 out {
list 1 udp 10.10.10.1 10.10.10.5 161 action priority 1;
};
};
(config)#
(config)# flow -cops_range 1-500
(config)# show flow
flow yes {
cops_range 1-500;
};
(config)#
(config)# flow -l2upc
(config)# show flow
flow yes {
l2upc;
qos Tokyo1 in {
list 1 tcp any any action upc 6000;
};
};
(config)#