EasyManua.ls Logo

Cisco Catalyst 4500 Series - Policy-Based Routing Configuration Examples

Cisco Catalyst 4500 Series
2086 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
42-16
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 42 Configuring Policy-Based Routing
Policy-Based Routing Configuration Examples
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
set ipv6 next-hop recursive
set ipv6 next-hop verify-availability
Policy-Based Routing Configuration Examples
The following sections provide PBR configuration examples:
Equal Access, page 42-16
Differing Next Hops, page 42-17
Deny ACE, page 42-17
For information on how to configure policy-based routing, see the section “Policy-Based Routing
Configuration Tasks” in this chapter.
Equal Access
The following example provides two sources with equal access to two different service providers.
Packets arriving on interface fastethernet 3/1 from the source 1.1.1.1 are sent to the switch at 6.6.6.6 if
the switch has no explicit route for the destination of the packet. Packets arriving from the source 2.2.2.2
are sent to the switch at 7.7.7.7 if the switch has no explicit route for the destination of the packet. All
other packets for which the switch has no explicit route to the destination are discarded.
Switch (config)# access-list 1 permit ip 1.1.1.1
access-list 2 permit ip 2.2.2.2
!
interface fastethernet 3/1
ip policy route-map equal-access
!
route-map equal-access permit 10
match ip address 1
set ip default next-hop 6.6.6.6
route-map equal-access permit 20
match ip address 2
set ip default next-hop 7.7.7.7
route-map equal-access permit 30
set default interface null0
Note If the packets you want to drop do not match either of the first two route-map clauses, then change |
set default interface null0 to set interface null0.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Related product manuals