Chapter 30 profile Commands
Management Switch Card User’s Guide
864
where:
<rule>
=
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>: Ethernet type.
• vlan <1~4094>: VLAN ID.
•
smac <mac>: Source MAC address.
•
dmac <mac>: Destination MAC address.
• protocol <protocol>: Protocol type:
tcp, udp, ospf, igmp, ip, gre, icmp or user specified
(0~255).
•
dstip <ip-address>/<mask>: Destination IP address and subnet mask (0~32).
•
srcip <ip-address>/<mask>: Source IP address and subnet mask (0~32).
•
tos <stos> <etos>: Sets the ToS (Type of Service) range between 0 and 255.
•
dstport <sport> <eport>: Destination port range.
•
srcport <sport> <eport>: Source port range.
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.