O'Reilly logo

Routing TCP/IP, Volume I (CCIE Professional Development) by Jeff Doyle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Standard IP Access Lists

The format of a standard access list line is:

access-list access-list-number {deny|permit} source [source-wildcard]

This command specifies the access list number, which according to Table B.1 is between 1 and 99; the action (permit or deny); a source IP address; and the wildcard (or inverse) mask. An example of a standard IP access list is:

access-list 1 permit 172.22.30.6 0.0.0.0access-list 1 permit 172.22.30.95 0.0.0.0access-list 1 deny 172.22.30.0 0.0.0.255access-list 1 permit 172.22.0.0 0.0.31.255access-list 1 deny 172.22.0.0 0.0.255.255access-list 1 permit 0.0.0.0 255.255.255.255

The first two lines of the example permit passage of packets whose source addresses belong to two specific hosts, 172.22.30.6 and 172.22.30.95. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required