Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleNOTE:

Enable IP routing function before using this feature, for details please refer to Configuring IP Routing.


In L2/L3, ECMP is supported. The maximum ECMP outgoing port group is 4*128. If each ECMP route is configured to have up to 4 equal-cost paths, for example, the maximum ECMP outgoing port group support is 128. If each ECMP route is configured to have up to 16 equal-cost paths, the maximum ECMP outgoing port group support is 32. Several different ECMP routes can share the same outgoing port group. After configuring the ECMP equal-cost path maximum, reboot the switch to make it available. 

...

Code Block
admin@XorPlus# set vlans vlan-id 2
admin@XorPlus# set vlans vlan-id 3
admin@XorPlus# set vlans vlan-id 4
admin@XorPlus# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching native-vlan-id 2
admin@XorPlus# set interface gigabit-ethernet ge-1/1/4 family ethernet-switching native-vlan-id 3
admin@XorPlus# set interface gigabit-ethernet ge-1/1/5 family ethernet-switching native-vlan-id 4
admin@XorPlus# set vlans vlan-id 2 l3-interface vlan-2
admin@XorPlus# set vlans vlan-id 3 l3-interface vlan-3
admin@XorPlus# set vlans vlan-id 4 l3-interface vlan-4
admin@XorPlus# set l3-interface vlan-interface vlan-2 address 10.10.60.10 prefix-length 24
admin@XorPlus# set l3-interface vlan-interface vlan-3 address 10.10.61.10 prefix-length 24
admin@XorPlus# set l3-interface vlan-interface vlan-4 address 10.10.62.10 prefix-length 24
admin@XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
admin@XorPlus# set protocols static route 10.10.51.0/24 next-hop 10.10.61.20
admin@XorPlus# set protocols static route 10.10.51.0/24 next-hop 10.10.62.20 metric
1
admin@XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
admin@XorPlus# 
You can che

Check the static ECMP route for 10.10.51.0/24 in the RIB .

...

with command run show route ipv4.

Configuring ECMP Hash Fields

In the default setting, all fields are hashed by IP-source, port-destination, port-source, and VLAN. Additional fields can be enabled, as shown below:

...