Switches, Hubs, and Modems
1753663 Members
5693 Online
108798 Solutions
New Discussion юеВ

Re: 5400zl ACL question

 
JeffM_1
Occasional Contributor

5400zl ACL question

I have 3 VLAN's (1, 11,12) setup with the following addresses below and I want to create a named ACL to block all internet access from VLAN12 but allow all traffic to the rest of my domain (10.0.0.0) only. What is the best way to do this.

VLAN 1 | 10.40.0.0 255.255.0.0
VLAN 11 | 10.41.0.0 255.255.0.0
VLAN 12 | 10.42.0.0 255.255.0.0


Thanks,
Jeff
3 REPLIES 3
Mohammed Faiz
Honored Contributor

Re: 5400zl ACL question

Hi,

That's fairly simple, assuming you are routing VLAN 12 on your 5400 you'd want something like this:

ip access-list extended VLAN_12_ACL_IN
permit ip 10.42.0.0 0.0.255.255 10.0.0.0 0.255.255.255

vlan 12 ip access-group VLAN_12_ACL_IN in
JeffM_1
Occasional Contributor

Re: 5400zl ACL question

Thanks Mohammed,

Yep I do have all 3 VLAN's routed. Will I have to also add another line for "permit ICMP" to allow ping for trouble shooting?
Mohammed Faiz
Honored Contributor

Re: 5400zl ACL question

Hi,

No, you shouldn't need to add anything to allow hosts on VLAN 12 to ping other hosts on the 10.0.0.0/8 network (ICMP traffic is IP traffic).