The set routing pbr map sequence action nexthop-group command configures an action to redirect packets to a next-hop group IP addresses for policy-based routing. The next-hop group addresses must be directly connected and reachable without supporting recursion.
The delete routing pbr map sequence action nexthop-group command deletes the configuration.
Command Syntax
set routing pbr map <map-name> sequence <sequence-number> action nexthop-group <group-name>
delete routing pbr map <map-name> sequence <sequence-number> match action nexthop-group
Parameter
Parameter | Description |
map <map-name> | Specifies the map name of a PBR policy. The value is a string. |
sequence <sequence-number> | Specifies sequence number. The value is an integer that ranges from 1 to 700. |
nexthop-group <group-name> | Specifies next-hop group name. The value is a string. |
Example
Configure an action to redirect packets to a next-hop group for policy-based routing.
admin@PICOS# set routing pbr map PBR_map1 sequence 100 action nexthop-group group1 admin@PICOS# commit