Step 2: Apply the Load-Balancing Policy to the Forwarding Table
Purpose
Apply the policy configured in Step 1 to routes exported from the routing table to the forwarding table.
Action
To apply a load-balancing policy to the forwarding table, follow these steps:
- In configuration mode, go to the following hierarchy level:
[edit]user@host#edit routing-options- Define a load-balance per packet action:
[edit routing-options]user@host#set forwarding-table exportpolicy-name- Verify and commit the configuration:
user@host#showuser@host#commitSample output
[edit]user@R6#edit routing-options[edit routing-options]user@R6#set forwarding-table export load-balance-traffic[edit routing-options]user@R6#showstatic {[...Output truncated...]}router-id 192.168.6.1;autonomous-system 65432;forwarding-table {export load-balance-traffic;}[edit routing-options]user@R6#commitcommit completeWhat It Means
The sample output shows the process for applying a load-balancing policy to export routes from the routing table to the forwarding table.