Configuring 2 SSID's on seperate VLANS using CLI

  • 1
  • Question
  • Updated 3 years ago
Hello Everyone. I am new to aerohive and purchased an AP 320 running 6.1r3 used. I am planning on purchasing another for my home network and since this is just going to be a 2 station deployment and for home use I really dont want to spend the money on Hive Manager and would like to configure both using the command line interface as that is really my only option.

What I would like to do is configure one ap with a internal SSID and a guest SSID both on there own VLAN. I have one ap connected off a trunk port with both vlans configured to pass now i would like to know what the cli commands would look like to accomplish this. any sample output from a running configuration using the above scenario would be most helpfull and greatly appreciated.

Thanks for your time.
Photo of Brian O

Brian O

  • 2 Posts
  • 1 Reply Like

Posted 3 years ago

  • 1
Photo of Brian O

Brian O

  • 2 Posts
  • 1 Reply Like
Hi all I was able to figure it out. In case any one else is in the same situation as i was and needed this information I posted the config below. The trick is assigning the vlan and the attrib in the user profile then assinging the user profile to the security profile then to the ssid.

security-object carranza-wifi
security-object carranza-wifi security protocol-suite wpa2-aes-psk ascii-key ***
security-object carranza-wifi default-user-profile-attr 10
security-object carranza-guest
security-object carranza-guest default-user-profile-attr 30
ssid carranza-wifi
ssid carranza-wifi security-object carranza-wifi
ssid carranza-guest
ssid carranza-guest security-object carranza-guest
hive carranza-hive
hive carranza-hive password ***
interface wifi1 mode access
interface wifi0 ssid carranza-wifi
interface wifi1 ssid carranza-wifi
interface wifi0 ssid carranza-guest
interface wifi1 ssid carranza-guest
hostname ahap-02
admin root-admin brian password ***
interface mgt0 ip 10.0.0.3 255.255.255.0
ip route net 0.0.0.0 0.0.0.0 gateway 10.0.0.1
user-profile carranza-wifi qos-policy def-user-qos vlan-id 10 attribute 10
user-profile carranza-guest qos-policy def-user-qos vlan-id 30 attribute 30

I hope this helps with anyone that faces the same problem.

Have a good day !