I need help with syntax

Hello Guys,
I am sorry for this stupid question but I just could not figure it out.
I wanted to add a virtual wireless interface like the following code. My problem is that i want as ssid the name of the router plus this sign : /2

/interface/wireless/add name=wlan3 master-interface=wlan1 mode=ap-bridge ssid="[/system/identity/get name] + /2" security-profile=default disabled=no;

/interface/bridge/port/add interface=wlan3 bridge=bridgeLAN;

I just do not know how to make that possible. As you can see in the code I tried some things out, but it did not work. The challenge also is that I do not use any variables.
I hope someone can help me with this thing.

/interface/wireless/add name=wlan3 master-interface=wlan1 mode=ap-bridge ssid="[/system/identity/get name] + /2" security-profile=default disabled=no;



/interface/wireless/add name=wlan3 master-interface=wlan1 mode=ap-bridge ssid=("[/system/identity/get name]"."\/2") security-profile=default disabled=no;

???
Simply:

/interface wireless add […] ssid="$[/sys id get name]/2" […]

on your example
ssid=(“[/system/identity/get name]”.“/2”)
must be writed:
ssid=([/system/identity/get name].“/2”)
without quotas, [/system/identity/get name] is a “command”, not a string, and why “escape” the “/” ???

I suggest you to not use extra characters on SSID but use only “standard” -, 0-9, A-Z, a-z and _ for prevent problems with iSewer phone…
And not just on MikroTik products. I still have problems with iSewer and other old smartphones if are used “strange” characters (from smartphone point of view).

Yes, you don’t need to screen, I overdid it here … But let the topcaster try it himself, so he will remember better … :slight_smile:

/interface/wireless/add name=wlan3 master-interface=wlan1 mode=ap-bridge ssid=("[/system/identity/get name]"."\/2") security-profile=default disabled=no;

I also saw that mistake and made this:

/interface/wireless/add name=wlan3 master-interface=wlan1 mode=ap-bridge ssid=([/system/identity/get name]."/2") security-profile=default disabled=no;



Yes, you don’t need to screen, I overdid it here … But let the topcaster try it himself, so he will remember better … > :slight_smile:

Yes, I learned something because I saw the other posts to late.
Thank you guys very much for you help.

My recommendation is to avoid using non-standard characters in your SSID and only use “-”, 0-9, A-Z, a-z, and “_” to prevent issues with older smartphones like iSewer.