pbr-action-list copy

Syntax

pbr-action-list <ACTION-LIST-NAME> copy <DESTINATION-ACTION-LIST-NAME>

Description

Copies an existing PBR action list.

Command context

config

Parameters

<ACTION-LIST-NAME>

Specifies the action list name to be copied.

<DESTINATION-ACTION-LIST-NAME>

Specifies the name of the copied action list. A destination action list name can be 1 to 64 alphanumeric characters.

Authority

Administrators

Examples

The following example copies test4 action list to test 5.

switch(config)# show pbr-action-list test4

           Name
  Sequence Type                            Address/Interface
------------------------------------------------------------------
           test4
        5  nexthop                         2000:abcd::cccc:dddd
        6  nexthop                         1000:abcd::1234:5678
        7  interface                       null

switch(config)# pbr-action-list test4 copy test5
switch(config-pbr-action-list-test4)# show pbr-action-list test5

           Name
  Sequence Type                            Address/Interface
------------------------------------------------------------------
           test4
        1  nexthop                         2000.abcd::cccc.dddd
       11  nexthop                         1000.abcd::1234.5678
       21  interface                       null