Hi @Sai ,
>But after changing parameters values how to bring Listener offline and online and AG offline and online
>Please guide me with the steps?
You can using below PowerShell scripts;
Stop-ClusterResource yourListenerName
Start-ClusterResource yourListenerName
Start-ClusterGroup yourListenerGroupName
Or you can do this from failover cluster manager as below screenshot.



>With AG offline and online, will it affect in secondary AG's. How Secondary servers will behave with this change.
Yes. The AG will be in a resolving state as below screenshot until you bring SQL AG online.

If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar thread.