Configures the various LAG hash parameters.
URI | Description |
---|---|
<base_URI>/config/running/lag |
Configures the Hash-based LAG parameters. |
GET URIs | Description |
---|---|
<base_URI>/config/running/lag |
Retrieves the Hash-based LAG parameters. |
POST URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/lag |
<bos><start/></bos> |
Specifies to pick up only the BOS label for hashing. The parameters indicate whether to include the BOS label when hashing. |
<base_URI>/config/running/lag |
<hdr-count>{count}</hdr-count> |
Specifies the number of headers to be considered for LAG hashing. |
<base_URI>/config/running/lag |
<hdr-start><fwd/></hdr-start> |
Specifies where to start picking headers for key generation. The parameters indicate whether to start from the inner header or the outer header. |
<base_URI>/config/running/lag |
<normalize/> |
Specifies using the same hash in both directions. |
<base_URI>/config/running/lag |
<pwctlword/> |
Specifies including the PW control word in hashing. |
<base_URI>/config/running/lag |
<rotate>{rotate-number}<rotate/> |
Specifies the hashing randomness value. |
<base_URI>/config/running/lag |
<speculate-mpls><enable/></speculate-mpls> |
Enables Speculative MPLS. |
<base_URI>/config/running/lag |
<speculate-mpls><inner-eth/></speculate-mpls> |
Enable inner ETH hash for L2VPN. |
<base_URI>/config/running/lag |
<speculate-mpls><inner-ip-raw/></speculate-mpls> |
Enable inner IPv4 header hash for L2VPN raw mode. |
<base_URI>/config/running/lag |
<speculate-mpls><inner-ip-tag/></speculate-mpls> |
Enable inner IPv4 header hash for L2VPN tag mode. |
<base_URI>/config/running/lag |
<speculate-mpls><inner-ipv6-raw/></speculate-mpls> |
Enable inner IPv6 header hash for L2VPN raw mode. |
<base_URI>/config/running/lag |
<speculate-mpls><inner-ipv6-tag/></speculate-mpls> |
Enable inner IPv6 header hash for L2VPN tag mode. |
<base_URI>/config/running/lag |
<srcport/> |
Specifies to include source port in hashing configuration. |
PATCH URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/lag |
<bos><start/></bos> |
Specifies to pick up only the BOS label for hashing. The parameters indicate whether to include the BOS label when hashing. |
<base_URI>/config/running/lag |
<hdr-count>{count}</hdr-count> |
Specifies the number of headers to be considered for LAG hashing. |
<base_URI>/config/running/lag |
<hdr-start><fwd/></hdr-start> |
Specifies where to start picking headers for key generation. The parameters indicate whether to start from the inner header or the outer header. |
<base_URI>/config/running/lag |
<normalize/> |
Specifies using the same hash in both directions. |
<base_URI>/config/running/lag |
<pwctlword/> |
Specifies including the PW control word in hashing. |
<base_URI>/config/running/lag |
<rotate>{rotate-number}<rotate/> |
Specifies the hashing randomness value. |
<base_URI>/config/running/lag |
<speculate-mpls><enable/></speculate-mpls> |
Enables Speculative MPLS. |
<base_URI>/config/running/lag |
<speculate-mpls><inner-eth/></speculate-mpls> |
Enable inner ETH hash for L2VPN. |
<base_URI>/config/running/lag |
<speculate-mpls><inner-ip-raw/></speculate-mpls> |
Enable inner IPv4 header hash for L2VPN raw mode. |
<base_URI>/config/running/lag |
<speculate-mpls><inner-ip-tag/></speculate-mpls> |
Enable inner IPv4 header hash for L2VPN tag mode. |
<base_URI>/config/running/lag |
<speculate-mpls><inner-ipv6-raw/></speculate-mpls> |
Enable inner IPv6 header hash for L2VPN raw mode. |
<base_URI>/config/running/lag |
<speculate-mpls><inner-ipv6-tag/></speculate-mpls> |
Enable inner IPv6 header hash for L2VPN tag mode. |
<base_URI>/config/running/lag |
<srcport/> |
Specifies to include source port in hashing configuration. |
Delete URIs |
---|
<base-uri>/config/running/lag/bos |
<base-uri>/config/running/lag/hdr-count |
<base-uri>/config/running/lag/hdr-start |
<base-uri>/config/running/lag/normalize |
<base-uri>/config/running/lag/rotate |
<base-uri>/config/running/lag/pwctlword |
<base-uri>/config/running/lag/speculate-mpls |
<base-uri>/config/running/lag/srcport |
GET, PUT, PATCH, and DELETE operations are supported.
The following example uses the GET option to retrieve Lag Hash information on an Extreme 8820.
http://host:80/rest/config/running/lag/hash
None<hash xmlns="urn:brocade.com:mgmt:brocade-rbridge-lag" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/lag/hash"> <rotate>12</rotate> <normalize>true</normalize> </hash>
The following example uses the POST option to configure hashing randomness.
http://host:80/rest/config/running/lag/hash
<hash> <rotate>5</rotate> </hash>None