Prev | Current Page 334 | Next

Stephen McQuerry

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


Table 6-4 describes the command syntax that is presented in Example 6-4.
Example 6-4 Access List Preventing Traf?¬?c Originating from a Speci?¬?c Subnet
RouterX(config)# aacccceessss--lliisstt 11 ddeennyy 117722..1166..44..00 00..00..00..225555
RouterX(config)# aacccceessss--lliisstt 11 ppeerrmmiitt aannyy
(implicit deny all)
(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
Table 6-4 Numbered Standard IPv4 ACL Example Denying a Speci?¬?c Subnet
access-list Command
Parameters Description
1 ACL number indicating that this ACL is a standard list.
deny Indicates that traf?¬?c that matches the selected parameters is not
forwarded.
172.16.4.0 IP address of the source subnet.
0.0.0.255 Wildcard mask; 0s indicate positions that must match, and 1s indicate
???don??™t care??? positions.
The mask with 0s in the ?¬?rst three octets indicates that those positions
must match; the 255 in the last octet indicates a ???don??™t care??? condition.
permit Indicates that traf?¬?c that matches the selected parameters is forwarded.
Any Abbreviation for the IP address of the source.


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