efa mgmt route create

Creates a virtual management route in a multi-node deployment for the Multiple Management IP Networks feature.

Syntax

efa mgmt route create [ --src mmip-vip | --to dest-cidr | --via next-hop-ip ]

Parameters

--src mmip-vip
Identifies the source IP address for the route. Example: 192.168.34.40 or 2000::1.
--to dest-cidr
Identifies the destination network for outbound traffic, as CIDR. Example: 10.20.0.0/16 or 3000::/64.
--via next-hop-ip
Identifies the next-hop or gateway IP address through which access to the destination network is provided. Example: 192.168.34.45 or 2000::2.

Examples

The following example creates an IPv4 virtual route.

$ efa mgmt route create --src 10.21.30.40 --to 192.168.100.0/24 --via 10.21.30.41 

Virtual Route created successfully 

The following example creates an IPv6 virtual route.

efa mgmt route create --src=2000::1 --via=2000::2 --to=4000::/64