I'm following both the "NCS getting started guide" and the examples within the NCS installation directory. I was expecting to achieve the same result with both "$ ncs_cli -u admin" and "$ ncs_cli -C -u admin" shell but is not like this.
I'm trying to replicate the same configuration from the 5.5.3 Defining mapping ...
You are missing "vlans" right after vlan when using J style CLI. Note that the two styles render NED YANG models differently so you cannot assume that the only difference will be in prepending the J commands with request or edit.
More specifically, the NED uses the tailf:cli-drop-node-name annotation which only applies to C style (hence no vlans keyword).