You could just name the vlan with their id, only constraint is that there has to be at least one character. Then use the description to show what the vlan is for. Then you can refer to a number.
jh@fw# show vlans v100 { description "test vlan"; vlan-id 100; } jh@fw# show interfaces ge-0/0/4.0 family ethernet-switching { vlan { members v100; } }
As AshvinO mentioned, you can just use replace pattern (in this example v200 has already been created):
jh@fw# edit interfaces [edit interfaces] jh@fw# show ge-0/0/4.0 family ethernet-switching { vlan { members v100; } } [edit interfaces] jh@fw# replace pattern "v100" with "v200" [edit interfaces] jh@fw# show ge-0/0/4.0 family ethernet-switching { vlan { members v200; } } [edit interfaces] jh@fw#