efa tenant vrf update

Updates the tenant VRF for various operations and parameters, such as ASN and IPv6 static route.

Syntax

efa tenant vrf update [--name vrf-name | --tenant tenant-name | --operation code |--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 VRF name.
--tenant tenant-name
Specifies the tenant name
--operation code
Identifies the operation you want to perform. Valid values are local-asn-add, local-asn-delete, static-route-bfd-add, static-route-bfd-delete, static-route-add, static-route-delete, max-path-add, max-path-delete, redistribute-add, redistribute-delete, rh-max-path-add, rh-max-path-delete, and rh-ecmp-update.
--local-asn locl-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 IP 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. 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 chose the specific devices on which to configure resilient hashing. Configuration applies to all SLX devices in the tenant VRF.

This example configures a maximum of 13 paths for VRF 10.
# efa tenant vrf update -–name vrf10 –tenant tenant1 --operation max-paths-add 
--max-path 13
This example changes the operation type and the redistribution type for a new tenant VRF.
# efa tenant vrf create --name vrf1 --tenant tenant1 --redistribute static
# efa tenant vrf create –-name vrf10 -–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

# efa tenant vrf update -–name vrf10 –-tenant tenant1 --operation redistribute-add 
--redistribute static
This example configures a maximum number of resilient hashing paths for vrf10.
efa tenant vrf update –-name vrf10 –-tenant tenant1 --operation rh-max-path-add 
--rh-max-path 16
This example enables resilient hashing for vrf10.
efa tenant vrf update --name vrf10 –-tenant tenant1 --operation rh-ecmp-update 
–-rh-ecmp-enable=true