Reference Guide

Policy-based Routing | 759
Showing CAM PBR Configuration Example
FTOS(conf-if-gi-8/1)#do show cam pbr l 8 p0
TCP Flag: Bit 5 - URG, Bit 4 - ACK, Bit 3 - PSH, Bit 2 - RST, Bit 1 - SYN, Bit 0 - FIN
Cam Port VlanID Proto Tcp Src Dst SrcIp DstIp
Next-hop Egress
Index Flag Port Port
MAC Port
------------------------------------------------------------------------------------
06080 0 N/A IP 0x0 0 0 200.200.200.200 200.200.200.200 199.199.199.199
199.199.199.199 N/A N/A
06081 0 N/A TCP 0x10 0 40 234.234.234.234 255.234.234.234
222.222.222.222/24 00:00:00:00:00:09 8/1
Sample Configuration
The following configuration is an example for setting up a PBR. These are not comprehensive directions.
They are intended to give you a some guidance with typical configurations.
You can copy and paste from these examples to your CLI. Be sure you make the necessary changes to
support your own IP Addresses, Interfaces, Names, etc.
Figure 40-2 is a graphic illustration of the configuration shown in the output examples below the figure.
The Redirect-List GOLD defined in this example, creates the following rules:
description Route Gold traffic to the DS3.
seq 5 redirect 10.99.99.254 ip 192.168.1.0/24 any
" Redirect to next-hop router IP 10.99.99.254 any traffic originating in 192.168.1.0/24."
seq 10 redirect 10.99.99.254 ip 192.168.2.0/24 any
" Redirect to next-hop router IP 10.99.99.254 any traffic originating in 192.168.2.0/24."
seq 15 permit ip any any