3.3.2 access-list permit
Description
Add a packet filtering permit rule into a specified
.
Command with no prefix removes the rule.
Prefix no
Yes
Change settings
Yes
Multiple input
Yes
Synopsis
(config-acl)>
permit
(
tcp
|
udp
) ‹
source
› ‹
source-mask
›
[
port
( ( ‹
src-port-operator
› ‹
source-port
› )|
(
range
‹
source-port
› ‹
source-end-port
› ))]
‹
destination
› ‹
destination-mask
›
[
port
( ( ‹
dst-port-operator
› ‹
destination-port
› )|
(
range
‹
destination-port
› ‹
destination-end-port
› ))]
(config-acl)>
permit
(
icmp
|
esp
|
gre
|
ipip
|
ip
) ‹
source
› ‹
source-mask
›
‹
destination
› ‹
destination-mask
›
(config-acl)>
no permit
(
tcp
|
udp
) ‹
source
› ‹
source-mask
›
[
port
( ( ‹
src-port-operator
› ‹
source-port
› )|
(
range
‹
source-port
› ‹
source-end-port
› ))]
‹
destination
› ‹
destination-mask
›
[
port
( ( ‹
dst-port-operator
› ‹
destination-port
› )|
(
range
‹
destination-port
› ‹
destination-end-port
› ))]
(config-acl)>
no permit
(
icmp
|
esp
|
gre
|
ipip
|
ip
) ‹
source
› ‹
source-mask
›
‹
destination
› ‹
destination-mask
›
Arguments
Description
Value
Argument
protocol.
Keyword
tcp
protocol.
Keyword
udp
protocol.
Keyword
icmp
protocol.
Keyword
esp
protocol.
Keyword
gre
protocol.
Keyword
ipip
protocol (include
,
and other).
Keyword
ip
The source address in the header
of IP-packet.
IP-address
source
Mask to be applied to the source
address in the header of IP-packet
IP-mask
source-mask
before comparison with
source
.
There are two ways to enter the
Command Reference Guide — Keenetic Extra (KN-1710)
34
Chapter 3 Command Reference
Summary of Contents for EXTRA KN-1710
Page 2: ......
Page 6: ...Command Reference Guide Keenetic Extra KN 1710 6 Contents Overview...
Page 20: ...Command Reference Guide Keenetic Extra KN 1710 20 Chapter 1 Product Overview...
Page 26: ...Command Reference Guide Keenetic Extra KN 1710 26 Chapter 2 Introduction to the CLI...
Page 322: ...Command Reference Guide Keenetic Extra KN 1710 322 Chapter 3 Command Reference...
Page 332: ...Command Reference Guide Keenetic Extra KN 1710 332 Glossary...
Page 348: ...Command Reference Guide Keenetic Extra KN 1710 348 Appendix C SNMP MIB...