efa tenant vrf create

Creates the tenant VRF.

Syntax

efa tenant vrf create [ --name vrf-name | --tenant tenant-name | --rt-type { both | import | export }| --rt value |--local-asn local-asn | --ipv4-static-route-bfd route | --ipv6-static-route-bfd route | --ipv4-static-route-next-hop route | --ipv6-static-route-next-hop route | --max-path unit |--redistribute { static | connected} | --rh-max-path { 8 | 16 | 64 }| --rh-ecmp-enable= {true | false }|--help ]

Parameters

--name vrf-name
Specifies the name of the VRF.
--tenant tenant-name
Specifies the name of the tenant.
--rt-type { both | import | export }
Specifies the route's target VPN community. Valid values are both, import, or export.
--rt value
Specifies the unique number for forming the Route Target and the Route Distinguisher.
--local-asn local-asn
Specifies the local ASN for the VRF.
--ipv4-static-route-bfd route
Specifies the IPv4 static route BFD in the following format: device IP, destination IPv4 address, source IPv4 address[interval,min-rx,multiplier]. For example: 10.25.25.100,1.1.1.1,2.2.2.2,123,456,3.
--ipv6-static-route-bfd route
Specifies the IPv6 static route BFD in the following format: device IP, destination IPv6 address, source IPv6 address[interval,min-rx,multiplier]. For example: 10.25.25.100,1::1,2::2,300,300,3.
--ipv4-static-route-next-hop route
Specifies the IPv4 static route next hop in the following format: device IP, IPv4 static route network, next hop IP, and route distance separated by commas. For example: 10.25.25.100,20.0.0.0/24,16.0.0.2,3. Valid values for the route distance are 1 through 254.
--ipv6-static-route-next-hop route
Specifies the IPv4 static route next hop in the following format: device IP, IPv6 static route network, next hop IP, and route distance separated by commas. For example: 10.25.25.100,2001:1::/64,3001::2,3. Valid values for the route distance are 1 through 254.
--max-path unit
Specifies the number of load-sharing paths for the VRF. Valid values are 1 through 64.
--redistribute { static | connected}
Specifies the redistribute type for routes. Valid values are static or connected.
--rh-max-path { 8 | 16 | 64 }
Specifies the maximum number of resilient hashing paths allowed per tenant VRF. Valid values are 8, 16, or 64.
--rh-ecmp-enable= {true | false }
Enables or disables resilient hashing for a tenant VRF. Valid values are true or false.
--help
Provides help for the command.

Usage Guidelines

The --max-path and --rh-max-path parameters can co-exist.

You cannot choose the specific devices on which to configure resilient hashing. Configuration applies to all SLX devices in the tenant VRF.

Examples

This example creates vrfb31 for tenant t4.
# efa tenant vrf create --name vrfb31 --tenant t4 --local-asn 65234 
--ipv4-static-route-next-hop 0.0.0.0/24,16.0.0.2 --ipv6-static-route-next-hop 
3000:330::/120,4000:330::2 --ipv6-static-route-bfd 200::2,200::3,123,455,5 
--ipv4-static-route-bfd 16.0.0.2,16.0.0.3,123,456,3
This example creates vrf1 for tenant1 and the associated endpoint groups (EPG).
# efa tenant vrf create --name vrf1 --tenant tenant1

# efa tenant epg create --name ten1epg1 --tenant tenant1 
--port 10.24.80.134[0/11],10.24.80.135[0/11] --switchport-mode trunk –-ctag-range 11 
--vrf vrf1 -–anycast-ip 11:10.10.11.1/24 

# efa tenant epg create --name ten1epg2 --tenant tenant1 
--port 10.24.80.134[0/12],10.24.80.135[0/12] --switchport-mode trunk -–ctag-range 12 
--vrf vrf10 –-anycast-ip 12:10.10.12.1/24
This example creates vrf1 with a static redistribution type.
# efa tenant vrf create --name vrf1 --tenant tenant1 --redistribute static
This example creates a VRF, enables resilient hashing, and defines the maximum number of resilient hashing paths.
efa tenant vrf create --name vrf1 --tenant tenant2 --rh-ecmp-enable=true 
--rh-max-path 16