Hai friend's can help me please , i have problem about access-list , i can't add number access-list , just last i apply on the interface , that's i see with CLI "show run"
Do you mean you have created an Access-list (number) but are unable to apply it to an interface?
Are you using the access-group command on the interface as follows:-
Simple extended access list
Router#conf t
Router(config)#access-list 101 permit tcp any any eq 5007
Router(config)#access-list 101 permit udp any any eq 5007
Router(config)#access-list 10 permit ip any any
Router#conf t
Router(config)#int s0/1
Router(config-if)#access-group (Access list number) (in or out)
Router(config-if)#CTRL+Z
I dont fully understand what you are asking either.
Thanks for appreciated, i have problem about ip access-group, why just one line number access-group that's showing
cisco#sh run
interface FastEthernet0/0
ip address x.x.x.x x.x.x.x
speed auto
half-duplex
no cdp enable
!
interface Serial0/0
ip address x.x.x.x. x.x.x.x
ip access-group 110 in Remarks " just one number access-
group, actually i apply all access-group"
no ip redirects
no ip mroute-cache
no cdp enable
!
ip classless
ip route x.x.x.x x.x.x.x
no ip http server
ip pim bidir-enable
!
!
logging history debugging
access-list 110 deny tcp any host x.x.x.x eq echo
access-list 110 deny tcp any host x.x.x.x eq discard
access-list 110 deny tcp any host x.x.x.x eq daytime
access-list 110 deny tcp any host x.x.x.x eq chargen
access-list 110 deny tcp any host x.x.x.x eq telnet
access-list 110 deny tcp any host x.x.x.x eq finger
access-list 110 permit tcp any any
access-list 110 permit ip any any
access-list 111 deny ip 127.0.0.0 0.255.255.255 any
access-list 111 deny ip 192.168.0.0 0.0.0.255 any
access-list 111 deny ip 172.16.0.0 0.0.255.255 any
access-list 111 deny ip 10.0.0.0 0.255.255.255 any
access-list 111 deny ip host 0.0.0.0 any
access-list 111 deny ip x.x.x.x x.x.x.x any
access-list 111 deny icmp any any redirect
access-list 111 permit ip any any
access-list 120 deny udp any any eq snmp
access-list 120 permit ip any any
access-list 121 deny ip host x.x.x.x any
access-list 121 permit ip any any
access-list 122 deny ip host x.x.x.x any
access-list 121 permit ip any any
no cdp run
snmp-server community public RO
I can apply access-list and access-group (thats no problem ), but why just "access-group 110 in" on the interface serial0/0, no others access-list group number.
if i add access group in/out others, just last access-group number is showing on interface serial0/0.
Only apply 1 access-list as inbound and only 1 access-list as outbound ? i have others access-list like above it. how can i use all my access-list is funcition ?
If you want to combine all the access-lists into one access-list I would recommend that you first use an "extended" access-list list.
Second, put all the deny statements first (be careful here. The order is important). Then put all the permit statements (again, watch the order or the statements).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.