Preventing User Plane Function Switchback
Use the following configuration to prevent the switchback of the new Standby UPF to Active state again due to Sx/N4 monitor failure in the new Active.
configure
context context_name
service-redundancy-protocol
monitor sx disallow-switchover-on-peer-monitor-fail timeout seconds
end
Use either of the following CLIs to allow switchback of the new Standby UPF to Active state.
no monitor sx disallow-switchover-on-peer-monitor-fail
Or
monitor sx disallow-switchover-on-peer-monitor-fail timeout 0
NOTES:
-
no : Disables prevention of switchover.
-
disallow-switchover-on-peer-monitor-fail [ timeout seconds ] : Prevents the switchback of the UPF to Active state when the working status of the UPF to SMF link is unknown.
timeout seconds: Timeout after which the switchback is allowed even if the Sx/N4 failure status is not reset in the Standby peer. The valid values range from 0 through 2073600 (24 days).
NoteAssigning 0 seconds as the timeout allows unplanned switchover.If timeout keyword is not specified, the Active chassis waits indefinitely for the Sx/N4 failure status to be reset in the Standby peer.
-
The default configuration is to allow unplanned switchover due to Sx/N4 monitor failure in all conditions.
NoteManual planned switchover is allowed irrespective of whether this CLI is configured or not.