Solved

applying an access list to a switch - direction

Posted on 2016-08-10
5
20 Views
Last Modified: 2016-08-30
Experts,

ON a Cisco switch I have:

Interface vlan 300
ip address 10.10.10.1 255.255.255.0

I have host 10.10.10.100

I want that host to be denied from reaching host 10.20.20.20.

access-list 100 deny ip host 10.10.10.100 host 10.20.20.20
access-list 100 permit ip any any


Question: When i go to apply acl 100 to the vlan, it would be applied OUT?
0
Comment
Question by:trojan81
  • 2
  • 2
5 Comments
 
LVL 16
ID: 41751417
Can we assume these two hosts are on separate VLANs? Is this a layer 3 switch? Are you permitting inter-vlan communication directly on the switch?

MO
0
 
LVL 26

Accepted Solution

by:
Predrag Jovic earned 250 total points (awarded by participants)
ID: 41751465
The way you wrote ACL on swith in should be in IN direction (in router engine inside switch from VLAN)

Interface vlan 300
ip access-group 300 in
0
 
LVL 57

Assisted Solution

by:Pete Long
Pete Long earned 250 total points (awarded by participants)
ID: 41751809
^^ agree

but should it not be?

ip access-group 100 in

P
0
 
LVL 26

Expert Comment

by:Predrag Jovic
ID: 41751856
Yes, it should.
;)
0
 
LVL 16
ID: 41776022
Author abandoned question. Solution provided by Pedrag appears to be the best.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

How to configure Site to Site VPN on a Cisco ASA.     (version: 1.1 - updated August 6, 2009) Index          [Preface]   1.    [Introduction]   2.    [The situation]   3.    [Getting started]   4.    [Interesting traffic]   5.    [NAT0]   6.…
This article assumes you have at least one Cisco ASA or PIX configured with working internet and a non-dynamic, public, address on the outside interface. If you need instructions on how to enable your device for internet, or basic configuration info…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now