Change the Default Gateway of a TPVM
Use this procedure to change the default gateway of a TPVM. This procedure has no impact on the functioning of EFA high-availability mode.
About this task
- The gateway IP address must be in the same subnet as one of the subinterfaces that are created in EFA.
- Perform this procedure on both nodes where EFA is deployed, to avoid a loss of EFA functionality.
- Perform this procedure with caution. EFA and SLX-OS do not validate reachability of the gateway during this operation.
- Vital services, such as DNS, NTP, and LDAP, must be reachable from the new gateway.
Add static IP addresses to the
You can assign a maximum of one pair of static IP addresses. Only one subinterface at a time can have static IP addresses.
efa mgmt subinterface staticip --name <sub-int-name> --ip1 <ip-addr> --ip2 <ip-addr>
Change the gateway of the
efa inventory device execute-cli --ip <standby-slx-ipaddr> --command "tpvm TPVM,interface management ip <standby-tpvm-ipaddr> gw <new-gateway-ipaddr>" --config
Change the gateway of the active
efa inventory device execute-cli --ip <active-slx-ipaddr> --command "tpvm TPVM,interface management ip <active-tpvm-ipaddr> gw <new-gateway-ipaddr>" --config