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.

Chapter 6: Extended Actions <strong>Configuration</strong><br />

To include the bits in the IP address of the IPv4 or IPv6 payload as well as the first label<br />

in the hash key, include the label-1 and payload ip statements at the<br />

[edit forwarding-options hash-key family mpls] hierarchy level:<br />

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

family mpls {<br />

label-1;<br />

payload {<br />

ip;<br />

}<br />

}<br />

To include the bits of the IP address of the IPv4 or IPv6 payload as well as both the first<br />

label and the second label in the hash key, include the label-1, label-2, and payload ip<br />

statements at the [edit forwarding-options hash-key family mpls] hierarchy level.<br />

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

label-1;<br />

label-2;<br />

payload {<br />

ip {<br />

layer-3-only;<br />

port-data {<br />

source-msb;<br />

source-lsb;<br />

destination-msb;<br />

destination-lsb;<br />

}<br />

}<br />

}<br />

To include only Layer 3 IP information in the hash key, specify the layer-3-only option at<br />

the [edit forwarding-options hash-key family mpls payload ip] hierarchy level. To include<br />

the most significant byte of the source port, specify the source-msb option. To include<br />

the least significant byte of the source port, specify the source-lsb option. To include the<br />

most significant byte of the destination port, specify the destination-msb option. To<br />

include the least significant byte of the destination port, specify the destination-lsb option.<br />

By default, the most significant byte and least significant byte of the source and<br />

destination port fields are hashed. To select specific bytes to be hashed, include one or<br />

more of the source-msb, source-lsb, destination-msb, and destination-lsb options at the<br />

[edit forwarding-options hash-key family mpls payload ip port-data] hierarchy level. To<br />

prevent all four bytes from being hashed, include the layer-3-only option at the [edit<br />

forwarding-options hash-key family mpls payload ip] hierarchy level.<br />

In an Layer 2 VPN scenario, the router could encounter a reordering complication. When<br />

a burst of traffic pushes the customer traffic bandwidth to exceed its limits, the traffic<br />

might be affected in mid flow. Packets may be reordered as a result.<br />

You can configure the EXP bit of the top label to be excluded from the hash calculations<br />

to avoid the reordering complication. To exclude the EXP bit of the first label from the<br />

hash calculations, include the no-label-1-exp statement at the [edit forwarding-options<br />

hash-key family mpls] hierarchy level:<br />

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

147

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

Saved successfully!

Ooh no, something went wrong!