Applying an
Access List to an Interface
Lab
Index |
|
Description: To apply
access-list 1 to interface ethernet 0 on router R1. Apply the access-list
on both incoming and outgoing interfaces.
Instructions:
1. Enter into Interface Configuration Mode.
Use the interface Ehternet 0.
2. Use no shut down Command on Ehternet 0 Interface
3. Assuming that access-list 1 is already created, apply it to the interface Ethernet 0 as an inbound access-list.
4. Apply an access-list 1 to interface Ethernet 0 as an outbound access-list
R1>enable
R1#configure terminal
R1(config)#interface ethernet 0
R1(config-if)#no shutdown
R1(config-if)#ip access-group 1 in
R1(config-if)#ip access-group 1 out