ZyXEL P-660HN-T1A Support Guide - Page 74
ip policyrouting set active
View all ZyXEL P-660HN-T1A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 74 highlights
P-660HN Series Support Notes interface or a remote node, in the same fashion as the filters. There are 12 policy sets with 6 policies in each set. Setup the IP Policy Routing Setp 1: Set the index of IP routing policy set rule by command „ip policyrouting set index [set#] [rule#]‟. Suppose set#=1, rule#=1 in this example. Step 2: Suppose we‟d like to edit the rule like this: Policy Set Name=Test Active= Yes Criteria: IP Protocol = 6 Type of Service= Don't Care Packet length= 0 Precedence = Don't Care Len Comp= N/A Source: addr start= 192.168.1.2 end= 192.168.1.20 port start= 0 end= N/A Destination: addr start= 0.0.0.0 end= N/A port start= 80 end= 80 Action= Matched Gateway addr = 192.168.1.254 Log= No Type of Service= No Change Precedence = No Change This policy example forces the Web packets originated from the clients with IP addresses from 192.168.1.2 to 192.168.1.20 be routed to the remote LAN via the gateway 192.168.1.254. To implement this, we need to invoke the following command one by one: ip policyrouting set name Test (Set the name as Test of IP routing policy rule ) ip policyrouting set active yes (Enable the rule) ip policyrouting set criteria protocol 6 (Set the protocol ID as 6(TCP) for the rule) ip policyrouting set criteria serviceType 0 (Set the criteria type of service as don‟t care for this rule) ip policyrouting set criteria precedence 8 (Set the precedence as don‟t care for this rule) 74 All contents copyright © 2010 ZyXEL Communications Corporation.