NETGEAR L3 Switch User Manual


 
7000 Series L3 Managed Switch Reference Manual for Software v2.0
ACL Commands 10-7
config acl rule match srcl4port keyword
This command specifies a source layer 4 port match condition for an ACL rule referenced by the
<aclid> and <rulenum>. The <portkey> uses a single keyword notation and has the possible
values of
domain, echo, ftp, ftpdata, http, smtp, snmp, telnet, tftp, and www. Each of
these values translates into its equivalent port number, which is used as both the start and end of
the port range.
This command and the
config acl match srcl4port range command are two methods of
specifying the source layer 4 port range as a match condition. Either command can be used to
configure or modify the source layer 4 port range.
Format config acl rule match srcl4port keyword <aclid> <rulenum> <portkey>
config acl rule match srcl4port range
This command specifies a packet’s source layer 4 port match condition for an ACL rule referenced
by the
<aclid> and <rulenum>. The <startport> and <endport> parameters identify the first
and last ports that are part of the port range and have values from 0 to 65535. The ending port must
have a value equal or greater than the starting port. The starting port, ending port, and all ports in
between will be part of the contiguous source port range.
Either the this command or
config acl match srcl4port keyword can be used to specify a
source layer 4 port range as a match criterion.
Format config acl rule match srcl4port range <aclid> <rulenum> <startport>
<endport>
config acl interface add
This command associates an ACL with an interface in the specified direction. The <direction>
parameter can have the values of in or out. The <aclid> parameter specifies the ACL to add.
Format config acl interface add <slot.port> <direction> <aclid>