show pbr-action-list

Syntax

show pbr-action-list [<ACTION-LIST-NAME>] [commands] [configuration] [vsx-peer]

Description

Shows the current PBR action list configuration. Action list entries are displayed in ascending order of their sequence number.

Command context

config

Parameters

<ACTION-LIST-NAME>

Specifies the PBR action list name.

commands

Formats output as CLI commands.

configuration

Displays user-specified configuration.

vsx-peer

Displays VSX peer switch information.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Restrictions

If an action list entry is modified to an invalid value (for example through the REST interface), this command will indicate a mismatch for that action entry when run. In this event, use the pbr-action-list <NAME> reset command to restore it to the previous valid value.

Usage

  • This command does not indicate whether the action list is configured in a policy or applied to an interface. Use the show pbr command for PBR status involving action lists.
  • A single action list is shown by specifying its name or you can show all action lists by omitting a name argument.

  • Using the additional commands keyword, you can change the tabulated output to a configuration style output for single or all list display.

Examples

Create two PBR action lists then run show pbr-action-list to display all configured action lists in the default configuration mode:

switch(config)# pbr-action-list v4_pbr
switch(config-pbr-action-list-v4_pbr)# 1 nexthop 1.1.1.1
switch(config-pbr-action-list-v4_pbr)# 5 default-nexthop 2.2.2.2
switch(config-pbr-action-list-v4_pbr)# 10 interface null
switch(config-pbr-action-list-v4_pbr)# exit
switch(config)#
switch(config)# pbr-action-list v6_pbr
switch(config-pbr-action-list-v6_pbr)# 20 nexthop 2000:abcd::cccc:dddd
switch(config-pbr-action-list-v6_pbr)# 40 default-nexthop 1000:abcd::1234:5678
switch(config-pbr-action-list-v6_pbr)# 60 interface null
switch(config-pbr-action-list-v6_pbr)# exit
switch#

switch# show pbr-action-list
           Name
           Additional PBR-Action-List Parameters
Sequence     Type               Nexthop
---------------------------------------------------------------------------------------
             v4_pbr             
1            nexthop            1.1.1.1
5            default-nexthop    2.2.2.2
10           interface          null

             v6_pbr
20           nexthop            2000:abcd::cccc:dddd
40           default-nexthop    1000:abcd::1234:5678
60           interface          null