10-25-2010 08:01 AM - edited 03-06-2019 01:43 PM
I want to allow only a few subnets across the trunk link switch.
Can ACL block source and dest IP on a layer 2 interface? e.g
int Gi0/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 3, 4
ip acces-group ACL-LIST in
!
OR
ACL can only block traffic on layer 3 interface? e.g
interface vlan 100
ip add 10.10.10.10 255.0.0.0.0
ip acces-group ACL-LIST in
cheers
Solved! Go to Solution.
10-25-2010 08:54 AM
after1111 wrote:
Hi Jon,
3750.
I was told you cant apply ACL on a layer 2 interface because its only read frame, not IP, is this true?
No it's not true. The 3750 supports normal IP access-lists on L2 ports and L2 trunk ports, the main restriction being it can only be applied in the inbound direction -
Jon
10-25-2010 08:10 AM
which switch ?
Jon
10-25-2010 08:38 AM
Hi Jon,
3750.
I was told you cant apply ACL on a layer 2 interface because its only read frame, not IP, is this true?
10-25-2010 08:54 AM
after1111 wrote:
Hi Jon,
3750.
I was told you cant apply ACL on a layer 2 interface because its only read frame, not IP, is this true?
No it's not true. The 3750 supports normal IP access-lists on L2 ports and L2 trunk ports, the main restriction being it can only be applied in the inbound direction -
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide