BigIron RX Series Configuration Guide 56953-1001986-01Configuration examples 22Enabling PBR locallyTo enable PBR locally, enter commands such as the following.BigIron RX(config)# interface ve 1BigIron RX(config-vif-1)# ip policy route-map test-routeThe commands in this example change the CLI to the Interface level for virtual interface 1, thenapply the “test-route” route map to the interface. You can apply a PBR route map to Ethernet portsor virtual interfaces.Syntax: ip policy route-map Enter the name of the route map you want to use for the route-map parameter.Configuration examplesThis section presents configuration examples for:• “Basic example” on page 569• “Setting the next hop” on page 570• “Setting the output interface to the null interface” on page 571Basic exampleThe following commands configure and apply a PBR policy that routes HTTP traffic received onvirtual routing interface 1 from the 10.10.10.x/24 network to 5.5.5.x/24 through next-hop IPaddress 1.1.1.1/24 or, if 1.1.1.x is unavailable, through 2.2.2.1/24.Syntax: [no]route-map permit l deny route-mapSyntax: [no] set ip next hop This command sets the next-hop IP address for traffic that matches a match statement in the routemap.BigIron RX(config)# access-list 101 permit tcp 10.10.10.0 0.0.0.255 eq http5.5.5.0 0.0.0.255BigIron RX(config)# route-map net10web permit 101BigIron RX(config-routemap net10web)# match ip address 101BigIron RX(config-routemap net10web)# set ip next-hop 1.1.1.1BigIron RX(config-routemap net10web)# set ip next-hop 2.2.2.2BigIron RX(config-routemap net10web)# exitBigIron RX(config)# vlan 10BigIron RX(config-vlan-10)# tagged ethernet 1/1 to 1/4BigIron RX(config-vlan-10)# router-interface ve 1BigIron RX(config)# interface ve 1BigIron RX(config-vif-1)# ip policy route-map net10web