...
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 defined in the command set routing nexthop-group <group-name> nexthop-vrf <vrf-name> nexthop <ip address>. |
Example
Configure an action to redirect packets to a next-hop group for policy-based routing.
Code Block |
---|
admin@PICOS# set routing nexthop-group group1 nexthop-vrf default nexthop 10.30.1.10
admin@PICOS# set routing nexthop-group group1 nexthop-vrf default nexthop 10.30.2.20
admin@PICOS# set routing pbr map PBR_map1 sequence 100 action nexthop-group group1
admin@PICOS# commit |
...