Prev | Current Page 331 | Next

Stephen McQuerry

"Interconnecting Cisco Network Devices, Part 2 (ICND2): (CCNA Exam 640-802 and ICND exam 640-816) (3rd Edition)"


This ACL allows only traf?¬?c from source network 172.16.0.0 to be forwarded out on E0 and E1.
Traf?¬?c from networks other than 172.16.0.0 is blocked.
Example: Numbered Standard IPv4 ACL??”Deny a Speci?¬?c Host
For the network shown in Figure 6-14, you want to create a list to prevent traf?¬?c that originates
from host 172.16.4.13 from traveling out Ethernet interface E0.
Figure 6-14 Standard ACL Denying a Speci?¬?c Host
Example 6-2 Access List Preventing All Non-172.16.0.0 Traf?¬?c
RouterX(config)# aacccceessss--lliisstt 11 ppeerrmmiitt 117722..1166..00..00 00..00..225555..225555
(implicit deny all - not visible in the list)
(access-list 1 deny 0.0.0.0 255.255.255.255)
RouterX(config)# iinntteerrffaaccee eetthheerrnneett 00
RouterX(config-if)# iipp aacccceessss--ggrroouupp 11 oouutt
RouterX(config)# iinntteerrffaaccee eetthheerrnneett 11
RouterX(config-if)# iipp aacccceessss--ggrroouupp 11 oouutt
Table 6-2 Numbered Standard IPv4 ACL Example Permitting a Speci?¬?c Network
access-list Command
Parameters Description
1 ACL number that indicates that this ACL is a standard list
permit Indicates that traf?¬?c that matches the selected parameters is forwarded
172.


Pages:
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343