
ESR service routers. ESR-Series. Functionality description. Version 1.12.0
287
Step
Description
Command
Keys
10
Set the number of sender TCP/
UDP ports for which the rule
should work (if the protocol is
specified).
esr(config-acl-rule)#
match source-port
{ <PORT> | any }
<PORT> – number of sender TCP/UDP
port, takes values of [1..65535]. When
specifying the “any” value, the rule will
work for any sender TCP/UDP port.
11
Set the destination TCP/UDP
ports number for which the rule
should work (if the protocol is
specified).
esr(config-acl-rule)#
match destination-port
{ <PORT> | any }
12
Set priority 802.1p value for which
the rule should work (optional).
esr(config-acl-rule)#
match
с
os <COS>
<COS> – priority 802.1p value, takes
values of [0..7].
13
Set DSCP code value for which
the rule should work (optional).
Can not be used with IP
Precedence.
esr(config-acl-rule)#
match dscp <DSCP>
<DSCP> – DSCP code value, takes
values in the range of [0..63].
14
Set IP Precedence code for which
the rule should work (optional).
Can not be used with DSCP.
esr(config-acl-rule)#
match ip-precedence
<IPP>
<IPP> – IP Precedence code value,
takes values in the range of [0..7].
15
Set VLAN ID for which the rule
should work (optional).
esr(config-acl-rule)#
match vlan <VID>
<VID> – VLAN ID, takes values of
[1..4094].
16
Activate a rule.
esr(config-acl-rule)#
enable
17
Specify access control list for the
configured interface to filtrate
incoming traffic.
esr(config-if-gi)#
service-acl input
<NAME>
<NAME> – access control list name,
set by the string of up to 31 characters.
Also the access lists can be used to organize QoS policy.
7.6.2 Access list configuration example
Objective:
Allow traffic transmission from 192.168.20.0/24 subnet only.
Solution:
Configure access control list for filtering by a subnet: