Ipv4 - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Chapter 40
Configuring Policy-Based Routing
Enabling Local IPv4 and Local IPv6 PBR
Packets that are generated by the switch are not normally policy-routed. To enable local PBR for such
packets, indicate which route map the switch should use by entering this command:

IPv4

Command
Switch(config)# ip local policy route-map map-tag
IPv6
Command
Switch(config)# ipv6 local policy route-map map-tag
All packets originating on the switch are then subject to local PBR.
Use the show ip local policy command to display the route map used for local PBR, if one exists.
Examples of the show Command
The following show command illustrates that route map pbrv6-test has only one permit sequence.
In the example policy, IPv6 packets with an address matching the criteria defined by the access control
list v6_acl are forwarded to the next hop 2006::2. If next-hop 2006::2 is unreachable, the matching
packets are forwarded to 2005::2. If both next-hops are unreachable, the packets are forwarded using the
routing table lookup. For packets that do not match the filter criteria, a standard routing table lookup is
performed for packet forwarding.
Switch# show route-map pbrv6-test
route-map pbrv6-test, permit, sequence 10
Match clauses:
Set clauses:
Policy routing matches: 0 packets, 0 bytes
Unsupported Commands
The following PBR commands in config-route-map mode are in the CLI but not supported in Cisco IOS
for the Catalyst 4500 series switches. If you attempt to use these commands, an error message displays:
OL_28731-01
ipv6 address v6_acl
ipv6 next-hop 2006::2 2005::2
match-length
set ip qos and set ipv6 qos
set ip tos and set ipv6 tos
set ip precedence and set ipv6 precedence
set ip df and set ipv6 df
Purpose
Identifies the IPv4 route map to use for local PBR.
Purpose
Identifies the IPv6 route map to use for local PBR.
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
Policy-Based Routing Configuration Tasks
40-11

Advertisement

Table of Contents
loading

Table of Contents