load-balance/hash

Configures the various load balancing parameters.

Resource URIs

URI Description

<base_URI>/config/running/load-balance

Configures the Hash-based Load Balancing parameters.

GET URI Description

<base_URI>/config/running/load-balance

Retrieves the Hash-based Load Balancing parameters.

POST URIs Payload Description

<base_URI>/config/running/load-balance/hash/ethernet

<ethernet><da-mac/></ethernet>

Specifies the Layer 2 Destination MAC Address as a hash source.

<base_URI>/config/running/load-balance/hash/ethernet

<ethernet><etype/></ethernet>

Specifies the etype as a hash source.

<base_URI>/config/running/load-balance/hash/ethernet

<ethernet><sa-mac/></ethernet>

Specifies the Layer 2 Source MAC Address as a hash source.

<base_URI>/config/running/load-balance/hash/ethernet

<ethernet><smac-dmac/></ethernet>

Specifies the source and destination MACs of the inner and outer headers as hash sources.

<base_URI>/config/running/load-balance/hash/ethernet

<ethernet><vlan/></ethernet>

Specifies the VLAN option as a hash source.

<base_URI>/config/running/load-balance/hash/ip

<ip><src-l4-port/></ip>

Specifies the Source Layer 4 port as a hash source.

<base_URI>/config/running/load-balance/hash/ip

<ip><dst-l4-port/></ip>

Specifies the Destination Layer 4 port as a hash source.

<base_URI>/config/running/load-balance/hash/ip

<ip><src-ip/></ip>

Specifies the Source IP as a hash source.

<base_URI>/config/running/load-balance/hash/ip

<ip><dst-ip/></ip>

Specifies the Destination IP as a hash source.

<base_URI>/config/running/load-balance/hash/ip

<ip><protocol/></ip>

Specifies the IP Protocol as a hash source.

<base_URI>/config/running/load-balance/hash/ip

<ip><sip-dip/></ip>

Specifies the IPv4 Source and Destination IP addresses of the inner and outer headers as hash sources.

<base_URI>/config/running/load-balance/hash/ipv6

<ipv6><ipv6-src-ip/></ipv6>

Specifies the IPv6 Source IP as a hash source.

<base_URI>/config/running/load-balance/hash/ipv6

<ipv6><ipv6-src-l4-port/></ipv6>

Specifies the IPv6 Source port as a hash source.

<base_URI>/config/running/load-balance/hash/ipv6

<ipv6><ipv6-dst-ip/></ipv6>

Specifies the IPv6 Destination IP as a hash source.

<base_URI>/config/running/load-balance/hash/ipv6

<ipv6><ipv6-dst-l4-port/></ipv6>

Specifies the IPv6 Destination port as a hash shource.

<base_URI>/config/running/load-balance/hash/ipv6

<ipv6><next-header/></ipv6>

Specifies the next IPv6 header as a hash source.

<base_URI>/config/running/load-balance/hash/ipv6

<ipv6><sipv6-dipv6/></ipv6>

Specifies the IPv6 Source and Destination IP addresses as hash sources.

<base_URI>/config/running/load-balance/hash/l4

<l4><src-dst-port/></l4>

Specifies the Layer 4 Source and Destination ports as hash sources.

<base_URI>/config/running/load-balance/hash/mpls

<mpls><label1/></mpls>

Specifies the MPLS Label 1 as the hash source.

<base_URI>/config/running/load-balance/hash/mpls

<mpls><label2/></mpls>

Specifies the MPLS Label 2 as the hash source.

<base_URI>/config/running/load-balance/hash/mpls

<mpls><label3/></mpls>

Specifies the MPLS Label 3 as the hash source.

<base_URI>/config/running/load-balance/hash/mpls

<mpls><all-labels/></mpls>

Specifies all MPLS Labels as hash sources.

PATCH URIs Payload Description

<base_URI>/config/running/load-balance/hash/ethernet

<ethernet><da-mac/></ethernet>

Specifies the Layer 2 Destination MAC Address as a hash source.

<base_URI>/config/running/load-balance/hash/ethernet

<ethernet><etype/></ethernet>

Specifies the etype as a hash source.

<base_URI>/config/running/load-balance/hash/ethernet

<ethernet><sa-mac/></ethernet>

Specifies the Layer 2 Source MAC Address as a hash source.

<base_URI>/config/running/load-balance/hash/ethernet

<ethernet><smac-dmac/></ethernet>

Specifies the source and destination MACs of the inner and outer headers as hash source.

<base_URI>/config/running/load-balance/hash/ethernet

<ethernet><vlan/></ethernet>

Specifies the VLAN option as a hash source.

<base_URI>/config/running/load-balance/hash/ip

<ip><src-l4-port/></ip>

Specifies the Source Layer 4 port as a hash source.

<base_URI>/config/running/load-balance/hash/ip

<ip><dst-l4-port/></ip>

Specifies the Destination Layer 4 port as a hash source.

<base_URI>/config/running/load-balance/hash/ip

<ip><src-ip/></ip>

Specifies the Source IP as a hash source.

<base_URI>/config/running/load-balance/hash/ip

<ip><dst-ip/></ip>

Specifies the Destination IP as a hash source.

<base_URI>/config/running/load-balance/hash/ip

<ip><protocol/></ip>

Specifies the IP Protocol as a hash source.

<base_URI>/config/running/load-balance/hash/ip

<ip><sip-dip/></ip>

Specifies the IPv4 Source and Destination IP addresses of the inner and outer headers as hash sources.

<base_URI>/config/running/load-balance/hash/ipv6

<ipv6><ipv6-src-ip/></ipv6>

Specifies the IPv6 Source IP as a hash source.

<base_URI>/config/running/load-balance/hash/ipv6

<ipv6><ipv6-src-l4-port/></ipv6>

Specifies the IPv6 Source port as a hash source.

<base_URI>/config/running/load-balance/hash/ipv6

<ipv6><ipv6-dst-ip/></ipv6>

Specifies the IPv6 Destination IP as a hash source.

<base_URI>/config/running/load-balance/hash/ipv6

<ipv6><ipv6-dst-l4-port/></ipv6>

Specifies the IPv6 Destination port as a hash shource.

<base_URI>/config/running/load-balance/hash/ipv6

<ipv6><next-header/></ipv6>

Specifies the next IPv6 header as a hash source.

<base_URI>/config/running/load-balance/hash/ipv6

<ipv6><sipv6-dipv6/></ipv6>

Specifies the IPv6 Source and Destination IP addresses as hash sources.

<base_URI>/config/running/load-balance/hash/l4

<l4><src-dst-port/></l4>

Specifies the Layer 4 Source and Destination ports as hash sources.

<base_URI>/config/running/load-balance/hash/mpls

<mpls><label1/></mpls>

Specifies the MPLS Label 1 as the hash source.

<base_URI>/config/running/load-balance/hash/mpls

<mpls><label2/></mpls>

Specifies the MPLS Label 2 as the hash source.

<base_URI>/config/running/load-balance/hash/mpls

<mpls><label3/></mpls>

Specifies the MPLS Label 3 as the hash source.

<base_URI>/config/running/load-balance/hash/mpls

<mpls><all-labels/></mpls>

Specifies all MPLS Labels as hash sources.

Delete URIs
<base-uri>/config/running/load-balance/hash/ethernet/da-mac
<base-uri>/config/running/load-balance/hash/ethernet/etype
<base-uri>/config/running/load-balance/hash/ethernet/sa-mac
<base-uri>/config/running/load-balance/hash/ethernet/smac-dmac
<base-uri>/config/running/load-balance/hash/ethernet/vlan
<base-uri>/config/running/load-balance/hash/ip/src-l4-port
<base-uri>/config/running/load-balance/hash/ip/dst-l4-port
<base-uri>/config/running/load-balance/hash/ip/src-ip
<base-uri>/config/running/load-balance/hash/ip/dst-ip
<base-uri>/config/running/load-balance/hash/ip/protocol
<base-uri>/config/running/load-balance/hash/ip/sip-dip
<base-uri>/config/running/load-balance/hash/ipv6/ipv6-src-ip
<base-uri>/config/running/load-balance/hash/ipv6/ipv6-src-l4-port
<base-uri>/config/running/load-balance/hash/ipv6/ipv6-dst-ip
<base-uri>/config/running/load-balance/hash/ipv6/ipv6-dst-l4-port
<base-uri>/config/running/load-balance/hash/ipv6/next-header
<base-uri>/config/running/load-balance/hash/ipv6/sipv6-dipv6
<base-uri>/config/running/load-balance/hash/l4/src-dst-port
<base-uri>/config/running/load-balance/hash/mpls/label1
<base-uri>/config/running/load-balance/hash/mpls/label2
<base-uri>/config/running/load-balance/hash/mpls/label3
<base-uri>/config/running/load-balance/hash/mpls/all-label

Parameters

ethernet
da-mac
Specifies Layer 2 destination address.
etype
Specifies the etype option.
sa-mac
Specifies Layer 2 source address.
vlan
Specifies the vlan option.
smac-dmac
Specifies the source and destination MACs of the inner and outer headers.
ip
dst-ip
Specifies destination IP address.
dst-l4-port
Specifies destination Layer 4 port.
protocol
Specifies the IP protocol.
sip-dip
Specifies the IPv4 Source and Destination IP addresses of the inner and outer headers as hash sources.
src-ip
Specifies source IP address.
src-l4-port
Specifies source Layer 4 port.
ipv6
ipv6-dst-ip
Specifies destination IPv6 address.
ipv6-dst-l4-port
Specifies IPv6 destination Layer 4 port.
ipv6-next-hdr
Specifies next IPv6 header.
ipv6-src-ip
Specifies source IPv6 address.
ipv6-src-l4-port
Specifies IPv6 source Layer 4 port.
sipv6-dipv6
Specifies IPv6 Source IP and IPv6 Destination IP addresses.
l4 src-dst-port
Only supported on SLX 9740 and Extreme 8820 devices. Specifies using both source and destination ports in L4 header for calculating hash.
mpls
(Not supported for SLX 9150 or SLX 9250 devices)
label1
Specifies MPLS label 1. Not supported for SLX 9740 and Extreme 8820.
label2
Specifies MPLS label 2. Not supported for SLX 9740 and Extreme 8820.
label3
Specifies MPLS label 3. Not supported for SLX 9740 and Extreme 8820.
all-labels
Specifies all MPLS labels. Only supported on SLX 9740 and Extreme 8820.

Usage Guidelines

GET, PUT, PATCH, and DELETE operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration information for ethernet Load Balance Hash on an Extreme 8820.

<base-uri>/rest/config/running/load-balance/hash/ethernet

None

<ethernet xmlns="urn:brocade.com:mgmt:brocade-rbridge-lag" 
	xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/load-balance/hash/ethernet">
	<smac-dmac>true</smac-dmac>
	<vlan>true</vlan>
	<etype>true</etype>
</ethernet> 

URI

The following example uses the POST option to configure smac-dmac on an Extreme 8820.

http://host:80/rest/config/running/load-balance/hash/ethernet

<ethernet> 
	<smac-dmac>true</smac-dmac>
</ethernet> 

None