This section describes different scenarios where the subscriber needs to be synchronized to a UP manually.
Scenario 1
One UP in a Subscriber Redundancy group is active, and a session is created. Now, another UP in the same SRG is connected
for the first time. All the groups in the second UP become standby. To synchronize the sessions with the second (standby)
UP, use the following CLI command:
bng# subscriber redundancy session-synchronize add domain [ domain_ID ] target-upf upf_ID
You can also use the following CLI command, if there are only two UPs involved (as in Scenario 1):
bng# subscriber redundancy session-synchronize add upf-id [ upf_ID ] target-upf upf_ID
Example-1:
subscriber redundancy session-synchronize add domain [ Domain12 ] target-upf Upf2
The above CLI command synchronizes all the subscribers from active UP, which are part of Domain12 , to the target UP (Upf2 ).
Or,
subscriber redundancy session-synchronize add upf-id [ Upf1 ] target-upf Upf2
The above CLI command synchronizes all the subscribers from Upf1 to Upf2 .
Example-2:
The following is a sample configuration if two UPs are active, and a third UP is connected later.
subscriber redundancy session-synchronize add domain [ Domain12 Domain13 ] target-upf Upf1
The above CLI command synchronizes all the subscribers from the active UPs, which are part of Domain12 , and Domain13 to the target UP (Upf1 ).
Scenario 2
Initially, a Subscriber Redundancy group is configured on only one UP, and a session is created. Later, the second UP is configured
with SRG. Now, to synchronize the session with the second UP in the group, use the following CLI command:
bng# subscriber redundancy session-synchronize add peer-id [ peer_ID ] target-upf upf_ID
Example:
subscriber redundancy session-synchronize add peer-id [ Peer1 ] target-upf Upf2
The above CLI command synchronizes subscribers that are part of a group with peer-id Peer1 to target UP (Upf2 ).
Scenario 3
A group is removed from an UP. To remove sessions in the group, use the following CLI command:
bng# subscriber redundancy session-synchronize delete peer-id [ peer_ID ] target-upf upf_ID
Example:
subscriber redundancy session-synchronize delete peer-id [ Peer1 ] target-upf Upf2
The above CLI command removes subscribers from target UP (Upf2 ) that are part of the SRG group with peer-id peer1 .
Scenario 4
All groups are removed from an UP. To remove all sessions in an UP, use the following CLI command:
bng# subscriber redundancy session-synchronize delete domain [ domain_list ] target-upf upf_ID
Example:
subscriber redundancy session-synchronize delete domain [ domain12 domain13 ] target-upf Upf3
The above CLI command deletes all the subscribers that are part of the domains domain12 , and domain13 from the target UP (Upf3).
Or,
subscriber redundancy session-synchronize delete upf-id [ Upf3 ] target-upf Upf3
The above CLI command deletes all the subscribers that are related to Upf3 from the target UP (Upf3 ).
Note
|
You can also delete all non-SRG sessions in the UP.
|
Scenario 5
An UP from a group is replaced with another UP. To synchronize the sessions, use the following CLI commands:
bng# subscriber redundancy session-synchronize delete peer-id [ peer_ID ] target-upf old_upf_id
bng# subscriber redundancy session-synchronize add peer-id [ peer_ID ] target-upf new_upf_id
Example:
subscriber redundancy session-synchronize delete peer-id [ peer1 ] target-upf Upf1
subscriber redundancy session-synchronize add peer-id [ peer1 ] target-upf Upf2
The above CLI commands remove the sessions in the group with peer-id peer1 from Upf1 , and add the group to Upf2 .
Scenario 6
An UP is replaced with another UP in all the groups in a domain. To synchronize the sessions, use the following CLI commands:
bng# subscriber redundancy session-synchronize delete domain [ domain_ID ] target-upf upf_ID
bng# subscriber redundancy session-synchronize add domain [ domain_ID ] target-upf upf_ID
Example:
subscriber redundancy session-synchronize delete domain [ domain1 ] target-upf Upf1
subscriber redundancy session-synchronize add domain [ domain1 ] target-upf Upf2
The above CLI commands remove the sessions in the groups that are part of domain1 from Upf1 , and add the groups to Upf2 .
Scenario 7
All domain/group/peers are moved from one UP to another. Initially, to delete all subscribers from the UP, use the following
CLI command:
bng# subscriber redundancy session-synchronize delete upf [ upf_ID ] target-upf upf_ID
Example:
subscriber redundancy session-synchronize delete upf [ Upf1 ] target-upf Upf1
The above CLI command removes all the sessions from Upf1 .
Configure the second UP with the configurations deleted from the first UP. Then, to synchronize the sessions, use the following
CLI command:
bng# subscriber redundancy session-synchronize add domain [ domain_list ] target-upf upf_ID
Example:
subscriber redundancy session-synchronize add domain [ domain1...domainN ] target-upf Upf2
The above CLI command synchronizes all the sessions that are in the list of given domains to the new UP (Upf2).