Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

VLAN ACL

I have a switch, and I want to configure a trunk port to not communicate between VLAN 61 to 71. I tried putting an ACL on the VLAN interface and it did not work

2 REPLIES
Hall of Fame Super Blue

Re: VLAN ACL

Carlos

Not sure i fully understand. Do you want to stop all communication between vlan 61 & vlan 71. If so assuming

vlan 61 = 192.168.5.0/24

vlan 71 = 192.168.6.0/24

access-list 101 deny ip 192.168.5.0 0.0.0.255 192.168.6.0 0.0.0.255

access-list permit ip any any

int vlan 61

ip access-group 101 in

Jon

New Member

Re: VLAN ACL

Why don't you limit which vlan's can be trunked over the link using switchport trunk allowed vlan command?

switchport trunk allowed vlan 1,2,5,10

or

switchport trunk allowed vlan remove 61, 71

135
Views
0
Helpful
2
Replies
CreatePlease login to create content