Changing the local AS 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 reestablish the peer relationships with all peers in the group with the new local ASN
at the neighbor level, causes BGP to reestablish the peer relationship with the new local ASN