An option in the port-map configuration allows a secondary uplink to be assigned to enable uplink resiliency. A secondary uplink is used to carry the traffic associated with the client port if the primary uplink becomes unavailable. If traffic is switched to the secondary uplink, when the primary uplink becomes available, traffic is reverted to the primary as soon as possible.
The configuration of a secondary uplink is performed on a per-client port basis using the port-map command.
config>system>sat>eth-sat>port-map client-port-id primary primary-uplink-port-id [secondary secondary-uplink-port-id]
config>system>sat>eth-sat>port-map client-port-id system-default
To configure a secondary uplink, after the primary uplink is specified, the secondary keyword should be included, followed by the intended uplink to be used as the secondary uplink.
For example,
config>system>satellite>eth-sat 1
port-map esat-1/1/2 primary esat-1/1/u1 secondary esat-1/1/u3
If there are no SAPs or interfaces bound to a client port, then any change can be made to the uplinks.
If a SAP or interface is bound to a client port, or the client port is member of a LAG or ETH tunnel, then only one uplink change per configuration command is allowed (see below).
The primary cannot be changed directly, this requires multiple steps.
swap primary and secondary
remove secondary
add new secondary
do a second swap of primary and secondary
The following are basic actions allowed with a single command:
add or delete secondary uplink
swap primary and secondary
add a secondary uplink and swap secondary with primary
Uplink mapping can be changed, but a client uplink must be maintained throughout the process. For example, client-10 is mapped to uplink-1 (U-1), but must move to uplink-2 (U-2). To do this, add U-2 as the secondary uplink, then swap the primary and secondary, making U-2 the primary uplink for client-10 and switching traffic to U-2. After the switch is complete, remove U-1. U-1 cannot be directly replaced with U-2, as the client port would have no uplink during the switch.