Chapter 32 profile Commands
where:
<rule>
<action> =
770
The rule that classifies traffic flows. Ordering of the criteria is important. The
=
system first compares the layer 2 fields first, the layer 3 fields and then the
protocol type.
The following lists the set of criteria you can configure. Note that the device takes
the order when matching rules.
1. etype <0~65535> vlan <1~4094>
2. etype <0~65535> smac <mac-address>
3. etype <0~65535> dmac <mac-address>
4. vlan <1~4094> smac <mac-address>
5. vlan <1~4094> dmac <mac-address>
6. smac <mac-address> dmac <mac-address>
7. vlan <1~4094> priority <0~7>
8. etype <0~65535>
9. vlan <1~4094>
10. smac <mac-address>
11. dmac <mac-address>
12. priority <0~7>
13. protocol <protocol>
14. vlan <1~4094> sip <ip-address>
15. vlan <1~4094> dip <ip-address>
16. vlan <1~4094> sport tcp|udp <port>
17. vlan <1~4094> dport tcp|udp <port>
18. {srcip <ip-address>/<mask>{|dstip <ip-address>/
<mask>{|tos <stos> <etos>{|srcport <sport> <eport> {|dstport
<sport> <eport>}}}}}
where
•
etype <
0~65535
•
1~4094
: VLAN ID.
vlan <
>
•
smac <mac>
: Source MAC address.
•
dmac <mac>
: Destination MAC address.
•
protocol <protocol>: Protocol type:
icmp
or user specified (0~255).
•
dstip
<ip-address>
(0~32).
•
srcip
<ip-address>
(0~32).
•
tos <stos> <etos>
and 255.
•
dstport <sport> <eport>
•
srcport <sport> <eport>
Note:
•
VLC1224G-41 does not support rule 14.
•
VLC1324G-51 does not support rule 14.
•
Only one rate limit through ACL per PVC or per port.
The action(s) to perform on the classified packets. The following lists the actions
you can set.
rate <
64~40960>: Sets the rate limit (in kbps) for the matched traffic. Set this
rate in multiples of 64. For example, set it to 960 or 1024 instead of 1000.
1~4094
: Replaces the VLAN ID with the specified VLAN ID.
rvlan <
>
rpri <
0~7
|deny>:
matched packets or drops (
You must also specify rpri
.
>
: Ethernet type
tcp
,
: Destination IP address and subnet mask
/<mask>
/<mask>
: Source IP address and subnet mask
: Sets the ToS (Type of Service) range between 0
: Destination port range.
: Source port range.
Replaces the priority with the specified priority of the
deny
) the packets.
0~7
when you set rvlan
<
|deny>
MSC1000G/1024G/1224G Series User's Guide
udp
,
ospf
,
igmp
,
ip
,
gre
1~4094
.
<
>
,