policy copy

Syntax

policycopy

Description

Copies a policy to a new destination policy or overwrites an existing policy. Copying a policy copies all its entries as well.

Command context

config

Parameters

Specifies the policy to be copied.

指定目的地的名称的政策。

Authority

Administrators or local user group members with execution rights for this command.

Examples

Copying a policy:

switch(config)#policy MY_POLICY copy MY_POLICY2switch(config)#do show policyName Sequence Comment Class Type action ------------------------------------------------------------------------------- MY_POLICY 2 my_class3 ipv4 mirror 1 ------------------------------------------------------------------------------- MY_POLICY2 2 my_class3 ipv4 mirror 1