static-ecmp-group-create

This command adds the capability of supporting multiple nexthops for Equal Cost Multipath (ECMP) routing to single destinations as part of Policy-based Routing (PBR).

Syntax   static-ecmp-group-create

group-name group-name-string

Specify an ECMP group name.

scope local|cluster|fabric

Specify the scope of the group. The default scope is local.

vrouter-name vrouter name

Specify the vRouter name.

hash-type non-resilient|resilient

Specify the type of ECMP hash for the group. Resilient hashing helps minimize the flow remapping across ECMP groups and LAGs in a load-balanced system.

Defaults   None

Access   Network Administrator

History   Command introduced in Version 5.0.0.

Usage   Use this command to create a static ECMP group.

Examples  To create an ECMP group named GR1, use the following syntax:

CLI network-admin@switch > static-ecmp-group-create group-name GR1

static-ecmp-group-delete

This commands removes ECMP groups from the configuration.

Syntax   static-ecmp-group-delete

group-name group-name-string

Specify an ECMP group name.

Defaults   None

Access   Network Administrator

History   Command introduced in Version 5.0.0.

Usage   Use this command to delete a static ECMP group.

Examples  To delete an ECMP group named GR1, use the following syntax:

CLI network-admin@switch > static-ecmp-group-delete group-name GR1

static-ecmp-group-modify

This commands modifies the ECMP configuration.

Syntax   static-ecmp-group-create

group-name group-name-string

Specify an ECMP group name.

vrouter-name vrouter name

Specify the vRouter name.

hash-type non-resilient|resilient

Specify the type of ECMP hash for the group. Resilient hashing helps minimize the flow remapping across ECMP groups and LAGs in a load-balanced system.

Defaults   None

Access   Network Administrator

History   Command introduced in Version 5.0.0.

Usage   Use this command to modify a static ECMP group.

Examples  To modify an ECMP group named GR1 and add vRouter, VR1, use the following syntax:

CLI network-admin@switch > static-ecmp-group-modify group-name GR1 vrouter VR1

static-ecmp-group-show

This commands information about Equal Cost Multipath (ECMP) routing groups.

Syntax   static-ecmp-group-show

group-name group-name-string

Specify an ECMP group name.

scope local|cluster|fabric

Specify the scope of the group. The default scope is local.

vrouter-name vrouter name

Specify the vRouter name.

hash-type non-resilient|resilient

Specify the type of ECMP hash for the group. Resilient hashing helps minimize the flow remapping across ECMP groups and LAGs in a load-balanced system.

Defaults   None

Access   Network Administrator

History   Command introduced in Version 5.0.0.

Usage   Use this command to display a static ECMP group.

Examples  To display ECMP groups, use the following syntax:

CLI network-admin@switch > static-ecmp-group-show 1

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

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

gr1        local  VR1           -1    -1

static-ecmp-group-nh-add

Add a nexthop destination to a static ECMP group configuration.

Syntax   static-ecmp-group-nh-add

group-name group-name-string

Specify the ECMP group name.

ip ip-address

Specify the IP address of the gateway.

Defaults   None

Access   Netvisor Administrator

History   Command introduced in Version 5.0.0.

Usage   Use this command to add a nexthop to a static ECMP configuration.

Examples  To add a nexthop IP address, 172.21.16.23, to group, GR1, use the following syntax:

CLI network-admin@switch > static-ecmp-group-nh-add group-name GR1 ip 172.21.16.23

static-ecmp-group-nh-remove

Remove a nexthop destination from a static ECMP group configuration.

Syntax   static-ecmp-group-nh-remove

group-name group-name-string

Specify the ECMP group name.

ip ip-address

Specify the IP address of the gateway.

Defaults   None

Access   Netvisor Administrator

History   Command introduced in Version 5.0.0.

Usage   Use this command to remove a nexthop from a static ECMP configuration.

Examples  To remove a nexthop IP address, 172.21.16.23, to group, GR1, use the following syntax:

CLI network-admin@switch > static-ecmp-group-nh-remove group-name GR1 ip 172.21.16.23

static-ecmp-group-nh-show

Display a nexthop destination to a static ECMP group configuration.

Syntax   static-ecmp-group-nh-show

group-name group-name-string

Displays the ECMP group name.

ip ip-address

Displays the IP address of the gateway.

vlan vlan-id

Displays the VLAN of the nexthop.

egress-id egress-id-number

Displays the hardware egress ID.

Defaults   None

Access   Netvisor Administrator

History   Command introduced in Version 5.0.0.

Usage   Use this command to display a nexthop information for a static ECMP configuration.

Examples  To display the configuration, GR1, use the following syntax:

CLI network-admin@switch > static-ecmp-group-nh-show group-name GR1

group-name ip                  vlan egress-id

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

gr1        172.21.16.23        24    -1