Users Guide

Table Of Contents
Configure IPv6 access-list to match route-map
OS10(config)# ipv6 access-list acl8
OS10(conf-ipv6-acl)# permit ipv6 10::10 any
Set address to match route-map
You can set an IPv4 or IPv6 address to match a route-map.
1. Enter the IPv4 or IPv6 address to match and specify the access-list name in Route-Map mode.
match {ip | ipv6} address access-list-name
2. Set the next-hop IP address in Route-Map mode.
set {ip | ipv6} next-hop ip-address
Apply match and set parameters to IPv4 route-map
OS10(conf-route-map)# route-map map1
OS10(conf-route-map)# match ip address acl5
OS10(conf-route-map)# set ip next-hop 10.10.10.10
Apply match and set parameters to IPv6 route-map
OS10(conf-route-map)# route-map map1
OS10(conf-route-map)# match ipv6 address acl8
OS10(conf-route-map)# set ipv6 next-hop 20::20
Assign route-map to interface
You can assign a route-map to an interface for IPv4 or IPv6 policy-based routing to an interface.
Assign the IPv4 or IPv6 policy-based route-map to an interface in INTERFACE mode.
{ip | ipv6} policy route-map map-name
Assign route-map to an IPv4 interface
OS10(config)# interface ethernet 1/1/5
OS10(conf-if-eth1/1/5)# ip policy route-map map1
Assign route-map to an IPv6 interface
OS10(conf-if-eth1/1/5)# ipv6 policy route-map map2
View PBR information
Display PBR information to verify IPv4 or IPv6 configuration and view statistics.
1. View IPv4 or IPv6 PBR policy information in EXEC mode.
show {ip | ipv6} policy name
2. View current PBR statistics in EXEC mode.
show route-map map-name pbr-statistics
3. Clear all policy statistics information in EXEC mode.
clear route-map map-name pbr-statistics
802
Layer 3