Changing the local ASN of an active BGP instance:
at the global level, causes the BGP instance to restart with the new local ASN
at the group level, causes BGP to re-establish the peer relationships with all peers in the group with the new local ASN
at the neighbor level, causes BGP to re-establish the peer relationship with the new local ASN