[Table of Contents] [Previous Page] [Next Page] [Index of Commands, A to M] [Report an Error] [No Frames]


access-list

Description: 

Defines a standard or extended IP access list. The extended access list enables you to specify a destination address or host, precedence, and type of service. Imposes an implicit last rule of "deny ip any any" to deny all routes that do not match previous rules in the access list. The no version removes the IP access list, the specified entry in an access list, or the log for a specified entry.

Syntax: 

Standard IP access list:

access-list accessListName { permit | deny }
{ srcIP srcWildIp | [ host ] srcIPHost | any } [ log ]

no access-list accessListName [ { permit | deny }
{ srcIP srcWildIp | [ host ] srcIPHost | any } [ log ] ]

Extended IP access list:

access-list accessListName { permit | deny } ip { srcIP srcWildIp |
host srcIPHost | any } { dstIP dstWildIp | host dstIPHost | any } [ log ]

no access-list accessListName [ { permit | deny } ip { srcIP srcWildIp |
host srcIPHost | any } { dstIP dstWildIp | host dstIPHost | any } [ log ] ]

Mode(s): 

Global Configuration


[Table of Contents] [Previous Page] [Next Page] [Index of Commands, A to M] [Report an Error] [No Frames]