{"id":4696,"date":"2022-11-29T17:55:00","date_gmt":"2022-11-29T23:55:00","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=4696"},"modified":"2022-11-29T17:56:03","modified_gmt":"2022-11-29T23:56:03","slug":"change-vlan-id-ubiquiti-radio-from-ssh","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/change-vlan-id-ubiquiti-radio-from-ssh\/","title":{"rendered":"Change VLAN ID Ubiquiti Radio from SSH"},"content":{"rendered":"\n<p>First we&#8217;ll need to ssh into the device<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh ubnt@192.168.1.20<\/pre>\n\n\n\n<p>Next lets open up the config file <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">vi \/tmp\/system.cfg<\/pre>\n\n\n\n<p>Now search for vlan and replace the vlan id with the appropriate number<\/p>\n\n\n\n<p>In VI you can search by hitting \/ and then type in vlan<\/p>\n\n\n\n<p>After you have changed all the vlan ids, save the file with esc, wq, enter.<\/p>\n\n\n\n<p>Now we can save the config with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cfgmtd -f \/tmp\/system.cfg -w &amp;&amp; reboot<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>First we&#8217;ll need to ssh into the device ssh ubnt@192.168.1.20 Next lets open up the config file vi \/tmp\/system.cfg Now search for vlan and replace the vlan id with the appropriate number In VI you can search by hitting \/ &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/change-vlan-id-ubiquiti-radio-from-ssh\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,1144],"tags":[8,501,221,131,132,974],"class_list":["post-4696","post","type-post","status-publish","format-standard","hentry","category-ubiquiti","category-ubiquiti-command-line","tag-command-line-2","tag-config","tag-ssh","tag-ubiquiti-2","tag-ubnt","tag-ui"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=4696"}],"version-history":[{"count":3,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4696\/revisions"}],"predecessor-version":[{"id":4699,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4696\/revisions\/4699"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=4696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=4696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=4696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}