Dell S50V Switch User Manual


  Open as PDF
of 1262
 
810 | Policy-based Routing
www.dell.com | support.dell.com
Figure 37-12. Showing CAM PBR Configuration Example
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 37-13 is a graphic illustration of the configuration shown in Figure 37-14. 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
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
Index Flag Port Port MAC
----------------------------------------------------------------------------------------------------------------------
-
----------
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
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:
0
Non-Contiguous Bitmasks
Contiguous Bitmasks