Sending Network Traffic to an ECMP Group


Static ECMP groups become active only when associated with a vRouter. Netvisor assigns a vRouter to a static ECMP group local to each node. Once a static ECMP group is associated with a vRouter, Netvisor creates an ECMP group in hardware. You can add multiple nexthops to an ECMP group. If a Layer 3 entry is active for a given nexthop, the associated egress ID is added to ECMP group.


A static ECMP group can be associated with a vFlow using the action to-ecmp-group and the action value as action-to-ecmp-group-value.


If a vFlow using ECMP group is a hit, Netvisor hashes traffic over corresponding nexthops based on Layer 3 and Layer 4 fields in the packet. You cannot delete a static ECMP group while it is in use by any vFlow.


The following new commands and parameters are added to support this feature:


CLI (network-admin@switch) > static-ecmp-group-create


group-name group-name-string

Specify an ECMP group name.

scope local|cluster|fabric

Specify the scope of the group.

vrouter-name vrouter-name

Specify the vRouter name.


CLI (network-admin@switch) > static-ecmp-group-delete

 

group-name group-name-string

Specify an ECMP group name.


CLI (network-admin@switch) > static-ecmp-group-modify

 

group-name group-name-string

Specify an ECMP group name.

scope local|cluster|fabric

Specify the scope of the group.

vrouter-name vrouter-name

Specify the vRouter name.


CLI (network-admin@switch) > static-ecmp-group-show

 

group-name group-name-string

Displays an ECMP group name.

scope local|cluster|fabric

Displays the scope of the group.

vrouter-name vrouter-name

Displays the vRouter name.

vrid vrid-number

Displays the vRouter ID.

hw-ecmp-id hw-ecmp-id-number

Displays the hardware ID.


CLI (network-admin@switch) > static-ecmp-group-show

 

group-name scope vrouter-name vrid hw-ecmp-id

---------- ----- ------------ ---- ----------

gr1        local              -1   -1

 

CLI (network-admin@switch) > static-ecmp-group-nh-add

 

group-name group-name-string

Specify the name of the ECMP group.

ip ip-address

Specify the IP address for the next hop.


CLI (network-admin@switch) > static-ecmp-group-nh-remove


group-name group-name-string

Specify the name of the ECMP group.

ip ip-address

Specify the IP address for the next hop.


CLI (network-admin@switch) > static-ecmp-group-nh-show


group-name group-name-string

Specify the name of the ECMP group.

ip ip-address

Specify the IP address for the next hop.


CLI (network-admin@switch) > static-ecmp-group-nh-show


group-name group-name-string

Displays the name of the ECMP group.

ip ip-address

Displays the IP address for the next hop.

vlan vlan-id

Displays the VLAN of the next hop.

egress-id egress-id-number

Displays the hardware egress ID.