Figure 289 Acl Profile Set Command Example - ZyXEL Communications IES-612-51A User Manual

12-port adsl2/2+ standalone mini-dslam
Hide thumbs Also See for IES-612-51A:
Table of Contents

Advertisement

Chapter 54 ACL Commands
• smac < mac > dmac <mac>
• vlan < vid > priority <priority>
• etype <etype>
• vlan <vid>
• smac <mac>
• dmac <mac>
• priority <priority>
• protocol <protocol>
• srcip <ip>/<mask> [dstip <ip>/<mask> [tos <tos> [srcport
<sport> <eport> [dstport <sport> <eport>]]]]
where
etype <etype>
vlan <vid>
smac <mac>
dmac <mac>
priority
protocol
specified IP protocol number <0 ~ 255>.
srcip <ip>/<mask>
dstip <ip>/<mask>
tos <stos> <etos>
srcport <sport> <eport>
dstport <sport> <eport>
The following guidelines apply to classifiers.
• You can apply one classifier for a protocol on a port's PVC.
• You cannot create a classifier that contains matching criteria for layer 2 and layer 3 fields.
For example
not allowed as protocol type and VLAN do not belong to the same network layer.
• Each type of criteria can only be used once in a classifier. For example,
set test protocol tcp protocol udp deny
you need to create a separate classifier for each protocol and apply them to the same
PVC(s).
The following example creates an ACL rule example named
with a priority level of 2. This rule limits the rate on the classified traffic to 1000 kbps and
changes the priority level to 7.

Figure 289 ACL Profile Set Command Example

ras> switch acl profile set test vlan 10 priority 2 rate 1000 rpri 7
400
= Ethernet type (0~65535).
= VLAN ID (1~4094).
= Source MAC address.
= Destination MAC address.
<
> = Priority (0 ~ 7)
priority
<
> = Protocol type:
protocol
= Source IP address and subnet mask (0~32).
= Destination IP address and subnet mask (0~32).
= Sets the ToS (Type of Service) range between 0 and 255.
= Source port range (0~65535).
= Destination port range (0~65535).
switch acl profile set test protocol tcp vlan 15 deny
,
,
,
,
tcp
udp
ospf
igmp
ip
is not allowed. For this example,
for traffic from VLAN 10
test
IES-612-51A User's Guide
,
,
or user
gre
icmp
is
profile acl

Advertisement

Table of Contents
loading

Table of Contents