Aerohive Migrated Content

Expand all | Collapse all

how-to aggregation from CLI

  • 1.  how-to aggregation from CLI

    Posted 10-07-2018 19:20

    Hi guys,

    I own an AP 230. I'm not able to config the agg0 for eth0 and eth1 from the CLI. can yoy please help me here?

    for example:

    interface eth0 bind agg0 bind agg0

                     ^-- unknown keyword or invalid input

    is not ding anything.

     

    Thank you



  • 2.  RE: how-to aggregation from CLI

    This message was posted by a user wishing to remain anonymous
    Posted 10-08-2018 11:53

    It should simply be:

     

    interface eth0 bind agg0

    interface eth1 bind agg0

     

    These two commands should tie both interfaces to the agg0 object.

     

    Your line has "bind agg0" twice in it. Any chance that was a typo? If not, that is probably the issue you're running into.



  • 3.  RE: how-to aggregation from CLI

    Posted 10-08-2018 13:53

    Hi Brian,

     

    Thanks for the answer. check this out:

     

    IronHide#interface eth0 bind agg0

    Error: native-vlan 1 configured on eth0!

    ERROR: Invalid parameter(s)

     

    Mihai



  • 4.  RE: how-to aggregation from CLI

    This message was posted by a user wishing to remain anonymous
    Posted 10-09-2018 15:56

    So did you manually do the "int eth0 native-vlan 1" command? As if I do that command 1st, I get the same error. If I remove that command and let it default to native-vlan 1, the bind commands work as expected.



  • 5.  RE: how-to aggregation from CLI

    Posted 10-09-2018 20:49

    Hi,

    Thanks for answering again.

    I did not the native-vlan 1 was automatically assign. i did nothing manually.

     

    show interface eth0

    Parent interface=none;

    Mode=backhaul; Mac learning= disabled; Admin state=enabled;

    WEB server=disable; NAT support=disable; DHCP client=disable; DHCP server=disable; DNS server=disable;

    IP addr=0.0.0.0; Netmask=0.0.0.0;

    Internal station traffic state=enabled;

    Operational state=up; Duplex=full-duplex; Speed=1000Mbps;

    LLDP state=enabled; CDP state=enabled;

    Hiveid="VHM-UQIASSAP"; Native-vlan=1;

    MAC addr=9c5d:126e:ea40; MTU=1500;

    Rx packets=22127255; errors=1; dropped=9732;

    Tx packets=12722919; errors=0; dropped= 0;

    Rx bytes=2678217634 (2.494 GB); Tx bytes=750744390 (715.966 MB);

     

    show interface eth1

    Parent interface=none;

    Mode=backhaul; Mac learning= disabled; Admin state=enabled;

    WEB server=disable; NAT support=disable; DHCP client=disable; DHCP server=disable; DNS server=disable;

    IP addr=0.0.0.0; Netmask=0.0.0.0;

    Internal station traffic state=enabled;

    Operational state=up; Duplex=full-duplex; Speed=1000Mbps;

    LLDP state=enabled; CDP state=enabled;

    Hiveid="VHM-UQIASSAP"; Native-vlan=1;

    MAC addr=9c5d:126e:ea41; MTU=1500;

    Rx packets=1121681; errors=0; dropped=9732;

    Tx packets= 527111; errors=0; dropped= 0;

    Rx bytes=241326123 (230.147 MB); Tx bytes=76322192 (72.787 MB);

     

    I also did it manually. nothing. same result.

     

    interface eth1 bind agg0

    Error: native-vlan 1 configured on eth1!

    ERROR: Invalid parameter(s)



  • 6.  RE: how-to aggregation from CLI

    Posted 10-10-2018 04:35

    Both my interfaces are in backhaul mode. might be this the issue?

     



  • 7.  RE: how-to aggregation from CLI

    This message was posted by a user wishing to remain anonymous
    Posted 10-10-2018 11:26

    I do not believe so. I did those two commands on a factory reset AP as well as an AP with a basic configuration on it. And the only time it error'd out was when I manually added the int eth0 native-vlan 0 command to the CLI prior to trying to agg the interfaces together.

     

    What HiveOS are you running? I wonder if that has something to do with it...

     

    You might also just run this command: no int eth0 native-vlan

     

     



  • 8.  RE: how-to aggregation from CLI

    Posted 10-10-2018 11:55

    Hi,

     

    I'm on 8.4r5. I will reset it again and start reconfiguring.

    I wanted to ask if there is a way to fully reset to defaults. Everytime I did it I still see some old wifi profile definitions and configs.

    Thanks for helping.

    Mihai



  • 9.  RE: how-to aggregation from CLI

    This message was posted by a user wishing to remain anonymous
    Posted 10-10-2018 12:06

    I'm a big CLI fan. There are two commands you can do to reset it from there. A simple reset config will suffice in almost all circumstances. If you do any bootstrap saving, you can also do a reset config bootstrap. This will reset bootstrap settings back to default as well. The bootstrap is used if you want some config to persist thru the typical reset config (say you always want the AP to have a specific static IP, even if you reset it frequently, you could configure a mgt0 IP and save that to bootstrap and it would persist through a reset config command).

     

    I'll put 8.4r5 on my AP here and try as well.



  • 10.  RE: how-to aggregation from CLI

    Posted 10-10-2018 12:22

    +1 for the CLI. I'll try this asap and tell you how it goes.

     



  • 11.  RE: how-to aggregation from CLI

    This message was posted by a user wishing to remain anonymous
    Posted 10-10-2018 12:30

    So with that new code, it still works for me on a stock AP.

     

    Version:      HiveOS 8.4r5 build-210125

    Build time:     Wed Sep 26 09:50:29 UTC 2018

    Build cookie:    1809260250-210125

    Platform:      AP230

    Bootloader ver:   v0.0.4.21

    TPM ver:      v1.2.37.17

    Uptime:       0 weeks, 0 days, 0 hours, 17 minutes, 50 seconds

     

    AH-42db80#show run

    interface eth0 bind agg0

    interface eth1 bind agg0

    system led power-saving-mode 

     

    FWIW, I do not have the 2nd ethernet port plugged in, but I'll reset it and try again with both ports in use and report back.

     



  • 12.  RE: how-to aggregation from CLI

    Posted 10-10-2018 12:32

    thanks for the effort. I'll do this asap and let you know how It goes.

     



  • 13.  RE: how-to aggregation from CLI

    Posted 10-11-2018 18:17

    Hi,

    I tried what you suggested. The device worked. There is an issue with it, however now I calmed down cz i saw it working.

     

    After I did :

    reset config bootstrap

    reset config

     

    Once the AP rebooted I was able to connect via ssh and make the setup work.

     

    The setup was cleaned every time i was checking the devine via hivemanager on cloud.

    I tried to delete all network policies, however my agg0 setup was flushed again.

     

    I tried to delete the device from the cloud, reset all again, and re-add. same story.

     

     



  • 14.  RE: how-to aggregation from CLI

    Posted 10-11-2018 20:12

    this is how my config looks today:

     

    show run

    security mac-filter VHM-UQIASSAP default permit

    security mac-filter AeroHive-guest default permit

    security mac-filter AeroHive default permit

    radio profile radio_ng_ng0

    radio profile radio_ng_ng0 phymode 11ng

    radio profile radio_ng_ng0 acsp access channel-auto-select time-range 01:00 04:00

    no radio profile radio_ng_ng0 backhaul failover

    radio profile radio_ng_ng0 interference-map enable

    radio profile radio_ng_ng0 short-guard-interval

    radio profile radio_ng_ng0 benchmark phymode 11b rate 11 success 60 usage 50

    radio profile radio_ng_ng0 benchmark phymode 11b rate 5.5 success 70 usage 50

    radio profile radio_ng_ng0 benchmark phymode 11g rate 36 success 70 usage 50

    radio profile radio_ng_ng0 benchmark phymode 11g rate 24 success 80 usage 50

    radio profile radio_ng_ng0 benchmark phymode 11a rate 36 success 70 usage 50

    radio profile radio_ng_ng0 benchmark phymode 11a rate 24 success 80 usage 50

    radio profile radio_ng_ng0 benchmark phymode 11n rate mcs4/2 success 80 usage 50

    radio profile radio_ng_ng0 benchmark phymode 11n rate 54 success 70 usage 50

    radio profile radio_ng_ng0 benchmark phymode 11ac rate mcs2/2 success 80 usage 50

    radio profile radio_ng_ng0 benchmark phymode 11ac rate 54 success 70 usage 50

    radio profile radio_ng_ng0 frameburst

    radio profile radio_ng_ac0

    radio profile radio_ng_ac0 phymode 11ac

    radio profile radio_ng_ac0 acsp access channel-auto-select time-range 01:00 04:00

    radio profile radio_ng_ac0 interference-map enable

    radio profile radio_ng_ac0 interference-map cu-threshold 35

    radio profile radio_ng_ac0 interference-map crc-err-threshold 35

    radio profile radio_ng_ac0 short-guard-interval

    radio profile radio_ng_ac0 benchmark phymode 11b rate 11 success 60 usage 50

    radio profile radio_ng_ac0 benchmark phymode 11b rate 5.5 success 70 usage 50

    radio profile radio_ng_ac0 benchmark phymode 11g rate 36 success 70 usage 50

    radio profile radio_ng_ac0 benchmark phymode 11g rate 24 success 80 usage 50

    radio profile radio_ng_ac0 benchmark phymode 11a rate 36 success 70 usage 50

    radio profile radio_ng_ac0 benchmark phymode 11a rate 24 success 80 usage 50

    radio profile radio_ng_ac0 benchmark phymode 11n rate mcs4/2 success 80 usage 50

    radio profile radio_ng_ac0 benchmark phymode 11n rate 54 success 70 usage 50

    radio profile radio_ng_ac0 benchmark phymode 11ac rate mcs2/2 success 80 usage 50

    radio profile radio_ng_ac0 benchmark phymode 11ac rate 54 success 70 usage 50

    radio profile radio_ng_ac0 frameburst

    radio profile AP150W-11ng-Profile

    radio profile AP150W-11ng-Profile phymode 11ng

    radio profile AP150W-11ng-Profile acsp use-last-selection

    radio profile AP150W-11ng-Profile interference-map enable

    radio profile AP150W-11ng-Profile short-guard-interval

    radio profile AP150W-11ng-Profile benchmark phymode 11b rate 11 success 60 usage 50

    radio profile AP150W-11ng-Profile benchmark phymode 11b rate 5.5 success 70 usage 50

    radio profile AP150W-11ng-Profile benchmark phymode 11g rate 36 success 70 usage 50

    radio profile AP150W-11ng-Profile benchmark phymode 11g rate 24 success 80 usage 50

    radio profile AP150W-11ng-Profile benchmark phymode 11a rate 36 success 70 usage 50

    radio profile AP150W-11ng-Profile benchmark phymode 11a rate 24 success 80 usage 50

    radio profile AP150W-11ng-Profile benchmark phymode 11n rate mcs4/2 success 80 usage 50

    radio profile AP150W-11ng-Profile benchmark phymode 11n rate 54 success 70 usage 50

    radio profile AP150W-11ng-Profile benchmark phymode 11ac rate mcs2/2 success 80 usage 50

    radio profile AP150W-11ng-Profile benchmark phymode 11ac rate 54 success 70 usage 50

    radio profile AP150W-11ng-Profile high-density enable

    radio profile AP150W-11ng-Profile high-density continuous-probe-suppress enable

    radio profile AP150W-11ng-Profile high-density broadcast-probe-suppress enable

    radio profile AP150W-11ng-Profile weak-snr-suppress enable

    radio profile AP150W-11ng-Profile high-density mgmt-frame-tx-rate high

    radio profile AP150W-11ng-Profile weak-snr-suppress threshold 20

    security-object AeroHive-guest

    security-object AeroHive-guest security protocol-suite wpa-auto-psk ascii-key ***

    security-object AeroHive-guest default-user-profile-attr 4000

    security-object AeroHive

    security-object AeroHive security protocol-suite wpa2-aes-psk ascii-key ***

    client-monitor policy default_Policy problem-type association trigger-times 3 report-interval 3600

    client-monitor policy default_Policy problem-type authentication trigger-times 3 report-interval 3600

    client-monitor policy default_Policy problem-type networking trigger-times 3 report-interval 3600

    ssid AeroHive-guest

    ssid AeroHive-guest security-object AeroHive-guest

    ssid AeroHive-guest security mac-filter AeroHive-guest

    ssid AeroHive-guest client-monitor-policy default_Policy

    ssid AeroHive

    ssid AeroHive security-object AeroHive

    ssid AeroHive security mac-filter AeroHive

    ssid AeroHive client-monitor-policy default_Policy

    hive VHM-UQIASSAP

    hive VHM-UQIASSAP security mac-filter VHM-UQIASSAP

    hive VHM-UQIASSAP password ***

    sdr-profile 150W-SDR-Profile

    sdr-profile 150W-SDR-Profile radio-profile-candidate 2g AP150W-11ng-Profile

    interface eth0 native-vlan 1

    interface eth1 native-vlan 1

    interface wifi0 radio tx-power-control auto

    interface wifi0 sdr-profile 150W-SDR-Profile

    interface wifi1 radio profile radio_ng_ac0

    interface wifi1 mode access

    interface wifi1 radio tx-power-control auto

    interface mgt0 hive VHM-UQIASSAP

    interface wifi0 ssid AeroHive-guest

    interface wifi0 ssid AeroHive

    interface wifi1 ssid AeroHive-guest

    interface wifi1 ssid AeroHive

    system led power-saving-mode

    kddr enable

    hostname IronHide

    admin read-only admin-ro password ***

    admin root-admin admin password ***

    interface mgt0 ip 172.16.10.3 255.255.255.0

    ip route net 0.0.0.0 0.0.0.0 gateway 172.16.10.1

    no interface mgt0 dhcp client

    dns server-ip 172.16.10.1

    ntp server 0.aerohive.pool.ntp.org

    ntp server 1.aerohive.pool.ntp.org second

    ntp server 2.aerohive.pool.ntp.org third

    ntp server 3.aerohive.pool.ntp.org fourth

    clock time-zone 2

    clock time-zone daylight-saving-time 03-25 02:59:59 10-28 03:59:59

    config version 25243020

    config rollback enable

    capwap client server name cloud-ie-cws-0.aerohive.com

    capwap client server backup name hmng-prd-ie-cwpm-01.aerohive.com

    capwap client dtls hm-defined-passphrase *** key-id 1

    capwap client vhm-name VHM-UQIASSAP

    no capwap client dtls negotiation enable

    user-profile default-guest-profile qos-policy def-user-qos vlan-id 1 attribute 4000

    ip-policy Guest-Internet-Access-Only

    ip-policy Guest-Internet-Access-Only id 1 service DHCP-Server action permit log

    ip-policy Guest-Internet-Access-Only id 2 service DNS action permit log

    ip-policy Guest-Internet-Access-Only id 3 to 10.0.0.0 255.0.0.0 service any action deny log packet-drop

    ip-policy Guest-Internet-Access-Only id 4 to 172.16.0.0 255.240.0.0 service any action deny log packet-drop

    ip-policy Guest-Internet-Access-Only id 5 to 192.168.0.0 255.255.0.0 service any action deny log packet-drop

    ip-policy Guest-Internet-Access-Only id 6 service any action permit log

    user-profile default-guest-profile security ip-policy from-access Guest-Internet-Access-Only

    user-profile default-guest-profile ip-policy-default-action permit

    application reporting auto

    application reporting upload https://cloud-ie.aerohive.com:443/afs-webapp/l7report/71164/ time-window 15 admin VHM-UQIASSAP password *** basic