efa tenant vrf create

Creates a 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 } | --graceful-restart-enable= {true | false } | --routing-type { distributed | centralized }|--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 }
Turns on or turns off resilient hashing for a tenant VRF. Valid values are true or false.
--graceful-restart-enable= {true | false }
Turns on or turns off graceful restart for a tenant VRF. Valid values are true or false.
--routing-type { distributed | centralized. }
VRF routing type. Default value is distributed.
--centralized-router
Comma-separated list of border-leaf IP addresses.
--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 a distributed VRF.
(efa:extreme)extreme@node-1:~$ efa tenant vrf create --tenant tenant11 
--name blue11 --local-asn 65001 --rt-type import --rt 100:100 --rt-type export 
--rt 100:100 --rt-type import --rt 200:200 --rt-type export --rt 200:200 --rt-type import 
--rt 300:300 --rt-type export --rt 400:400 --max-path 50 --redistribute connected 
--redistribute static --ipv4-static-route-next-hop 10.20.216.16,192.168.0.0/24,10.10.10.1,5 
--ipv4-static-route-next-hop 10.20.216.15,192.168.10.0/24,10.10.10.5,5  
--ipv6-static-route-next-hop  10.20.216.16,2020:20::1/128,3001::2,6 
--ipv6-static-route-next-hop 10.20.216.15,2020:30::1/128,3001::3,5  
--ipv6-static-route-bfd 10.20.216.16,3001::3,3001::1,100,200,5 
--ipv6-static-route-bfd 10.20.216.16,3001::2,3001::1 
--ipv6-static-route-bfd 10.20.216.16,3001::4,3001::1,100,300,6 
--ipv4-static-route-bfd 10.20.216.15,10.10.10.1,10.10.10.254,200,300,6 
--ipv4-static-route-bfd 10.20.216.16,10.10.10.5,10.10.10.252 --rh-ecmp-enable 
--rh-max-path 16 --graceful-restart-enable --routing-type distributed

Vrf created successfully.

--- Time Elapsed: 762.819499ms ---
This example creates a centralized VRF.
(efa:extreme)extreme@node-1:~$ efa tenant vrf create --name red13 
--tenant tenant21 --max-path 50 --redistribute connected --redistribute static 
--local-asn 65002 --ipv4-static-route-next-hop 10.20.216.104,192.168.0.0/24,10.10.10.1,5 
--ipv4-static-route-next-hop 10.20.216.104,192.168.10.0/24,10.10.10.5,5  
--ipv6-static-route-next-hop  10.20.216.104,2020:20::1/128,3001::2,6 
--ipv6-static-route-next-hop 10.20.216.104,2020:30::1/128,3001::3,5  
--ipv6-static-route-bfd 10.20.216.104,3001::3,3001::1,100,200,5 
--ipv6-static-route-bfd 10.20.216.104,3001::2,3001::1 
--ipv6-static-route-bfd 10.20.216.104,3001::4,3001::1,100,300,6 
--ipv4-static-route-bfd 10.20.216.104,10.10.10.1,10.10.10.254,200,300,6 
--ipv4-static-route-bfd 10.20.216.104,10.10.10.5,10.10.10.252 --rh-max-path 64 
--routing-type centralized --centralized-router 10.20.216.103,10.20.216.104

Vrf created successfully.

--- Time Elapsed: 726.425268ms ---