Aug 14, 2006 #1 duster123 Technical User Joined Jun 21, 2006 Messages 168 Location GB I place this command on my switch: access-list 2 deny host 9.9.9.3 access-list 2 permit any end how is it that im still able to access shares and ping that compute(9.9.9.3)?Also, the 9.9.9.3 workstation is still able to see all other worksations.
I place this command on my switch: access-list 2 deny host 9.9.9.3 access-list 2 permit any end how is it that im still able to access shares and ping that compute(9.9.9.3)?Also, the 9.9.9.3 workstation is still able to see all other worksations.
Aug 14, 2006 #2 leedsit Technical User Joined Nov 25, 2004 Messages 364 Location GB Hi, you need to apply that access list to an interface... user ip access-group 2 in | out LEEroy MCNE6,CCNP,CWNA,CCSA,Project+ Upvote 0 Downvote
Hi, you need to apply that access list to an interface... user ip access-group 2 in | out LEEroy MCNE6,CCNP,CWNA,CCSA,Project+
Aug 15, 2006 Thread starter #3 duster123 Technical User Joined Jun 21, 2006 Messages 168 Location GB But what if 9.9.9.3 workstation is on the same switch as 9.9.9.2? how do i block 9.9.9.3 from acessing 9.9.9.2 Upvote 0 Downvote
But what if 9.9.9.3 workstation is on the same switch as 9.9.9.2? how do i block 9.9.9.3 from acessing 9.9.9.2
Aug 15, 2006 #4 chieftan MIS Joined Dec 18, 2002 Messages 292 Location GB Apply the access-group to the port that 9.9.9.2 is attached to (using the 'out' option). Upvote 0 Downvote
Aug 15, 2006 Thread starter #5 duster123 Technical User Joined Jun 21, 2006 Messages 168 Location GB im sorry, but im kinda new to cisco so how would i apply the access list to a port. what would be the command? Upvote 0 Downvote
im sorry, but im kinda new to cisco so how would i apply the access list to a port. what would be the command?
Aug 15, 2006 #6 chieftan MIS Joined Dec 18, 2002 Messages 292 Location GB As per leedsit response above:- switch> en password: <enter the password> switch#conf t switch (conf)#int fa<the interface that 9.9.9.2 is attached to - i.e fa0/1> switch(conf-if)#ip access-group 2 out switch(conf-if)#ctrl+Z switch#wr Test this. If this does not work then replace the 'out' in the above command with 'in'. It all depends on how the switch views the packets. Upvote 0 Downvote
As per leedsit response above:- switch> en password: <enter the password> switch#conf t switch (conf)#int fa<the interface that 9.9.9.2 is attached to - i.e fa0/1> switch(conf-if)#ip access-group 2 out switch(conf-if)#ctrl+Z switch#wr Test this. If this does not work then replace the 'out' in the above command with 'in'. It all depends on how the switch views the packets.
Aug 15, 2006 Thread starter #7 duster123 Technical User Joined Jun 21, 2006 Messages 168 Location GB Im getting an invalid input on my 2950 when i type the command ip access-group 2 out. even when i go to config t and access the interface: Upvote 0 Downvote
Im getting an invalid input on my 2950 when i type the command ip access-group 2 out. even when i go to config t and access the interface:
Aug 16, 2006 #8 chieftan MIS Joined Dec 18, 2002 Messages 292 Location GB Unfortuantly where I am at the moment I dont have access to a 2950. However later I will have and I will have a look and post the result here. Upvote 0 Downvote
Unfortuantly where I am at the moment I dont have access to a 2950. However later I will have and I will have a look and post the result here.