IP access-group Command on CISCO Router/Switch

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

IP access-group Command on CISCO Router/Switch 1

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
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x