Use the interface global
con?¬?guration command:
RouterX(config)# interface ethernet 0
After you enter the interface command, the CLI prompt changes from
(con?¬?g)# to (con?¬?g-if)#.
Step 5 Link the extended IPv4 ACL to an interface. Use the ip access-group
interface con?¬?guration command:
RouterX(config-if)# ip access-group 101 in
Use the show ip interfaces command to verify that an IP ACL is applied to
the interface.
236 Chapter 6: Managing Traffic with Access Control Lists
You can take advantage of the sequence numbers in a named access list to add speci?¬?c entries
within an existing list. In Example 6-9, a new entry is added to a speci?¬?ed location within the
access list.
Using the number of a standard access list as the name, you can also use this feature to place an
entry in a speci?¬?c location of a numbered access list. In Example 6-10, a new entry is added to a
speci?¬?ed access list.
Example 6-9 Con?¬?rming Added Entries to an Existing Access List
RouterX# sshhooww iipp aacccceessss--lliisstt
Standard IP access list MARKETING
2 permit 10.4.4.2, wildcard bits 0.0.255.255
5 permit 10.0.0.44, wildcard bits 0.0.0.255
10 permit 10.
Pages:
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359