Configure rules of local policy routing on an AR router

14

Run the system-view command to access the system view.
Run the policy-based-routepolicy-name { deny | permit } nodenode-id command to create policy-based routing and policy points. If policy points have been created, access the local policy routing view. By default, no local policy routing or policy point has been created.
Note: For packets that matches a rule, permit indicates a policy routing is applied; while deny indicates no policy routing is applied.

Repeat the previous command to create multiple policy points for a local policy routing. The policy points are specified based on the node ID. The smaller the node ID, the higher the priority, and corresponding policy is implemented preferentially.

Run the if-match aclacl-number command to set ACL rules of IP packets. The command can be implemented once or twice.
By default, rules about IP addresses are not configured in local policy routing.
Note:
If an ACL rule is set to permit, the router implements an action for packets that match the rule. When a policy point is permit, packets that match the rule are routed based on a policy. When a policy point is deny, packets that match the rule are not routed based on a policy, and are forwarded according to the destination IP addresses.

If an ACL is configured with rules, packets that do not match any rule are forwarded according to the destination IP addresses.

If an ACL rule is set to deny or an ACL is not configured with rules, local policy routing that applies the ACL does not take effect. Therefore, packets are forwarded according to the destination IP addresses.
Run the if-match packet-lengthmin-lengthmax-length command to set a length rule of IP packets.
By default, length rules of IP packets are not configured in local policy routing.

Other related questions:
Method of configuring local policy routing of an AR router
The method of configuring local policy routing of an AR router is as follows: 1. Configure IP addresses of different interfaces. 2. Configure a static route. 3. Configure policy-based routing. For details about the configuration, see the URL: Example for Configuring Local PBR.

Method of configuring interface policy routing of an AR router
The roadmap of configuring interface policy routing of an AR router is as follows: 1. Configure a traffic classifier. 2. Configure a traffic behavior (redirection to a next hop or an outbound interface). 3. Configure a traffic policy. 4. Apply the traffic policy to the interface in the inbound direction. Supposed that the intranet is composed of two network segments 1.0 and 2.0, and traffic transmitted over 1.0 is redirected to China Telecom and traffic transmitted over 2.0 is redirected to China Unicom, then the configuration is as follows: # acl number 3001 rule 5 permit ip source 10.1.1.0 0.0.0.255 acl number 3002 rule 5 permit ip source 10.1.2.0 0.0.0.255 # traffic classifier redirect-dx operator or if-match acl 3001 traffic classifier redirect-lt operator or if-match acl 3002 # traffic behavior redirect-dx redirect ip-nexthop 1.1.1.1 traffic behavior redirect-lt redirect ip-nexthop 2.2.2.2 # traffic policy celvluyou classifier redirect-dx behavior redirect-dx classifier redirect-lt behavior redirect-lt # interface GigabitEthernet0/0/1 traffic-policy celvluyou inbound # For details about specific configuration cases, see the URL: Example for Configuring Interface PBR.

Method of configuring smart policy routing of an AR router
The method of configuring smart policy routing of an AR router is as follows: 1. Configure IP addresses of different interfaces. 2. Configure a static route. 3. Configure NQA instances. 4. Configure ACLs that differentiate service flows. 5. Configure routing parameters of smart policy routing on router A. 6. Configure service parameters of smart policy routing. For details about the configuration, see the URL: Example for Configuring SPR.

Priorities of policy-based routing and default routing for an AR router
Policy-based routing has a higher priority than default routing. If policy-based routing and default routing coexist, only policy-based routing takes effect. After policy-based routing loses effect, default routing takes effect.

Does an AR router support policy-based routing
All models of AR routers support policy-based routing.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top