Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

policy route route-map <map-name> rule <rule-num> match ipv6 nexthop

Defines a match condition for a route map based on the next-hop IPv6 address.

set policy route route-map map-name rule rule-num match ipv6 nexthop { access-list6 list-num | prefix-list6 list-name }
delete policy route route-map map-name rule rule-num match ipv6 nexthop
show policy route route-map map-name rule rule-num match ipv6 nexthop

If no next-hop match condition is specified, packets are not filtered by next hop.

map-name
The name of a defined route map.
rule-num
The number of a defined route map rule.
access-list6 list-num
Matches the next-hop IPv6 address in the route against those permitted by the specified access list. The access list must already be defined. Either access-list6 or prefix-list6 must be specified.
prefix-list6 list-name
Matches next-hop IPv6 address in the route against those permitted by the specified prefix list. The prefix list must already be defined. Either access-list6 or prefix-list6 must be specified.

Configuration mode


policy {
    route-map map-name {
        rule rule-num {
            match {
                ipv6 {
                    nexthop {
                        access-list6 list-num
                        prefix-list6 list-name                    
                    }
                }
            }
        }
    }
}

Use the set form of this command to define a match condition for a route map policy based on next-hop IPv6 address.

Packets are matched based on whether the next-hop IPv6 address of the route matches an address contained in the specified access list or prefix list. Depending on the action defined for the rule using policy route route-map <map-name> rule <rule-num> action, matched packets are either permitted or denied. Based on the forwarding information specified by the set statements in the route map rule, permitted packets are forwarded to their various destinations.

If more than one match condition is defined in a route map rule, the packet must match all conditions to count as a match. If no match condition is defined for the route map rule, all packets are considered to match the rule.

Use the delete form of this command to remove the next-hop IPv6 address match condition.

Use the show form of this command to display next-hop IPv6 address match condition configuration.