cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
987
Views
0
Helpful
15
Replies

Switchport mode access command

bijan.kianifard
Level 1
Level 1

What is the following command good for?

switchport mode access

Do I have to execute it on every interface that is member of a vlan to enable filtering through ACL that is applied to vlan?

15 Replies 15

conf t

int range fa 0/1 - 24

ip access-group 101 in

int vlan 1

ip access-group 101 in

This will apply ACL 101 to both all physical ports Fa 0/1-24 and management interface VLAN 1.

(But usually there is a different ACL applied to the management interface.)

Read http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2950/12122ea2/2950scg/swacl.htm#wp1002608

for details.

Regards,

Milan

Review Cisco Networking for a $25 gift card