policy <POLICY-NAME> copy
Syntax
policy <POLICY-NAME> copy <DESTINATION-POLICY>
Description
Copies a policy to a new destination policy. Copying a policy copies all its entries as well.
Command context
config
Parameters
<POLICY-NAME>
Specifies the policy to be copied.
<DESTINATION-POLICY>
Specifies the name of the destination policy.
Authority
Administrators
Examples
Copying a policy:
switch(config)# policy MY_POLICY copy MY_POLICY2 switch(config)# do show policy Name Sequence Comment Class Type action ------------------------------------------------------------------------------- MY_POLICY 2 my_class3 ipv4 mirror 1 ------------------------------------------------------------------------------- MY_POLICY2 2 my_class3 ipv4 mirror 1