User's Manual

Table Of Contents
426
Users Manual of CS-6306R
and returns an ICMP unreachable message.
If the designated access list does not exist, all packets allows to pass.
43.4.3.5 Extensible Access List Example
1. Port-based IP access list supporting TCP/UDP port filtration
{deny | permit} {tcp | udp}
sourcesource-mask [ { [src_portrange begin-port end-port] | [ {gt | lt } port ] }]
destination destination-mask [ { [dst_portrange begin-port end-port] | [ {gt | lt } port ] }]
[precedenceprecedence] [tostos]
If you configure the access list by defining the port range, pay attention to the following:
If you use the method of designating the port range to configure the access list at the source side and
the destination side, some configuration may fail because of massive resource consumption. In this
case, you need to use the fashion of designating the port range at one side, and use the fashion of
designating the port at another side.
When the port range filtration is performed, too many resources will be occupied. If the port range
filtration is used too much, the access list cannot support other programs as well as before.
2. Port-based IP access list supporting TCP/UDP designated port filtration
In the following example, the first line allows any new TCP to connect the SMTP port of host 130.2.1.2.
ip access-list extended aaa
permit tcp any 130.2.1.2 255.255.255.255 eq 25
interface f0/10
ip access-group aaa