Cisco CCNA | CCNP Certification Training Site. Cisco tips and tools for exam success. logo video

ip access-group

Printer-Friendly Format

Command

IP access-group

Use

This command is used to apply an access-list to an interface.

Syntax

Router(config-if)#ip access-group <list> <in or out>

Option
<auto> automatically determine the duplex mode by checking with the neighbor
<in> applies the access-list to inbound traffic on the interface.
<out> applies the access-list to traffic leaving the router.

Example


In this example, we will apply access-list 101 to R1's Fa0/0.

R1(config)#int fa0/0
R1(config-if)#ip access-group 101 in



Back to commands department

 




Printer-Friendly Format
Home | Search | Contact Us | Tell a Friend | Text Size

2006-2012 HowtoNetwork.net All Rights Reserved. Reproduction without permission prohibited.
Reality Press, Midsummer Court, 314 Midsummer Blvd.,Milton Keynes, MK92UB, UK

This site is powered by MemberGate Membership Site Software