ipv6 policy route-map

Enables IPv6 policy-based routing (PBR).

Syntax

ipv6 policy route-map map-name
no ipv6 policy route-map map-name

Command Default

IPv6 PBR is not enabled.

Parameters

map-name
Specifies the name of the route map.

Modes

Interface configuration mode

Port-channel configuration mode

Virtual interface configuration mode

Usage Guidelines

The no form of the command disables IPv6 PBR.

Examples

The following example enables PBR on a specific interface.

device(config)# route-map test-route permit 99
device(config-route-map-test-route/permit/99)# match ipv6 address acl 99
device(config-route-map-test-route/permit/99)# set ipv6 next-hop 2001:db8:0:0:0:ff00:42:8329
device(config-route-map-test-route/permit/99)# exit
device(config)# interface ethernet 1/1
device(conf-if-eth-1/1)# ipv6 policy route-map test-route