Specifying a name for an access policy

Before you begin

The policy must exist before you can name it.

About this task

Assign a name to an existing access policy to uniquely identify the policy.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Assign a name to the access policy:

    access-policy <1-65535> name WORD<0–15>

Example

Assign a name to an access policy:

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#access-policy 10 name useraccounts

Variable Definitions

The following table defines parameters for the access-policy command.

Variable

Value

name WORD<0–15>

Specifies a name expressed as a string from 0–15 characters.