·
Standard
ACL
·
Extended
ACL
Standard
ACL
Configure terminal
Access-list 1
Permit 10.1.12.0 0.0.0.255
interface fa 0/1
ip access-group 1 out
interface fa 0/1
ip access-group 1 out
In
this configuration,
permit 10.1.12.0/24 to go out "interface fa 0/1".
permit 10.1.12.0/24 to go out "interface fa 0/1".
Extended
ACL
Configure terminal
access-list 101 permit tcp host 10.1.12.1 host 192.168.1.1 eq 25
from host 10.1.12.1
to host 192.168.1.1
permit tcp port 25
access-list 101 permit tcp host 10.1.12.1 host 192.168.1.1 eq 25
from host 10.1.12.1
to host 192.168.1.1
permit tcp port 25
No comments:
Post a Comment