If you are wildcarding and existing session agent, you have to select the configuration before you make changes.
hostname—To wildcard a session agent, you simply replace the value you want to wildcard with an asterisk (*). Also note that your value must lead with the asterisk (*), as in the following example.