Alright bros I tried again and got the internal vlan id via uart. The command was gc_omcicli mib get 171 (or get mib, I forgot) and it gave out a series of string which had to be parsed (Thanks to previous member mostwanted003) and it came out to be 1240. Failed to login due to wrong credentials. Will try out again soon.