Manoj Reddy's Reference Guide

clear access-template

To manually clear a temporary access list entry from a dynamic access list, use the clear access-template EXEC command.

clear access-template [access-list-number | name] [dynamic-name] [source] [destination]

Syntax Description

access-list-number 

(Optional) Number of the dynamic access list from which the entry is to be deleted.

name 

(Optional) Name of an IP access list from which the entry is to be deleted. The name cannot contain a space or quotation mark, and must begin with an alphabetic character to avoid ambiguity with numbered access lists.

dynamic-name 

(Optional) Name of the dynamic access list from which the entry is to be deleted.

source 

(Optional) Source address in a temporary access list entry to be deleted.

destination 

(Optional) Destination address in a temporary access list entry to be deleted.

Command Modes

EXEC

Command History

ReleaseModification
11.1

This command was introduced.

Usage Guidelines

This command is related to the lock-and-key access feature. It clears any temporary access list entries that match the parameters you define.

Examples

The following example clears any temporary access list entries with a source of 172.20.1.12 from the dynamic access list named vendor:

clear access-template vendor 172.20.1.12

Related Commands

CommandDescription
access-list (IP extended) Defines an extended IP access list.
access-template Places a temporary access list entry on a router to which you are connected manually.
show ip accounting Displays the active accounting or checkpointed database or displays access list violations.

Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003

All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.