load-balance rtag7

Use this command to configure rtag7 load balancing.

Use the no option to disable the rtag7 load balancing.

Configuring the load-balance rtag7 removes the default load-balance settings. Hence, reconfigure the load-balance parameters again.

Command Syntax

This form enables or disables rtag7 load balancing globally:

Copy
load-balance rtag7 
no load-balance rtag7

By default, load balancing is enabled for ECMP, and LAGClosed Link Aggregation Group.

This form sets rtag7 hashing for ECMP and L3 LAG based on IPv4 fields:

Copy
load-balance rtag7 (ipv4 {src-ipv4|dest-ipv4|srcl4-port|destl4-port|protocol-id})
no load-balance rtag7 (ipv4 {src-ipv4|dest-ipv4|srcl4-port|destl4-port|protocol- id})

By default, IPv4 ECMP is configured with the fields src-ipv4, dest-ipv4, srcl4-port, and dest-l4port.

By default, L3 LAG is configured with the fields src-ipv4 and dest-ipv4.

This form sets rtag7 hashing for ECMP based on IPv6 fields:

Copy
load-balance rtag7 (ipv6 {src-ipv6|dest-ipv6|srcl4-port|destl4-port|next-hdr})
no load-balance rtag7 (ipv6 {src-ipv6|dest-ipv6|srcl4-port|destl4-port|next-hdr})

By default, IPv6 ECMP is configured with the fields src-ipv6, dest-ipv6, srcl4-port, and dest-l4port.

This form sets rtag7 hashing for L2 LAG based on L2 fields:

Copy
load-balance rtag7 (l2 {dest-mac|src-mac|ether-type|vlan})
no load-balance rtag7 (l2 {dest-mac|src-mac|ether-type|vlan})

Please note the following:

For ingress LER nodes, hashing is done on L2 fields, L3 fields (outer IPx), or inner IP fields (only for IPx-over-IPx or IPx-over-GRE-IPx).

This form sets rtag7 hashing based on the outer IP address:

Copy
load-balance rtag7 (tunnel outer-l3-header)
no load-balance rtag7 (tunnel outer-l3-header)

Parameters

ipv4

Load balance IPv4 packets

src-ipv4

Source IPv4 based load balancing

dest-ipv4

Destination IPv4 based load balancing

srcl4-port

Source L4 port based load balancing

destl4-port

Destination L4 port based load balancing

protocol-id

Protocol ID based load balancing

ipv6

Load balance IPv6 packets

src-ipv6

Source IPV6 based load balancing

dest-ipv6

Destination IPv6 based load balancing

srcl4-port

Source L4 port based load balancing

destl4-port

Destination L4 port based load balancing

next-hdr

Next header field for IPv6

l2

Load balance L2 packets

dest-mac

Destination MAC address based load balancing

src-mac

Source MAC address based load balancing

ether-type

Ether-type based load balancing

vlan

VLAN-based load balancing

tunnel

Load balance tunneled packets based on outer header (default uses the inner-header)

outer-l3-header

Use outer header for hashing (ip-over-ip, ipv6-over-ip, ip-over-gre-ip, ipv6-over-gre-ip, ipv6-over-ipv6, ip-over-ipv6, ip-over-gre-ipv6, ipv6-over-gre-ipv6)

inner-l2

Load balance Inner l2 header

dest-mac

Destination MAC address load balancing

src-mac

Source MAC address

ether-type

Ether-type based load balancing

vlan

VLAN tag id

inner-l3

Inner l3 header

dest-ip

Destination IP address

src-ip

Source IP address

srcl4-port

Source L4 port based load balancing

protocol ID

Protocol (IPv4), nxt-hdr (IPv6)

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

Copy
(config)#load-balance rtag7
(config)#load-balance rtag7 ipv4 src-ipv4