Connectivity Guide

Table Of Contents
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 conguration 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
Verify IPv4 PBR conguration
OS10# show ip policy abc
Interface Route-map
-----------------------
ethernet1/1/1 abc
ethernet1/1/3 abc
vlan100 abc
Verify IPv6 PBR conguration
OS10# show ipv6 policy abc
Interface Route-map
-------------------------
ethernet1/1/1 abc
ethernet1/1/3 abc
vlan100 abc
View current PBR statistics
show route-map pbr-sample pbr-statistics
route-map pbr-sample, permit, sequence 10
496
Layer 3