Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

policy route route-map <map-name> rule <rule-num> set ip-next-hop <ipv4>

Modifies the next hop destination of a route.

set policy route route-map map-name rule rule-num set ip-next-hop ipv4
delete policy route route-map map-name rule rule-num set ip-next-hop [ ipv4 ]
show policy route route-map map-name rule rule-num set ip-next-hop
map-name
The name of a defined route map.
rule-num
The number of a defined route map rule.
ipv4
The IPv4 address of the next hop.

Configuration mode


policy {
    route-map map-name {
        rule rule-num {
            set {
                ip-next-hop ipv4 
            }
        }
    }
}

Use the set form of this command to modify the next hop destination for packets that traverse a route map. When all the match conditions in the route map rule succeed, the next hop of the route is modified as specified.

Use the delete form of this command to delete this statement from the route map rule.

Use the show form of this command to display set statement configuration for route maps.