50 likes | 205 Views
Router(config)#. [access-list] [ access-list-number ] { permit | deny } [source] [ source-mask ]. IP Standard Access Configuration. Sets parameters for this list entry IP standard access lists use 1 to 99. Router(config)#.
E N D
Router(config)# [access-list] [access-list-number]{ permit | deny }[source][source-mask] IP Standard Access Configuration • Sets parameters for this list entry • IP standard access lists use 1 to 99
Router(config)# [access-list] [access-list-number]{ permit | deny }[source][source-mask] Router(config-if)# [ip access-group][access-list-number]{ in | out } IP Standard Access Configuration • Activates the list on an interface • Sets parameters for this list entry • IP standard access lists use 1 to 99
Extended IP Access Lists • Allow more precise filtering conditions • Check source and destination IP address • Specify an optional IP protocol and port number • Use access list number range 100 to 199
Router(config)# [access-list][access-list-number]{ permit | deny }[ protocol][source][source-mask][destination][destination-mask][ operator operand ][ established ] Extended Access List Configuration • Sets parameters for this list entry • IP uses a list number in range 100 to 199
Router(config)# [access-list][access-list-number]{ permit | deny }[ protocol][source][source-mask][destination][destination-mask][ operator operand ][ established ] [ip access-group][access-list-number] [{ in | out }] Extended Access List Configuration Router(config-if)# • IP uses a list number in range 100 to 199 • Sets parameters for this list entry • Activates the extended list on an interface