16.03.2014 Views

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Junos 10.4 <strong>Policy</strong> <strong>Framework</strong> <strong>Configuration</strong> <strong>Guide</strong><br />

Configuring Load Balancing Based on MPLS Labels<br />

To load-balance based on the MPLS label information, include the family mpls statement<br />

at the [edit forwarding-options hash-key] hierarchy level:<br />

[edit forwarding-options hash-key]<br />

family mpls {<br />

label-1;<br />

label-2;<br />

label-3;<br />

no-labels;<br />

no-label-1-exp;<br />

payload {<br />

ether-pseudowire;<br />

ip {<br />

layer-3-only;<br />

port-data {<br />

destination-lsb;<br />

destination-msb;<br />

source-lsb;<br />

source-msb;<br />

}<br />

}<br />

}<br />

}<br />

This feature applies to aggregated Ethernet and aggregated SONET/SDH interfaces as<br />

well as multiple equal-cost MPLS next hops. In addition, on the T Series, MX Series, M120,<br />

and M320 routers only, you can configure load balancing for IPv4 traffic over Layer 2<br />

Ethernet pseudowires. You can also configure load balancing for Ethernet pseudowires<br />

based on IP information. The option to include IP information in the hash key provides<br />

support for Ethernet circuit cross-connect (CCC) connections. For more information<br />

about configuring load balancing for Ethernet pseudowires, see “Configuring Load<br />

Balancing for Ethernet Pseudowires” on page 148.<br />

To include the first label in the hash key, include the label-1 option. This is used for a<br />

one-label packet.<br />

To include the first and second label in the hash key, include both the label-1 and label-2<br />

options. This is used for a two-label packet. The router provides hashing on the first and<br />

second labels by default. If both labels are specified, the entire first label and the first<br />

16 bits of the second label are hashed.<br />

To include the third MPLS label in the hash function, include the label-3 option at the<br />

[edit forwarding-options hash-key family mpls] hierarchy level. To include no MPLS labels<br />

in the hash function, include the no-labels option at the [edit forwarding-options hash-key<br />

family mpls] hierarchy level.<br />

Hashing can include IP addresses to provide better distribution of traffic to aggregated<br />

interfaces.<br />

146<br />

Copyright © 2010, <strong>Juniper</strong> <strong>Networks</strong>, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!