Accton Technology HIVEAP20AG HiveAP 20ag User Manual UserMan HEDHIVEAP20AG revised3

Accton Technology Corp HiveAP 20ag UserMan HEDHIVEAP20AG revised3

Contents

User Manual 2

Chapter 7 Using HiveManager80 Aerohive•HiveAP management traffic for CAPWAP, SNMP monitoring and notifications, and SCP configuration, captive web portal file, and HiveOS firmware uploads to managed HiveAPsWhen you enable both interfaces, HiveManager management traffic uses the MGT interface while HiveAP management traffic uses the LAN interface, as shown in Figure2.Figure 2  Using Both MGT and LAN InterfacesWhen only the MGT interface is enabled, both types of management traffic use it. A possible drawback to this approach is that the two types of management traffic cannot be separated into two different networks. For example, if you have an existing management network, you would not be able to use it for HiveManager management traffic. Both HiveManager and HiveAP management traffic would need to flow on the operational network because HiveManager would need to communicate with the HiveAPs from its MGT interface (see Figure3). However, if the separation of both types of traffic is not an issue, then using just the MGT interface is a simple approach to consider.Figure 3  Using Just the MGT Interface8.After you finish configuring the network settings, return to the main menu, and reboot the HiveManager appliance by entering 5 (5 Reboot HM Appliance).You can now disconnect the serial cable.Note: To set static routes after you log in to the GUI, click HM Admin > HiveManager Settings >Routing >Add, set the destination IP address/netmask and gateway, and then click Apply.ÓÙÌïðòïòîòèñîìÔßÒïðòïòïòèñîìÍ©·¬½¸ ᫬»®Ø·ª»- ·² ¼·ºº»®»²¬ -«¾²»¬-᫬»®ïðòïòíòðñîìïðòïòìòðñîìïðòïòëòðñîìïðòïòïòïïðòïòîòïß¼³·²ïðòïòéòíìÍÝÐ Í»®ª»® ïðòïòêòïîØ·ª»Ó¿²¿¹»®Û¿½¸ ¸·ª» ½±²¬¿·²- ³«´¬·°´» Ø·ª»ßÐ-òStatic Routes: HiveManager sends traffic destined for 10.1.6.0/24 to 10.1.2.1.HiveManager sends traffic destined for 10.1.7.0/24 to 10.1.2.1.Default Gateway:10.1.1.1 (HiveManager sends traffic here when there are no specific routes to a destination.)ÓÙÌïðòïòïòèñîìÔßÒðòðòðòðñðÍ©·¬½¸ ᫬»®Ø·ª»- ·² ¼·ºº»®»²¬ -«¾²»¬-ïðòïòíòðñîìïðòïòìòðñîìïðòïòëòðñîìïðòïòïòïß¼³·²ïðòïòéòíìÍÝÐ Í»®ª»® ïðòïòêòïîØ·ª»Ó¿²¿¹»®Û¿½¸ ¸·ª» ½±²¬¿·²- ³«´¬·°´» Ø·ª»ßÐ-òDefault Gateway:10.1.1.1 (HiveManager sends all traffic to the default gateway.)
Deployment Guide 81 INSTALLINGAND CONNECTINGTOTHE HIVEMANAGER GUIConnecting to the GUI through the MGT Interface 1.Connect Ethernet cables from the MGT interface and LAN interface—if you are using it—to the network.2.Connect an Ethernet cable from your management system to the network so that you can make an HTTPS connection to the IP address that you set for the MGT interface.3.Open a web browser and enter the IP address of the MGT interface in the address field. For example, if you changed the IP address to 10.1.1.8, enter this in the address field: https://10.1.1.8A login prompt appears.4.Type the default user name (admin) and password (aerohive) in the login fields, and then click Login.5.If prompted to enter a license key, click Browse, navigate to and select the text file containing the license key that Aerohive provided when HiveManager was purchased, and then click OK.You are now logged in to the HiveManager GUI. After logging in, you can check details about the license you installed on the HM Admin > License Management page.Note: If you ever forget the IP address of the MGT interface and cannot make an HTTP connection to HiveManager, make a serial connection to its console port and enter this command: ifconfig . The output displays data about the MGT interface (internally called "eth0"), including its IP address. The serial connection settings are explained in "Changing Network Settings" on page79.
Chapter 7 Using HiveManager82 AerohiveINTRODUCTIONTOTHE HIVEMANAGER GUIUsing the HiveManager GUI, you can set up the configurations needed to deploy, manage, and monitor large numbers of HiveAPs. The configuration workflow is described in "HiveManager Configuration Workflow" on page85.The GUI consists of several important sections, which are shown in Figure4.Figure 4  Important Sections of the HiveManager GUISome convenient aspects that the HiveManager GUI offers are the ability to clone configurations, apply configurations to multiple HiveAPs at once, and sort displayed information. Brief overviews of these functions are presented in the following sections.Main Panel: The main panel contains the windows in which you set and view various parameters.Notifications: HiveManager displays a summary of new HiveAPs, rogue APs, rogue clients, and alarms detected on managed HiveAPs here. Clicking a displayed number opens the relevant page with more details.Menu Bar: The items in the menu bar open the major sections of the GUI. You can then use the navigation tree to navigate to more specific topics within the selected section.Navigation Tree: The navigation tree contains all the topics within the GUI section that you chose in the menu bar. Items you select in the navigation tree appear in the main panel.
Deployment Guide 83 INTRODUCTIONTOTHE HIVEMANAGER GUICloning ConfigurationsWhen you need to configure multiple similar objects, you can save time by configuring just the first object, cloning it, and then making slight modifications to the subsequent objects. With this approach, you can avoid re-entering repeated data.Figure 5  Cloning a HiveMultiselectingYou can select multiple objects to make the same modifications or perform the same operation to all of them at once.Figure 6  Selecting Multiple New HiveAPsïò Í»´»½¬îò Ý´·½µTo clone an object, select it in an open window, and then click the Clone button. Retain the settings you want to keep, and modify those you want to change.Here, you use the shift-click multiselection method to select a set of the topmost eight HiveAPs in the list; that is, you select the check box for the top HiveAP and hold down the SHIFT key while selecting the check box for the eighth HiveAP from the top.Select the check boxes to select multiple noncontiguous objects, or shift-click to select check boxes for multiple contiguous objects.Then click Accept to accept all the selected HiveAPs for HiveManager management, or click the Modify button to configure them with the same settings.
Chapter 7 Using HiveManager84 AerohiveSorting Displayed DataYou can control how the GUI displays data in the main panel by clicking a column header. This causes the displayed content to reorder itself alphanumerically or chronologically in either ascending or descending order. Clicking the header a second time reverses the order in which the data is displayed.Figure 7  Sorting Event Log Entries by HiveAP Host Name and then Chronologicallyײ¼·½¿¬»- ¬¸¿¬ ¬¸» ´·-¬ ¿°°»¿®- ·² ¼»-½»²¼·²¹ ±®¼»® º®±³ ¬¸» ¬±°×²¼·½¿¬»- ¬¸¿¬ ¬¸» ´·-¬ ¿°°»¿®- ·² ¿-½»²¼·²¹ ±®¼»® º®±³ ¬¸» ¾±¬¬±³By default, displayed objects are sorted alphanumerically from the top by name. If you click the name again, the order is reversed; that is, the objects are ordered alphanumerically from the bottom.By clicking the heading of a column, you can reorder the display of objects either alphanumerically or chronologically, depending on the content of the selected column. Here you reorder the data chronologically.
Deployment Guide 85 HIVEMANAGER CONFIGURATION WORKFLOWHIVEMANAGER CONFIGURATION WORKFLOWAssuming that you have already installed your HiveAPs, uploaded maps (see "Setting Up Topology Maps" on page91),accepted the HiveAPs for management, and decided on the features and settings you want to use, you are now ready to start configuring the HiveAPs through HiveManager1. You can configure numerous objects, some of which might need to reference other objects. An efficient configuration strategy is to first define any objects that you will later need to use when configuring others. The typical workflow, shown in Figure8, proceeds like this:1.Define network objects. You can then reference them when defining other parts of the configuration. If you do not plan to use network objects, you can skip this step.2.Configure various features.3.Define radio profiles (or use default settings).4 and 5.Compile the features from step 2 into a WLAN policy, assign the radio profiles and WLAN policy to one or more HiveAPs, and then push the configurations to the physical devices on the network.Figure 8  Configuration Workflow1.When HiveAPs are in the same subnet as HiveManager, they can use CAPWAP (Control and Provisioning of Wireless Access Points) to discover HiveManager on the network. CAPWAP works within a layer-2 broadcast domain and is enabled by default on all HiveAPs. If the HiveAPs and HiveManager are in different subnets, then you can use one of several approaches to enable HiveAPs to connect to HiveManager. For information about these options, see "How HiveAPs Connect to HiveManager" on page95.MAC FiltersUser ProfilesSSIDsMgtServicesAAA SettingsRadio ProfilesWLAN PolicyHiveHiveManagerManaged HiveAP1.If you need to reference network objects in another part of the configuration, you must define them first. Otherwise, this step is unnecessary.4.Compose a WLAN policy by referencing items set in Step 2.2. Use default settings or configure new settings for various features that, when combined, constitute a WLAN policy:•Mobility policies•Firewall policies•QoS traffic classification and marking•MAC Filters•SSIDs•User profiles•Management services (DNS, NTP, SNMP, syslog, location)•AAA settings (for user authentication using IEEE 802.1X)•Wireless IDS policy•Hive1234 5QoS Traffic Classificationand Marking 3.Use default settings or define one or more radio profiles.5.Apply the WLAN policy and radio profiles to one or more HiveAPs, and then push the configuration to the physical devices across the network.MAC AddressesNetwork Objects:MACOUIsServices IP AddressesMobility PoliciesIDS PolicyVLANsFirewall Policies
Chapter 7 Using HiveManager86 AerohiveUPDATING SOFTWAREON HIVEMANAGERYou can update the software running on HiveManager from either a local directory on your management system or an SCP (Secure Copy) server. If you download an image and save it to a local directory, you can load it from there. If you save the image to an SCP server, you can direct HiveManager to log in and load it from a directory there.1.If you do not yet have an account on the Aerohive Support portal, send an email request to (support@aerohive.com) to set one up.2.When you have login credentials, visit www.aerohive.com/support/login, and log in.3.Navigate to the software image that you want to load onto HiveManager (Customer Support > Software Downloads > HiveManager software images) and download the file.4.Save the HiveManager image file to a local directory or an SCP server.5.Log in to HiveManager and navigate to HM Admin > HiveManager Operations >Update Software.6.To load files from a directory on your local management system, choose either Update and clear alarm and event logs or Full update (to keep existing log entries after the upgrade), and then enter the following:•File from local host: (select); type the directory path and a file name; or click Browse, navigate to the software file, and select it.or To load a file from an SCP server:•File from remote server: (select)•IP Address: Enter the IP address of the SCP server.•SCP Port: Enter the port number of the SCP server (the default port number for SCP is 22).•File Path: Enter the directory path and HiveManager software file name. If the file is in the root directory of the SCP server, you can simply enter the file name.•User Name: Type a user name with which HiveManager can access the SCP server.•Password: Type a password with which HiveManager can use to log in securely to the SCP server.7.To save the new software and reboot HiveManager, click OK.
Deployment Guide 87 UPDATING HIVEOS FIRMWAREUPDATING HIVEOS FIRMWAREHiveManager makes it easy to update HiveOS firmware running on managed HiveAPs. First, you obtain new HiveAP firmware from Aerohive Support and upload it onto HiveManager. Then you push the firmware to the HiveAPs and activate it by rebooting them.1.Log in to the Aerohive Support portal to obtain a new HiveOS image.2.Save the HiveOS image file to a directory on your local management system or network.3.Log in to HiveManager and navigate to Configuration > HiveAP File Management.4.On the HiveAP Files page, select HiveOS Image for the file type, enter one of the following—depending on how you intend to upload the HiveOS image file to HiveManager—and then click OK:To load a HiveOS image file from a directory on your local management system:•Local File: (select); type the directory path and image file name, or click Browse, navigate to the image file, and select it.To load a HiveOS image file from an SCP server:•SCP Server: (select) IP Address : Enter the IP address of the SCP server.•SCP Port: Enter the port number of the SCP server (the default port number for SCP is 22).•File Path: Enter the path to the HiveOS image file and the file name. If the file is in the root directory of the SCP server, you can simply enter the file name.•User Name: Type a user name with which HiveManager can access the SCP server.•Password: Type a password that HiveManager can use to log in securely to the SCP server.5.Click Access Points >ManagedHiveAPs.6.In the Managed HiveAPs window, select one or more HiveAPs, and then click Update > Upload and Activate SW Image.The Upload and Activate SW Image dialog box appears.7.Enter the following, and then click Upload:•From the HiveOS Image drop-down list, select the image that you want to load onto managed HiveAPs.•In the Activation Time section, select one of the following options, depending on when you want to activate the software—by rebooting the HiveAPs—after HiveManager finishes loading it:•Activate at: Select and set the time at which you want the HiveAPs to activate the software. To use this option accurately, make sure that both HiveManager and managed HiveAP clocks are synchronized.•Activate after: Select to load the firmware on the selected HiveAPs and activate it after a specified interval. The range is 0 – 3600 seconds; that is, immediately to one hour. The default is 5 seconds.Note: When upgrading both HiveManager software and HiveOS firmware, do so in this order:•Upgrade HiveManager (HiveManager can manage HiveAPs running the current version of HiveOS and also previous versions).•Upload the new HiveOS firmware to the managed HiveAPs, and reboot them to activate it.•Reload the HiveOS configurations to the managed HiveAPs—even if nothing in the configurations has changed—and reboot them to activate the configuration that is compatible with the new HiveOS image.Note: To delete an old image file, select the file in the "Available Images" list, and then click Remove.
Chapter 7 Using HiveManager88 Aerohive•Activate at next reboot: Select to load the software and not activate it. The loaded software gets activated the next time the HiveAP reboots.•Select the check box for each HiveAP whose software you want to update.Updating HiveAPs in a Mesh EnvironmentWhen updating hive members in a mesh environment, be careful of the order in which the HiveAPs reboot. If a portal completes the upload and reboots before a mesh point beyond it completes its upload—which most likely would happen because portals receive the uploaded content first and then forward it to mesh points—the reboot will interrupt the data transfer to the mesh point. This can also happen if a mesh point linking HiveManager to another mesh point reboots before the more distant mesh point completes its upload. As a result of such an interruption, the affected mesh point receives an incomplete firmware or configuration file and aborts the update.Figure 9  HiveAPs in a Mesh EnvironmentTo avoid the reboot of an intervening HiveAP from interfering with an ongoing upload to a mesh point beyond it, allow enough time for the firmware to reach the farthest mesh points before activating the firmware. After all the HiveAPs have the firmware, rebooting any HiveAPs between them and HiveManager becomes inconsequential.Note: When choosing which option to use, consider how HiveManager connects to the HiveAPs it is updating. See "Updating HiveAPs in a Mesh Environment".Note: A mesh point is a hive member that uses a wireless backhaul connection to communicate with the rest of the hive. HiveManager manages mesh points through another hive member that acts as a portal, which links mesh points to the wired LAN.ã É·®»¼ Ô·²µã É·®»´»-- Ô·²µØ·ª»Ó¿²¿¹»®Í©·¬½¸ Ø·ª»ßÐøᮬ¿´÷Ø·ª»ßÐøÓ»-¸ б·²¬ ï÷Ø·ª»ßÐøÓ»-¸ б·²¬ î÷ɸ»² «°¼¿¬·²¹ Ø·ª»ßÐ- ·² ¿ ³»-¸ »²ª·®±²³»²¬ô ¬¸» Ø·ª»Ó¿²¿¹»® ½±³³«²·½¿¬»- ©·¬¸ ³»-¸ °±·²¬- ¬¸®±«¹¸ ¬¸»·® °±®¬¿´ ¿²¼ô ·º ¬¸»®» ¿®» ¿²§ ·²¬»®ª»²·²¹ ³»-¸ °±·²¬-ô ¬¸®±«¹¸ ¬¸»³ ¿- ©»´´ò ɸ·´» «°¼¿¬·²¹ Ø·ª»ßÐ- ·² -«½¸ ¿² »²ª·®±²³»²¬ô ·¬ ·- ·³°±®¬¿²¬ ¬± µ»»° ¬¸» °¿¬¸ º®±³ ¬¸» Ø·ª»Ó¿²¿¹»® ¬± ¿´´ Ø·ª»ßÐ- ½´»¿® -± ¬¸¿¬ ¬¸» ¼¿¬¿ ¬®¿²-º»® ¿´±²¹ ¬¸¿¬ °¿¬¸ ·- ²±¬ ¼·-®«°¬»¼ò ̸»®»º±®»ô ©¸»² «°¼¿¬·²¹ ¿ º·®³©¿®» ·³¿¹» ±® ½±²º·¹«®¿¬·±² ±² Ø·ª»ßÐ- ·² ¿ ³»-¸ »²ª·®±²³»²¬ô ³¿µ» -«®» ¬¸¿¬ ¬¸» °±®¬¿´ ±® ¿ ³»-¸ °±·²¬ ½´±-»® ¬± ¬¸» °±®¬¿´ ¼±»- ²±¬ ®»¾±±¬ ¾»º±®» ¬¸» «°´±¿¼ ¬± ¿ ³»-¸ °±·²¬ º¿®¬¸»® ¿©¿§ ½±³°´»¬»-ò
Deployment Guide 89Chapter 8HiveManager Configuration ExamplesThe following examples in this chapter show how to install over 70 HiveAPs at three locations in a corporate network, use HiveManager to create configurations for them, and then push the configurations to them over the network. The high-level deployment scheme is as follows:The general design of the deployment is shown in Figure1.Figure 1  Deployment OverviewYou can look at any of the following examples individually to study how to configure a specific feature or view all of them sequentially as a set to study the workflow for deploying large numbers of HiveAPs and configuring them through HiveManager.Headquarters - Building 1 (HQ-B1) Headquarters - Building 2 (HQ-B2) Branch Office (Branch1)32 HiveAPs32 HiveAPs8 HiveAPs1 Hive (hive1)1 Hive (hive2)1 Hive (hive3)1 WLAN policy (WLANpolicy-hq1)1 WLAN policy (WLANpolicy-hq2)1 WLAN policy (WLANpolicy-branch1)¨ è Ú´±±®-ì Ø·ª»ßÐ- °»® Ú´±±®¨ è Ú´±±®- î Ø·ª»ßÐ- °»® Ú´±±®¨ ì Ú´±±®-ݱ®°±®¿¬»Ø»¿¼¯«¿®¬»®-Þ®¿²½¸Ñºº·½»êìØ·ª»ßÐ-̱¬¿´èØ·ª»ßÐ-̱¬¿´Þ®¿²½¸ïØÏóÞïØÏóÞîÉÔßÒ°±´·½§ó¸¯ïØ·ª»ïÉÔßÒ°±´·½§ó¸¯îØ·ª»îÉÔßÒ°±´·½§ó¾®¿²½¸ïØ·ª»íÊÐÒ Ì«²²»´Ø·ª»Ó¿²¿¹»®ø·² •ØÏóÞïŒ÷
Chapter 8 HiveManager Configuration Examples90 AerohiveThis chapter contains a sequential flow of examples that show how to import and organize maps, install HiveAPs on the network and link them to maps, configure typically needed features, assign these features to HiveAPs, and push configurations to the HiveAPs across the network. The examples are as follows:•"Example 1: Mapping Locations and Installing HiveAPs" on page91Upload image files of topology maps to HiveManager and use one of two ways to associate physical HiveAPs with their corresponding icons on the maps.•"Example 2: Defining Network Objects and MAC Filters" on page97Define a MAC OUI (organizationally unique identifier), VLANs, and IP addresses for use by other configuration objects. Define a MAC filter so that QoS classifiers and SSID profiles can reference them. Map the MAC OUI and several services to Aerohive classes.•"Example 3: Providing Guest Access" on page104Provide controlled and limited network access for guests. Two approaches are presented.•"Example 4: Creating User Profiles" on page113Define several user profiles, their companion QoS forwarding rates and priorities, and their VLANs.•"Example 5: Setting SSIDs" on page117Define sets of authentication and encryption services that wireless clients and HiveAPs use when communicating with each other.•"Example 6: Setting Management Service Parameters" on page120Configure DNS, syslog, SNMP, and NTP settings for HiveAPs.•"Example 7: Defining AAA RADIUS Settings" on page123Define AAA RADIUS server settings to use when HiveAPs send 802.1X authentication requests.•"Example 8: Creating Hives" on page125Create hives so that sets of HiveAPs can exchange information with each other over the network to coordinate client access, provide best-path forwarding, and enforce QoS policies.•"Example 9: Creating WLAN Policies" on page126Define WLAN policies. These are sets of configuration objects (defined in previous examples) that HiveAPs use to control how wireless clients access the network.•"Example 10: Assigning Configurations to HiveAPs" on page135Assign WLAN policies, radio profiles, and maps to detected HiveAPs so that you can begin managing them through HiveManager. Also change HiveAP login settings and country codes.
Deployment Guide 91EXAMPLE 1: MAPPING LOCATIONSAND INSTALLING HIVEAPSEXAMPLE 1:MAPPING LOCATIONSAND INSTALLING HIVEAPSHiveManager allows you to mark the location of HiveAPs on maps so that you can track devices and monitor their status. First, you must upload the maps to HiveManager, and then name and arrange them in a structured hierarchy (see "Setting Up Topology Maps"). After that, you can follow one of two ways to install HiveAPs so that you can later put their corresponding icons on the right maps (see "Preparing the HiveAPs" on page94).Setting Up Topology MapsIn this example, you upload maps to HiveManager showing floor plans for three office buildings and organize them in a hierarchical structure. You need to make .png of .jpg files of drawings or blueprints showing the layout of each floor. Also, as an easy means of organizing the maps in the HiveManager GUI, you create a file showing the three buildings HQ-B1, HQ-B2, and Branch-1. By using this drawing at the top topographical level, you can display icons for each floor of each building. You can then click an icon to link to its corresponding map. This is shown in Figure2.Figure 2  Organizational Structure of Level-1 and -2 MapsUploading Maps1.Log in to the HiveManager GUI as explained in " Installing and Connecting to the HiveManager GUI" on page79.2.Click Topology, right-click World, and then choose Add/Delete Image from the pop-up menu that appears. 3.In the Add/Delete Image window, click Browse, navigate to the directory containing the image files that you want to upload, and select one of them.4.Click Upload.Note: All image files that you upload to HiveManager must be in .png or .jpg format.è Ó¿°- ø±²» °»® º´±±®÷•ØÏóÞïóÚØÏóÞïóÚèŒè Ó¿°- •ØÏóÞîóÚØÏóÞîóÚèŒì Ó¿°- •Þ®¿²½¸óïóÚޮ¿²½¸óïóÚìŒØ»¿¼¯«¿®¬»®- Þ«·´¼·²¹ ï øØÏóÞï÷ Ó¿°-Ø»¿¼¯«¿®¬»®- Þ«·´¼·²¹ î øØÏóÞî÷ Ó¿°-Þ®¿²½¸óï Ó¿°-ݱ®°Ñºº·½»- øÔ»ª»´óï Ó¿°÷̸·- ³¿° -¸±©- í ¾«·´¼·²¹- ¿²¼ îð ·½±²- ¬¸¿¬ ´·²µ ¬± ´»ª»´óî ³¿°-òè ·½±²- ´·²µ·²¹ ¬± ´»ª»´óî ³¿°-è ·½±²- ´·²µ·²¹ ¬± ´»ª»´óî ³¿°-ì ·½±²- ´·²µ·²¹ ¬± ´»ª»´óî ³¿°-Ô»ª»´ ïÔ»ª»´ îDouble-clicking a floor icon on the CorpOffices map (level 1) opens the corresponding level-2 map.You can also navigate to any map within the Topology Maps section of the navigation tree in the HiveManager GUI.
Chapter 8 HiveManager Configuration Examples92 AerohiveThe selected image file is transferred from your management system to HiveManager as shown in Figure3.Figure 3  Uploading a Map of a Building Floor Plan5.Repeat this for all the image files that you need to load. In this example, you load 21 files:•8 maps for the eight floors in HQ-B1 (Headquarters Building 1)•8 maps for the eight floors in HQ-B2 (Headquarters Building 2)•4 maps for the four floors in Branch-1•1 file (named "corp_offices.png" in this example) that shows a picture of the three buildingsNaming and Arranging Maps within a Structure1.Click Topology, right-click the top level map "World", and then choose Edit from the pop-up menu that appears.2.In the Edit Map - World dialog box, enter the following, and then click Update:•Map Name: CorpOffices (Note that spaces are not allowed in map level names.)•Map Icon: Building•Background Image: Choose corp_offices.png from the drop-down list.•Environment: Because the CorpOffices "map" does not contain any HiveAP icons—it is an illustration of three buildings that you use to organize the submaps of the floors in each building—the environment setting is irrelevant. Leave it at its default, Free Space.•Width (optional): Because the corp_offices.png depicts buildings instead of a floor plan, it is not necessary to specify the width of the image.3.Click Topology, right-click the top level map "CorpOffices", and then choose New from the pop-up menu that appears.4.In the New Map (Submap for CorpOffices) dialog box, enter the following, and then click Create:•Map Name: HQ-B1-F•Map Icon: Floor •Background Image: Choose HQ-B1-F1.png from the drop-down list.•Environment: Because the environment is that of a typical office building, choose Enterprise. The environment assists in the prediction of signal strength and attenuation shown in the heat maps.•Width: 80 feet (HiveManager automatically calculates the height based on the aspect ratio of the image.)A white floor icon () labeled "HQ-B1-F1" appears on the CorpOffices image, and a new entry named "HQ-B1-F1" appears nested under "CorpOffices" in the navigation tree.5.Click Unlock, select the icon, drag it to the location you want, and then click Save.6.Click Topology, right-click the top level map "CorpOffices", and then choose New from the pop-up menu that appears.Management System HiveManagerMap showing one of the floor plansUploading map to HiveManager
Deployment Guide 93EXAMPLE 1: MAPPING LOCATIONSAND INSTALLING HIVEAPS7.In the New Map (Submap for CorpOffices) dialog box, enter the following, and then click Create:•Map Name: HQ-B1-F2•Map Icon: Floor•Background Image: Choose HQ-B1-F2.png from the drop-down list.•Environment: Enterprise•Width: 80 feetA white floor icon labeled "HQ-B1-F2" appears on the CorpOffices image, and a new entry named "HQ-B1-F2" appears nested under "CorpOffices" in the navigation tree.8.Click Unlock, select the icon, drag it to the location you want, and then click Save.After adding the CorpOffices "map" (really an illustration showing three buildings), two floor plans for the first and second floors of "HQ-B1", and dragging the floor icons into position, the display of the CorpOffices map looks similar to that in Figure4.Figure 4  CorpOffice Map (Level 1) with Links to Level-2 Maps HQ-B1-F1 and HQ-B1-F29.Repeat this process until you have arranged all the maps and icons in place as shown in Figure5.Figure 5  CorpOffice Map with Links to All Level-2 MapsNote: You can add as many levels as necessary to the map hierarchy. You can also delete maps as long as they do not have any submaps or HiveAP icons on them.The submaps in the navigation tree and the icons on this map link to other maps.Click a submap or double-click an icon to open the map to which it links.
Chapter 8 HiveManager Configuration Examples94 AerohivePreparing the HiveAPsThere are several approaches that you can take when mapping the location of installed HiveAP devices. Two possible approaches are presented below. With the first approach ("Using SNMP"), HiveManager automatically assigns HiveAPs to maps. This approach does require a small amount of configuration of each HiveAP up front, but after the HiveAPs form a CAPWAP connection with HiveManager, the automatic assignment of HiveAPs to their appropriate maps on HiveManager occurs without any further effort. The second approach ("Using MAC Addresses" on page95)allows you to install HiveAPs without needing to do any extra configurations, but you later have to match each HiveAP with the right map in HiveManager manually.Using SNMPThis approach makes use of the SNMP (Simple Network Management Protocol) sysLocation MIB (Management Information Base) object, which you define on HiveAPs. HiveManager can use this information to associate a HiveAP with a map and provide a description of where on the map each HiveAP belongs.1.Make copies of the maps you uploaded to HiveManager, label them, and take them with you for reference when installing the HiveAPs.2.For each HiveAP that you install, do the following:1.Make a serial connection to the console port, and log in (see "Log in through the console port" on page150).2.Enter the following command, in which string1 describes the location of the HiveAP on the map (in open format) and string2 is the name of the map:snmp location string1@string2For example, if you install a HiveAP in the northwest corner on the first floor of building 1, enter snmplocation northwest_corner@HQ-B1-F1. If you want to use spaces in the description, surround the entire string with quotation marks: snmp location "northwest corner@HQ-B1-F1".If the name of a map is not unique, then include the map hierarchy in the string until the path to the map is unique. For example, if you have two maps named "floor-1", and the one you want to use is nested under a higher level map named "building-1" while the other is nested under "building-2", then enter the command as follows: snmplocation northwest_corner@floor-1@building-1 . Similarly, if there are two maps named "building-1" nested under higher level maps for two different sites ("campus-1" and "campus-2", for example), then include that next higher level in the string to make it unique: snmplocation northwest_corner@floor-1@building-1@campus-13.Mount and cable the HiveAP to complete its installation. (For mounting details, see "Mounting the HiveAP 20" on page29. For information about the PoE port on the HiveAP, see "Ethernet and Console Ports" on page26.)When a HiveAP connects to HiveManager, HiveManager checks its SNMP location. When you accept the HiveAP for management, then HiveManager automatically associates it with the map specified in its SNMP location description. You can then click the icon to see its location and drag it to the specified location on the map. Also, on the Access Points > New HiveAPs > Automatically Discovered window in the HiveManager GUI, you can sort detected HiveAPs by map name to assign them more easily to WLAN policies and radio profiles.Note: For a summary of how HiveAPs use CAPWAP to discover and connect to HiveManager, see "How HiveAPs Connect to HiveManager" on page95.
Deployment Guide 95EXAMPLE 1: MAPPING LOCATIONSAND INSTALLING HIVEAPSUsing MAC AddressesWith this approach, you write down the MAC address labelled on the underside of each HiveAP and its location while installing the HiveAPs throughout the buildings. The MAC address on the label is for the mgt0 interface. Because the MAC addresses of all HiveAPs begin with the Aerohive MAC OUI 00:19:77, you only need to record the last six numerals in the address. For example, if the MAC OUI is 0019:7700:0120, you only need to write "000120" to be able to distinguish it from other HiveAPs later.1.Make copies of the maps you uploaded to HiveManager, label them, and take them with you when installing the HiveAPs.2.When you install a HiveAP, write the last six digits of its MAC address at its location on the map.When HiveAPs automatically connect with HiveManager, HiveManager displays them in the Access Points > New HiveAPs > Automatically Discovered window. You can differentiate them in the displayed list by MAC address (node ID), which allows you to match the HiveAPs in the GUI with those you noted during installation so that you can properly assign each one to a map, a WLAN policy, and two radio profiles.How HiveAPs Connect to HiveManagerIf HiveAPs are in the same layer-2 broadcast domain (and same VLAN) as HiveManager, they broadcast CAPWAP (Control and Provisioning of Wireless Access Points) Discovery Request messages to discover and establish a secure connection with HiveManager automatically. There is no need for any extra configuration on your part.When HiveAPs and HiveManager are in different subnets, the HiveAPs will not be able to discover HiveManager by broadcasting CAPWAP Discovery Request messages. In this case, you can use one of the following methods to configure HiveAPs with the HiveManager IP address or configure them so that they can learn it through DHCP or DNS. When HiveAPs have the HiveManager IP address, they then send unicast CAPWAP Discovery Request messages to that address.•Log in to the CLI on each HiveAP and enter the HiveManager IP address with the following command, in which the variable ip_addr is the address of the interface through which HiveManager communicates with HiveAPs:hivemanager ip_addr•Configure the DHCP server to supply the HiveManager domain name as DHCP option 225 or its IP address as option 226 in its DHCPOFFER. (If you use a domain name, the authoritative DNS server for that domain must also be configured with an A record that maps the domain name to an IP address for HiveManager.) HiveAPs request DHCP option 225 and 226 by default when they broadcast DHCPDISCOVER and DHCPREQUEST messages.•If HiveManager continues to use its default domain name ("hivemanager"), configure the local authoritative DNS server with an A record that resolves that name to an IP address. If the HiveAPs do not have a static IP address configured for HiveManager and do not receive an address or domain name returned in a DHCP option, then they try to resolve the domain name "hivemanager" to an IP address.Within the framework of the CAPWAP protocol, HiveAPs are CAPWAP clients and HiveManager is a CAPWAP server. The client proceeds through a series of CAPWAP states. These states and the basic events that trigger the client to transition from one state to another are shown in Figure6 on page96.Note: If you need to change the DHCP option number (perhaps because another custom option with that number is already in use on the DHCP server), enter this command on each HiveAP with a different option number for the variable number:interface mgt0 dhcp client option custom hivemanager number { ip | string }Note: To illustrate all possible CAPWAP states, Figure6 on page96 begins by showing a HiveAP and HiveManager already in the Run state. When a HIveAP first attempts to discover a HiveManager—after the HiveAP has an IP address for its mgt0 interface and has been configured with (or has discovered) the HiveManager IP address—it begins in the Discovery state.
Chapter 8 HiveManager Configuration Examples96 AerohiveFigure 6  CAPWAP Process—Beginning from the Run State̸» ÝßÐÉßÐ ½´·»²¬ øØ·ª»ßÐ÷ °·²¹- ¬¸» ÝßÐÉßÐ -»®ª»® øØ·ª»Ó¿²¿¹»®÷ ¾«¬ ®»½»·ª»- ²± ®»-°±²-»- ©·¬¸·² ¬¸» ²»·¹¸¾±®ó¼»¿¼ó·²¬»®ª¿´ò̸» ½´·»²¬ ¬®¿²-·¬·±²- ¬± ¬¸» Ü·-½±ª»®§ -¬¿¬» ¿²¼ ¾»¹·²- -»²¼·²¹ Ü·-½±ª»®§ λ¯«»-¬ ³»--¿¹»- ø¾®±¿¼½¿-¬ ±® «²·½¿-¬÷ò׺ ¬¸» ½´·»²¬ ½±²¬·²«»- ¬± -»²¼ Ü·-½±ª»®§ λ¯«»-¬ ³»--¿¹»- «²¬·´ ·¬ ®»¿½¸»- ¬¸» ³¿¨ó¼·-½±ª»®§ó·²¬»®ª¿´ ¿²¼ ³¿¨ó¼·-½±ª»®§ó½±«²¬ ¾«¬ ®»½»·ª»- ²± Ü·-½±ª»®§ λ-°±²-»-ô ¬¸» ½´·»²¬ ¬¸»² »²¬»®- ¬¸» Í«´µ·²¹ -¬¿¬» ¿²¼ ®»³¿·²- ·² ¬¸·- -¬¿¬» «²¬·´ ¬¸» -·´»²¬ó·²¬»®ª¿´ »´¿°-»-òÝßÐÉßÐ Ý´·»²¬øØ·ª»ßÐ÷ÝßÐÉßÐ Í»®ª»®øØ·ª»Ó¿²¿¹»®÷Ü·-½±ª»®§Í¬¿¬»Ì¸» ÝßÐÉßÐ ½´·»²¬ ®»¬«®²- ¬± ¬¸» Ü·-½±ª»®§ -¬¿¬» ¿²¼ -»²¼- Ü·-½±ª»®§ λ¯«»-¬ ³»--¿¹»-ò̸» ÝßÐÉßÐ -»®ª»® ®»½»·ª»- ¬¸» Ü·-½±ª»®§ λ¯«»-¬ ³»--¿¹» ¿²¼ ®»-°±²¼- ©·¬¸ ¿ Ü·-½±ª»®§ λ-°±²-»òÜ·-½±ª»®§Í¬¿¬»Í«´µ·²¹Í¬¿¬»Ì¸» ½´·»²¬ -»²¼- ¿ Ö±·² λ¯«»-¬òÖ±·²Í¬¿¬»ò ò òò ò òΫ²Í¬¿¬»×¼´»Í¬¿¬»É¸»² ¬¸» ½´·»²¬ ¼»¬»®³·²»- ·¬- ²»·¹¸¾±® ·- ¼»¿¼ô ·¬ ¬®¿²-·¬·±²- º®±³ ¬¸» Ϋ² -¬¿¬» ¬± ¬¸» ×¼´» -¬¿¬»ò̸» ÝßÐÉßÐ ½´·»²¬ ¿²¼ -»®ª»® °»®º±®³ ¿ ÜÌÔÍ øÜ¿¬¿¹®¿³ Ì®¿²-°±®¬ Ô¿§»® Í»½«®·¬§÷ ¸¿²¼-¸¿µ» ¬± »-¬¿¾´·-¸ ¿ -»½«®» ÜÌÔÍ ½±²²»½¬·±²ò̸» -»®ª»® -»²¼- ¿ Ö±·² λ-°±²-»ò׺ ¬¸» Ö±·² λ-°±²-» ·²¼·½¿¬»- •-«½½»--Œô ¬¸» ½´·»²¬ ½´»¿®- ·¬- É¿·¬Ö±·² ¬·³»® ¿²¼ »²¬»®- ¬¸» Ϋ² -¬¿¬»òÒ±¬»æ ׺ ¬¸» É¿·¬Ö±·² ¬·³»® »¨°·®»- ¾»º±®» ¬¸» ½´·»²¬ ®»½»·ª»- ¿ -«½½»--º«´ Ö±·² λ-°±²-»ô ¬¸» ½´·»²¬ ¬»®³·²¿¬»- ¬¸» ÜÌÔÍ ½±²²»½¬·±² ¿²¼ ®»¬«®²- ¬± ¬¸» Ü·-½±ª»® -¬¿¬»ò׺ ¬¸» Ö±·² λ-°±²-» ·²¼·½¿¬»- •º¿·´«®»Œô ¬¸» ÝßÐÉßÐ -»®ª»® »²¬»®- ¿ λ-»¬ -¬¿¬» ¿²¼ ¬»®³·²¿¬»- ¬¸» ÜÌÔÍ -»--·±²ò
Deployment Guide 97EXAMPLE 2: DEFINING NETWORK OBJECTSAND MAC FILTERSEXAMPLE 2:DEFINING NETWORK OBJECTSAND MAC FILTERSNetwork objects are the most basic objects that you can configure and only function when other objects such as QoS classifiers, SSID profiles, and firewall policy rules reference them. IP addresses, network services (HTTP, SMTP, FTP, …), MAC addresses, MAC OUIs (organizationally unique identifiers), VLANs, Ethernet profiles, and radio profiles are network objects that make no reference to any other previously defined object.You define the following network objects that you reference in other examples later in this chapter:•MAC OUI for filtering VoIP phone traffic•VLANs that you can apply to user profiles•IP addresses that you can assign to management services and RADIUS serversIn addition, you define a MAC filter to control access to the SSID for VoIP traffic.Defining a MAC OUIYou define a MAC OUI for the type of VoIP (Voice over IP) phones in use in the network and assign traffic from it to Aerohive class 6. Other critical IP telephony services are DHCP and DNS for address and domain name assignments, and TFTP and HTTP for configuration downloads and software updates. You map traffic using destination port numbers 53 (DNS) and 67 (DHCP) to Aerohive class 5. This is a fairly high priority level because these services are vital for VoIP to work properly; however, they are not as high as that for the voice traffic itself. Finally, you map traffic using destination port numbers 69 (TFTP) and 80 (HTTP) to Aerohive class 2. This is a much lower priority level, but it is appropriate for these resilient and less time-sensitive services. HiveAPs check if an incoming packet matches a classifier map by checking for matches in the following order. They then use the first match found:1.Service2.MAC OUI3.Ingress interface4.Existing priorities used by various standard QoS classification systems (802.11e, 802.1p, and DSCP)After VoIP clients associate with an SSID and begin sending traffic, the HiveAP maps all DNS and DHCP traffic to class 5, all TFTP and HTTP traffic to class 2, and all remaining traffic—voice traffic in this case—to class 6 (see Figure7).Figure 7  MAC OUI and Service Classifier Maps for VoIP PhonesðïæîîæíìæÞÚæêÝæðìðïæîîæíìæëÜæððæðîðïæîîæíìæëéæðÞæíÚÜ¿¬¿ÔíØ»¿¼»®ÔìØ»¿¼»®É·®»´»-- Ôî Ø»¿¼»®Ü»-¬·²¿¬·±² ᮬ Ò«³¾»®Ø·ª»ßÐß»®±¸·ª» Ý´¿--éêëìíîïðɸ»² ¬¸» ¼»-¬·²¿¬·±² °±®¬ ²«³¾»® ·² ¬¸» Ôì ¸»¿¼»® ·- ëí øÜÒÍ÷ ±® êé øÜØÝÐ÷ô ¬¸» Ø·ª»ßÐ ³¿°- ¬¸» °¿½µ»¬ ¬± ß»®±¸·ª» ½´¿-- ëòɸ»² ·¬ ·- êç øÌÚÌÐ÷ ±® èð øØÌÌÐ÷ô ¬¸» Ø·ª»ßÐ ³¿°- ·¬ ¬± ß»®±¸·ª» ½´¿-- îòɸ»² ¬¸» ÓßÝ ÑË× ·² ¬¸» Ôî ¸»¿¼»® ·- ðïæîîæíìô ¬¸» Ø·ª»ßÐ ³¿°- ¬¸» °¿½µ»¬ ¬± ß»®±¸·ª» ½´¿-- êòØ·ª»ßÐʱ×Ри±²»- º®±³ ¬¸» -¿³» ª»²¼±® øÓßÝ ÑË× ðïæîîæíì÷ÓßÝ ÑË×
Chapter 8 HiveManager Configuration Examples98 AerohiveBy distinguishing voice traffic by the clients’ OUI and mapping it to class 6, HiveAPs can prioritize it above other traffic types (see "Example 4: Creating User Profiles" on page113).1.Log in to the HiveManager GUI.2.Click Configuration > Network Objects >MAC Addresses/OUIs > New.3.Enter the following, and then click Save:•MAC OUI: (select)•MAC Name: Type a name such as "VoIP_Phones". You cannot include any spaces when defining a MAC name.Enter the following, and then click Apply:•MAC Entry: Type the OUI for the VoIP phones used in the network; that is, type the first six numbers constituting the vendor prefix of the MAC address. For example, if a MAC address is 01:22:34:AB:6C:04, the OUI is 01:22:34. Type only the hexadecimal numerals without any formatting symbols such as colons or dashes. If you do type such symbols, the GUI ignores—and does not display—them.•Type: Choose Global because you do not need to restrict this network object to a particular set of HiveAPs, which is what the other three options allow you to do.•Description: Type a meaningful comment for the MAC OUI, such as the vendor that the OUI identifies.Mapping the MAC OUI and Services to Aerohive ClassesFirst, map VoIP phone MAC OUIs to Aerohive class 6. Next, map DNS and DHCP services to Aerohive class 5 and TFTP and HTTP services to class 2. Because voice traffic is the only remaining type of traffic from phones whose MAC OUIs you have already mapped to class 6, HiveAPs map voice traffic from those phones to class 6. Although all these services are critical for IP telephony to function properly, voice traffic is the least resistant to delay, and TFTP and HTTP file downloads are the most resistant. Therefore, you prioritize the different types of traffic accordingly.1.Click Configuration > QoS Policies >Classifiers and Markers >New.The New Classifiers and Markers dialog box appears.2.Enter the following, and then click Save:•Name: VoIP-QoS (You cannot include any spaces when defining a QoS policy name.)•Description: Add a descriptive comment, such as "Mapping for VoIP phone traffic".•Network Services: (select)•MAC OUIs: (select)3.Click Configuration > QoS Policies >Classifier Maps >New >General.The New Classifier Maps dialog box appears.4.Enter the following on the General page:•Name: VoIP-Mapping (You cannot include any spaces when defining the name of a classifier map.)•Description: Add a descriptive comment, such as "Mapping services and OUIs for VoIP phone traffic".•Network Services: (select)•MAC OUIs: (select)Note: If there are phones from more than one vendor, make a separate MAC OUI entry for each one.
Deployment Guide 99EXAMPLE 2: DEFINING NETWORK OBJECTSAND MAC FILTERS5.Click the Network Services tab, enter the following, and then click Apply:•Service: DNS•QoS Class: 5 - Video•Action: Permit•Logging: Select the check box to enable HiveAPsto log traffic that matches the service-to-Aerohive class mapping. (HiveAPs log traffic whether the action is permit or deny.) The main use of logging traffic is to see if the HiveAPs are receiving expected—or unexpected—types of traffic when you debug connectivity issues. You can see the log entries in the event log on the HiveAPs (show logging buffered). Also, if you configure the HiveAP to send event logs to a syslog server, you can see the log entries there (see "Example 6: Setting Management Service Parameters" on page120).6.Enter the following, and then click Apply:•Service: DHCP-Server•QoS Class: 5 - Video•Action: Permit•Logging: Select the check box to enable traffic logging, or clear the check box to disable it.7.Enter the following, and then click Apply:•Service: TFTP•QoS Class: 2 - Best Effort 1•Action: Permit•Logging: Select the check box to enable traffic logging, or clear the check box to disable it.8.Enter the following, and then click Apply:•Service: HTTP•QoS Class: 2 - Best Effort 1•Action: Permit•Logging: Select the check box to enable traffic logging, or clear the check box to disable it.9.Click the MAC OUIs tab, click New, enter the following, and then click Apply:•MAC OUIs: Choose the name of the MAC OUI that you defined in "Defining a MAC OUI", such as "VoIP_Phones".•QoS Class: 6 - Voice•Action: Permit•Comment: Enter a meaningful comment about the MAC OUI for future reference.•Logging: Select the check box to enable log traffic that matches the MACOUI-to-Aerohive class mapping, or clear the check box to disable it.10.To save the configuration and close the dialog box, click Save.
Chapter 8 HiveManager Configuration Examples100 AerohiveDefining VLANsYou define three VLANs that you will later assign to various user profiles (see "Example 4: Creating User Profiles" on page113). By assigning different VLANs to different user roles, their traffic remains isolated from each other; that is, voice traffic never shares a broadcast domain with data traffic; and data traffic from guests never shares the same broadcast domain with employee data traffic. The result is that you can provide access for certain types of traffic to select areas of the network while blocking unauthorized access to other areas.The VLAN IDs and the user profiles to which you will assign them are as follows:•VLAN ID 1 for the Emp and IT user profiles (and for users not yet registered through a captive web portal)1•VLAN ID 2 for the VoIP user profile•VLAN ID 3 for the Guests user profile1.Click Configuration > Network Objects > VLANs > New, enter the following, and then click Save:•VLAN Name: VLAN-1-EmployeeData•Enter the following, and then click Apply:•VLAN ID: 1•Type: Global•Description: VLAN for Emp, IT, and unregistered CWP users2.Click Configuration > Network Objects > VLANs> (check box) VLAN-1-EmployeeData > Clone, make the following changes, and then click Save:•VLAN Name: VLAN-2-EmployeeVoice•VLAN ID: 2•Type: Global•Description: VLAN for VoIP traffic3.Click Configuration > Network Objects > VLANs> (check box) VLAN-2-VoIP > Clone, make the following changes, and then click Save:•VLAN Name: VLAN-3-Guests•VLAN ID: 2•Type: Global•Description: VLAN for guests visiting corporate1.There is a predefined VLAN definition for VLAN ID 1, so it is not really necessary to create a new VLAN object for it. However, because later examples in this chapter refer to VLAN 1 by the name defined here ("VLAN-1-EmployeeData"), its purpose will hopefully be clearer than if it were referred to by the simpler name of the predefined VLAN ("1").Note: When defining the following VLANs, choose Global as the VLAN type because you do not need to restrict these VLANs to a particular set of HiveAPs, which is what the other three options allow you to do.
Deployment Guide 101EXAMPLE 2: DEFINING NETWORK OBJECTSAND MAC FILTERSCreating IP AddressesYou use the IP addresses that you create here when defining management services for the HiveAPs (see "Example 6: Setting Management Service Parameters" on page120). The IP addresses are used for DNS, SNMP, syslog, and NTP servers. To understand the locations of the different servers on the network, see Figure15 on page120.DNS Servers1.Click Configuration > Network Objects > IP Addresses > New, and after entering all the following, click Save:•Address Name: DNS-PrimaryEnter the following, and then click Apply:—IP Address: 10.1.1.25—Netmask: 255.255.255.255—Type: Classifier—Value: Tag 1: hqBy classifying the IP address definition as "hq" and then later classifying all HiveAPs deployed at headquarters as "hq", only those HiveAPs will use the 10.1.1.25 address for their primary DNS server.—Description: Primary DNS server located at HQEnter the following, and then click Apply:—IP Address: 10.2.2.251—Netmask: 255.255.255.255—Type: Classifier—Value: Tag 1: branch1By classifying the IP address definition as "branch1" and then later classifying all HiveAPs deployed at the branch site as "branch1", only those HiveAPs will use the 10.2.2.251 address for their primary DNS server. Classifying the different IP address definitions within the same IP address object allows you to use this one object in multiple locations that have different addressing schemes.2.Click Configuration > Network Objects > IP Addresses > New, and after entering all the following, click Save:•Address Name: DNS-SecondaryEnter the following, and then click Apply:—IP Address: 10.1.1.26—Netmask: 255.255.255.255—Type: GlobalBecause all the HiveAPs at both the headquarters and branch site use the same secondary DNS server, you classify it as Global. The server is located at headquarters and HiveAPs at the branch site reach it through a VPN tunnel.—Description: Secondary DNS server located at HQ
Chapter 8 HiveManager Configuration Examples102 AerohiveSyslog ServerClick Configuration > Network Objects > IP Addresses > New, and after entering all the following, click Save:•Address Name: Syslog-ServerEnter the following, and then click Apply:—IP Address: 10.1.1.23—Netmask: 255.255.255.255—Type: GlobalBecause all the HiveAPs at both the headquarters and branch site use the same syslog server, you classify it as Global. The HiveAPs at the branch site reach the syslog server, which is also located at headquarters, through a VPN tunnel.—Description: Syslog server at HQSNMP ServerClick Configuration > Network Objects > IP Addresses > (check box) Syslog-Server > Clone, change the following settings, click Save:•Address Name: SNMP-Server—IP Address: 10.1.1.24 (This is the IP address of the SNMP management system to which the SNMP agent running on the HiveAPs sends SNMP traps.)—Description: SNMP server at HQNTP ServerClick Configuration > Network Objects > IP Addresses > (check box) SNMP-Server > Clone, change the following settings, click Save:•Address Name: NTP-Server—IP Address: 207.126.97.57—Description: NTP admin wjones@time.orgRADIUS Servers1.Click Configuration > Network Objects > IP Addresses > New, and after entering all the following, click Save:•Address Name: RADIUS-Server-PrimaryEnter the following, and then click Apply:—IP Address: 10.1.1.15—Netmask: 255.255.255.255—Type: GlobalBecause all the HiveAPs at both the headquarters and branch site use the same RADIUS servers, you classify them as Global. The HiveAPs at the branch site reach the RADIUS servers, which are also located at headquarters, through a VPN tunnel.—Description: Primary RADIUS server at HQ2.Click Configuration > Network Objects > IP Addresses > (check box) RADIUS-Server-Primary > Clone, and after making the following changes, click Save:•Address Name: RADIUS-Server-Secondary—IP Address: 10.1.2.16—Description: Secondary RADIUS server at HQ
Deployment Guide 103EXAMPLE 2: DEFINING NETWORK OBJECTSAND MAC FILTERSCreating a MAC FilterA MAC filter is a type of security policy that you can apply to an SSID to allow or deny access to clients attempting to form associations based on their source MAC addresses. In this example, you define a MAC filter based on the VoIP phone OUI and apply it to the SSID to which you want VoIP clients to associate. HiveAPs can then filter association requests and respond only to clients whose OUI matches that in the filter (see "Example 5: Setting SSIDs" on page117).The MAC filter that you create here becomes useful when you define the SSID for voice traffic (see "voip SSID" on page118). You apply this filter to the SSID so that only VoIP phones with the MAC OUI 01:22:34 can form an association with the HiveAPs.1.Click Configuration > Security Policies >MAC Filters > New.The New MAC Filters dialog box appears.2.Enter the following name and description for the MAC filter:•Name: corpVoIPphones (You cannot include any spaces when defining a MAC filter name.)•Description: Use this filter for "voip" SSIDChoose the name that you gave the OUI, such as "VoIP_Phones" (see "Defining a MAC OUI" on page97) from the MAC Address/OUI drop-down list, choose Permit as the action, and then click Apply.3.To save the MAC filter configuration and close the dialog box, click Create.
Chapter 8 HiveManager Configuration Examples104 AerohiveEXAMPLE 3:PROVIDING GUEST ACCESSAs a convenience for guests visiting the corporate headquarters or branch office, you provide them with wireless network access. To preserve bandwidth for employees, the rate limit for guests is somewhat minimized. To maintain security, visitors are restricted to accessing just the public LAN.Two approaches are presented in this section:•"Guest Access with Preshared Keys": This approach provides visitors with secured network access by using WPA or WPA2 with preshared keys and TKIP or CCMP (AES) encryption. It does not include a means for enforcing visitors to accept a network usage policy before receiving network access.•"Guest Access with Captive Web Portal" on page105: A captive web portal is a way to control network access by requiring users to authenticate or register before assigning them network and user profile settings that allow them network access beyond the HiveAP with which they associated. With this approach, registered visitors’ activity can be tracked and stored in historical logs on a syslog server for security and compliance auditing.For the first approach, no extra configuration is necessary other than configuring a guest user profile and SSID. For the second approach, you might want to customize the registration form used on the captive web portal. To do that, see "Customizing the Registration Page" on page108 and "Loading Customized Captive Web Portal Files" on page111.Guest Access with Preshared KeysYou can provide visitors with secure but unregistered network access by issuing them a preshared key to use when associating with the guest SSID. A receptionist can provide visitors with the preshared key along with access instructions upon their arrival, as shown in Figure8.Figure 8  Guest Access Using a Preshared KeyThe guest SSID provides secure network access for visitors. Also, by linking visitors to the guest SSID, you can differentiate them from employees—who associate with other SSIDs (voip and corp)—so that you can apply one set of QoS (Quality of Service) settings for visitors and other settings for employees. In addition, the user profiles for employees and guests further separate their traffic into two different VLANs. For instructions on setting up guest access with a preshared key, see "Guests QoS and User Profile" on page115 and "guest SSID" on page119.λ½»°¬·±²·-¬Ê·-·¬±®Ê·-·¬±®Ž- Ô¿°¬±° Ø·ª»ßÐײ¬»®²»¬Ì¸» ª·-·¬±® »²¬»®- ¬¸» °®»-¸¿®»¼ µ»§ •¹«»-¬ïîíŒ ©¸»² º±®³·²¹ ¿² ¿--±½·¿¬·±² ©·¬¸ ¬¸» Ø·ª»ßÐ «-·²¹ ¬¸» ÍÍ×Ü •¹«»-¬Œò
Deployment Guide 105EXAMPLE 3: PROVIDING GUEST ACCESSGuest Access with Captive Web PortalA captive web portal provides registered users with network access while containing unregistered users. Aerohive offers two approaches to applying a captive web portal, one using external DHCP and DNS servers on the network and the other using internal DHCP and DNS servers on the HiveAP itself. In the first approach, both registered and unregistered users must be in the same VLAN because the DHCP and DNS servers that they use initially before they register will be the same ones that they continue using after they register. In the second approach, you can separate the unregistered and registered users into two separate VLANs because the unregistered users access the internal DHCP and DNS servers on the HiveAPs, whereas the registered users access the external DHCP and DNS servers, which can be in a different VLAN from the internal servers on the HiveAP.Captive Web Portal with External DHCP and DNS ServersWith this approach, when the client of a previously unregistered visitor first associates with the guest SSID, the HiveAP assigns the "Unregistered-Guests" user profile to the visitor. It allows DHCP and DNS traffic to pass through so that the client can receive its address and TCP/IP assignments and resolve domain names to IP addresses. It also allows ICMP traffic for diagnostic purposes. However, the HiveAP intercepts all HTTP and HTTPS traffic from that client—and drops all other types of traffic—thereby limiting its network access to just the HiveAP with which it associated. No matter what website the visitor tries to reach, the HiveAP directs the visitor’s browser to a registration page. After the visitor registers, the HiveAP stores the client’s MAC address as a registered user, applies the "Guests" user profile to the visitor, and stops keeping the client captive; that is, the HiveAP no longer intercepts HTTP and HTTPS traffic from that MAC address, but allows the client to access external web servers. The entire process is shown in Figure9.Figure 9  Captive Web Portal Exchanges Using External DHCP and DNS ServersÉ·®»´»-- Ý´·»²¬ É·®»´»-- ß½½»-- б·²¬ÜØÝÐ Ý´·»²¬ ÜØÝÐ Í»®ª»®ß--±½·¿¬·±² Ë-·²¹ ÍÍ×Ü •¹«»-¬Œ  ß¼¼®»-- ¿²¼ ÌÝÐñ×Ð ß--·¹²³»²¬-ß--±½·¿¬·±² λ¯«»-¬ß--±½·¿¬·±² λ-°±²-»ï îÜØÝРλ¯«»-¬ÜØÝÐ ßÝÕÜØÝÐ Ü·-½±ª»®ÜØÝРѺº»®Ì¸» ½´·»²¬ º±®³- ¿² ¿--±½·¿¬·±² ©·¬¸ ¬¸» Ø·ª»ßÐ ¾«¬ ¬¸» ª·-·¬±® ¸¿- ²±¬ §»¬ ®»¹·-¬»®»¼ò ̸» Ø·ª»ßÐ ¿´´±©- ÜØÝÐô ÜÒÍô ¿²¼ ×ÝÓÐ ¬®¿ºº·½ ¬¸®±«¹¸ò ׬ ®»¼·®»½¬- ¿´´ ØÌÌÐ ¿²¼ ØÌÌÐÍ ¬®¿ºº·½ ¬± ·¬- ±©² ©»¾ -»®ª»® ¿²¼ ¼®±°- ¿´´ ±¬¸»® ¬®¿ºº·½ò̸» Ø·ª»ßÐ ¿´´±©- ÜØÝÐ ¬®¿ºº·½ ¬± °¿-- ¾»¬©»»² ¬¸» ½´·»²¬ ±º ¿² «²®»¹·-¬»®»¼ «-»® ¿²¼ ¿ ÜØÝÐ -»®ª»® -± ¬¸¿¬ ¬¸» ½´·»²¬ ½¿² ®»½»·ª» ·¬- ×Ð ¿¼¼®»-- ¿²¼ ÌÝÐñ×Ð ¿--·¹²³»²¬-ò
Chapter 8 HiveManager Configuration Examples106 AerohiveTo enable the captive web portal to forward DHCP and DNS traffic from unregistered users to external servers on the network, click Configuration > Authentication > Captive Web Portal > New, and select Use external DHCP and DNS servers on the network.Note: With this captive web portal implementation, you must assign unregistered and registered users to the same VLAN.í ìÜÒÍ Ï«»®·»²¬ ÜÒÍ Í»®ª»®ØÌÌÐ Ý´·»²¬ ØÌÌÐ Í»®ª»®ÜÒÍ ß¼¼®»-- λ-±´«¬·±² ØÌÌРݱ²²»½¬·±² ¬± ¬¸» Ý¿°¬·ª» É»¾ ᮬ¿´ØÌÌÐ ÙÛÌλ°´§É¸»² ¬¸» ½´·»²¬ -»²¼- ¿² ØÌÌÐ ±® ØÌÌÐÍ ÙÛÌ ½±³³¿²¼ô ¬¸» Ø·ª»ßÐ ·²¬»®½»°¬- ·¬ ¿²¼ -»²¼- ·¬ ¬± ·¬- ØÌÌÐ -»®ª»®ô ©¸·½¸ ®»°´·»- ©·¬¸ ¿ ¹«»-¬ ¿½½»-- ®»¹·-¬®¿¬·±² °¿¹»ò ̸» «-»® ³«-¬ ¿¹®»» ¬± ¿² ¿½½»°¬¿¾´» «-» °±´·½§ô º·´´ ·² -±³» º·»´¼-ô ¿²¼ ¬¸»² -«¾³·¬ ¬¸» º±®³ò̸» Ø·ª»ßÐ ¿´´±©- ÜÒÍ ¯«»®·»- ¿²¼ ®»°´·»- ¾»¬©»»² ¬¸» ½´·»²¬ ±º ¿² «²¹®»¹·-¬»®»¼ «-»® ¿²¼ ¿ ÜÒÍ -»®ª»®ÜÒÍ Ï«»®§ÜÒÍ Î»°´§ØÌÌÐ Ý´·»²¬ ØÌÌÐ Í»®ª»® É·®»´»--Ý´·»²¬Í»®ª»®-λ¹·-¬®¿¬·±² ÜØÝÐô ÜÒÍô ¿²¼ ØÌÌÐ Ú±®©¿®¼·²¹ë êÉ·®»´»--ß½»-- б·²¬ßº¬»® ¿ ¹«»-¬ ¿¹®»»- ¬± ¬¸» ¿½½»°¬¿¾´» «-» °±´·½§ô º·´´- ·² ¬¸» º±®³ô ¿²¼ -«¾³·¬- ¬¸» ®»¹·-¬®¿¬·±²ô ¬¸» Ø·ª»ßÐ ³±ª»- ¬¸» ½´·»²¬Ž- ÓßÝ ¿¼¼®»-- º®±³ ¿ ¯«¿®¿²¬·²»¼ ´·-¬ ¬± ¿ ®»¹·-¬»®»¼ ´·-¬ò ̸» Ø·ª»ßÐ ¬¸»² ¿°°´·»- ¬¸» ®»¹·-¬»®»¼ «-»® °®±º·´» •Ù«»-¬-Œ ¿²¼ º±®©¿®¼- ¿´´ ¬§°»- ±º ¬®¿ºº·½ ¬± ¬¸» ®»-¬ ±º ¬¸» ²»¬©±®µô ¿- °»®³·¬¬»¼ ¾§ º·®»©¿´´ °±´·½·»- ¿--·¹²»¼ ¬± ¬¸¿¬ «-»® °®±º·´»òλ¹·-¬®¿¬·±²Ï«¿®¿²¬·²»ÓßÝæ ððïê潺è½æë龽λ¹·-¬»®»¼ÓßÝæ ððïê潺è½æëé¾½ÜØÝÐÜÒÍØÌÌÐ
Deployment Guide 107EXAMPLE 3: PROVIDING GUEST ACCESSCaptive Web Portal with Internal DHCP and DNS ServersWith this approach, when the client of a previously unregistered visitor first associates with the guest SSID, the HiveAP acts as a DHCP server, DNS server, and web server, limiting the client’s network access to just the HiveAP with which it associated. No matter what website the visitor tries to reach, the HiveAP directs the browser to a registration page. After the visitor registers, the HiveAP stores the client’s MAC address as a registered user and stops keeping the station captive; that is, the HiveAP no longer acts as a DHCP, DNS, and web server for traffic from that MAC address, but allows the client to access external servers. The entire process is shown in Figure10.Figure 10 Captive Web Portal Exchanges Using Internal ServersÉ·®»´»-- Ý´·»²¬ É·®»´»-- ß½½»-- б·²¬ÜØÝÐ Ý´·»²¬ ÜØÝÐ Í»®ª»®ß--±½·¿¬·±² Ë-·²¹ ÍÍ×Ü •¹«»-¬Œ  ß¼¼®»-- ¿²¼ ÌÝÐñ×Ð ß--·¹²³»²¬-ß--±½·¿¬·±² λ¯«»-¬ß--±½·¿¬·±² λ-°±²-»ï îÜØÝРλ¯«»-¬ÜØÝÐ ßÝÕÜØÝÐ Ü·-½±ª»®ÜØÝРѺº»®ÍÍ×Ü •¹«»-¬ŒÌ¸» ½´·»²¬ º±®³- ¿² ¿--±½·¿¬·±² ©·¬¸ ¬¸» Ø·ª»ßÐ ¾«¬ ¬¸» ª·-·¬±® ¸¿- ²±¬ §»¬ ®»¹·-¬»®»¼ò ̸» Ø·ª»ßÐ ¼·®»½¬- ¿´´ ÜØÝÐô ÜÒÍô ¿²¼ ØÌÌÐ ¬®¿ºº·½ º®±³ «²®»¹·-¬»®»¼ ¹«»-¬- ¬± ·¬-»´º ·²-¬»¿¼ ±º ¿´´±©·²¹ ·¬ ¬± ¬¸» ®»-¬ ±º ¬¸» ²»¬©±®µò×Ð ß¼¼®»--æ  ïéîòïêòïòîÒ»¬³¿-µæ  îëëòîëëòîëëòðÜ»º¿«´¬ Ù¿¬»©¿§æ  ïéîòïêòïòïöÜØÝÐ Í»®ª»®æ  ïéîòïêòïòïöÜÒÍæ  ïéîòïêòïòïöÔ»¿-»æ  ïð Í»½±²¼-ö Þ§ ¼»º¿«´¬ô ¿ Ø·ª»ßÐ ¿--·¹²- ×Ð ¿¼¼®»--»- ¬± -«¾·²¬»®º¿½»- º±® ½¿°¬·ª» ©»¾ °±®¬¿´ «-» ¿- º±´´±©-æ©·º·ðòï Š ©·º·ðòé   ïéîòïêòïòï Š ïéîòïêòéòï©·º·ïòï Š ©·º·ïòé   ïéîòïêòïïòï Š ïéîòïêòïéòïí ìÜÒÍ Ï«»®·»²¬ ÜÒÍ Í»®ª»®ØÌÌÐ Ý´·»²¬ ØÌÌÐ Í»®ª»®ÜÒÍ ß¼¼®»-- λ-±´«¬·±²ØÌÌРݱ²²»½¬·±² ¬± ¬¸» Ý¿°¬·ª» É»¾ ᮬ¿´ÜÒÍ Ï«»®§ÜÒÍ Î»°´§ØÌÌÐ ÙÛÌλ°´§É¸»² ¬¸» ØÌÌÐ ½´·»²¬ -»²¼- ¿ ÙÛÌ ½±³³¿²¼ô ¬¸» ØÌÌÐ -»®ª»® ®»°´·»- ©·¬¸ ¿ ¹«»-¬ ¿½½»-- ®»¹·-¬®¿¬·±² °¿¹»ò ̸» «-»® ³«-¬ ¿¹®»» ¬± ¿² ¿½½»°¬¿¾´» «-» °±´·½§ô º·´´ ·² -±³» º·»´¼-ô ¿²¼ ¬¸»² -«¾³·¬ ¬¸» º±®³òÉ·´¼½¿®¼ ß ®»½±®¼ ·² ¬¸» ®±±¬ ¦±²» •òŒ ±² ¬¸» Ø·ª»ßÐ ÜÒÍ -»®ª»®æ ö ·² ¿ ïéîòïêòïòï̸» ÜÒÍ -»®ª»® ®»-±´ª»- ¿´´ ¼±³¿·² ²¿³»ó¬±ó¿¼¼®»-- ¯«»®·»- ¬± ¬¸» -¿³» ×Ð ¿¼¼®»--ô ©¸·½¸ ·² ¬¸·- ½¿-» ·- ïéîòïêòïòïò
Chapter 8 HiveManager Configuration Examples108 AerohiveTo enable the captive web portal to forward DHCP and DNS traffic from unregistered users to its internal servers, click Configuration > Authentication > Captive Web Portal > New, and select Use internal DHCP and DNS servers on the HiveAP. By default, the internal DHCP server issues leases with a ten-second lifetime, and if a client with a nonexistent lease requests a lease renewal, the HiveAP responds by broadcasting a DHCP NAK. You can change the HiveAP response so that it sends a unicast NAK or ignores the request completely (Keep Silent).Customizing the Registration PageAlthough Aerohive provides .html and .jpg files for use on the captive web portal server, you might want to customize them to better suit your organization. There are six files, four of which are shown in Figure11:Note: With this captive web portal implementation, you can assign unregistered and registered users to the same VLAN or to different VLANs.•index.html (the main registration page) •loginscreen_02.jpg (image at the top of web pages)•success.html (page that appears after registering) •loginscreen_03.jpg (yellow line near top of web pages)•reg.php (script stored on internal web server) •loginscreen_05.jpg (image at bottom of index.html)ØÌÌÐ Ý´·»²¬ ØÌÌÐ Í»®ª»® É·®»´»--Ý´·»²¬Í»®ª»®-λ¹·-¬®¿¬·±² ÜØÝÐô ÜÒÍô ¿²¼ ØÌÌÐ Ú±®©¿®¼·²¹ë êÉ·®»´»--ß½»-- б·²¬ßº¬»® ¿ ¹«»-¬ ¿¹®»»- ¬± ¬¸» ¿½½»°¬¿¾´» «-» °±´·½§ô º·´´- ·² ¬¸» º±®³ô ¿²¼ -«¾³·¬- ¬¸» ®»¹·-¬®¿¬·±²ô ¬¸» Ø·ª»ßÐ ³±ª»- ¬¸» ½´·»²¬Ž- ÓßÝ ¿¼¼®»-- º®±³ ¿ ¯«¿®¿²¬·²»¼ ´·-¬ ¬± ¿ ®»¹·-¬»®»¼ ´·-¬ò ̸» Ø·ª»ßÐ ¿°°´·»- ¬¸» •Ù«»-¬-Œ «-»® °®±º·´» ¿²¼ º±®©¿®¼- º«®¬¸»® ÜØÝÐô ÜÒÍô ¿²¼ ØÌÌÐ ®»¯«»-¬- ¬± »¨¬»®²¿´ -»®ª»®- ±² ¬¸» ²»¬©±®µò Þ»½¿«-» ¬¸» ÜØÝÐ ´»¿-» ·- ±²´§ ïð -»½±²¼-ô ¬¸» ¬®¿²-·¬·±² ¬± ¬¸» »¨¬»®²¿´ -»®ª»®- ±½½«®- ª»®§ -±±² ¿º¬»® ¬¸» ®»¹·-¬®¿¬·±² ½±³°´»¬»-òλ¹·-¬®¿¬·±²Ï«¿®¿²¬·²»ÓßÝæ ððïê潺è½æë龽λ¹·-¬»®»¼ÓßÝæ ððïê潺è½æëé¾½ÜØÝÐÜÒÍØÌÌÐ
Deployment Guide 109EXAMPLE 3: PROVIDING GUEST ACCESSFigure 11 Captive Web Portal Registration PageUnregistered users’ browsers are redirected to the registration page (index.html) of the captive web portal for the SSID to which they associate (the guest SSID in the examples here). You can have a different registration page for each SSID.To access the default set of .html and .jpg files on a HiveAP, do the following:1.Configure a guest SSID as explained in "guest SSID" on page119 and complete the rest of the HiveAP steps explained in this chapter to bring a HiveAP under HiveManager management.2.Position your management system near the HiveAP and form an association with it using the guest SSID.3.Open a web browser. When it tries to open its home page, the HiveAP intercepts the HTTP traffic and redirects it to the captive portal web server.4.Save the registration page to your local system. In Microsoft Internet Explorer®, for example, click File > SaveAs, name it index, and in the Save as type field, choose Webpage, complete (*.htm, *.html).5.Open the directory where you saved the index.html file.In addition to the index.html file, there is also an images directory containing the three .jpg files that index.html references: loginscreen_02.jpg, loginscreen_03.jpg, and loginscreen_05.jpg.6.Because the directory structure in the HiveAP is different, move the three .jpg files to the same directory as index.html. Optionally, delete those three images and create your own new images, saving them in the same directory as the index.html file.7.Open index.html with a text editor and make the following changes:Note: An alternative approach is to log in to the console port of an individual HiveAP that you have connected to the network—see "Step 1 Log in through the console port" on page150—and enter the following commands:ssid guestssid guest security additional-auth-method captive-web-portalinterface wifi0 ssid guestsave config´±¹·²-½®»»²Áðîò¶°¹ øíðì ¨ ëê °¨÷´±¹·²-½®»»²Áðëò¶°¹ øìëð ¨ ëð °¨÷丬³´â主¿¼â䬷¬´»â´±¹·²-½®»»²äñ¬·¬´»âä³»¬¿ ¸¬¬°ó»¯«·ªãþݱ²¬»²¬ó̧°»þ ½±²¬»²¬ãþ¬»¨¬ñ¸¬³´å ½¸¿®-»¬ã·-±óèèëçóïþâä-¬§´» ¬§°»ãþ¬»¨¬ñ½--þâäÿóóò-¬§´»ï ¥ º±²¬óº¿³·´§æ ß®·¿´ô Ø»´ª»¬·½¿ô -¿²-ó-»®·ºå º±²¬ó©»·¹¸¬æ ¾±´¼å º±²¬ó-·¦»æ ïì°¨å£ò ò ò·²¼»¨ò¸¬³´´±¹·²-½®»»²Áðíò¶°¹ øìëð ¨ ì °¨÷Ò±¬»æ ̸» ®»-±´«¬·±² º±® ¿´´ ·³¿¹»- ·- çê ¼°·ò ̸» ¾·¬ ¼»°¬¸ ·- îìò̱ ³±¼·º§ ¬¸» ®»¹·-¬®¿¬·±² °¿¹»ô ¼± ¬¸» º±´´±©·²¹æïò  Í»¬ «° ¿ ½¿°¬·ª» ©»¾ °±®¬¿´ ±² ¿² ÍÍ×Üòîò  ß½¬·²¹ ¿- ¿ ½´·»²¬ô ³¿µ» ¿² ¿--±½·¿¬·±² ©·¬¸ ¬¸¿¬ ÍÍ×Üò íò  ɸ»² §±« -»» ¬¸» ®»¹·-¬®¿¬·±² °¿¹» ·² §±«® ¾®±©-»®ô -¿ª» ·¬ ¿²¼ ·¬- ¿½½±³°¿²§·²¹ ·³¿¹»-òìò Ë-» ¿ ¹®¿°¸·½- °®±¹®¿³ ¬± ½®»¿¬» ²»© ò¶°¹ ·³¿¹»-òëò  Ë-» ¿ ¬»¨¬ »¼·¬±® ¬± ³±¼·º§ ¬¸» ¬»¨¬ ·² ¬¸» ·²¼»¨ò¸¬³´ º·´»òêò Ë°´±¿¼ ¬¸» º·´»- ¬± ¬¸» Ø·ª»ßÐò¸¬¬°æññ©©©ò½©°ó´±¹·²óðóïò½±³ñ·²¼»¨ò¸¬³´ß«¬¸»²¬·½¿¬»¼ Ò»¬©±®µ ß½½»--Ë-»® Ò¿³»æп--©±®¼æÑ°»² Ù«»-¬ Ò»¬©±®µ ß½½»--ß½½»°¬¿¾´» Ë-» б´·½§Í«¾³·¬Í«¾³·¬× ¿¹®»»Ú·®-¬ Ò¿³»æÔ¿-¬ Ò¿³»æÛ³¿·´æи±²»æÊ·-·¬·²¹æݱ³³»²¬æööööÚ·»´¼- ³¿®µ»¼ ©·¬¸ ¿² ¿-¬»®·-µ ö ¿®» ®»¯«·®»¼òïòð Ѫ»®ª·»©Ì¸·- ½±³°¿²§Ž- ·²¬»²¬·±²- º±® °«¾´·-¸·²¹ ¿²ß½½»°¬¿¾´» Ë-» б´·½§ ¿®» ²±¬ ¬± ·³°±-»®»-¬®·½¬·±²- ¬¸¿¬ ¿®» ½±²¬®¿®§ ¬± ¬¸·- ½±³°¿²§ò Û-¬¿¾´·-¸»¼ ½«´¬«®» ±º ±°»²²»--ô¬®«-¬ ¿²¼ ·²¬»¹®·¬§ò ̸·- ½±³°¿²§ ·-½±³³·¬¬»¼ ¬± °®±¬»½¬·²¹ ¬¸·- ½±³°¿²§Ž-
Chapter 8 HiveManager Configuration Examples110 Aerohive•Remove the string index_files/ from the image source definitions of the three images:<img src="index_files/loginscreen_02.jpg" width="304" height="56" alt=""><img src="index_files/loginscreen_03.jpg" width="450" height="4" alt=""><img src="index_files/loginscreen_05.jpg" width="450" height="50" alt="">•To change the color in the bar in the upper left corner, find <td width="146" bgcolor="002740"> and enter a different color definition. For example, to make it black, enter "000000".•If you want to change the acceptable use policy, find the section that begins with the words"1.0Overview", and then either replace the text with your own policy or edit the existing one.•To remove the Authenticated Network Access section at the top of the page, delete the HTML code from "<FORM name=form2 action=reg.php method=post>" to "</DIV></FORM>".Figure12 on page110 shows the result of editing the text in the acceptable use policy, changing the color in the top left bar in the index.html file, creating two new images for loginscreen_02.jpg and loginscreen_05.jpg, and removing the Authenticated Network Access section.Figure 12 Modified Registration Page8.To edit the "Successful Registration" page, which follows the registration page, click I agree, fill in the fields, and then click Submit Query.The browser opens the "Successful Registration" page.9.Save the page as a file named success.html to the same directory as the index.html file.10.Open it with a text editor, make your changes, and then save the modified file.Note: When working on image files, make sure that they match the above dimensions.Note: If you want to use the Authenticated Network Access section to authenticate employees through the captive web portal, store their user accounts on the RADIUS server that you configure in "Example 7: Defining AAA RADIUS Settings" on page123. The HiveAPs hosting the captive web portal will forward their user name and password entries to that RADIUS server for the authentication check.NotesThe default registration page contains two forms: an upper form for user authentication (through an external RADIUS server) and a lower form for user registration. In this example, you remove the upper form so that the page is simply for guest registration.The total number of fields in the customized file shown here is the same as that in the default index.html file. If you want, you can edit the HTML code to change the number of required and optional fields. (Fields identified as "INPUT id=field<number>" are required, and "INPUT id=opt_field<number>" are optional.) If you change the number of fields in the HTML code, you must also change them in the captive web portal section of the SSID configuration.There are two elements that cannot be removed from this file: •"I agree" check box (its name must remain as “checkbox” in the code)•Submit button
Deployment Guide 111EXAMPLE 3: PROVIDING GUEST ACCESSLoading Customized Captive Web Portal FilesTo load your edited or new files onto one or more HiveAPs, you first create a directory on HiveManager and then upload the files from your management system or SCP (Secure Copy) server into that directory. From there, you can send the files to one or more managed HiveAPs when you push the configuration that references the files. To create a directory on HiveManager and upload files into it, do the following:1.In the HiveManager GUI, click Configuration > HiveAP File Management.2.In the HiveAP File Management window, select Captive Portal Page for file type.Two display areas (Available Directories and Available CWP Files) and a new field (Directory Name) appear.3.In the Directory Name field, type a name such as guestCWP, and then click Create.A directory named "guestCWP" appears in the Available Directories list.4.Depending on how you upload the files, select guestCWP, enter one of the following, and then click Upload:To load files from a directory on your local management system:•Local File: (select); type the directory path and a file name; or click Browse, navigate to one of the files, and select it.orTo load a file from an SCP server:•SCP Server: (select)•IP Address: Enter the IP address of the SCP server.•SCP Port: Enter the port number of the SCP server (the default port number for SCP is 22).•File Path: Enter the directory path and file name. If the files are in the root directory of the SCP server, you can simply enter the file name.•User Name: Type a user name with which HiveManager can access the SCP server.•Password: Type a password with which HiveManager can use to log in securely to the SCP server.5.Repeat either the Local or SCP method of uploading each file you need into the guestCWP directory.Note: After you load a file, it appears in the Available CWP Files display area. If you accidentally load the wrong file, select the file name and then click Remove.
Chapter 8 HiveManager Configuration Examples112 AerohiveDefining a Captive Web PortalDefine the following captive web portal for use when creating an SSID for guest registration (see "guest SSID" on page119). The definition below references the web directory "guestCWP" and the HTML files that you modified and uploaded in the previous section—login.html and success.html.Click Configuration > Authentication > Captive Web Portal > New, enter the following, leave all the other values at their default settings, and then click Save:•Name: CWP-guest1•Description: Captive web portal for guest registration•Use default file settings: (clear)•Web Files Directory: guestCWP•Web Page Name: login.html•Result Page Name: success.html•Use external DHCP and DNS servers on network: (select)Perform the following tasks to finish setting up the captive web portal:•Configure two user profiles—one for successfully registered users and another for the unsuccessful (see "Guests QoS and User Profile" on page115 and "Unregistered-Guests QoS and User Profile" on page116)•Configure an SSID with captive web portal functionality (see "guest SSID" on page119)•Link the user profiles to the SSID in a WLAN policy (see "Example 9: Creating WLAN Policies" on page126)•Push the files and configuration to managed HiveAPs on which you want to run the portal (see "Example 10: Assigning Configurations to HiveAPs" on page135)Note: You can also use the Aerohive GuestManager to provide network access to wireless visitors. An administrator, called an operator, sets up visitors’ account on GuestManager. Then GuestManager uses its built-in RADIUS server to authenticate those users. For more information, see the Aerohive GuestManager Getting Started Guide.
Deployment Guide 113EXAMPLE 4: CREATING USER PROFILESEXAMPLE 4:CREATING USER PROFILESUser profiles contain a grouping of settings that determine the QoS (Quality of Service), VLAN, firewall policies, and mobility policy that you want HiveAPs to apply to traffic from a specific group of users. In this example, you define user profiles and their companion QoS forwarding rates and VLANs for VoIP phone users ("VoIP"), IT staff ("IT"), corporate employees ("Emp"), and corporate visitors ("Guests"2). The user profile settings, maximum traffic forwarding rates per user, and the VLAN for each profile are shown in Figure13.Figure 13 User Profiles, Forwarding Rates per User, and Default VLANsVoIP QoS and User Profile1.Click Configuration > QoS Policies > Rate Control & Queuing > New, enter the following, and then click Save:•Name: QoS-VoIP•Per User Rate Limit: 512 Kbps (802.11a/b/g); 512 Kbps (802.11n)This is the maximum amount of bandwidth that a single user belonging to this profile can use. It supports a single 8 – 64-Kbps VoIP session—depending on the voice codec used—while reserving bandwidth for other required telephony services such as DNS, DHCP, HTTP, and TFTP.•Description: Enter a useful comment for future reference, such as "QoS for VoIP traffic per user".•Per User Queue Management: Enter the following items that appear in bold:2.For guest access using a captive web portal, there must be two user profiles: one for guests that register successfully ("Guests") and another for guests have not registered or whose registration attempt failed ("Unregistered-Guests").Class Number - Name Scheduling Type Scheduling WeightWeight % (Read Only)Policing Rate Limit (Kbps)(802.11a/b/g)Policing Rate Limit (Kbps) (802.11n)7 - Network ControlStrict 0 0% 5125126 - VoiceStrict 0 0% 64645 - VideoWeighted Round Robin60 28% 5125124 - Controlled LoadWeighted Round Robin50 23% 5125123 - Excellent EffortWeighted Round Robin40 19% 512512Ò±¬»-æ Þ»½¿«-» ·²¼·ª·¼«¿´ ʱ×Ð ½¿´´- «-» ®»´¿¬·ª»´§ ´·¬¬´» ¾¿²¼©·¼¬¸ ø¢ïîè Õ¾°-ô ¼»°»²¼·²¹ ±² ¬¸» ª±·½» ½±³°®»--·±² ½±¼»¨ «-»¼÷ô ¿ -·²¹´» ʱ×Ð «-»® ¼±»- ²±¬ ²»»¼ ¿- ³«½¸ ¾¿²¼©·¼¬¸ ¿- ¿ «-»® ¬®¿²-³·¬¬·²¹ ±¬¸»® ¬§°»- ±º ¬®¿ºº·½òݱ®°±®¿¬» »³°´±§»»-‰×Ì ¿²¼ Û³°‰®»½»·ª» ¬¸» ¸·¹¸»-¬ ³¿¨·³«³ ¼¿¬¿ º±®©¿®¼·²¹ ®¿¬»-òÙ«»-¬- ®»½»·ª» »²±«¹¸ ¾¿²¼©·¼¬¸ ¬± -¿¬·-º§ ¾¿-·½ ²»¬©±®µ ¿½½»-- ¾«¬ ²±¬ »²±«¹¸ ¬± ·²¬»®º»®» ©·¬¸ »³°´±§»» ¬®¿ºº·½òλ¹¿®¼·²¹ ÊÔßÒ ¿--·¹²³»²¬-ô »¿½¸ «-»® °®±º·´» ·- -»½«®»´§ ·-±´¿¬»¼ ·² ·¬- ±©² ÊÔßÒ ø×Ì ¿²¼ Û³° ¾»·²¹ ¼·ª·-·±²- ©·¬¸·² ¬¸» ´¿®¹»® ®±´» ±º »³°´±§»»÷ò Ò±¬»æ ̸» ´·²µ ½±²²»½¬·²¹ ¬¸» Ø·ª»ßÐ Û¬¸»®²»¬ ·²¬»®º¿½» ¬± ¬¸» ·²¬»®º¿½» ±² ¬¸» ½±²²»½¬·²¹ -©·¬½¸ ³«-¬ ¾» ¿² èðîòïÏ  ¬®«²µ °±®¬ ½±²º·¹«®»¼ ¬± ¿´´±© ¬®¿ºº·½ ±² ¬¸»-» ÊÔßÒ- º®±³ ¬¸» Ø·ª»ßÐ-òË-»® Ю±º·´»-Ò¿³»æ ʱ×Ð߬¬®·¾«¬»æ îÒ¿³»æ ×Ì߬¬®·¾«¬»æ íÒ¿³»æ Û³°ß¬¬®·¾«¬»æ ìÒ¿³»æ Ù«»-¬-߬¬®·¾«¬»æ ëÜ»º¿«´¬ÊÔßÒ-îíïïÓ¿¨·³«³ Ü¿¬¿ Ú±®©¿®¼·²¹ כּ- °»® Ë-»®ïï¿ñ¾ñ¹ñ² ëïî Õ¾°-ïï¿ñ¾ñ¹ ëìððð Õ¾°-ïï² ïôðððôððð Õ¾°-ïï¿ñ¾ñ¹ñ² îððð Õ¾°-ïï¿ñ¾ñ¹ ëìððð Õ¾°-ïï² ïôðððôððð Õ¾°-
Chapter 8 HiveManager Configuration Examples114 AerohiveBecause you use strict rate limiting for voice traffic, it is always assured the maximum bandwidth rate of 64 Kbps—even if the VoIP phone is updating its software or is otherwise engaged in activity other than voice traffic. The other telephony services (DHCP and DNS mapped to Aerohive class 5, and HTTP and TFTP mapped to class 2) can function at the remaining bandwidth rate.2.Click Configuration >User Profiles >New > General, enter the following, and then click Save:•Name: VoIP (You cannot include any spaces when defining a user profile name.)•Attribute: 2Each user profile in the same WLAN must have a unique attribute number. When using a local authentication mechanism, this attribute links the profile to an SSID so that the HiveAP applies the QoS settings for the profile to all traffic using that SSID.•Attribute Group: Leave this field empty.An attribute group is a way to assign various RADIUS users with different attribute numbers to the same user profile. Because VoIP users are not authenticated from a RADIUS server, this option is not applicable here.•QoS Setting: QoS-VoIP•Default VLAN: VLAN-2-EmployeeVoice (previously defined; see "Defining VLANs" on page100)HiveAPs assign users matching the VoIP user profile to VLAN 2. This separates all employee voice traffic from employee data traffic, which will be on VLAN 1. Guest traffic will be on VLAN 3, separating it from both employee data and voice traffic.•Description: Employees using VoIPIT Staff QoS and User Profile1.Click Configuration > QoS Policies > Rate Control & Queuing > New, enter the following, and then click Save:•Name: QoS-ITdata•Per User Rate Limit: 54000 Kbps (802.11a/b/g); 1000000 Kbps (802.11n) (These are the default values.)This is the maximum amount of bandwidth that a single user belonging to this profile can use. It is the maximum so that even if only one IT staff member is on the network, he or she can use all the available bandwidth if needed.•Description: QoS per IT staff member•Per User Queue Management: Keep all the settings at their default values.2.Click Configuration >User Profiles >New > General, enter the following, and then click Save:•Name: IT (You cannot include any spaces when defining a user profile name.)•Attribute: 3Because the attribute number for the def-user and VoIP user profiles are 1 and 2, enter "3" here. This number can be any unique number from 3 to 63. Because you will later map this profile to an SSID that uses 2 - Best Effort 1Weighted Round Robin30 14% 5125121 - Best Effort 2Weighted Round Robin20 9% 5125120 - BackgroundWeighted Round Robin10 4% 512512Note: The default 802.11a/b/g rate limit for Aerohive class 6 (voice) is 512 Kbps and for 802.11n it is 20,000 Kbps. These default rate limits are large enough to support conference calls, but for typical one-to-one communications, 64 Kbps is sufficient.Class Number - Name Scheduling Type Scheduling WeightWeight % (Read Only)Policing Rate Limit (Kbps)(802.11a/b/g)Policing Rate Limit (Kbps) (802.11n)
Deployment Guide 115EXAMPLE 4: CREATING USER PROFILESIEEE 802.1X authentication, you must configure the user profile attribute that you set here as an attribute on the RADIUS server as explained in "RADIUS Server Attributes" on page124.•Attribute Group: Leave this field empty.•QoS Setting: QoS-ITdata•Default VLAN: VLAN-1-EmployeeData (previously defined; see "Defining VLANs" on page100)HiveAPs assign users matching the IT user profile to VLAN 1. This separates all employee data traffic from employee voice traffic, which will be on VLAN 2. Guest traffic will be on VLAN 3, separating it from both employee data and voice traffic.•Description: IT staffEmp (Employees) QoS and User Profile1.Click Configuration > QoS Policies > Rate Control & Queuing > (check box) QoS-ITdata > Clone, change the following settings, and then click Save:•Name: QoS-EmployeeData•Description: QoS per regular employee•Per User Queue Management: Keep all the settings at their default values.2.Click Configuration >User Profiles > (check box) IT > Clone, make the following changes, and then click Save:•Name: Emp (You cannot include any spaces when defining a user profile name.)•Attribute: 4Because the attribute numbers for the def-user, VoIP, and IT profiles are 1, 2, and 3 respectively, enter "4" here. This number can be any unique number from 4 to 63. Because you will later map this profile to an SSID that uses IEEE 802.1X authentication, you must configure the user profile attribute set here as an attribute on the RADIUS server as explained in "RADIUS Server Attributes" on page124.•QoS Setting: QoS-EmployeeData•Description: Regular employeesGuests QoS and User Profile1.Click Configuration > QoS Policies > Rate Control & Queuing > New, enter the following, and then click Save:•Name: QoS-Guests•Per User Rate Limit: 2000 Kbps (802.11a/b/g); 2000 Kbps (802.11n)This is the maximum amount of bandwidth that a single user belonging to this profile can use. It is far less than that for employees, but should be sufficient for basic Internet and e-mail access.•Description: QoS per guest•Per User Queue Management: Enter the following items in bold. Leave all other cloned settings unchanged.Note: Although the "per user rate limit" and the "per user queue management" settings are the same as those for QoS-ITdata, you must create this QoS profile so that you can later assign different weights to QoS-ITdata and QoS-EmployeeData (see "Example 9: Creating WLAN Policies" on page126).Class Number - Name Scheduling Type Scheduling WeightWeight % (Read Only)Policing Rate Limit (Kbps)(802.11a/b/g)Policing Rate Limit (Kbps) (802.11n)7 - Network ControlStrict 0 0% 64646 - VoiceStrict 0 0% 64645 - VideoWeighted Round Robin60 28% 20002000
Chapter 8 HiveManager Configuration Examples116 Aerohive2.Click Configuration >User Profiles > (check box) Emp > Clone > General, enter the following, and then click Save:•User Profile Name: Guests•Attribute: 5Each user profile in the same WLAN must have a unique attribute number. Because the attributes for the def-user, VoIP, IT, and Emp profiles are 1, 2, 3, and 4 respectively, enter "5" here. This number can be any unique number from 5 to 63.•Attribute Group: Leave this field empty.•QoS Setting: QoS-Guests•Default VLAN: VLAN-3-Guests (previously defined; see "Defining VLANs" on page100)HiveAPs assign users matching the VoIP user profile to VLAN 2. This separates all employee voice traffic from employee data traffic, which will be on VLAN 1. Guest traffic will be on VLAN 3, separating it from both employee data and voice traffic.•Description: Visiting guestsUnregistered-Guests QoS and User ProfileEnter the following if you are using the captive web portal approach for providing guest access (see "Guest Access with Captive Web Portal" on page105). A HiveAP applies this profile to users who have not yet registered, or do not successfully register, through the captive web portal.Click Configuration >User Profiles > (check box) Guests > Clone > General, enter the following, and then click Save:•User Profile Name: Unregistered-Guests•Attribute: 6Because each user profile attribute number must be unique and 1 – 5 have already been assigned, enter "6" here. This number can be any unique number from 6 to 63.•Attribute Group: Leave this field empty.•QoS Setting: QoS-Guests•Default VLAN: VLAN-3-Guests•Description: CWP unregistered guests4 - Controlled LoadWeighted Round Robin50 23% 200020003 - Excellent EffortWeighted Round Robin40 19% 200020002 - Best Effort 1Weighted Round Robin30 14% 200020001 - Best Effort 2Weighted Round Robin20 9% 200020000 - BackgroundWeighted Round Robin10 4% 20002000Note: In this set of examples, you enable the captive web portal method to forward DHCP and DNS traffic to external servers. So that the clients of registered users can continue to use the network settings that they received while they were still unregistered, you must configure both the Guests and Unregistered-Guests profiles with the same VLAN.Class Number - Name Scheduling Type Scheduling WeightWeight % (Read Only)Policing Rate Limit (Kbps)(802.11a/b/g)Policing Rate Limit (Kbps) (802.11n)
Deployment Guide 117EXAMPLE 5: SETTING SSIDSEXAMPLE 5:SETTING SSIDSAn SSID (service set identifier) is an alphanumeric string that identifies a set of authentication and encryption services that wireless clients and access points use when communicating with each other. In this example, you define the following three SSIDs, which are also shown in Figure14:Figure 14 SSIDs Providing Network Access to Different UsersSSID Name Security Protocol OthervoipKey method: WPA2-PSKEncryption method: TKIPPreshared key (ASCII): CmFwbo1121Authentication method: OpenA MAC filter restricts access only to VoIP phones specified in the filter.corpKey method: WPA2-EAP (802.1X)Encryption method: CCMP (AES)Authentication method: EAP (802.1X)Employees use the RADIUS server specified in "Example 7: Defining AAA RADIUS Settings" on page123 to authenticate themselves using IEEE 802.1X.guestKey method: Auto-(WPA or WPA2)-PSKEncryption method: Auto-TKIP or CCMP (AES)Preshared key (ASCII): guest123Authentication method: Openandfor captive web portal: CWP-guest1For guest access using a preshared key, the receptionist supplies guests with the SSID name and configuration details, including the preshared key, when they arrive.Note: You can define up to seven SSIDs for a single radio in access mode. If hive members use one radio for wireless backhaul communications, then they must use the other radio in access mode. In this case, a HiveAP can have a maximum of seven SSIDs. If hive members send backhaul traffic completely over wired links, then both radios can be in access mode and a HiveAP can have a maximum of 14 SSIDs.Ë-»® Ю±º·´»- ÍÍ×Ü Ü»º·²·¬·±²-ÍÍ×Üæ ½±®°Õ»§ ³»¬¸±¼æ ÉÐßîóèðîòïÈ øÉÐßî Û²¬»®°®·-»÷Û²½®§°¬·±² ³»¬¸±¼æ ÝÝÓÐ øßÛÍ÷ß«¬¸»²¬·½¿¬·±² ³»¬¸±¼æ ÛßÐ øèðîòïÈ÷ÍÍ×Üæ ª±·°Õ»§ ³»¬¸±¼æ ÉÐßîóÐÍÕ øÉÐßî л®-±²¿´÷Û²½®§°¬·±² ³»¬¸±¼æ ÌÕ×ÐЮ»-¸¿®»¼ µ»§ øßÍÝ××÷æ ݳک¾±ïïîïß«¬¸»²¬·½¿¬·±² ³»¬¸±¼æ Ñ°»²ÍÍ×Üæ ¹«»-¬Õ»§ ³»¬¸±¼æ ß«¬±óøÉÐß ±® ÉÐßî÷óÐÍÕÛ²½®§°¬·±² ³»¬¸±¼æ ß«¬±óÌÕ×Ð ±® ÝÝÓÐ øßÛÍ÷Ю»-¸¿®»¼ µ»§ øßÍÝ××÷æ ¹«»-¬ïîíß«¬¸»²¬·½¿¬·±² ³»¬¸±¼æ Ñ°»²¿²¼º±® ½¿°¬·ª» ©»¾ °±®¬¿´æ ÝÉÐ󹫻-¬ïʱ×Ри±²»-ݱ®°±®¿¬» Ò»¬©±®µÊ·-·¬·²¹ Ù«»-¬¿¬ ݱ®°±®¿¬» Í·¬»Ø·ª»ßÐÎßÜ×ËÍ Í»®ª»®- º±® èðîòïÈ ß«¬¸»²¬·½¿¬·±²Ê±×Ð×ÌÛ³°Ë²®»¹·-¬»®»¼óÙ«»-¬-øº±® ½¿°¬·ª» ©»¾ °±®¬¿´÷Ù«»-¬-
Chapter 8 HiveManager Configuration Examples118 AerohiveEmployees that belong to the "IT" and "Emp" profiles can use SSIDs "voip" and "corp". The SSID with which they associate is based on how they are attempting to access the network. If they use a VoIP phone, then they associate with the voip SSID because that is the SSID configured on their phones. If they use a wireless client on a computer, then they associate with the corp SSID because that is the SSID configured on the wireless client on their computers.In contrast, visitors can only associate with the guest SSID. The receptionist provides configuration details and the preshared key for the guest SSID when visitors arrive. The guest SSID is the only wireless network choice available to which visitors’ wireless clients can connect. When the captive web portal option is in use, HiveAPs assign visitors who register successfully to the "Guests" profile and those who do not to the "Unregistered-Guests" profile.voip SSID1.Click Configuration > SSIDs > New >General, enter the following, and leave all other values at their default settings:•SSID: voip (You cannot include any spaces when defining the name of an SSID.)•Description: SSID exclusively for VoIP phones•Key Management: WPA2-PSK•Encryption Method: TKIP•Authentication Method: Open•Key Type: ASCII Key•Key Value: CmFwbo1121 (The key length can be from 8 to 63 characters.)2.Click the Advanced tab.3.In the Available MAC Filters list, click corpVoIPphones>, to move it to the Selected MAC Filters list, set the Default Action as Deny, and then click Save.By applying a MAC filter to the voip SSID, you restrict access to VoIP phones matching the specified OUI. The corpVoIPphones MAC filter is defined in "Creating a MAC Filter" on page103.corp SSID1.Click Configuration > SSIDs > New >General, enter the following, and leave all other values at their default settings:•SSID: corp•Description: SSID for corporate employees•Key Management: WPA2-EAP (802.1X)•Encryption Method: CCMP (AES)•Authentication Method: EAP (802.1X)Note: You can also use Aerohive GuestManager to provide network access to wireless visitors. For information about GuestManager, see the Aerohive GuestManager Getting Started Guide.
Deployment Guide 119EXAMPLE 5: SETTING SSIDSguest SSID1.Click Configuration > SSIDs > New >General, enter the following, and leave all other values at their default settings:•SSID: guest•Description: SSID for company guests•Key Management: Auto-(WPA or WPA2)-PSK•Encryption Method: Auto-TKIP or CCMP (AES)•Authentication Method: Open•Key Type: ASCII Key•Key Value: guest123orOn the Generalpage, enter the following:•SSID: guest•Description: SSID for registering company guests•Captive Web Portal: CWP-guest1•Key Management: Auto-(WPA or WPA2)-PSK•Encryption Method: Auto-TKIP or CCMP (AES)•Authentication Method: Open•Key Type: ASCII Key•Key Value: guest123
Chapter 8 HiveManager Configuration Examples120 AerohiveEXAMPLE 6:SETTING MANAGEMENT SERVICE PARAMETERSManagement services include the settings for DNS, syslog, SNMP, NTP, and location servers. HiveAPs use these services for network communications and logging activities. In addition, you can set HiveAP admin access parameters.In this example, you configure the management services that you later reference in WLAN policies (see "Example 9: Creating WLAN Policies" on page126). Two WLAN policies are for HiveAPs at the corporate HQ site and the third is for HiveAPs at the remote branch office. You define the following management services:•Three DNS (Domain Name Service) servers—one primary server at HQ, one primary server at the branch site, and one secondary server at HQ. HiveAPs at the branch site connect to the secondary DNS server through a VPN tunnel. Although there are three DNS servers, there are only two IP address objects. The IP address object for the primary DNS server has two IP address definitions. By using the classifier tags "hq" and "branch1", all HiveAPs deployed at headquarters and classified as "hq" use the "hq" address definition, while all those deployed at the branch site and classified as "branch1" use the "branch1" definition. Because all HiveAPs use the secondary DNS server (at headquarters), its IP address definition is classified as Global; that is, it is the same for all HiveAPs. •One syslog server and one SNMP (Simple Network Management Protocol) server—both at headquarters. HiveAPs at the branch office connect to these through a VPN tunnel.•One NTP (Network Time Protocol) server—located on the public network. HiveAPs synchronize the time on their system clocks with this server.The various servers and their relationship to the two sites is shown in Figure15.Figure 15 Location of Servers in Relation to Each WLAN Policyݱ®°±®¿¬» Ø»¿¼¯«¿®¬»®-Ѳ´§ ¬¸» °®·³¿®§ ÜÒÍ -»®ª»® º±® ¬¸» ¾®¿²½¸ ±ºº·½» ·- ¿¬ ¬¸» ¾®¿²½¸ ±ºº·½» -·¬»ò ̸» ÒÌÐ -»®ª»® ·- ±² ¬¸» °«¾´·½ ²»¬©±®µò ß´´ ±¬¸»® ³¿²¿¹»³»²¬ -»®ª»®- ¿®» ¿¬ ¸»¿¼¯«¿®¬»®-ò ß ÊÐÒ ¬«²²»´ °®±¬»½¬- ¬®¿ºº·½ ¾»¬©»»² ¬¸» ¬©± -·¬»-òЮ·³¿®§ ÜÒÍ Í»®ª»®ïðòïòïòîëЮ·³¿®§ ÜÒÍ Í»®ª»®ïðòîòîòîëïÍ»½±²¼¿®§ ÜÒÍ Í»®ª»®ïðòïòîòîêÍÒÓÐ Í»®ª»®ïðòïòïòîìͧ-´±¹ Í»®ª»®ïðòïòïòîíÞ®¿²½¸ Ѻº·½»ÊÐÒ Ì«²²»´Î»³±¬» ÒÌÐ Í»®ª»®îðéòïîêòçéòëéÓ¿²¿¹»³»²¬ -»®ª·½»- ¿¬ ¸»¿¼¯«¿®¬»®-Ó¿²¿¹»³»²¬ -»®ª·½»- ¿¬ ¬¸» ¾®¿²½¸ -·¬»
Deployment Guide 121EXAMPLE 6: SETTING MANAGEMENT SERVICE PARAMETERSDNS AssignmentClick Configuration > Management Services >DNS Assignments > New, and after entering all the following, click Save:•Name: DNS-Primary-HQ•Domain Name: apis.com (This is the domain name of the corporation in this example.)•Description: Primary and secondary DNS serversTo specify a previously defined IP address object for the primary DNS server, enter the following, and then click Apply:—IP Address: DNS-Primary—Description: Primary DNS server tagged "hq" and "branch1"To specify a previously defined IP address object for the secondary DNS server, click New, enter the following, and then click Apply:—IP Address: DNS-Secondary—Description: Secondary DNS server 10.1.1.26Syslog AssignmentClick Configuration > Management Services >Syslog Assignments > New, and after entering all the following, click Save:•Name: Syslog-Server•Facility: From the drop-down list, choose a syslog facility with which to tag event log messages from the HiveAPs. By specifying a particular facility, the syslog server can differentiate all messages from the same source from messages from other sources.•Description: Syslog server at HQTo specify a previously defined IP address object for the syslog server, enter the following, and then click Apply:—Type: IP Address—Syslog Server: Syslog-Server—Severity: Choose the minimum severity level for messages that you want to send to the syslog server. HiveAPs send messages of the level you choose plus messages of all severity levels above it. For example, if you choose critical, the HiveAP sends the syslog server all messages whose severity level is critical, alert, or emergency. If you choose emergency, the HiveAPs send only emergency-level messages.—Description: Type a useful note, such as "Log critical - emergency events".SNMP AssignmentClick Configuration > Management Services >SNMP Assignments > New, and after entering all the following, click Save:•Name: SNMP-Server•SNMP Contact: Type contact information for the person to contact if you need to reach a HiveAP admin. (You cannot include any spaces in the SNMP contact definition.)•Description: SNMP server at HQ•Enable SNMP Service: (select)
Chapter 8 HiveManager Configuration Examples122 AerohiveTo specify a previously defined IP address object for the SNMP server, enter the following, and then click Apply:—Type: IP Address—SNMP Server: SNMP-Server—Version: From the drop-down list, select the version of SNMP that is running on the management system you intend to use: V1 or V2C.—Operation: From the drop-down list, choose the type of activity that you want to permit between the specified SNMP management system and the HiveAPs in the WLAN policy to which you (later) assign this management services profile: get – get commands sent from the management system to a HiveAP to retrieve MIBs (Management Information Bases), which are data objects indicating the settings or operational status of various HiveOS componentstrap – messages sent from HiveAPs to notify the management system of events of interestget and trap – permit both get commands and trapsnone – cancel all activity, disabling SNMP activity for the specified management system—Community String: Enter a text string that must accompany queries from the management system. The community string acts similarly to a password. (HiveAPs only accept queries from management systems that send the correct community string. The default string is "hivecommunity".)NTP AssignmentClick Configuration > Management Services >NTP Assignments > New, and after entering all the following, click Save:•Name: NTP-Server•Sync Interval: Set an interval for polling the NTP (Network Time Protocol) server so that HiveAPs can synchronize their internal system clock with the server. The default interval is 1440 minutes (once a day). The possible range is from 60 minutes (once an hour) to 10,080 minutes (once a week).•Time Zone: From the drop-down list, choose the time zone for the HiveAPs to which you intend to apply the management services.•Description: Enter useful information, such as contact details for the NTP server admin.•Enable NTP client service: (select)•Sync Clock with HiveManager: (clear)Because you want the HiveAPs to use an NTP server, this option must be cleared. Select this only if you want the HiveAPs to synchronize their times with that set on HiveManager.To specify a previously defined IP address object for the NTP server, enter the following, and then click Apply:—Type: IP Address—NTP Server: NTP-Server—Description: Type a useful note, such as the location of the NTP server.
Deployment Guide 123EXAMPLE 7: DEFINING AAA RADIUS SETTINGSEXAMPLE 7:DEFINING AAA RADIUS SETTINGSIn this example, you define the connection settings for a RADIUS server so that HiveAPs can send RADIUS authentication requests to the proper destination.After corporate employees associate with HiveAPs, they gain network access by authenticating themselves to a RADIUS server. The authentication process makes use of the IEEE 802.1X standard. Within this context, wireless clients act as supplicants, HiveAPs as authenticators, and the RADIUS server as the authentication server. The roles of each participant, packet exchanges, and connection details for the RADIUS server are shown in Figure16.Figure 16 IEEE 802.1X Authentication Process1.Click Configuration > Authentication > AAA Client Settings > New > General, and then enter the following:•RADIUS Name: RADIUS-Servers (You cannot use spaces in the RADIUS profile name.)•Retry Interval: 1800 (Seconds)Enter the period of time that a HiveAP waits before retrying a previously unresponsive primary RADIUS server. If a primary RADIUS server does not respond to three consecutive attempts—where each attempt consists of ten authentication requests sent every three seconds (30 seconds for a complete request)—and a backup RADIUS server has been configured, the HiveAP sends further authentication requests to the backup server. The default is 600 seconds (or 10 minutes). The minimum is 60 seconds and the maximum is Note: You can define a HiveAP as a RADIUS server. A HiveAP RADIUS server only supports 802.1X authentication, so you cannot use it to authenticate users through a captive web portal.ß -«°°´·½¿²¬ ø©·®»´»-- ½´·»²¬÷ ³¿µ»- ¿² ¿--±½·¿¬·±² ©·¬¸ ¿² ¿«¬¸»²¬·½¿¬±® øØ·ª»ßÐ÷ò ̸» ¿«¬¸»²¬·½¿¬±® ½¸»½µ- ¬¸» ÎßÜ×ËÍ ½±¼» ·²¼·½¿¬·²¹ ©¸»¬¸»® ¬¸» -«°°´·½¿²¬ ·- ¿½½»°¬»¼ ±® ®»¶»½¬»¼ò ø׬ ¿´-± ½¸»½µ- º±® ¿¬¬®·¾«¬»- ·²¼·½¿¬·²¹ ¬¸» «-»® ¹®±«° º±® ¬¸» -«°°´·½¿²¬÷ò ̸» -«°°´·½¿²¬ ½¸»½µ- ¬¸» ÛßÐ ³»--¿¹»ò̸» ¿«¬¸»²¬·½¿¬±® ¿²¼ -«°°´·½¿²¬ »¨½¸¿²¹» ÛßÐóλ¯«»-¬ñ×¼»²¬·¬§ ¿²¼ ÛßÐóλ-°±²-»ñ ×¼»²¬·¬§ ³»--¿¹»-òÍ«°°´·½¿²¬øÉ·®»´»-- Ý´·»²¬÷ß«¬¸»²¬·½¿¬±®øØ·ª»ßÐ÷ß«¬¸»²¬·½¿¬·±² Í»®ª»®-øÎßÜ×ËÍ Í»®ª»®-÷ïî̸» ¿«¬¸»²¬·½¿¬·±² -»®ª»® ®»°´·»- ©·¬¸ »·¬¸»® ¿ ÎßÜ×ËÍ ß½½»--óß½½»°¬ ±® ß½½»--ó붻½¬ ³»--¿¹» ½±²¬¿·²·²¹ ¿² ÛßÐóÍ«½½»-- ±® ÛßÐóÚ¿·´«®» ³»--¿¹»ò̸» ¿«¬¸»²¬·½¿¬±® -»²¼- ¬¸» ÛßÐóλ-°±²-»ñ ×¼»²¬·¬§ ³»--¿¹» ¿- ±²» ±® ³±®» ¿¬¬®·¾«¬»- ·² ¿ ÎßÜ×ËÍ ß½½»--óλ¯«»-¬ ³»--¿¹» ¬± ¬¸» ×Ð ¿¼¼®»-- ±º ¬¸» ÎßÜ×ËÍ ¿«¬¸»²¬·½¿¬·±² -»®ª»®òíìëò ò ò Ü»°»²¼·²¹ ±² ¬¸» ¿«¬¸»²¬·½¿¬·±² ³»¬¸±¼‰ÌÔÍô ÌÌÔÍô ÐÛßЉ³±®» »¨½¸¿²¹»- ³·¹¸¬ ¬¿µ» °´¿½» ¸»®»  ò ò òPrimary RADIUS ServerIP address: 10.1.1.15Shared secret: J7ix2bbbLAAuthentication port: 1812Server priority: FirstSecondary RADIUS ServerIP address: 10.1.2.16Shared secret: J8Dx2c13MbAuthentication port: 1812Server Priority: Second
Chapter 8 HiveManager Configuration Examples124 Aerohive100,000,000 seconds. Generally, you want to make the retry interval fairly large so that supplicants (that is, wireless clients requesting 802.1X authentication) do not have to wait unnecessarily as a HiveAP repeatedly tries to connect to a primary server that is down for an extended length of time.•Accounting Interim Update Interval: 20 (default)This is the interval in seconds for updating the RADIUS accounting server with the cumulative length of a client’s session. Because this example does not make use of RADIUS accounting, leave the default setting.•Description: 802.1X authentication for corp employees2.Click the RADIUS Servers tab, enter the following, and then click Apply:—Type: IP Address—Server IP/Name: RADIUS-Server-Primary (previously configured in "RADIUS Servers" on page102)—Shared Secret: J7ix2bbbLA—Confirm Secret: J7ix2bbbLA—Authentication Port: 1812 (default RADIUS authentication port number)—Enable Accounting: (clear)—Server Priority: Primary—Description: Primary RADIUS server•Click New, enter the following, and then click Apply:—Type: IP Address—Server IP/Name: RADIUS-Server-Secondary (previously configured in "RADIUS Servers" on page102)—Shared Secret: J8Dx2c13Mb—Confirm Secret: J8Dx2c13Mb—Authentication Port: 1812 (default RADIUS authentication port number)—Enable Accounting: (clear)—Server Priority: Backup1—Description: Backup (Secondary) RADIUS server3.To save the configuration and close the dialog box, click Save.RADIUS Server AttributesOn the two RADIUS servers (also referred to as "RADIUS home servers"), define the HiveAPs as RADIUS clients.3 Also, configure the following attributes for the realms to which user accounts matching the two user profiles belong:The RADIUS server returns one of the above sets of attributes based on the realm to which an authenticating user belongs. HiveAPs then use the combination of returned RADIUS attributes to assign users to profile 3 ("IT"), or 4 ("Emp"). Note that these attributes do not create a GRE tunnel, which the tunnel type might seem to indicate.Note: The shared secret is a case-sensitive alphanumeric string that must be entered on the RADIUS authentication server exactly as shown above.3.If you use RADIUS proxy servers, then direct RADIUS traffic from the HiveAPs to them instead of the RADIUS home servers. Thisapproach offers the advantage that you only need to define the proxy servers as clients on the RADIUS home servers. You can then add and remove multiple HiveAPs without having to reconfigure the RADIUS home servers after each change.Realm for IT (User Profile Attribute = 3) Realm for Emp (User Profile Attribute = 4)Tunnel Type = GRE (value = 10)Tunnel Type = GRE (value = 10)Tunnel Medium Type = IP (value = 1)Tunnel Medium Type = IP (value = 1)Tunnel Private Group ID = 3Tunnel Private Group ID = 4
Deployment Guide 125EXAMPLE 8: CREATING HIVESEXAMPLE 8:CREATING HIVESA hive is a set of HiveAPs that exchange information with each other to form a collaborative whole. In this example, you define three hives: two for the two buildings at headquarters and a third for the branch site. Later, in "Example 9: Creating WLAN Policies" on page126, you assign the hives to WLAN policies, which in turn, you assign to HiveAP devices in "Example 10: Assigning Configurations to HiveAPs" on page135.Hive1Click Configuration > Hives >New >General, enter the following, leave the other options at their default settings, and then click Save:•Hive: Hive1 (You cannot use spaces in the name of a hive.)•Description: Enter a meaningful comment, such as "Hive for HQ, Bldg 1"•Modify Encryption Protection: (select); g3r4oU7a#xThe password string is what hive members use when authenticating themselves to each other over the wireless backhaul link using WPA-PSK CCMP (AES). It can be from 8 to 63 characters long and contain special characters. If you do not enter a password string, HiveManager derives a default password from the hive name.Hive2Click Configuration > Hives > (check box) Hive1 > Clone > General, change the following, leave the other options at their previously defined settings, and then click Save:•Hive: Hive2•Description: Modify the description for Hive2 to something appropriate, such as "Hive for HQ, Bldg 2".•Modify Encryption Protection: (select); wWaG8U!3#2Hive3Click Configuration > Hives > (check box) Hive2 > Clone > General, change the following, leave the other options at their previously defined settings, and then click Save:•Hive: Hive3•Description: Modify the description for Hive3 to something appropriate, such as "Hive for branch site".•Modify Encryption Protection: (select); C!8vGg5Jo3Note: A WLAN policy is different from a hive. Whereas the members of a WLAN policy share a set of policy-based configurations, the members of a hive communicate with each other and coordinate their activities as access points. WLAN policy members share configurations. Hive members work together collaboratively.
Chapter 8 HiveManager Configuration Examples126 AerohiveEXAMPLE 9:CREATING WLAN POLICIESThrough HiveManager, you can configure two broad types of features:•Policy-based features – In combination, these features form policies that control how users access the network: SSIDs, user profiles, QoS (Quality of Service) forwarding mechanisms and rates, hives, AAA (authentication, authorization, accounting) services, management services (DNS, NTP, syslog), mobility policies, IP and MAC firewall policies, and VLAN assignments.•Connectivity-based features – These features control how hive members communicate with the network and how radios operate at different modes, frequencies, and signal strengths.A WLAN policy is an assembly of policy-based configurations that HiveManager pushes to all HiveAPs that you assign to the policy. Because these configurations are policy-based, they can apply across multiple physical devices. In contrast, connectivity-based configurations are more appropriately applied to smaller sets of devices or to individual devices themselves.In this example, you create "WLANpolicy-hq1" and "WLANpolicy-hq2" for the two buildings at corporate headquarters and "WLANpolicy-branch1" for the branch site. You add a hive, management server assignments, SSID profile–radio mode–user profile mappings, plus the QoS settings for each user group.WLANpolicy-hq1This WLAN policy is for all the HiveAPs in Building 1 at the corporate headquarters depicted in Figure1 on page89.The New WLAN Policy dialog box consists of several pages. The configuration of the items on each page is presented individually and in detail. The other WLAN policies are clones of this one with only minor changes.WLANpolicy-hq1 (Page 1)On the first page of the new WLAN policy dialog box, you define the name and a description of the WLAN policy, and set network settings, service settings, and management server assignments for the HiveAPs to which you will apply this WLAN policy. See Figure17.Figure 17 First Page of the WLAN Policy Dialog Box
Deployment Guide 127EXAMPLE 9: CREATING WLAN POLICIES1.Click Configuration > WLAN Policies > New, enter the following on the first page of the new WLAN policy dialog box:•Name: WLANpolicy-1 (You cannot use spaces in the WLAN policy name.)•Description: Enter a useful description, such as "HiveAPs in Bldg1 at HQ".Network Settings2.Enter the following in the Network Settings section. (Note that the hive and VLAN were previously configured in "Example 8: Creating Hives" on page125 and "Defining VLANs" on page100.)•Hive: Hive1•MGT Interface VLAN: 1(or VLAN-1-EmployeeData)In this example, the MGT interface is in VLAN 1, the same VLAN as that for employee data traffic. You can specify either the predefined VLAN "1" or "VLAN-1-EmployeeData", which was previously created.•MGT IP Filter: leave empty. A management IP address filter defines addresses from which admins are permitted administrative access to HiveAPs. This filter was not configured in the preceding examples.Service Settings3.Leave the Service Settings fields at their default values or empty. None of these options were modified or configured in the preceding examples.Management Server Assignment4.Enter the following in the Management Server Assignment section. (Note that the following settings were previously configured in "Example 6: Setting Management Service Parameters" on page120 and "Example 7: Defining AAA RADIUS Settings" on page123.)•DNS Server: DNS-Servers•Syslog Server: Syslog-Server•SNMP Server: SNMP-Server•Time Settings: NTP-Server•RADIUS Server: RADIUS-Servers•Location Server: None available (this option was not configured in the preceding examples)5.To proceed to the next page, click Next .
Chapter 8 HiveManager Configuration Examples128 AerohiveWLANpolicy-hq1 (Page 2)On the second page of the new WLAN policy dialog box, you can map SSIDs to management service filters, AAA servers, radio modes, and user profiles. In addition, you can set the Ethernet interface in access mode (Bridge-Access or Bridge-802.1Q) and assign management service filters to the Ethernet and wireless backhaul interfaces. (Note that because no management service filters were set in the previous examples, you only configure WLAN mappings below.) See Figure18.Figure 18 Second Page of the WLAN Policy Dialog BoxWLAN MappingsConfigure the WLAN mappings of SSIDs to radio modes and user profiles. (The SSIDs were previously configured in "Example 5: Setting SSIDs" on page117, and the user profiles were configured in "Example 4: Creating User Profiles" on page113.)SSID: voip1.Enter the following to define the WLAN mappings for the voip SSID, and then click Apply:•SSID Profile: voip•MGT Service Filter: def-service-filter (default)•AAA Servers: (leave empty; this setting is for overriding the RADIUS server setting on the previous page of this dialog box, and, in any case, is not applicable to SSIDs using preshared keys)or
Deployment Guide 129EXAMPLE 9: CREATING WLAN POLICIES•RADIUS UP Rule: def-radius-user-profile-rule (default)This setting essentially controls which users authenticated by a RADIUS server can access the SSID. Because the voip SSID does not use RADIUS authentication, the setting is not applicable.•Radio Mode: 11ng(b/g)In this example, you want to use IEEE 802.11b/g for network access traffic because a broader range of wireless clients support IEEE 802.11b than IEEE 802.11a, which came out two years later (despite its alphabetical precedence), and it provides slightly greater coverage.The three choices in the Radio Mode drop-down list are as follows:11na+11ng(a+b/g): This binds the SSID to two subinterfaces, each linked to a different radio operating in separate frequency bands. Radio 1 supports IEEE 802.11b/g and operates in the 2.4 GHz band, and radio 2 supports IEEE 802.11a and operates in the 5 GHz band.This is a good approach if the HiveAPs need to interoperate with some wireless clients that only support 802.11b/g and others that only support 802.11a. In this case, both of the wifi interfaces—wifi0 and wifi1—must be in access mode. On the other hand, if hive members need to support wireless backhaul communications, then you cannot take this approach because one interface (wifi1 by default) will need to be in backhaul mode and its subinterfaces (wifi1.1 – wifi1.4), therefore, cannot support an SSID.11ng(b/g): This binds the SSID to a subinterface linked to a radio operating at 2.4 GHz for the IEEE 802.11b or IEEE 802.11g standards.11na(a): This binds the SSID to a subinterface using an antenna operating at 5 GHz for the IEEE 802.11a standard.•User Profile: VoIP2.After you click Apply, a drop-down list appears for the user profile type. Choose Default.SSID: corp1.Click New, enter the following to define the WLAN mappings for the corp SSID, and then click Apply:•SSID Profile: corp•MGT Service Filter: def-service-filter (default)•AAA Servers: (leave empty; you want to use the RADIUS servers set on the previous page)•RADIUS UP Rule: def-radius-user-profile-rule (default)The default RADIUS user profile rule allows all users authenticated by the same RADIUS server to access the SSID. In this example, only corporate employee accounts are stored on the RADIUS server, so there is no need to restrict access to a smaller set of users.•Radio Mode: 11ng(b/g)•User Profile: IT and Emp (SHIFT-click or CTRL-click to make multiple selections.)2.After you click Apply, a drop-down list appears for the user profile type. Choose RADIUS for IT, and choose Default for Emp.When authenticating users through 802.1X to a RADIUS server, there can be multiple user profiles, and the RADIUS server will indicate which one the HiveAP applies to each user. However, if the RADIUS server does not have a set of attributes configured for some users, then the HiveAP applies the user profile that you mark as the default. One of the two user profile types must be marked as default and the other as RADIUS.
Chapter 8 HiveManager Configuration Examples130 AerohiveSSID: guest1.Click New.2.Depending on which guest access method you used (see "Example 3: Providing Guest Access" on page104),enter either of the following to define the WLAN mappings for the guest SSID, and then click Apply:For guest access using a preshared key: •SSID Profile: guest•MGT Service Filter: def-service-filter (default)•AAA Servers: (leave empty)•RADIUS UP Rule: def-radius-user-profile-rule (default)•Radio Mode: 11ng(b/g)•User Profile: GuestsAfter you click Apply, choose Default as the user profile type.orFor guest access using a captive web portal: •SSID Profile: guest•MGT Service Filter: def-service-filter (default)•AAA Servers: (leave empty)•RADIUS UP Rule: def-radius-user-profile-rule (default)•Radio Mode: 11ng(b/g)•User Profile: Guests and Unregistered-GuestsAfter you click Apply, choose Default as the user profile type for Unregistered-Guests. Choose Registeredas the user profile type for Guests.
Deployment Guide 131EXAMPLE 9: CREATING WLAN POLICIESWLANpolicy-hq1 (Page 3)On the third page of the new WLAN policy dialog box, you can assign QoS classifier and marker maps to SSIDs and specify user profile-based QoS data forwarding rate limits and weights. (Note that no marker maps were configured previously, so this option is unavailable.)To view the third page of the WLAN policy dialog box configured with the SSID "guest" with and without a captive web portal, see Figure19.Figure 19 Third Page of the WLAN Policy Dialog Box (SSID "guest" with and without a Captive Web Portal)The User profile settings, maximum traffic forwarding rates per user profile, and the WRR (weighted round robin) weights for each profile are shown in Figure20 on page132.When the SSID "guest" does not use a captive web portal, there is only one user profile: "Guests"When the SSID "guest" uses a captive web portal, there are two user profiles: "Guests" (Registered)"Unregistered-Guests" (Default)You must set the same policing rate limits and scheduling weights for both of these profiles.
Chapter 8 HiveManager Configuration Examples132 AerohiveFigure 20 User Profiles, Forwarding Rates, and Weights1.Enter the following in the QoS Classification and Marking section:•Classifier Map: VoIP-Mapping•voip: VoIP-QoSThe QoS map and policy were previously configured in "Mapping the MAC OUI and Services to Aerohive Classes" on page98, and as part of user profiles in "Example 4: Creating User Profiles" on page113.2.Enter the following in the User Profile Based QoS Policing and Scheduling section, and then click Save:SSID "guests" without a captive web portal (only one user profile)User Profile NamePolicing Rate Limit (Kbps)802.11a/b/gPolicing Rate Limit (Kbps)802.11a/b/gScheduling Weight Scheduling Weight %(read-only)Guests 2000 2000 5 3.8461VoIP 3200 3200 60 46.153IT 54000 100000040 30.769Emp 54000 100000025 19.230Ë-»® Ю±º·´» É»·¹¸¬- øº±® ¬®¿ºº·½ º±®©¿®¼·²¹ «-·²¹ ÉÎÎ÷Ú±® ×Ìô Û³°ô ¿²¼ Ù«»-¬- «-»®-ô ¬¸» ³¿¨·³«³ ¬®¿ºº·½ º±®©¿®¼·²¹ ®¿¬»- ¿®» ¬¸» -¿³» º±® ¬¸» »²¬·®» «-»® °®±º·´» ¿- ¬¸»§ ¿®» º±® ¿² ·²¼·ª·¼«¿´ «-»®ò Þ§ µ»»°·²¹ ¬¸»³ ¬¸» -¿³»ô ¿ -·²¹´» ±²´·²» «-»® ·- ²±¬ ®»-¬®·½¬»¼ ¬± ¿ -³¿´´»® ®¿¬» ¬¸¿² ¬¸¿¬ ±º ¬¸» °®±º·´» ¬± ©¸·½¸ ¸» ±® -¸» ¾»´±²¹-ò ø̸» ·²¼·ª·¼«¿´ «-»® ®¿¬» ½¿² ¾» ¬¸» -¿³» ¿- ±® -³¿´´»® ¬¸¿² ·¬- °®±º·´» ®¿¬»ò÷ Ú±® ʱ×Ð «-»®-ô ¾»½¿«-» ·²¼·ª·¼«¿´ ½¿´´- «-» ®»´¿¬·ª»´§ ´·¬¬´» ¾¿²¼©·¼¬¸ øè¢êì Õ¾°-÷ô ¿ -·²¹´» «-»® ¼±»- ²±¬ ²»»¼ ¿- ³«½¸ ¿- ¬¸¿¬ º±® ¬¸» »²¬·®» ʱ×Ð «-»® °®±º·´»ò ß íîðð Õ¾°-ñ°®±º·´» ³¿¨·³«³ ¿´´±©- «° ¬± ëð ½±²½«®®»²¬ ª±·½» -»--·±²- ¿¬ êì Õ¾°- °»® Ø·ª»ßÐ øíîðð ) êì ã ëð÷ò ׺ ¿ -¬®±²¹»® ª±·½» ½±³°®»--·±² ½±¼»¨ ·- «-»¼ô ¬¸» ²«³¾»® ±º ½±²½«®®»²¬ ª±·½» -»--·±²- ½¿² ·²½®»¿-» °®±°±®¬·±²¿¬»´§ò ̸» ³¿¨·³«³ «-»® ®¿¬» ±º ëïî Õ¾°- ¿´´±©- ±¬¸»® ¬§°»- ±º ¬»´»°¸±²§ó®»´¿¬»¼ ¬®¿ºº·½ô -«½¸ ¿- ÜÒÍô ÜØÝÐô ØÌÌÐô ¿²¼ ÌÚÌÐô ·² ¿¼¼·¬·±² ¬± °«®» ª±·½» ¬®¿ºº·½ò ðïðîðíðìðëðêðÍ»½±²¼-É»·¹¸¬-ðïʱ×Ð øêð÷×Ì øìð÷Ù«»-¬- øë÷Û³° øîë÷̸» ¾¿® ½¸¿®¬ ·²¼·½¿¬»- ¬¸» ®¿¬·± ±º ¿´´±¬¬»¼ ¾¿²¼©·¼¬¸ ¿³±²¹ ¬¸» º±«® «-»® °®±º·´»- ¾¿-»¼ ±² ¬¸»·® ®»-°»½¬·ª» ©»·¹¸¬-ò Ü«®·²¹ ¬¸» ½±«®-» ±º ±²» -»½±²¼ô ¿ Ø·ª»ßÐ ¿´´±¬- ïî ¬·³»- ³±®» ¾¿²¼©·¼¬¸ º±® ʱ×Ð «-»®-ô è ¬·³»- ³±®»  º±® ×Ì «-»®-ô ¿²¼ ë ¬·³»- ³±®» º±® Û³° «-»®- ¬¸¿² ·¬ ¿´´±¬- º±® Ù«»-¬-òÞ¿²¼©·¼¬¸ ®¿¬·±²·²¹ ±²´§ ±½½«®- ©¸»² «-¿¹» ·- ¿¬ ³¿¨·³«³ ½¿°¿½·¬§òÒ±¬»æ É»·¹¸¬- ¼± ²±¬ ¿°°´§ ¬± -¬®·½¬ ¬®¿ºº·½ º±®©¿®¼·²¹òÒ±¬»æ ˲®»¹·-¬»®»¼óÙ«»-¬- ø×Ü ê÷ ·- ²±¬ -¸±©²òË-»® Ю±º·´»-Ó¿¨·³«³ Ì®¿ºº·½ Ú±®©¿®¼·²¹ כּ-Ò¿³»æ ʱ×Ð×Üæ îÒ¿³»æ ×Ì×Üæ íÒ¿³»æ Û³°×Üæ ìÒ¿³»æ Ù«»-¬-×Üæ ëл® Ю±º·´»ïï¿ñ¾ñ¹ñ² íîðð Õ¾°-ïï¿ñ¾ñ¹ñ² ëïî Õ¾°-ïï¿ñ¾ñ¹ ëìôððð Õ¾°-ïï² ïôðððôððð Õ¾°-ïï¿ñ¾ñ¹ ëìôððð Õ¾°-ïï² ïôðððôððð Õ¾°-ïï¿ñ¾ñ¹ ëìôððð Õ¾°-ïï² ïôðððôððð Õ¾°-ïï¿ñ¾ñ¹ ëìôððð Õ¾°-ïï² ïôðððôððð Õ¾°-ïï¿ñ¾ñ¹ñ² îððð Õ¾°-ïï¿ñ¾ñ¹ñ² îððð Õ¾°-л® Ë-»®
Deployment Guide 133EXAMPLE 9: CREATING WLAN POLICIESSSID "guests" with a captive web portal (two user profiles)Some notes about the settings for each user profile:Guests user profile•Entire User Profile Rate Limit: 2000 KbpsThis is a limited amount of bandwidth that all users belonging to this profile can use. This setting provides guests with a basic amount of available traffic.•Entire User Profile Weight: 5Because wireless access for guests is mainly a convenience and not a necessity, you assign it the lowest weight to give it the lowest priority. The weight defines a preference for forwarding traffic. It does not specify a percentage or an amount. Its value is relative to other weights. However, you can see an automatically calculated percentage of this weight versus those of other user profiles in the far right column.VoIP user profile•Entire User Profile Rate Limit: 3200 KbpsThis is the maximum amount of bandwidth that all users belonging to this profile can use. The typical bandwidth consumption for VoIP is about 8 – 64 Kbps ,depending on the speech codec used. This setting supports up to 50 concurrent VoIP sessions using 64-Kbps compression (3200 Kbps / 64 Kbps = 50 sessions).•Entire User Profile Weight: 60Because you want HiveAPs to favor VoIP traffic over all other types, you give this profile the highest weight.IT user profile•Entire User Profile Rate Limit: 54000 Kbps for 802.11a/b/g and 1000000 for 802.11n (default)This is the maximum amount of bandwidth that all users belonging to this profile can use. This setting provides IT staff members with the maximum amount of available traffic.•Entire User Profile Weight: 40Because you want the HiveAPs to favor IT staff traffic over employee and guest traffic, you give this profile a higher weight than those, but a lower one than that for VoIP traffic.Emp user profile •Entire User Profile Rate Limit: 54000 Kbps for 802.11a/b/g and 1000000 for 802.11n (default)This is the maximum amount of bandwidth that all users belonging to this profile can use. This setting provides employees with the maximum amount of available traffic.•Entire User Profile Weight: 25Because you want the HiveAPs to prioritize VoIP traffic first, IT staff traffic second, employee traffic third, and guest traffic last, you give this profile a weight of 25. This weight is less than that for VoIP traffic (60) and IT staff traffic (40), and more than what you are going to assign to guest traffic (5) next. User Profile NamePolicing Rate Limit (Kbps)802.11a/b/gPolicing Rate Limit (Kbps)802.11nScheduling Weight Scheduling Weight %(read-only)Guests 2000 2000 5 3.7037Unregistered-Guests2000 2000 5 3.7037VoIP 3200 3200 60 44.444IT 54000 100000040 29.629Emp 54000 100000025 18.518
Chapter 8 HiveManager Configuration Examples134 AerohiveThese weights skew the rate at which the HiveAPs forward queued traffic using the WRR (weighted round robin) scheduling discipline. Roughly, for every 5 bytes of guest traffic per second, a HiveAP forwards 25 bytes of employee traffic, 40 bytes of IT traffic, and 60 bytes of VoIP traffic. These numbers are not exact because HiveAPs also have internal weights per class that also affect the amount of traffic that a HiveAP forwards.Unregistered-Guests profileAlthough the Unregistered-Guests user profile is required for the configuration of the "guest" SSID using a captive web portal, the HiveAP never applies the QoS settings for this user profile because it never forwards traffic from unregistered guests.WLANpolicy-hq2This WLAN policy is for all the HiveAPs in Building 2 at the corporate headquarters depicted in Figure1 on page89.Because this policy consists of nearly identical elements to those in WLANpolicy-hq1, you clone the first WLAN policy and simply change the WLAN policy name and description, and the hive in the configuration.Click Configuration > WLAN Policies > (check box) WLANpolicy-hq1 > Clone, change only the following, and then click Save:•Name: WLANpolicy-hq2•Description: HiveAPs in Bldg 2 at HQ•Hive: Hive2WLANpolicy-branch1This WLAN policy is for all the HiveAPs at the branch site depicted in Figure1 on page89. Because this policy consists of nearly identical elements to those in WLANpolicy-hq1 and WLANpolicy-hq2, you can clone either policy and simply change the WLAN policy name and description, and the hive in the configuration.Click Configuration > WLAN Policies > (check box) WLANpolicy-hq2 > Clone, change only the following, and then click Save:•Name: WLANpolicy-branch1•Description: HiveAPs at the branch site•Hive: Hive3
Deployment Guide 135EXAMPLE 10: ASSIGNING CONFIGURATIONSTO HIVEAPSEXAMPLE 10:ASSIGNING CONFIGURATIONSTO HIVEAPSAfter completing the steps in the previous examples, you can now assign the following configurations as appropriate to each HiveAP:•WLAN policy (created in "Example 9: Creating WLAN Policies" on page126)•Radio profiles (default radio profiles)•Map (uploaded in "Example 1: Mapping Locations and Installing HiveAPs" on page91)As the above list indicates, this example makes use of the two default radio profiles: radio_g0 for the wifi0 interface in access mode, and radio_a0 for the wifi1 interface in backhaul mode.The HiveAP configuration assignments are presented conceptually in Figure21.Figure 21 HiveAP Configuration AssignmentsIn addition to assigning the above configurations to the HiveAPs, you also change their login settings (and country code if necessary) and apply the classifier tags "hq" and "branch1" so that the HiveAPs at HQ and the branch site use the correct DNS servers.Finally, you update the HiveAPs with the new configuration settings—and captive web portal files, if a captive web portal is a part of the configuration—to complete their deployment.ØÏóÞïóÚîØÏóÞïóÚíò  ò  ò  ò  òò  ò  ò ò  ò  ò  ò  òò  ò  ò ò  ò  ò  ò  òò  ò  ò̱°±´±¹§ Ó¿°-ÉÔßÒ Ð±´·½·»-ÉÔßÒ°±´·½§ó¸¯îÉÔßÒ°±´·½§ó¾®¿²½¸ïο¼·± Ю±º·´»-Ø·ª»ßÐ- ±² ¬¸» Ú·®-¬ Ú´±±® ±º Þ«·´¼·²¹ ïÉÔßÒ°±´·½§ó¸¯ï®¿¼·±Á¹ð Š ß½½»--®¿¼·±Á¿ð Š Þ¿½µ¸¿«´ØÏóÞïóÚïYou assign particular combinations of configurations to sets of HiveAPs.For example, the four HiveAPs shown below were installed on the first floor of building 1 at the corporate headquarters. You know this because—during their installation—you either configured their SNMP sysLocation MIB object to indicate the map titled "HQ-B1-F1" or you wrote down the MAC addresses and locations of all the HiveAPs you installed (see "Example 1: Mapping Locations and Installing HiveAPs" on page91).Because you know where the HiveAPs are located, you assign them to the HQ-B1-F1 map, WLANpolicy-hq1, classifier tag "hq", and the two default radio profiles: radio_g0 for network access and radio_a0 for wireless backhaul communications.
Chapter 8 HiveManager Configuration Examples136 AerohiveAssigning Configurations1.Click Access Points >Automatically Discovered.2.Select a group of HiveAPs associated with the same map.If you defined SNMP sysLocation MIB objects as you installed the HiveAPs as explained in "Using SNMP" on page94, each HiveAP listed in the Automatically Discovered window will now include a map title in the Topology Map column. By clicking the Topology Map column header, you can sort HiveAPs by topology map. You can then select all the HiveAPs belonging to the same map (shift-click the check boxes to select multiple contiguous HiveAPs) and assign the same WLAN policy, radio profiles, and classifier tags to them.If you tracked HiveAPs by writing their MAC addresses on the maps as explained in "Using MAC Addresses" on page95, you can sort the HiveAPs in the Automatically Discovered window by MAC address. Click the Node ID column header to display the HiveAPs numerically by MAC address. By referring to the MAC addresses and the title of the map on which you wrote them during the installation, you can then select all the HiveAPs belonging to the same map and assign the same map, WLAN policy, radio profiles, and classifier tags to them.3.Click Modify > General, and then enter the following:•WLAN Policy: Choose the WLAN policy that you want to assign to the selected HiveAPs. In these examples, there are three WLAN policies. Assign WLANpolicy-hq1 to all HiveAPs in Building 1 at corporate headquarters, WLANpolicy-hq2 to all HiveAPs in Building 2 at corporate headquarters, and WLANpolicy-branch1 to all HiveAPs at the branch office.•Topology Map: Choose the map that you want to assign to the selected HiveAPs. (If you used the SNMP sysLocation MIB definition to associate HiveAPs with maps, HiveManager has automatically chosen the correct map already.) The maps allow you to organize the HiveAPs by site (HQ or Branch1), then at HQ by building (HQ-B1 or HQ-B2), and then by floor (HQ-B1-F1, HQ-B1-F2, HQ-B1-F3, and so on).•Gateway Address: Leave as is.•Location: If you set the SNMP sysLocation MIB when you installed the HiveAPs, leave this field as is. If not, enter a description for the location of each HiveAP individually.•Native VLAN: 1 (for control traffic among hive members on the wired backhaul interface)•LAN Interface: Leave the settings as they are.•WLAN Interface: Set the radio profile for wifi0 as radio_g0 and the radio profile for wifi1 as radio_a0.Leave the values for the other fields as they are.•HiveAP Classification: For HiveAPs at headquarters, type hq in the Tag1 field. For HiveAPs at the branch site, type branch1 in the Tag1 field. By classifying the HiveAPs with these tags, they will receive the similarly tagged IP address for the primary DNS server on the network at their respective locations. (The two IP addresses are tagged in "DNS Servers" on page101.)4.Click Credentials, enter the following in the Root Admin Configuration section, and then click Save:Root Admin Configuration•New Admin Name: This is the root admin name that HiveManager uses to make SSH connections and upload a full configuration to managed HiveAPs. The default root admin name and password is adminand aerohive. To change the login settings on the HiveAPs, enter a new admin name. The admin name can be any alphanumeric string from 3 to 20 characters long.•New Password: Although the password is obscured, the default password is aerohive. To change the default password on the HiveAPs, enter a new password here. The password can be any alphanumeric string from 5 to 16 characters.•Confirm New Password: If you entered a password in the above field, enter it again to confirm accuracy.
Deployment Guide 137EXAMPLE 10: ASSIGNING CONFIGURATIONSTO HIVEAPSDTLS PassphraseHiveManager and HiveAPs use the DTLS (Datagram Transport Layer Security) passphrase to derive a preshared key that they then use to mutually authenticate each other when making a CAPWAP connection. By default, when a HiveAP first makes a CAPWAP connection to HiveManager, they use a predefined bootstrap DTLS passphrase combined with several other values to derive a shared key that they then use to authenticate each other. To change the DTLS passphrase, click Change Passphrase.5.Repeat this procedure with the HiveAPs associated with all the other maps until they are all configured.6.To accept all the HiveAPs for management through HiveManager, select the top check box to the left of "Host Name" in the header in the Automatically Discovered window, and then click Accept.HiveManager displays accepted HiveAPs in the Access Points > Managed HiveAPs window.Updating the Country CodeWhen the preset region code for a managed HiveAP is "World", you must set the appropriate country code to control the radio channel and power selections that that HiveAP can use. For HiveAPs intended for use in the United States, the region code is preset as "FCC"—for "Federal Communications Commission"—and the country code is preset as "United States".If the region code for any of the managed HiveAPs is "World", set the country code as follows:1.Click Access Points > Managed HiveAPs > (check box) hiveap > Update > Update Country Code.2.In the Update Country Code dialog box , enter the following, and then click Upload:•Select the check box for the HiveAPs whose country code you want to change.4•Choose the country where they are deployed from the New Country Code list.•In the Activate After field, set an interval after which the HiveAP reboots to activate the updated country code settings.HiveManager updates the country code on the selected HiveAPs. To put the radio settings for the updated country code in effect, they reboot after the activation interval that you set elapses. After the HiveAPs reboot, they then apply the appropriate radio settings for the newly updated country code.Note: When you click Change Passphrase, HiveManager immediately generates a new, random passphrase. You can override this by typing your own passphrase, which can be from 16 to 32 characters long.4.When updating the country code on HiveAPs in a mesh environment, you do not want the rebooting of portals to interrupt the data path between the HiveManager and mesh points before they can complete their update process. Therefore, try to update and reboot mesh points first. Then, update and reboot the portals. See "Updating HiveAPs in a Mesh Environment" on page88.Note: Be sure to choose the correct country. An incorrect choice might result in illegal radio operation and cause harmful interference to other systems.
Chapter 8 HiveManager Configuration Examples138 AerohiveUploading HiveAP ConfigurationsAt this point, you have assigned configurations to the HiveAPs, accepted them for management, changed their login settings, and possibly the country code as well. Now, you can push their configurations from HiveManager to the HiveAPs.1.Click Access Points >Managed HiveAPs > Update >Upload and Activate Configuration (Wizard).The Upload and Activate Configuration (Wizard) dialog box appears.2.If you have an SSID using captive web portal files, the first step in the upload process is to upload these pages and a server key, if the captive web portal uses HTTPS to secure guest registrations. To upload these files, select the HiveAPs to which you want to send the files, and then click Upload.The HiveAP Update Results page appears so that you can monitor the progress of the upload procedure.3.After the files are successfully uploaded, click the Back button in your browser to return to the Upload and Activate Configuration dialog box.4.To continue to the next step, click Next.5.There are two options for uploading configurations to HiveAPs: •Complete Upload, which uploads the complete configuration to the managed HiveAPs and which requires them to reboot to activate the new configuration•Delta Upload, which uploads only the parts of the configuration that were not pushed to the managed HiveAP in a previous configuration updateUploading a delta configuration does not require activation by rebooting the HiveAP and is, therefore, less disruptive. However, before HiveManager can upload a delta configuration to a managed HiveAP, it must first upload the full configuration and activate it by rebooting the HiveAP. After that, you can upload delta configurations. When initially sending the configuration to HiveAPs, you must choose Complete Upload.Note: If a managed HiveAP already has the maximum number of captive web portal directories (8), you must delete at least one of them before you can add a new one. To see how many directories are already on a HiveAP and delete a directory if necessary, do the following:1. Make an SSH connection to the managed HiveAP by finding an icon of the HiveAP on a map, right-clicking the icon, and choosing SSH to HiveAP2. Enter the following command to see the number of existing directories and their names:show web-directory3. Delete a directory by entering the following command, in which <string> is the name of the directory that you want to delete: no web-directory <string>Note: If there is any failure when performing a delta upload, the next upload must be a full upload.
Deployment Guide 139EXAMPLE 10: ASSIGNING CONFIGURATIONSTO HIVEAPS6.Select the HiveAPs whose configurations you want to update, select one of the following options for controlling when the uploaded configurations are activated (by rebooting the HiveAPs), and then click OK:•Activate at: Select this option and set the time when you want the updated HiveAPs to activate their new configuration. This is a good choice if you want to stagger the activation, or if you want to load the configuration now but activate it when the network is less busy. To use this option accurately, both HiveManager and the managed HiveAPs need to have NTP enabled.•Activate after: Select this option to load the configuration on the selected HiveAPs and activate it after a specified interval. The range is 0 – 3600 seconds; that is, immediately to one hour. The default is 60 seconds.•Activate at next reboot: Select this option to load the configuration and not activate it. The loaded configuration is activated the next time the HiveAP reboots.HiveManager pushes the configuration to all the selected HiveAPs. After they reboot to activate their new configurations, they reconnect with HiveManager. To check the status of their CAPWAP connections, see the Status and CAPWAP columns on the Access Points > Managed HiveAPs page. From this point, you can upload delta configurations, which do not require the HiveAPs to reboot to activate a configuration update.7.To check that the HiveAP is using the new files for its captive web portal, make an association with the HiveAP using the guest SSID and then open a browser as described in step2 to step3 on page 109.Note: When choosing which option to use, consider how HiveManager connects to the HiveAPs it is updating. See "Updating HiveAPs in a Mesh Environment" on page88.Note: If you still see the default .html and .jpg files, try clearing your browser cache and then closing and reopening the browser.If you customize captive web portal pages and then later want to return to the default set of files, enter this command: reset web-directory <string>where <string> is the name of the directory whose contents you want to return to the default files.
Chapter 8 HiveManager Configuration Examples140 Aerohive
Deployment Guide 141Chapter 9HiveOSYou can deploy a single HiveAP and it will provide wireless access as an autonomous AP (access point). However, if you deploy two or more HiveAPs in a hive, you can provide superior wireless access with many benefits. A hive is a set of HiveAPs that exchange information with each other to form a collaborative whole (see Figure1). Through coordinated actions based on shared information, hive members can provide the following services that autonomous APs cannot:•Consistent QoS (quality of service) policy enforcement across all hive members•Coordinated and predictive wireless access control that provides fast roaming to clients moving from one hive member to another•Best-path routing for optimized data forwarding•Automatic radio frequency and power selectionFigure 1  HiveAPs in a HiveØ·ª» Ó»³¾»®-Wired or Wireless Hive Communications (Backhaul)Wireless Network Access ConnectionsWired Ethernet Network ConnectionsNot shown: Switches for wired backhaul connections and the portal link to the wired network.Wireless Clients Wireless ClientsWireless ClientsHive
Chapter 9 HiveOS142 AerohiveCOMMON DEFAULT SETTINGSAND COMMANDSMany major components of HiveOS are automated and typically require no further configuration. For example, radio power and frequency selection occurs automatically, as does route learning. Also, after defining a hive and its security protocol suite, all HiveAPs belonging to that hive automatically initiate and maintain communications with each other.Additionally, there are many default settings that simplify the setup of a HiveAP because these are the typical settings for many of the most common deployments. The following are some important default settings and the commands necessary to change them if you need to do so:Default Settings Commandsmgt0 interfaceDHCP client = enabled To disable the DHCP client:no interface mgt0 dhcp clientTo set an IP address:interface mgt0 ip ip_addr netmaskVLAN ID = 1 To set a different VLAN ID:interface mgt0 vlan numberwifi0 and wifi1 interfaceswifi0 mode = accesswifi1 mode = backhaulTo change the mode of the wifi0 or wifi1 interface:interface { wifi0 | wifi1 } mode { access|backhaul }wifi0 radio profile = radio_g0wifi1 radio profile = radio_a0To change the radio profile of the wifi0 or wifi1 interface to a different, previously defined profile:interface { wifi0 | wifi1 } radio profilestringantenna = internal To have the wifi0 interface use an external antenna:interface { wifi0 | wifi1 } radioantennaexternalchannel = automatic selectionTo set a specific radio channel:interface { wifi0 | wifi1 } radiochannelnumberpower = automatic selectionTo set a specific transmission power level (in dBms):interface { wifi0 | wifi1 } radiopowernumberDefault QoS policydef-user-qos policy: user profile rate = 54,000 Kbpsuser profile weight = 10user rate limit = 54,000 Kbpsmode = weighted round robin for Aerohive classes 0 - 5; strict forwarding for classes 6 - 7classes 0 - 4 rate limit = 54,000 Kbpsclass 5 rate limit = 10,000 Kbpsclasses 6 - 7 rate limit = 512 KbpsTo change the default QoS policy:qospolicydef-user-qos qos ah_class{strict rate_limit 0 | wrrrate_limitweight }qos policy def-user-policy user-profilerate_limit weightqos policy def-user-policy userrate_limitUser profiledefault-profile:group ID = 0policy name = def-user-qosVLAN ID = 1You cannot change the group ID or QoS policy name for the default user profile. To change its VLAN ID:user-profile default-profile vlan-idnumber
Deployment Guide 143 CONFIGURATION OVERVIEWCONFIGURATION OVERVIEWThe amount of configuration depends on the complexity of your deployment. As you can see in "Deployment Examples (CLI)" on page149, you can enter a minimum of three commands to deploy a single HiveAP, and just a few more to deploy a hive.However, for cases when you need to fine tune access control for more complex environments, HiveOS offers a rich set of CLI commands. The configuration of HiveAPs falls into two main areas: "Device-Level Configurations" and "Policy-Level Configurations" on page144. Consider your deployment plans and then refer to the following sections for guidance on the commands you need to configure them.Device-Level ConfigurationsDevice-level configurations refer to the management of a HiveAP and its connectivity to wireless clients, the wired network, and other hive members. The following list contains some key areas of device-level configurations and relevant commands.•Management•Administrators, admin authentication method, login parameters, and admin privileges admin { auth | manager-ip | min-password-length | read-only | read-write | root-admin } …•Logging settingslog { buffered | console | debug | facility | flash | server | trap } …•Connectivity settings•Interfacesinterface { eth0 | wifi0 | wifi1 } …•Layer 2 and layer 3 forwarding routesroute mac_addr …ip route { default |host | net } ip_addr …•VLAN assignmentsFor users:user-profile string qos-policy string vlan-id number attribute numberFor hive communications:hive string native-vlan numberFor the mgt0 interface:interface mgt0 vlan number•Radio settingsradio profile string …Note: To find all commands using a particular character or string of characters, you can do a search using the following command: show cmds | { include | exclude }string
Chapter 9 HiveOS144 AerohivePolicy-Level ConfigurationsPolicies control how wireless clients access the network. The following list contains some key areas of policy-level configurations and relevant commands.•QoS settingsqos { classifier-map | classifier-profile | marker-map | marker-profile | policy } …•User profilesuser-profile string …•SSIDs ssid string …•AAA (authentication, authorization, and accounting) settings for IEEE 802.1X authenticationaaa radius-server …While the configuration of most HiveOS features involves one or more related commands, to define and apply a QoS policy to a group of users, you must configure several different but related features: a QoS policy, a user profile, and—if you do not authenticate users with a RADIUS server—an SSID that references the user profile, and a subinterface to which you assign the SSID. The configuration steps are shown in Figure2.Figure 2  Steps for Configuring and Applying QoS«-»®ó°®±º·´» -¬®·²¹ ¯±-ó°±´·½§ -¬®·²¹ª´¿²ó·¼ ²«³¾»® ¿¬¬®·¾«¬» ²«³¾»®îíïììË-»® ¿½½±«²¬- ¿®» -¬±®»¼ ±² ¬¸» ÎßÜ×ËÍ Í»®ª»®ò묫®²»¼ ߬¬®·¾«¬»-Ÿ Ì«²²»´ ̧°» ã ÙÎÛ øª¿´«» ã ïð÷Ÿ Ì«²²»´ Ó»¼·«³ ̧°» ã ×Ъì øª¿´«» ã ï÷Ÿ Ì«²²»´ Ю·ª¿¬» Ù®±«° ×Ü ã «-»®Á°®±º·´»Á²«³¾»®Ú·®-¬ô ½±²º·¹«®» ¿ Ï±Í °±´·½§ ¬¸¿¬ §±« ©¿²¬ ¬± ¿°°´§ ¬± ©·®»´»-- ¬®¿ºº·½ º®±³ ¿ ¹®±«° ±º «-»®-ò̸» Ø·ª»ßÐ ¿°°´·»- ¬¸» Ï±Í °±´·½§ ¬± ¿´´ ©·®»´»-- ½´·»²¬- ¬¸¿¬ ¿--±½·¿¬» ©·¬¸ ¬¸» ÍÍ×Üò--·¼ -¬®·²¹--·¼ -¬®·²¹ ¼»º¿«´¬ó «-»®ó°®±º·´»ó¿¬¬® ²«³¾»®í̸» ¿¬¬®·¾«¬»- ·²¼·½¿¬» ©¸·½¸ «-»® °®±º·´» ¬± ¿°°´§ ¬± ¬¸» «-»®ô ¿²¼ ¬¸» °®±º·´» ·² ¬«®² ·²¼·½¿¬»- ©¸·½¸ Ï±Í °±´·½§ ¬± ¿°°´§ò׺ §±« «-» ¿ ÎßÜ×ËÍ -»®ª»®ô ½±²º·¹«®» ·¬ ¬± ®»¬«®² ¿¬¬®·¾«¬»- º±® ¬¸» ®»¿´³ ¬± ©¸·½¸ ¬¸» ©·®»´»-- «-»®- ¾»´±²¹ò ߺ¬»® ¿«¬¸»²¬·½¿¬·²¹ ¿ «-»®ô ¬¸» -»®ª»® ®»¬«®²- ¬¸»-» ¿¬¬®·¾«¬»- ©·¬¸ ¬¸» ß½½»--óß½½»°¬ ³»--¿¹»ò ̸» ¿¬¬®·¾«¬»- ·²¼·½¿¬» ©¸·½¸ «-»® °®±º·´» ¬± ¿°°´§ ¬± ¬¸» «-»®ô ¿²¼ ¬¸» °®±º·´» ·² ¬«®² ·²¼·½¿¬»- ¬¸» Ï±Í °±´·½§ ¬± ¿°°´§ò¯±- °±´·½§ -¬®·²¹ òòò·²¬»®º¿½» ·²¬»®º¿½» --·¼-¬®·²¹Í»½±²¼ô ½±²º·¹«®» ¿ «-»® °®±º·´» ¬¸¿¬ ®»º»®»²½»- ¬¸» Ï±Í °±´·½§ §±« ¶«-¬ ½±²º·¹«®»¼òß--·¹² ¬¸» ÍÍ×Ü ¬± ¿² ·²¬»®º¿½»òÎßÜ×ËÍÍ»®ª»®áұǻ-̸» ²»¨¬ -¬»° ¼»°»²¼- ±² ©¸»¬¸»® §±« «-» ¿ ÎßÜ×ËÍ -»®ª»® ¬± ¿«¬¸»²¬·½¿¬» «-»®-ò ׺ §±« ¼± ²±¬ «-» ¿ ÎßÜ×ËÍ -»®ª»®ô ½®»¿¬» ¿² ÍÍ×Ü ¬¸¿¬ -°»½·º·»- ¬¸» «-»® °®±º·´» ¿¬¬®·¾«¬» ¿- ·¬- ¼»º¿«´¬ «-»® °®±º·´»ò
Deployment Guide 145 HIVEOS CONFIGURATION FILE TYPESHIVEOS CONFIGURATION FILE TYPESHiveOS supports several types of configuration files: running, current, backup, bootstrap, default, and failed.The running configuration (config) is the configuration that is actively running in DRAM. During the bootup process, a HiveAP loads the running config from one of up to four config files stored in flash memory:•current: a flash file containing a combination of default and admin-defined settings. During the bootup process, this is the first config that the HiveAP attempts to load as the running config. This is also the file to which you typically save commands from the running config (you can also save them to the bootstrap config). See Figure3.•backup: a flash file that the HiveAP attempts to load during the reboot process if there is a newly uploaded current config file or if it cannot load the current config file. See Figure4 on page146 and Figure5 on page146.•bootstrap: a flash file containing a second config composed of a combination of default and admin-defined settings. The HiveAP fails over to this config when you enter the reset config command or if both the current and backup config files fail to load. See Figure6 on page148.•default: a flash file containing only default settings. If there is no bootstrap config, the HiveAP reverts to this config when you enter the reset config command or if both the current and backup config files fail to load. See Figure6 on page148.When using the CLI, the two most frequently accessed config types are the running config and current config. When you enter a command in the running config, the HiveAP performs it immediately. However, because the running config is stored in volatile memory (DRAM), the commands are not yet permanent and will be lost when the HiveAP next reboots. For your configuration settings to persist after rebooting, enter the save config command. This command saves the running config to the current config, which is a file stored in nonvolatile (flash) memory. See Figure3.Figure 3  Relationship between Running and Current Config FilesNote: There is also a failed config file, which holds any backup config that fails to load. See Figure5 on page146.øÒ±¬»æ ̸» ½±³³¿²¼- ·² ¾±´¼ ¸¿ª» ²±¬ §»¬ ¾»»² -¿ª»¼ô ©¸·½¸ ·- ©¸§ ¬¸»§ ¼± ²±¬ ¿°°»¿® ·² ¬¸» ½«®®»²¬ ½±²º·¹ò÷Ý«®®»²¬ ݱ²º·¹ ø·² º´¿-¸ ³»³±®§÷Ϋ²²·²¹ ݱ²º·¹ ø·² ÜÎßÓ÷̸» ®«²²·²¹ ½±²º·¹ ½±³°®·-»- ¬¸» ½«®®»²¬ ½±²º·¹ °´«- ¿²§ ½±³³¿²¼- ¬¸¿¬ ¸¿ª» ²±¬ §»¬ ¾»»² -¿ª»¼ò̸» ®«²²·²¹ ½±²º·¹ ®«²- ·² ÜÎßÓò̸» ½«®®»²¬ ½±²º·¹ ½±³°®·-»- -¿ª»¼ ½±³³¿²¼- °´«- ¼»º¿«´¬ -»¬¬·²¹-ò ̸» ½«®®»²¬ ½±²º·¹ ·- -¬±®»¼ ·² º´¿-¸ ³»³±®§òΫ²²·²¹ ݱ²º·¹Ò»© Ý«®®»²¬ ݱ²º·¹Ð®»ª·±«- Ý«®®»²¬ ݱ²º·¹ ø±ª»®©®·¬¬»²÷ɸ»² §±« »²¬»® ¬¸» -¿ª» ½±²º·¹ ½±³³¿²¼ô¬¸» Ø·ª»ßÐ -¿ª»- ¬¸» ®«²²·²¹ ½±²º·¹ º®±³ ÜÎßÓ ¬± º´¿-¸ ³»³±®§ô ©¸»®» ·¬ ¾»½±³»- ¬¸» ²»© ½«®®»²¬ ½±²º·¹ô ®»°´¿½·²¹ ¬¸» ±²» °®»ª·±«-´§ ¬¸»®»ò-¿ª» ½±²º·¹øÒ±¬»æ ߺ¬»® »²¬»®·²¹ ¬¸» -¿ª» ½±²º·¹ ½±³³¿²¼ô ¬¸» ½«®®»²¬ ¿²¼ ®«²²·²¹ ½±²º·¹- ¾»½±³» ·¼»²¬·½¿´ò÷
Chapter 9 HiveOS146 AerohiveWhen you upload a configuration file from HiveManager or from a TFTP or SCP server, the HiveAP stores the uploaded file in the backup config partition in flash memory, where it remains until the HiveAP reboots. If there is a backup config file already stored in flash, the newly uploaded file overwrites it. See Figure4.Figure 4  Relationship between Current and Backup Config Files during a File UploadWhen the HiveAP reboots, it attempts to load the the newly uploaded config file. If the file loads successfully, the HiveAP makes that file the new current config and makes the previous current config the new backup config. If the file does not load successfully, the HiveAP reboots again and loads the previous current config file. The HiveAP saves the file it was unable to load as a failed config for diagnostics. See Figure5.Figure 5  Relationship between Current and Backup Config Files while Rebooting a HiveAPݱ²º·¹ Ú·´» Ý«®®»²¬ ݱ²º·¹É¸»² §±« «°´±¿¼ ¿ ½±²º·¹ º·´» º®±³ Ø·ª»Ó¿²¿¹»® ±® ¿ ÌÚÌÐ ±® ÍÝÐ -»®ª»®ô ¬¸» Ø·ª»ßÐ -¿ª»- ¬¸» «°´±¿¼»¼ º·´» ¿- ¿ ¾¿½µ«° ½±²º·¹ò ̸·- º·´» ®»°´¿½»- ¿²§ °®»ª·±«-  ¾¿½µ«° ½±²º·¹ º·´» ¬¸¿¬ ³·¹¸¬ ¸¿ª» ¾»»² ¬¸»®»òÌÚÌÐ Í»®ª»®ÍÝÐ Í»®ª»®Ø·ª»Ó¿²¿¹»®±® ±® Ø·ª»ßÐЮ»ª·±«- Þ¿½µ«° ݱ²º·¹ø±ª»®©®·¬¬»²÷Ò»© Þ¿½µ«° ݱ²º·¹ ø·² º´¿-¸ ³»³±®§÷Ý«®®»²¬ ݱ²º·¹ ø»¨·-¬·²¹ ½±²º·¹÷Þ¿½µ«° ݱ²º·¹ ø²»©´§ «°´±¿¼»¼ ½±²º·¹ º·´»÷ߺ¬»® «°´±¿¼·²¹ ¿ ²»© ½±²º·¹ º·´»ô ¬¸» º±´´±©·²¹ ¬©± ½±²º·¹ º·´»- ¿®» -¬±®»¼ ·² º´¿-¸ ³»³±®§ ±² ¬¸» Ø·ª»ßÐæɸ»² §±« ®»¾±±¬ ¬¸» Ø·ª»ßÐô ·¬ ¬®·»- ¬± ´±¿¼ ¬¸» ¾¿½µ«° ½±²º·¹ò Û·¬¸»® ±º ¬¸» º±´´±©·²¹ ¬©± ®»-«´¬- ½¿² ±½½«®æ׺ ¬¸» ²»©´§ ´±¿¼»¼ ½±²º·¹ º·´» ´±¿¼- -«½½»--º«´´§ô ò ò òò ò ò ·¬ ¾»½±³»- ¬¸» ²»© ½«®®»²¬ ½±²º·¹ô ¿²¼ ò ò ò ò ò ò ¬¸» °®»ª·±«- ½«®®»²¬ ½±²º·¹ ¾»½±³»- ¬¸» ²»© ¾¿½µ«° ½±²º·¹ò ò ò ò ¬¸» ¾¿½µ«° ½±²º·¹ ·- -¿ª»¼ ¿- ¿ º¿·´»¼ ½±²º·¹ øº±® ¼·¿¹²±-¬·½ ¿²¿´§-·-÷ò ò ò ò ¬¸» Ø·ª»ßÐ ®»¾±±¬- ¿¹¿·²ô ´±¿¼- ¬¸» °®»ª·±«- ½«®®»²¬ ½±²º·¹ô ¿²¼ ò ò ò ׺ ¬¸» ²»©´§ ´±¿¼»¼ ½±²º·¹ º·´» º¿·´- ¬± ´±¿¼ô ò ò òλ¾±±¬ ¬¸» Ø·ª»ßÐ
Deployment Guide 147 HIVEOS CONFIGURATION FILE TYPESWhen a HiveAP ships from the factory, it is loaded with a default config file, which acts initially as the running and current configs. If you enter and save any commands, the HiveAP then stores a separate config file as the current config, combining the default settings with the commands you entered and saved. If you want to return to the default settings, you can press the reset button (see "Reset Button" on page25) or enter the resetconfig command. A HiveAP might also return to the default config if both the current and backup configs fail to load, which might happen if you update the HiveOS firmware to an image that cannot work with either config.Reverting to the default config can be very useful, especially in the early stages when you are still learning about HiveOS and are likely to be experimenting with different settings. However, retaining the ability of a HiveAP to revert to its default settings after its deployment can present a problem if it is a mesh point in a hive. If the HiveAP reverts to the default config, it will not be able to rejoin its hive. Consequently, it will not be able to get an IP address through DHCP nor be able to communicate with HiveManager (assuming that you are managing it through HiveManager). In this case, you would have to make a serial connection to the console port on the HiveAP and reconfigure its hive settings through the CLI.To avoid the above situation, you can use a bootstrap config. A bootstrap config is typically a small config file that comes last in the boot order (current – backup – bootstrap) and that replaces the default config as the one a HiveAP loads when you reset the configuration. See Figure6 on page148.Note: To upload and activate a config file from HiveManager , see "Uploading HiveAP Configurations" on page138. To upload and activate a config file from a TFTP or SCP server using the CLI, use the following commands:save config tftp://ip_addr:filename current { hh:mm:ss | now | offset hh:mm:ss }save config scp://username@ip_addr:filename current { hh:mm:ss | now | offset hh:mm:ss }Note: You can disable the ability of the reset button to reset the configuration by entering this command: no reset-button reset-config-enableNote: Be careful to remember the login name and password defined in the bootstrap config file. If they become lost or forgotten, you must obtain a one-time login key from Aerohive technical support. To get the key, you must already have had a support contract in place. The first one-time login key is free. After that, there is a small handling fee for each additional key.
Chapter 9 HiveOS148 AerohiveFigure 6  Relationship of Current, Backup, Bootstrap, and Default Config FilesTo create and load a bootstrap config, make a text file containing a set of commands that you want the HiveAP to load as its bootstrap configuration (for an example, see "Loading a Bootstrap Configuration" on page167). Save the file locally and then load it with one of the following commands:save config tftp://ip_addr:filename bootstrapsave config scp://username@ip_addr:filename bootstrapAfter it is loaded, you can enter the following command to view the bootstrap file: show config bootstrapIf you want to run the bootstrap config, enter the following commands:load config bootstraprebootWhen the bootstrap config loads, enter the login parameters you defined for that configuration. To return to your previous current config file, enter the following commands:load config backuprebootNote: Similar to the way that a current config consists of the commands you added on top of the default config, a bootstrap config consists of default definitions and settings plus whatever other settings you configure.ɸ»² §±« »²¬»® ¬¸» ®»-»¬ ½±²º·¹ ½±³³¿²¼ ±® °®»-- ¬¸» ®»-»¬ ¾«¬¬±² ±² ¬¸» º®±²¬ °¿²»´ ±º ¬¸» Ø·ª»ßÐ ¼»ª·½»ô ¬¸» Ø·ª»ßÐ ¼»´»¬»- ¬¸» °®»ª·±«- ½«®®»²¬ ½±²º·¹ô ®»¾±±¬-ô ¿²¼ ´±¿¼- ¬¸» ¾±±¬-¬®¿° ½±²º·¹‰ ·º °®»-»²¬‰±® ¬¸» ¼»º¿«´¬ ½±²º·¹ò ®»-»¬ ½±²º·¹Ý«®®»²¬ ݱ²º·¹Þ±±¬-¬®¿° ݱ²º·¹Ü»º¿«´¬ ݱ²º·¹ò ò ò ±® ·º ¬¸»®» ·- ²± ¾±±¬-¬®¿° ½±²º·¹ ò ò òλ-»¬¬·²¹ ¬¸» ݱ²º·¹«®¿¬·±²Ý«®®»²¬ ݱ²º·¹ Þ¿½µ«° ݱ²º·¹Þ±±¬-¬®¿° ݱ²º·¹Ü»º¿«´¬ ݱ²º·¹ò ò ò ±® ·º ¬¸»®» ·- ²± ¾±±¬-¬®¿° ½±²º·¹ ò ò ò׺ ¬¸» Ø·ª»ßÐ ½¿²²±¬ ´±¿¼ »·¬¸»® ¬¸» ½«®®»²¬ ±® ¾¿½µ«° ½±²º·¹ º·´»-ô ·¬ ¼»´»¬»- ¬¸»³ô ®»¾±±¬-ô ¿²¼ ´±¿¼- ¬¸» ¾±±¬-¬®¿° ½±²º·¹‰ ·º °®»-»²¬‰±® ¬¸» ¼»º¿«´¬ ½±²º·¹ò ݱ²º·¹«®¿¬·±² Ú¿·´±ª»® Þ»¸¿ª·±® Ú¿·´±ª»® Ú¿·´±ª»®
Deployment Guide 149Chapter 10Deployment Examples (CLI)This chapter presents several deployment examples to introduce the primary tasks involved in configuring HiveAPs through the HiveOS CLI.In "Deploying a Single HiveAP" on page150, you deploy one HiveAP as an autonomous access point. This is the simplest configuration: you only need to enter and save three commands.In "Deploying a Hive" on page153, you add two more HiveAPs to the one deployed in the first example to form a hive with three members. The user authentication method in this and the previous example is very simple: a preshared key is defined and stored locally on each HiveAP and on each wireless client.In "Using IEEE 802.1X Authentication" on page158, you change the user authentication method. Taking advantage of existing Microsoft AD (Active Directory) user accounts, the HiveAPs use IEEE 802.1X EAP (Extensible Authentication Protocol) to forward authentication requests toa RADIUS server whose database is linked to that of the AD server.In "Applying QoS" on page161, you apply QoS (Quality of Service) filters to user traffic so that delay-sensitive voice traffic receives higher priority than other more delay-resistant traffic.In "Loading a Bootstrap Configuration" on page167, you load a bootstrap config file on the HiveAPs. When a bootstrap config is present, it loads instead of the default config whenever HiveOS is reset or if the current and backup configs do not load. This example shows how using a bootstrap config can help minimize theft and increase convenience.Because each example builds on the previous one, it is recommended to read them sequentially. Doing so will help build an understanding of the fundamentals involved in configuring HiveAPs.If you want to view just the CLI commands used in the examples, see "CLI Commands for Examples" on page170.Having the commands in blocks by themselves makes it easy to copy-and-paste them at the command prompt.The following are the equipment and network requirements for these examples:•Equipment•Management system (computer) capable of creating a serial connection to the HiveAP•VT100 emulator on the management system•Serial cable (also called a "null modem cable") that ships as an option with the HiveAP product. You use this to connect your management system to the HiveAP.•Network•Layer 2 switch through which you connect the HiveAP to the wired network•Ethernet cable—either straight-through or cross-over•Network access to a DHCP server•For the third and fourth examples, network access to an AD (Active Directory) server and RADIUS serverNote: To focus attention on the key concepts of an SSID (first example), hive (second example), and IEEE 802.1X authentication (third example), QoS was intentionally omitted from these examples. However, the QoS settings you define in the last example can apply equally well to the configurations in the others.Note: You can also access the CLI by using Telnet or SSH (Secure Shell). After connecting a HiveAP to the network, make either a Telnet or SSH connection to the IP address that the DHCP server assigns the mgt0 interface.
Chapter 10 Deployment Examples (CLI)150 AerohiveEXAMPLE 1:DEPLOYINGA SINGLE HIVEAPIn this example, you deploy one HiveAP (HiveAP-1) to provide network access to a small office with 15 – 20 wireless clients. You only need to define the following SSID (service set identifier) parameters on the HiveAP and clients:•SSID name: employee•Security protocol suite: WPA-auto-psk•WPA – Uses Wi-Fi Protected Access, which provides dynamic key encryption and mutual authentication of the client and HiveAP•Auto – Automatically negotiates WPA or WPA2 and the encryption protocol: AES (Advanced Encryption Standard) or TKIP (Temporal Key Integrity Protocol)•PSK – Derives encryption keys from a preshared key that the client and HiveAP both already have•Preshared key: N38bu7Adr0n3After defining SSID "employee" on HiveAP-1, you then bind it to the wifi0 interface, which is in access mode by default. The wifi0 interface operates at 2.4 GHz (in accordance with the IEEE 802.11b, g, and n standards). This example assumes that the clients also support 802.11b, g, or n.Figure 1  Single HiveAP for a Small Wireless NetworkStep 1Log in through the console port1.Connect the power cable from the DC power connector on the HiveAP to the AC/DC power adaptor that ships with the device as an option, and connect that to a 100 – 240-volt power source.The Power LED glows steady amber during the bootup process. After the bootup process completes, it then glows steady green to indicate that the firmware is loaded and running.2.Connect one end of an RS-232 serial (or "null modem") cable to the serial port (or Com port) on your management system.Note: By default, the wifi1 interface is in backhaul mode and operates at 5 GHz to support IEEE 802.11a. To put wifi1 in access mode so that both interfaces provide access—the wifi0 interface at 2.4 GHz and the wifi1 interface at 5 GHz—enter this command: interface wifi1 mode access. Then, in addition to binding SSID "employee" to wifi0 (as explained in step2), also bind it to wifi1.Note: If the switch supports PoE (Power over Ethernet), the HiveAP can receive its power that way instead.Wireless Network-1HiveAP-1 SwitchFirewallInternetDHCP ServerWireless clients associate with HiveAP-1 using SSID "employee" with the security suite WPA-auto-psk (PSK = N38bu7Adr0n3).The wireless clients and the mgt0 interface on HiveAP-1 receive their IP addresses and associated TCP/IP settings from the DHCP server.Wired Networkwifi0 interfaceSSID "employee"Access mode IEEE 802.11b/g/nPhysical interface: eth0Logical interface: mgt0Backhaul modeNetwork portal
Deployment Guide 151EXAMPLE 1: DEPLOYINGA SINGLE HIVEAP3.Connect the other end of the cable to the male DB-9 or RJ-45 console port on the HiveAP.4.On your management system, run a VT100 terminal emulation program, such as Tera Term Pro© (a free terminal emulator) or Hilgraeve Hyperterminal® (provided with Windows® operating systems). Use the following settings:•Bits per second (baud rate): 9600•Data bits: 8•Parity: none•Stop bits: 1•Flow control: noneFor HiveAPs set with "FCC" as the region code, the Initial CLI Configuration Wizard appears. For HiveAPs set with "world" as the region code, a prompt appears to set the country code for the location where you intend to deploy the HiveAP. To set the country code, enter the boot-param country-code number command, in which number is the appropriate country code number. For a list of country codes, see "Appendix A Country Codes" on page177.5.Because you do not need to configure all the settings presented in the wizard, press N to cancel it.The login prompt appears.6.Log in using the default user name admin and password aerohive.Step 2Configure the HiveAP1.Create an SSID and assign it to an interface.ssid employeessid employee security protocol-suite wpa-auto-psk ascii-key N38bu7Adr0n3You first create an SSID named "employee" and then define its protocol suite and preshared key (N38bu7Adr0n3) in standard ASCII (American Standard Code for Information Interchange) text.interface wifi0 ssid employeeYou assign the SSID to the wifi0 interface, which is in access mode by default. When you make this assignment, the HiveAP automatically creates subinterface wifi0.1 and uses that for the SSID. (A HiveAP can create up to seven subinterfaces per interface—14 total.) A HiveAP uses one or two interfaces in access mode to communicate with wireless clients accessing the network, and an interface in backhaul mode to communicate wirelessly with other HiveAPs when in a hive (see subsequent examples).2.(Optional) Change the name and password of the root admin.admin root-admin mwebster password 3fF8haAs a safety precaution, you change the default root admin name and password to mwebster and 3fF8ha.The next time you log in, use these instead of the default definitions.3.(Optional) Change the host name of the HiveAP.hostname HiveAP-14.Save your changes to the currently running configuration, and then log out of the serial session.save configexitThe HiveAP configuration is complete.Note: By default, the minimum password length is 5 characters. You can change the minimum length by entering the following command: admin min-password-length <number> (The minimum password length can be between 5 and 16 characters.)
Chapter 10 Deployment Examples (CLI)152 AerohiveStep 3Configure the wireless clientsDefine the "employee" SSID on all the wireless clients. Specify WPA-PSK for network authentication, AES or TKIP for data encryption, and the preshared key N38bu7Adr0n3.Step 4Position and power on the HiveAP1.Place the HiveAP within range of the wireless clients and, optionally, mount it as explained in the mounting section in the chapter about the HiveAP model that you are using.2.Connect an Ethernet cable from the PoE In port to the network switch.3.If you have powered off the HiveAP, power it back on by reconnecting it to a power source.When you power on the HiveAP, the mgt0 interface, which connects to the wired network through the eth0 port, automatically receives its IP address through DHCP (Dynamic Host Configuration Protocol).Step 5Check that clients can form associations and access the network1.To check that a client can associate with the HiveAP and access the network, open a wireless client application and connect to the "employee" SSID. Then contact a network resource, such as a web server.2.Log in to the HiveAP CLI, and check that you can see the MAC address of the associated client and an indication that the correct SSID is in use by entering the following command:The setup of a single HiveAP is complete. Wireless clients can now associate with the HiveAP using SSID "employee" and access the network.Note: You can also enter the following commands to check the association status of a wireless client:show auth, show roaming cache, and show roaming cache mac <mac_addr>.ݸ»½µ ¬¸¿¬ ¬¸» ÓßÝ ¿¼¼®»-- ·² ¬¸» ¬¿¾´» ³¿¬½¸»- ¬¸¿¬ ±º ¬¸» ©·®»´»-- ½´·»²¬ òݸ»½µ ¬¸¿¬ ¬¸» ¿«¬¸»²¬·½¿¬·±² ¿²¼ »²½®§°¬·±² ³±¼»- ³¿¬½¸ ¬¸±-» ·² ¬¸» ÍÍ×Ü -»½«®·¬§ °®±¬±½±´ -«·¬»ò-¸±© --·¼ »³°´±§»» -¬¿¬·±²Ý¸¿²ã½¸¿²²»´ ²«³¾»®å б©ãб©»® ·² ¼¾³åßóÓ±¼»ãß«¬¸»²¬·½¿¬·±² ³±¼»å Ý·°¸»®ãÛ²½®§°¬·±² ³±¼»åßóÌ·³»ãß--±½·¿¬»¼ ¬·³»å ß«¬¸ãß«¬¸»²¬·½¿¬»¼åËÐ×ÜãË-»® °®±º·´» ×¼»²¬·º·»®å и§³±¼»ãи§-·½¿´ ³±¼»åÓ¿½ ß¼¼® ×Ð ß¼¼® ݸ¿² כּ б© ßóÓ±¼» Ý·°¸»® ßóÌ·³» ÊÔßÒ ß«¬¸ ËÐ×Ü Ð¸§³±¼»óóóóóóóóóóóóóó óóóóóóóóó óóóó óóóó óóóó óóóóóóóó óóóóóóó óóóóóóóó óóóó óóóó óóóó óóóóóóóððïê潺è½æëé¾½ ïðòïòïòíë ïï ëìÓ óíè ©°¿îó°-µ ¿»- ½½³ ððæððæëê ï Ç»- ð ïï¹
Deployment Guide 153EXAMPLE 2: DEPLOYINGA HIVEEXAMPLE 2:DEPLOYINGA HIVEBuilding on "Deploying a Single HiveAP" on page150, the office network has expanded and requires more HiveAPs to provide greater coverage. In addition to the basic configuration covered in the previous example, you configure all three HiveAPs to form a hive within the same layer 2 switched network. The following are the configuration details for the hive:•Hive name: hive1•Preshared key for hive1 communications: s1r70ckH07m3sHiveAP-1 and -2 are cabled to a switch and use the native ("untagged") VLAN for wired backhaul communications. They communicate with each other over both wired and wireless backhaul links, the wired link taking precedence. However, HiveAP-3 only communicates with HiveAP-1 and -2 over a wireless link (see Figure2). Because HiveAP-1 and -2 connect to the wired network, they act as portals. In contrast, HiveAP-3 is a mesh point.Figure 2  Three HiveAPs in a HiveNote: The security protocol suite for hive communications is WPA-AES-psk.Note: If all hive members can communicate over wired backhaul links, you can then use both radios for access. The wifi0 interface is already in access mode by default. To put wifi1 in access mode, enter this command:interface wifi1 mode access. In this example, however, a wireless backhaul link is required.Wireless Network-1SwitchFirewallInternetDHCPServerWireless Network-2 Wireless Network-3Wired Hive Backhaul CommunicationsHiveAP-1(Portal)HiveAP-2 (Portal)HiveAP-3 (Mesh Point)Wireless Hive Backhaul CommunicationsWireless Network Access ConnectionsHiveAP-1 and HiveAP-2 are portals and use both wired and wireless backhaul methods to communicate with each other. HiveAP-3 is a mesh point, using only a wireless connection for backhaul communications with the other two hive members.Wired Ethernet Network ConnectionsHive1
Chapter 10 Deployment Examples (CLI)154 AerohiveStep 1Configure HiveAP-11.Using the connection settings described in the first example, log in to HiveAP-1.2.Configure HiveAP-1 as a member of "hive1" and set the security protocol suite.hive hive1You create a hive, which is a set of HiveAPs that collectively distribute data and coordinate activities among themselves, such as client association data for fast roaming, route data for making optimal data-path forwarding decisions, and policy enforcement for QoS (Quality of Service) and security.hive hive1 password s1r70ckH07m3sYou define the password that hive members use to derive the preshared key for securing backhaul communications with each other. The password must be the same on all hive members.interface mgt0 hive hive1By setting "hive1" on the mgt0 interface, you join HiveAP-1 to the hive.save config3.Before closing the console session, check the radio channel that HiveAP-1 uses on its backhaul interface, which by default is wifi1:HiveAP-1 is set to use wireless interface wifi1 and its subinterface wifi1.1 for backhaul communications.Write down the radio channel for future reference (in this example, it is 149). When configuring HiveAP-2 and -3, make sure that they also use this channel for backhaul communications.exit̸» ©·º·ï ·²¬»®º¿½» ¿²¼ ¬¸» ©·º·ïòï -«¾·²¬»®º¿½» ¿®» ·² ¾¿½µ¸¿«´ ³±¼» ¿²¼ ¿®» «-·²¹ ½¸¿²²»´ ïìçò Þ±¬¸ ©·º·ï ¿²¼ ©·º·ïòï «-» ¬¸» ¼»º¿«´¬ ®¿¼·± °®±º·´» ®¿¼·±Á²¿ðò øÜ»°»²¼·²¹ ±² ¬¸» Ø·ª»ßÐ ³±¼»´ô ¬¸» ¼»º¿«´¬ °®±º·´» ³·¹¸¬ ¾» ®¿¼·±Á¿ðò÷ ̸·- ·- ¿ °®±º·´» º±® ®¿¼·±îô ©¸·½¸ ±°»®¿¬»- ·² ¬¸» ë Ùئ º®»¯«»²½§ ®¿²¹» ¿- -°»½·º·»¼ ·² ¬¸» ×ÛÛÛ èðîòïï¿ ¿²¼ ² -¬¿²¼¿®¼-ò-¸±© ·²¬»®º¿½»Í¬¿¬»ãÑ°»®¿¬·±²¿´ -¬¿¬»å ݸ¿²ãݸ¿²²»´åο¼·±ãο¼·± °®±º·´»å Ëã«°å Üã¼±©²åÒ¿³» ÓßÝ ¿¼¼® Ó±¼» ͬ¿¬» ݸ¿² ÊÔßÒ Î¿¼·± Ø·ª» ÍÍ×Üóóóóóóó óóóóóóóóóóóóóó óóóóóóóó óóóóó óóóó óóóó óóóóóóóó óóóóó óóóóóóóóÓ¹¬ð ððïçæééððæððîð    ó Ë ó ï   ó ¸·ª»ï   óÛ¬¸ð ððïçæééððæððî𠾿½µ¸¿«´ Ë ó ï   ó ¸·ª»ï   óÉ·º·ð ððïçæééððæððîì ¿½½»-- Ë ïï ó ®¿¼·±Á²¹ð   ó   óÉ·º·ðòï ððïçæééððæððîì ¿½½»-- Ë ïï ó ®¿¼·±Á²¹ð ¸·ª»ï »³°´±§»»É·º·ï ððïçæééððæððîè ¾¿½µ¸¿«´ Ë ïìç ó ®¿¼·±Á²¿ð   ó   óÉ·º·ïòï ððïçæééððæððîè ¾¿½µ¸¿«´ Ë ïìç ï ®¿¼·±Á²¿ð ¸·ª»ï   ó
Deployment Guide 155EXAMPLE 2: DEPLOYINGA HIVEStep 2Configure HiveAP-2 and HiveAP-31.Power on HiveAP-2 and log in through its console port.2.Configure HiveAP-2 with the same commands that you used for HiveAP-1:ssid employeessid employee security protocol-suite wpa-auto-psk ascii-key N38bu7Adr0n3interface wifi0 ssid employeehive hive1hive hive1 password s1r70ckH07m3sinterface mgt0 hive hive13.(Optional) Change the name and password of the superuser.admin superuser mwebster password 3fF8ha4.Check that the channel ID for wifi1 and wifi1.1 is now 149.show interfaceIf the channel ID for wifi1 and wifi1.1 is not 149, set it to 149 so that HiveAP-2 uses the same channel as HiveAP-1 for backhaul communications.interface wifi1 radio channel 149Setting the channel for the parent interface (wifi1) sets it for all its subinterfaces. An interface in backhaul mode only needs one subinterface, which by default is wifi1.1.save configexit5.Repeat the above steps for HiveAP-3.Step 3Connect HiveAP-2 and HiveAP-3 to the network1.Place HiveAP-2 within range of its clients and within range of HiveAP-1. This allows HiveAP-1 and -2 to send backhaul communications to each other wirelessly as a backup path in case either member loses its wired connection to the network.2.Connect an Ethernet cable from the PoE In port on HiveAP-2 to the network switch.3.Power on HiveAP-2 by connecting it to a power source.After HiveAP-2 finishes booting up (indicated when the Power LED changes from steady amber to steady green), it automatically discovers another member of hive1 (HiveAP-1). The two members use a preshared key based on their shared secret (s1r70ckH07m3s) to authenticate each other and AES to encrypt wired backhaul communications and AES-CCMP to encrypt wireless backhaul communications between themselves. You can tell when they have formed a hive because the Mesh LED changes its blinking pattern from a fast to slow.4.Place HiveAP-3 within range of its wireless clients and one or both of the other hive members.5.Power on HiveAP-3 by connecting it to a power source.
Chapter 10 Deployment Examples (CLI)156 AerohiveAfter HiveAP-3 boots up, it discovers the two other members of hive1 over a wireless backhaul link. The members authenticate themselves and establish a security association for encrypting backhaul communications among themselves. HiveAP-3 then learns its default route to the wired network from the other hive members. If the other members send routes with equal costs—which is what happens in this example—HiveAP-3 uses the first route it receives. When it learns this route, it can communicate with the DHCP server to get an IP address for its mgt0 interface.6.Check that HiveAP-3 has associated with the other members at the wireless level.Ø·ª»ßÐóîððïçæééððæðìíè©·º·ïòï ÓßÝ ß¼¼®»--Ø·ª»ßÐóïððïçæééððæððîè©·º·ïòï ÓßÝ ß¼¼®»---¸±© ¸·ª» ¸·ª»ï ²»·¹¸¾±®Ý¸¿²ã½¸¿²²»´ ²«³¾»®å б©ãб©»® ·² ¼Þ³åßóÓ±¼»ãß«¬¸»²¬·½¿¬·±² ³±¼»å Ý·°¸»®ãÛ²½®§°¬·±² ³±¼»åݱ²²óÌ·³»ãݱ²²»½¬»¼ ¬·³»å Ø-¬¿¬»ãØ·ª» ͬ¿¬»åÓ¿½ ß¼¼® ݸ¿² ̨ כּ Ψ ο¬» б© ßóÓ±¼» Ý·°¸»® ݱ²²óÌ·³» Ø-¬¿¬» и§³±¼» Ø·ª»óóóóóóóóóóóóóó óóóó óóóóóóó óóóóóóó óóó  óóóóóó óóóóóóó óóóóóóóóó óóóóóó óóóóóóó óóóóððïçæééððæððîè ïìç ëìÓ ëìÓ óïê °-µ ¿»- ½½³ ððæðìæïë ß«¬¸ ïï¿ ¸·ª»ïððïçæééððæðìíè ïìç ëìÓ ëìÓ óïê °-µ ¿»- ½½³ ððæðìæïê ß«¬¸ ïï¿ ¸·ª»ïÔ±¹ ·² ¬± Ø·ª»ßÐóí ¿²¼ »²¬»® ¬¸·- ½±³³¿²¼ ¬± -»» ·¬- ²»·¹¸¾±®- ·² ¸·ª»ïæØ·ª»ßÐóíײ ¬¸» ±«¬°«¬ ±º ¬¸» -¸±© ¸·ª» ¸·ª»ï ²»·¹¸¾±® ½±³³¿²¼ô §±« ½¿² -»» ¸·ª»ó´»ª»´ ¿²¼ ³»³¾»®ó´»ª»´ ·²º±®³¿¬·±²ò øѲ Ø·ª»ßÐ- -«°°±®¬·²¹ èðîòïï²ô ¬¸» ½¸¿²²»´ ©·¼¬¸ º±® ¸·ª» ½±³³«²·½¿¬·±²-‰îð ±® ìð Óئ‰·- ¿´-± -¸±©²ò÷ɸ»² §±« -»» ¬¸» ÓßÝ ¿¼¼®»--»- ±º ¬¸» ±¬¸»® ¸·ª» ³»³¾»®-ô §±« µ²±© ¬¸¿¬ Ø·ª»ßÐóí ´»¿®²»¼ ¬¸»³ ±ª»® ¿ ©·®»´»-- ¾¿½µ¸¿«´ ´·²µòÒ»·¹¸¾±®-̸» º±´´±©·²¹ ¿®» ¬¸» ª¿®·±«- ¸·ª» -¬¿¬»- ¬¸¿¬ ½¿² ¿°°»¿®æÜ·-ª øÜ·-½±ª»®÷ ó ß²±¬¸»® Ø·ª»ßÐ ¸¿- ¾»»² ¼·-½±ª»®»¼ô ¾«¬ ¬¸»®» ·- ¿ ³·-³¿¬½¸ ©·¬¸ ·¬- ¸·ª» ×ÜòÒ»·¾±® øÒ»·¹¸¾±®÷ ó  ß²±¬¸»® Ø·ª»ßÐ ¸¿- ¾»»² ¼·-½±ª»®»¼ ©¸±-» ¸·ª» ×Ü ³¿¬½¸»-ô ¾«¬ ·¬ ¸¿- ²±¬ §»¬ ¾»»² ¿«¬¸»²¬·½¿¬»¼ò Ý¿²¼Ð® øÝ¿²¼·¼¿¬» л»®÷ ó ̸» ¸·ª» ×Ü ±² ¿ ¼·-½±ª»®»¼ Ø·ª»ßÐ ³¿¬½¸»-ô ¿²¼ ·¬ ½¿² ¿½½»°¬ ³±®» ²»·¹¸¾±®-òß--±½Ð¼ øß--±½·¿¬·±² л²¼·²¹÷ ó ß Ø·ª»ßÐ ·- ±² ¬¸» -¿³» ¾¿½µ¸¿«´ ½¸¿²²»´ô ¿²¼ ¿² ¿--±½¿¬·±² °®±½»-- ·² °®±¹®»--òß--±½¼ øß--±½·¿¬»¼÷ ó ß Ø·ª»ßÐ ¸¿- ¿--±½·¿¬»¼ ©·¬¸ ¬¸» ´±½¿´ Ø·ª»ßÐ ¿²¼ ½¿² ²±© -¬¿®¬ ¬¸» ¿«¬¸»²¬·½¿¬·±² °®±½»--òß«¬¸ øß«¬¸»²¬·½¿¬»¼÷ ó ̸» Ø·ª»ßÐ ¸¿- ¾»»² ¿«¬¸»²¬·½¿¬»¼ ¿²¼ ½¿² ²±© »¨½¸¿²¹» ¼¿¬¿ ¬®¿ºº·½ò
Deployment Guide 157EXAMPLE 2: DEPLOYINGA HIVE7.To check that the hive members have full data connectivity with each other, associate a client in wireless network-1 with HiveAP-1 (the SSID "employee" is already defined on clients in wireless network-1; see "Deploying a Single HiveAP"). Then check if HiveAP-1 forwards the client’s MAC address to the others to store in their roaming caches.̸·- ÓßÝ ¿¼¼®»-- ·- º±® ¬¸» ©·®»´»-- ¿¼¿°¬»® ±º ¬¸» ½´·»²¬ ø±® •-«°°´·½¿²¬Œ÷ ¿--±½·¿¬»¼ ©·¬¸ ¬¸» ÍÍ×Ü •»³°´±§»»Œò̸·- ÓßÝ ¿¼¼®»-- ·- º±® ¬¸» ©·º·ðòï -«¾·²¬»®º¿½» ±º Ø·ª»ßÐóïô ¬¸» Ø·ª»ßÐ ©·¬¸ ©¸·½¸ ¬¸» ©·®»´»-- ½´·»²¬ ¿--±½·¿¬»¼ò̸·- ·- ¬¸» -¿³» ÓßÝ ¿¼¼®»-- º±® ¬¸» ½´·»²¬ ø-¬¿¬·±²÷ ¬¸¿¬ §±« -¿© ´·-¬»¼ ±² Ø·ª»ßÐóïòߺ¬»® ¿--±½·¿¬·²¹ ¿ ©·®»´»-- ½´·»²¬ ©·¬¸ Ø·ª»ßÐóïô ´±¹ ·² ¬± Ø·ª»ßÐóï ¿²¼ »²¬»® ¬¸·- ½±³³¿²¼æɸ»² §±« -»» ¬¸» ÓßÝ ¿¼¼®»-- ±º ¬¸» ©·®»´»-- ½´·»²¬ ¬¸¿¬ ·- ¿--±½·¿¬»¼ ©·¬¸ Ø·ª»ßÐóï ·² ¬¸» ®±¿³·²¹ ½¿½¸» ±º Ø·ª»ßÐóîô §±« µ²±© ¬¸¿¬ Ø·ª»ßÐóï ¿²¼ óî ¿®» -«½½»--º«´´§ -»²¼·²¹ ¼¿¬¿ ±ª»® ¬¸» ¾¿½µ¸¿«´ ´·²µòλ°»¿¬ ¬¸·- ¬± ½±²º·®³ ¬¸¿¬ Ø·ª»ßÐóí ¿´-± ¸¿- ¿ ¾¿½µ¸¿«´ ½±²²»½¬·±² ©·¬¸ ¬¸» ±¬¸»® ³»³¾»®-ò̸»² ´±¹ ·² ¬± Ø·ª»ßÐóî ¿²¼ »²¬»® ¬¸·- ½±³³¿²¼æØ·ª»ßÐóïØ·ª»ßÐóî-¸±© ®±¿³·²¹ ½¿½¸»Î±¿³·²¹ Ý¿½¸» Ì¿¾´»æË×ÜãË-»® °®±º·´» ¹®±«° ×Üå ÐÓÕãп·®©·-» Ó¿-¬»® Õ»§åÌÔÝãÐÓÕ Ì·³» Ô»º¬ ·² Ý¿½¸»å Ô·º»ãÐÓÕ Ô·º»å ßã¿«¬¸»²¬·½¿¬»¼å Ôã ÝÉÐ Ô±¹¹»¼ ײα¿³·²¹ º±® ¬¸·- Ø·ª»ßÐæ »²¿¾´»¼Ó¿¨·³«³ Ý¿½¸·²¹ Ì·³»æ íêðð -»½±²¼-Ý¿½¸·²¹ «°¼¿¬» ·²¬»®ª¿´æ êð -»½±²¼-Ý¿½¸·²¹ «°¼¿¬» ¬·³»-æ êðα¿³·²¹ ¸±°-æ ïÍÍ×Ü »³°´±§»»æÓ¿¨·³«³ Ý¿½¸·²¹ Ì·³»æ íêðð -»½±²¼-Ý¿½¸·²¹ «°¼¿¬» ·²¬»®ª¿´æ êð -»½±²¼-Ý¿½¸·²¹ «°¼¿¬» ¬·³»-æ êðÒ±ò Í«°°´·½¿²¬ ß«¬¸»²¬·½¿¬±® Ë×Ü ÐÓÕ ÐÓÕ×Ü Ô·º» ß¹» ÌÔÝ Ø±° ßÔóóó óóóóóóóóóóóóóó óóóóóóóóóóóóóó óóó óóóóó óóóóó óóóó óóóóó óóó óóó óóð ððïê潺è½æëé¾½ ððïçæééððæððîì ð ïíìçö ïêïëö óï  ìê ïçë ï ÇÒ-¸±© --·¼ »³°´±§»» -¬¿¬·±²Ý¸¿²ã½¸¿²²»´ ²«³¾»®å б©ãб©»® ·² ¼Þ³åßóÓ±¼»ãß«¬¸»²¬·½¿¬·±² ³±¼»å Ý·°¸»®ãÛ²½®§°¬·±² ³±¼»åßóÌ·³»ãß--±½·¿¬»¼ ¬·³»å ß«¬¸ãß«¬¸»²¬·½¿¬»¼åËÐ×ÜãË-»® °®±º·´» ×¼»²¬·º·»®å и§³±¼»ãи§-·½¿´ ³±¼»åÓ¿½ ß¼¼® ×Ð ß¼¼® ݸ¿² ̨ כּ Ψ ο¬» б© ßóÓ±¼» Ý·°¸»® ßóÌ·³» ÊÔßÒ ß«¬¸ ËÐ×Ü Ð¸§³±¼»óóóóóóóóóóóóóó óóóóóóóóóó óóóó óóóóóóó óóóóóóó óóó óóóóóóóó óóóóóóó óóóóóóóó óóóó óóóó óóóó óóóóóóóððïê潺è½æëé¾½ ïðòïòïòéí    ï     ëìÓ     ëìÓ óìð ©°¿îó°-µ ¿»- ½½³ ððæðïæìê    ï Ç»-     ð ïï¾ñ¹Ì±¬¿´ -¬¿¬·±² ½±«²¬æ ïÒ±¬»æ Ѳ Ø·ª»ßÐ- -«°°±®¬·²¹ ×ÛÛÛ èðîòïï²ô ¬¸»®» ¿®» ¬©± ¿¼¼·¬·±²¿´ ½±´«³²- º±® ÍÓóÐÍ ø-°¿¬·¿´ ³«´¬·°´»¨·²¹ °±©»® -¿ª»÷ ¿²¼ ½¸¿²²»´ ©·¼¬¸ øîð ±® ìð Óئ÷ò  ̸» ÍÓóÐÍ -¬¿¬»- ½¿² ¾» •-¬¿¬·½Œ ø«-» ±²» ¼¿¬¿ -¬®»¿³ º±® ïï¿ñ¾ñ¹ ½´·»²¬-÷ô •¼§²¿³·½Œ ø«-» ³«´¬·°´» -°¿¬·¿´ -¬®»¿³- º±® ïï² ½´·»²¬- ©¸»² ¬¸» Ø·ª»ßÐ -»²¼- ¿² ÎÌÍ º®¿³»÷ô ±® •¼·-¿¾´»¼Œ ø¿´©¿§- «-» -°¿¬·¿´ -¬®»¿³- º±® ïï² ½´·»²¬-÷ò
Chapter 10 Deployment Examples (CLI)158 AerohiveStep 4Configure wireless clientsDefine the "employee" SSID on all the wireless clients in wireless network-2 and -3. Specify WPA-PSK for network authentication, AES or TKIP for data encryption, and the preshared key N38bu7Adr0n3.The setup of hive1 is complete. Wireless clients can now associate with the HiveAPs using SSID "employee" and access the network. The HiveAPs communicate with each other to share client associations (to support fast roaming) and routing data (to select optimal data paths).EXAMPLE 3:USING IEEE 802.1X AUTHENTICATIONIn this example, you use a Microsoft AD (Active Directory) server and a RADIUS server to authenticate wireless network users. To accomplish this, you make the following modifications to the hive set up in "Deploying a Hive":•Configure settings for the RADIUS server on the HiveAPs•Change the SSID parameters on the HiveAPs and wireless clients to use IEEE 802.1XThe basic network design is shown in Figure3.Figure 3  Hive and 802.1X AuthenticationWireless Network-1SwitchFirewallInternetDHCP ServerWireless Network-2 Wireless Network-3Wired Hive Backhaul CommunicationsHiveAP-1HiveAP-2 HiveAP-3Wireless Hive Backhaul CommunicationsWireless Network Access ConnectionsThe HiveAPs receive PEAP (Protected EAP) authentication requests from clients and forward them inside RADIUS authentication packets to the RADIUS server at 10.1.1.10. The RADIUS server is in turn linked to the database of the Active Directory server on which all the user accounts have previously been created and stored.RADIUS Server10.1.1.10Active Directory ServerWired Ethernet Network ConnectionsHive1
Deployment Guide 159EXAMPLE 3: USING IEEE 802.1X AUTHENTICATIONStep 1Define the RADIUS server on the HiveAP-1Configure the settings for the RADIUS server (IP address and shared secret) on HiveAP-1.aaa radius-server first 10.1.1.10 shared-secret s3cr3741n4bl0X The IP address of the RADIUS server is 10.1.1.10, and the shared secret that HiveAP-1 and the RADIUS server use to authenticate each other is "s3cr3741n4b10X". You must also enter the same shared secret on the RADIUS server when you define the HiveAPs as access devices (see step5).Step 2Change the SSID on HiveAP-11.Change the authentication method in the SSID.ssid employee security protocol-suite wpa-auto-8021xsave configThe protocol suite requires WPA (Wi-Fi Protected Access) or WPA2 security protocol for authentication and key management, AES or TKIP encryption, and user authentication through IEEE 802.1X.2.Enter the show interface mgt0 command and note the dynamically assigned IP address of the mgt0 interface. You need to know this address to define HiveAP-1 as an access device on the RADIUS server in step5.exitStep 3Configure HiveAP-2 and HiveAP-31.Log in to HiveAP-2 through its console port.2.Configure HiveAP-2 with the same commands that you used for HiveAP-1:aaa radius-server first 10.1.1.10 shared-secret s3cr3741n4bl0Xssid employee security protocol-suite wpa-auto-8021xsave config3.Enter the show interface mgt0 command to learn its IP address. You need this address for step5.exit4.Log in to HiveAP-3 and enter the same commands.Step 4Modify the SSID on the wireless clientsModify the "employee" SSID on all the wireless clients in wireless network-2 and -3. Specify WPA or WPA2 for network authentication, AES or TKIP for data encryption, and PEAP (Protected EAP) for user authentication.Note: This example assumes that the RADIUS and AD servers were previously configured and populated with user accounts that have been in use on a wired network (not shown). The only additional configuration on these servers is to enable the RADIUS server to accept authentication requests from the HiveAPs.Note: Although all HiveAPs in this example use the same shared secret, they can also use different secrets.
Chapter 10 Deployment Examples (CLI)160 AerohiveStep 5Configure the RADIUS Server to accept authentication requests from the HiveAPsLog in to the RADIUS server and define the three HiveAPs as access devices. Enter their mgt0 IP addresses (or fully-qualified domain names) and shared secret.Step 6Check that clients can form associations and access the network1.To check that a client can associate with a HiveAP and access the network, open a wireless client application and connect to the "employee" SSID. Then contact a network resource, such as a web server.2.Log in to the HiveAP CLI, and check that you can see the MAC address or the associated client and an indication that the correct SSID is in use by entering the following command:The setup for using IEEE 802.1X is complete. Wireless clients can now associate with the HiveAP using SSID "employee", authenticate themselves through IEEE 802.1X to a RADIUS server, and access the network.Note: You can also enter the following commands to check the association status of a wireless client:show auth, show roaming cache, and show roaming cache mac <mac_addr>.ݸ»½µ ¬¸¿¬ ¬¸» ÓßÝ ¿²¼ ×Ð ¿¼¼®»--»- ·² ¬¸» ¬¿¾´» ³¿¬½¸ ¬¸±-» ±º ¬¸» ©·®»´»-- ½´·»²¬ òݸ»½µ ¬¸¿¬ ¬¸» ¿«¬¸»²¬·½¿¬·±² ¿²¼ »²½®§°¬·±² ³±¼»- ³¿¬½¸ ¬¸±-» ·² ¬¸» ÍÍ×Ü -»½«®·¬§ °®±¬±½±´ -«·¬»ò-¸±© --·¼ »³°´±§»» -¬¿¬·±²Ý¸¿²ã½¸¿²²»´ ²«³¾»®å б©ãб©»® ·² ¼Þ³åßóÓ±¼»ãß«¬¸»²¬·½¿¬·±² ³±¼»å Ý·°¸»®ãÛ²½®§°¬·±² ³±¼»åßóÌ·³»ãß--±½·¿¬»¼ ¬·³»å ß«¬¸ãß«¬¸»²¬·½¿¬»¼åËÐ×ÜãË-»® °®±º·´» ×¼»²¬·º·»®å и§³±¼»ãи§-·½¿´ ³±¼»åÓ¿½ ß¼¼® ×Ð ß¼¼® ݸ¿² ̨ כּ Ψ ο¬» б© ßóÓ±¼» Ý·°¸»® ßóÌ·³» ÊÔßÒ ß«¬¸ ËÐ×Ü Ð¸§³±¼»óóóóóóóóóóóóóó óóóóóóóóóó óóóó óóóóóóó óóóóóóó óóó óóóóóóóó óóóóóóó óóóóóóóó óóóó óóóó óóóó óóóóóóóððïê潺è½æëé¾½ ïðòïòïòéí    ï     ëìÓ     ëìÓ óìð èðîï¨ ¿»- ½½³ ððæðîæíì    ï Ç»-     ð ïï¾ñ¹Ì±¬¿´ -¬¿¬·±² ½±«²¬æ ï
Deployment Guide 161EXAMPLE 4: APPLYING QOSEXAMPLE 4:APPLYING QOSIn this example, you want the hive members to prioritize voice, streaming media, and e-mail traffic. First, you map distinguishing elements of these traffic types to three Aerohive QoS (Quality of Service) classes:Class 6: voice traffic from VoIP phones with MAC OUI 00:12:3b (the OUI for all phones in the network)Voice traffic is very sensitive to delay and cannot tolerate packet loss without loss of voice quality. When other traffic is competing with voice traffic for bandwidth, it becomes essential to prevent that traffic from interfering with voice traffic. Because voice traffic for a single call requires very little bandwidth—typically from 8 to 64 Kbps depending on the voice codec used—a good approach for setting its rate is to calculate the bandwidth necessary for a voice call plus related telephony traffic from a single user’s computer, softphone, or handset and then multiply that by the potential number of concurrent VoIP users.Class 5: streaming media using the MMS (Microsoft Media Server) protocol on TCP port 1755Although streaming media is also time sensitive, streaming media software for both clients and servers offers limited buffering to prevent choppy sounds and pixelated video when network congestion occurs. Because congestion for more than a few seconds can adversely effect streaming media, it is important to assign this type of traffic a higher priority than other types, but its priority should be lower than that for voice, which is even more sensitive to delay.Class 3: data traffic for e-mail using the following protocols:SMTP (Simple Mail Transfer Protocol) on TCP port 25POP3 (Post Office Protocol version 3) on TCP port 110Then you create classifier profiles that reference these traffic-to-class mappings. You bind the profiles to the wifi0.1 and eth0 interfaces so that hive members map the traffic matching these profiles that arrives at these interfaces to the proper Aerohive classes.You next define a QoS policy that defines how the hive members prioritize and process the traffic mapped to Aerohive classes 6, 5, and 3. The QoS policy (named "voice") is shown in Figure4 on page162 and has these settings:Class 6 (voice)Forwarding: strict (Hive members forward traffic mapped to this class immediately without queuing it.)Maximum rate for all class 6 traffic: 512 Kbps, which supports an 8- to 64-Kbps VoIP call (depending on the compression that the codec provides) plus other telephony traffic such as DHCP, DNS, HTTP, and TFTP.Class 5 (streaming media)Forwarding: WRR (weighted round robin) with a weight of 90By assigning class 5 a higher weight (90) than class 3 and 2 weights (class 3 = 60, class 2 = 30), you give streaming media roughly a 3:2 priority over class 3 traffic and a 3:1 priority over class 2 traffic.Maximum traffic rate for all class 5 traffic: 20,000 KbpsYou change the bandwidth available for streaming media when there is no competition for it (the default rate for class 5 is 10,000 Kbps on HiveAPs that do not support the IEEE 802.11n standard and 50,000 Kbps on HiveAPs that do. However, you do not set the maximum rate (54,000 or 1,000,000 Kbps, depending on the HiveAP model that you are configuring) to ensure that streaming media does not consume all available bandwidth even if it is available.Class 3 (e-mail)Forwarding: WRR with a weight of 60To help ensure that e-mail traffic remains flowing even when other types of data traffic compete with it for available bandwidth, you elevate its priority by mapping SMTP and POP3 traffic to class 3 and giving that class a higher weight (60) than the weight for class 2 traffic (30).Maximum traffic rate for all class 3 traffic: 54,000 or 1,000,000 Kbps (the default, depending on the HiveAP)
Chapter 10 Deployment Examples (CLI)162 AerohiveFigure 4  QoS Policy "voice" for Voice, Streaming Media, and DataFinally, you create a user profile "employee-net" and apply the QoS policy "voice" to the user profile on each hive member. You also configure the RADIUS server to return attributes in its authentication responses to indicate the user group to which the hive members then assign users.Note: The HiveAP assigns all traffic that you do not specifically map to an Aerohive class to class 2, which by default uses WRR with a weight of 30 and a rate of 54,000 or 1,000,000 Kbps, depending on the HiveAP.Note: This example assumes that the RADIUS and AD servers were previously configured and populated with user accounts and have been serving a wired network (not shown). The only additional configuration is to enable the RADIUS server to accept authentication requests from the HiveAPs.¯±- °±´·½§ ª±·½» ¯±- ê -¬®·½¬ ëïî ð̸» °±´·½§ ¿--·¹²- ¬¸» ¸·¹¸»-¬ °®·±®·¬§ ¬± ª±·½» ¬®¿ºº·½ ø½´¿-- ê÷ò  Ú±® »¿½¸ ª±·½» -»--·±² «° ¬± ëïî Õ¾°-ô ¸·ª» ³»³¾»®- °®±ª·¼» •-¬®·½¬Œ º±®©¿®¼·²¹å ¬¸¿¬ ·-ô ¬¸»§ º±®©¿®¼ ¬®¿ºº·½ ·³³»¼·¿¬»´§ ©·¬¸±«¬ ¯«»«·²¹ ·¬òʱ·½»¯±- °±´·½§ ª±·½» ¯±- ë ©®® îðððð çðÞ»½¿«-» -¬®»¿³·²¹ ³»¼·¿ ø½´¿-- ë÷ ²»»¼- ³±®» ¾¿²¼©·¼¬¸ ¬¸¿² ª±·½» ¼±»-ô ¬¸» °±´·½§ ¼»º·²»- ¿ ¸·¹¸»® º±®©¿®¼·²¹ ®¿¬» º±® ·¬æ îðôððð Õ¾°-ò ׬ -±®¬- -¬®»¿³·²¹ ³»¼·¿ ·²¬± º±®©¿®¼·²¹ ¯«»«»- «-·²¹ ¬¸» ÉÎÎ ø©»·¹¸¬»¼ ®±«²¼ ®±¾·²÷ ³»½¸¿²·-³ò ׬ ¿´-± °®·±®·¬·¦»- -¬®»¿³·²¹ ³»¼·¿ ¾§ ¿--·¹²·²¹ ¿ ¸·¹¸»® ©»·¹¸¬ øçð÷ ¬¸¿² ·¬ ¿--·¹²- ¼¿¬¿ ¬®¿ºº·½ ø½´¿-- í ã êðô ½´¿-- î ã íð÷òͬ®»¿³·²¹Ó»¼·¿¯±- °±´·½§ ª±·½» ¯±- í ©®® ¥ ëìððð ¤ ïðððððð £ êð¯±- °±´·½§ ª±·½» ¯±- î ©®® ¥ ëìððð ¤ ïðððððð £ íðö̸» °±´·½§ -±®¬- ½´¿-- í ¿²¼ î ¬®¿ºº·½ ·²¬± º±®©¿®¼·²¹ ¯«»«»- «-·²¹ ÉÎÎ ¿²¼ ¼»º·²»- ¬¸» ¸·¹¸»-¬ º±®©¿®¼·²¹ ®¿¬»æ ëìôððð Õ¾°- ±® ïôðððôððð Õ¾°-ô ¼»°»²¼·²¹ ±² ¬¸» Ø·ª»ßÐ ³±¼»´ ¬¸¿¬ §±« ¿®» ½±²º·¹«®·²¹ò ׬ ¹·ª»- ½´¿-- í øº±® »ó³¿·´ °®±¬±½±´- ÍÓÌÐ ¿²¼ ÐÑÐí÷ ¿ ¸·¹¸»® ÉÎÎ ©»·¹¸¬ øêð÷ -± ¬¸¿¬ ¬¸» Ø·ª»ßÐ ¯«»«»- ³±®» »ó³¿·´ ¬®¿ºº·½ ·² °®±°±®¬·±² ¬± ±¬¸»® ¬§°»- ±º ¬®¿ºº·½ ·² ½´¿-- îô ©¸·½¸ ¸¿- ¿ ©»·¹¸¬ ±º í𠾧 ¼»º¿«´¬ò ß- ¿ ®»-«´¬ô »ó³¿·´ ¬®¿ºº·½ ¸¿- ¿ ¾»¬¬»® ½¸¿²½» ±º ¾»·²¹ º±®©¿®¼»¼ ¬¸¿² ±¬¸»® ¬§°»- ±º ¬®¿ºº·½ ©¸»² ¾¿²¼©·¼¬¸ ·- -½¿®½»ò Ý´¿-- î ·- º±® ¿´´ ¬§°»- ±º ¬®¿ºº·½ ²±¬ ³¿°°»¼ ¬± ¿² ß»®±¸·ª» ½´¿--‰-«½¸ ¿- ØÌÌÐ º±® »¨¿³°´»òÜ¿¬¿Ï±Í б´·½§æ •ª±·½»Œö DZ« ¼± ²±¬ ²»»¼ ¬± »²¬»® ¬¸·- ½±³³¿²¼ ¾»½¿«-» ·¬ ¶«-¬ -»¬- ¬¸» ¼»º¿«´¬ ª¿´«»- º±® ½´¿-- îò ׬ ·- -¸±©² ¬± °®±ª·¼» ½±²¬®¿-¬ ©·¬¸ ¬¸» °®»ª·±«- ½±³³¿²¼ò
Deployment Guide 163EXAMPLE 4: APPLYING QOSStep 1Map traffic types to Aerohive QoS classes on HiveAP-11.Map the MAC OUI (organizational unit identifier) of network users’ VoIP phones to Aerohive class 6.qos classifier-map oui 00:12:3b qos 6In this example, all network users use VoIP phones from the same vendor whose OUI (that is, the MAC address prefix ) is 00:12:3b. When HiveAP-1 receives traffic from a client whose source MAC address contains this OUI, it assigns it to Aerohive class 6.2.Define the custom services that you need.service mms tcp 1755service smtp tcp 25service pop3 tcp 110The MMS (Microsoft Media Server) protocol can use several transports (UDP, TCP, and HTTP). However, for a HiveAP to be able to map a service to an Aerohive QoS class, it must be able to identify that service by a unique characteristic such as a static destination port number or a nonstandard protocol number. Unlike MMS/UDP and MMS/HTTP, both of which use a range of destination ports, MMS/TCP uses the static destination port 1755, which a HiveAP can use to map the service to an Aerohive class. Therefore, you define a custom service for MMS using TCP port 1755. You also define custom services for SMTP and POP3 so that you can map them to Aerohive class 3. By doing so, you can prioritize e-mail traffic above other types of traffic that the HiveAP assigns to class 2 by default.3.Map services to Aerohive classes.qos classifier-map service mms qos 5qos classifier-map service smtp qos 3qos classifier-map service pop3 qos 3Unless you map a specific service to an Aerohive QoS class, a HiveAP maps all traffic to class 2. In this example, you prioritize voice, media, and e-mail traffic by assigning them to higher QoS classes than class 2, and then by defining the forwarding and weighting mechanisms for each class (see step3).Step 2Create profiles to check traffic arriving at interfaces on HiveAP-11.Define two classifier profiles for the traffic types "mac" and "service".qos classifier-profile employee-voice macqos classifier-profile employee-voice serviceqos classifier-profile eth0-voice macqos classifier-profile eth0-voice serviceClassifier profiles define which components of incoming traffic HiveAP-1 checks. Because you specify "mac" and "service", it checks the MAC address in the Ethernet frame header and the service type (by protocol number in the IP packet header and port number in the transport packet header). If it detects traffic matching a classifier-map, it maps it to the appropriate Aerohive class. However, before this can happen, you must first associate the profiles with the interfaces that will be receiving the traffic that you want checked. This you do with the next two commands.
Chapter 10 Deployment Examples (CLI)164 Aerohive2.Associate the classifier profiles with the employee SSID and the eth0 interface so that HiveAP-1 can classify incoming traffic arriving at these two interfaces.ssid employee qos-classifier employee-voiceinterface eth0 qos-classifier eth0-voiceBy creating two QoS classifiers and associating them with the employee SSID and eth0 interface, HiveAP-1 can classify traffic flowing in both directions for subsequent QoS processing; that is, it can classify traffic flowing from the wireless LAN to the wired LAN, and from the wired LAN to the wireless LAN.Step 3Apply QoS on HiveAP-11.Create a QoS policy.For HiveAPs supporting IEEE 802.11a/b/g:qos policy voice qos 5 wrr 20000 90qos policy voice qos 3 wrr 54000 60For HiveAPs supporting IEEE 802.11a/b/g/n:qos policy voice qos 6 strict 512 0qos policy voice qos 5 wrr 20000 90qos policy voice qos 3 wrr 1000000 60By default, a newly created QoS policy attempts to forward traffic mapped to classes 6 and 7 immediately upon receipt. This immediate forwarding of received traffic is called "strict" forwarding. To assign strict forwarding to VoIP traffic from phones whose MAC OUI is mapped to class 6, you simply retain the default settings for class 6 traffic on HiveAPs supporting 802.11a/b/g data rates. For HiveAPs supporting 802.11n data rates, the default user profile rate is 20,000 Kbps for class 6 traffic, so you change it to 512 Kbps.For classes 5 and 3, you limit the rate of traffic and set WRR (weighted round robin) weights so that the HiveAP can control how to put the rate-limited traffic into forwarding queues. You use the default settings for class 2 traffic.When you enter any one of the above commands, the HiveAP automatically sets the maximum bandwidth for all members of the user group to which you later apply this policy and the bandwidth for any individual group member. You leave the maximum traffic rate at the default 54,000 Kbps or 1,000,000 Kbps—depending on the HiveAP model that you are configuring—for the user group. You also leave the maximum bandwidth for a single user at 54,000 or 1,000,000 Kbps, so that if a single user needs all the bandwidth and there is no competition for it, that user can use it all.Also by default, the traffic rate for this policy has a weight of 10. At this point, because this is the only QoS policy, the weight is inconsequential. If there were other QoS policies, then their weights would help determine how the HiveAP would allocate the available bandwidth.Note: If the surrounding network employs the IEEE 802.11p QoS classification system (for wired network traffic) or 802.11e (for wireless network traffic), you can ensure that HiveAP-1 checks for them by entering these commands:qos classifier-profile eth0-voice 8021pqos classifier-profile employee-voice 80211e
Deployment Guide 165EXAMPLE 4: APPLYING QOSThe QoS policy that you define is shown in Figure5. Although you did not configure settings for Aerohive QoS classes 0, 1, 2, 4, and 7, the policy applies default settings to them. The HiveAP assigns all traffic that you do not specifically map to an Aerohive class to class 2, which uses WRR with a weight of 30 and a default rate of 54,000 or 1,000,000 Kbps. Because nothing is mapped to classes 0, 1, 4, and 7, their settings are irrelevant.Figure 5  QoS Policy "voice"2.Create a user profile and apply the QoS policy to it.user-profile employee-net qos-policy voice attribute 2You apply the QoS policy "voice" to all users belonging to the user-profile "employee-net" with attribute 2. On the RADIUS server, you must configure attribute 2 as one of the RADIUS attributes that the RADIUS server returns when authenticating users (see step5 on page 167).save configexitNote: When HiveAP-1 does not use RADIUS for user authentication, you must assign the user profile to an SSID. To do that, use the following command: ssid employee default-user-profile-attr 2̸» «-»® °®±º·´» ®¿¬» ¼»º·²»- ¬¸» ¬±¬¿´ ¿³±«²¬ ±º ¾¿²¼©·¼¬¸ º±® ¿´´ «-»®- ¬± ©¸·½¸ ¬¸·- °±´·½§ ¿°°´·»-ò ̸» «-»® ®¿¬» ¼»º·²»- ¬¸» ³¿¨·³«³ ¿³±«²¬ º±® ¿²§ -·²¹´» «-»®ò ̸» «-»® ®¿¬» ½¿² ¾» »¯«¿´ ¬± ¾«¬ ²±¬ ¹®»¿¬»® ¬¸¿² ¬¸» «-»® °®±º·´» ®¿¬»ò øÒ±¬»æ ̸» ³¿¨·³«³- -¸±©² ¸»®» ¿®» º±® Ø·ª»ßÐ- ¬¸¿¬ -«°°±®¬ èðîòïï² ¼¿¬¿ ®¿¬»-ò Ú±® ±¬¸»® Ø·ª»ßÐ-ô ¬¸» ³¿¨·³«³ ®¿¬»- ¿®» ëìôððð Õ¾°-ò÷-¸±© ¯±- °±´·½§ ª±·½»Ð±´·½§ ²¿³»ãª±·½»å «-»® ®¿¬» ´·³·¬ãïððððððµ¾°-åË-»® °®±º·´» ®¿¬»ãïððððððµ¾°-å «-»® °®±º·´» ©»·¹¸¬ãïðåÝ´¿--ãðå ³±¼»ã©®®å ©»·¹¸¬ãïðå ´·³·¬ãïððððððµ¾°-åÝ´¿--ãïå ³±¼»ã©®®å ©»·¹¸¬ãîðå ´·³·¬ãïððððððµ¾°-åÝ´¿--ãîå ³±¼»ã©®®å ©»·¹¸¬ãíðå ´·³·¬ãïððððððµ¾°-åÝ´¿--ãíå ³±¼»ã©®®å ©»·¹¸¬ãêðå ´·³·¬ãïððððððµ¾°-åÝ´¿--ãìå ³±¼»ã©®®å ©»·¹¸¬ãëðå ´·³·¬ãïððððððµ¾°-åÝ´¿--ãëå ³±¼»ã©®®å ©»·¹¸¬ãçðå ´·³·¬ãîððððµ¾°-åÝ´¿--ãêå ³±¼»ã-¬®·½¬å ©»·¹¸¬ãðå ´·³·¬ãëïîµ¾°-åÝ´¿--ãéå ³±¼»ã-¬®·½¬å ©»·¹¸¬ãðå ´·³·¬ãîððððµ¾°-å̸» º±®©¿®¼·²¹ ³±¼» º±® ½´¿-- ê øª±·½»÷ ·- -¬®·½¬ò ̸» Ø·ª»ßÐ º±®©¿®¼- °¿½µ»¬- ¾»´±²¹·²¹ ¬± ¬¸·- ½´¿-- ·³³»¼·¿¬»´§ ©·¬¸±«¬ ¯«»«·²¹ ¬¸»³ò̸» º±®©¿®¼·²¹ ³±¼» º±® ½´¿-- ë ø-¬®»¿³·²¹ ³»¼·¿÷ ¿²¼ î ó í ø¼¿¬¿÷ ·- ÉÎÎ ø©»·¹¸¬»¼ ®±«²¼ ®±¾·²÷ò ̸» Ø·ª»ßÐ º±®©¿®¼- ¬®¿ºº·½ ¾»´±²¹·²¹ ¬± ¬¸»-» ½´¿--»- ¾§ °«¬¬·²¹ ¬¸»³ ·²¬± º±®©¿®¼·²¹ ¯«»«»-ò ̸» ©»·¹¸¬- ¼»¬»®³·²» ¸±© ³¿²§ ¾·¬- °»® -»½±²¼ ¹± ·²¬± »¿½¸ ¯«»«»ò Ú±® »ª»®§ íð ¾·¬- ¬¸¿¬ ¬¸» Ø·ª»ßÐ ¯«»«»- º±® ½´¿-- îô ·¬ ¯«»«»- ¿°°®±¨·³¿¬»´§ êð ¾·¬- º±® ½´¿-- íô ¿²¼ çð ¾·¬- º±® ½´¿-- ëò ̸»-» ¿³±«²¬- ¿®» ¿°°®±¨·³¿¬·±²- ¾»½¿«-» ¬¸» Ø·ª»ßÐ ¿´-± ¸¿- ¿² ·²¬»®²¿´ -»¬ ©»·¹¸¬- º±® ¬®¿ºº·½ ·² ¼·ºº»®»²¬ ½´¿--»- ¬¸¿¬ -µ»©- º±®©¿®¼·²¹ ·² º¿ª±® ±º ¬®¿ºº·½ ¾»´±²¹·²¹ ¬± ¸·¹¸»® ½´¿--»-ò
Chapter 10 Deployment Examples (CLI)166 AerohiveStep 4Configure HiveAP-2 and HiveAP-31.Log in to HiveAP-2 through its console port.2.Configure HiveAP-2 with the same commands that you used for HiveAP-1:qos classifier-map oui 00:12:3b qos 6service mms tcp 1755service smtp tcp 25service pop3 tcp 110qos classifier-map service mms qos 5qos classifier-map service smtp qos 3qos classifier-map service pop3 qos 3qos classifier-profile employee-voice macqos classifier-profile employee-voice serviceqos classifier-profile eth0-voice macqos classifier-profile eth0-voice servicessid employee qos-classifier employee-voiceinterface eth0 qos-classifier eth0-voiceFor HiveAPs supporting IEEE 802.11a/b/g:qos policy voice qos 5 wrr 20000 90qos policy voice qos 3 wrr 54000 60For HiveAPs supporting IEEE 802.11a/b/g/n:qos policy voice qos 6 strict 512 0qos policy voice qos 5 wrr 20000 90qos policy voice qos 3 wrr 1000000 60user-profile employee-net qos-policy voice attribute 2save configexit3.Log in to HiveAP-3 and enter the same commands.
Deployment Guide 167EXAMPLE 5: LOADINGA BOOTSTRAP CONFIGURATIONStep 5Configure RADIUS server attributes 1.Log in to the RADIUS server and define the three HiveAPs as RADIUS clients.2.Configure the following attributes for the realm to which the wireless user accounts in network-1, -2, and -3 belong:•Tunnel Type = GRE (value = 10)•Tunnel Medium Type = IP (value = 1)•Tunnel Private Group ID = 2The RADIUS server returns the above attributes for all wireless users it authenticates from network-1, -2, and -3. The HiveAP uses the combination of returned RADIUS attributes to assign users to the user group 2 ("employee-net"). It does not use them to create a GRE tunnel, which the tunnel type attribute might lead you to think.When there is more traffic than available bandwidth, the HiveAP applies the "voice" policy. It performs strict forwarding for voice and uses a WRR (weighted round robin) scheduling discipline for directing streaming media and data traffic to queues to await forwarding. The QoS configuration is complete.EXAMPLE 5:LOADINGA BOOTSTRAP CONFIGURATIONAs explained in "HiveOS Configuration File Types" on page145, a bootstrap config file is typically a small set of commands to which a HiveAP can revert when the configuration is reset or if the HiveAP cannot load its current and backup configs. If you do not define and load a bootstrap config, the HiveAP reverts to the default config in these situations, which can lead to two potential problems:•If both the current and backup configs fail to load on a HiveAP acting as a mesh point in a hard-to-reach location—such as a ceiling crawlspace—the HiveAP would revert to the default config. Because a mesh point needs to join a hive before it can access the network and the default config does not contain the hive settings that the mesh point needs to join the hive, an administrator would need to crawl to the device to make a console connection to reconfigure the HiveAP.•If the location of a HiveAP is publicly accessible, someone could press the reset button on the front panel of the device to return the configuration to its default settings, log in using the default login name and password (admin,aerohive), and thereby gain complete admin access. (Note that you can disable the ability of the reset button to reset the configuration by entering this command: no reset-button reset-config-enable)A bootstrap configuration can help in both of these situations. For the first case, a bootstrap config with the necessary hive membership settings can allow the HiveAP to connect to the network and thereby become accessible over the network for further configuring. For the second case, a bootstrap config with a number of obstacles such as a hard-to-guess login name and password and a disabled access subinterface can make the firmware inaccessible and the device unusable.HiveAP-1 and -2 are in locations that are not completely secure. HiveAP-3 is a mesh point in a fairly inaccessible location. To counter theft of the first two HiveAPs and to avoid the nuisance of physically accessing the third HiveAP, you define a bootstrap config file that addresses both concerns and load it on the HiveAPs.
Chapter 10 Deployment Examples (CLI)168 AerohiveStep 1Define the bootstrap config on HiveAP-11.Make a serial connection to the console port on HiveAP-1, log in, and load the default config.load config defaultrebootYou do not want the bootstrap config to contain any of your previously defined settings from the current config. Therefore, you load the default config, which has only default settings. When you begin with the default config and enter the commands that define the bootstrap config, the bootstrap config will have just those commands and the default config settings.2.Confirm the reboot command, and then, when you are asked if you want to use the Aerohive Initial Configuration Wizard, enter no.3.Log in using the default user name admin and password aerohive.4.Define admin login parameters for the bootstrap config that are difficult to guess.admin root-admin Cwb12o11siNIm8vhD2hs password 8wDamKC1Lo53Ku71You use the maximum number of alphanumeric characters for the login name (20 characters) and password (16 characters). By mixing uppercase and lowercase letters with numbers in strings that do not spell words or phrases, you make the login much harder to guess.5.Leave the various interfaces in their default up or down states. By default, the wifi0 and wifi0.1 interfaces are down, but the mgt0, eth0, wifi1, and wifi1.1 subinterfaces are up. The hive members need to use wifi1.1, which is in backhaul mode, so that HiveAP-3 can rejoin hive1 and, through hive1, access DHCP and DNS servers to regain network connectivity. (By default, mgt0 is a DHCP client.) You leave the eth0 interface up so that Hive-1 and Hive-2 can retain an open path to the wired network. However, with the two interfaces in access mode—wifi0 and wifi0.1— in the down state, none of the HiveAPs will be able provide network access to any wireless clients. Wireless clients cannot form associations through wifi1.1 nor can a computer attach through the eth0 interface—because it is also in backhaul mode—and obtain network access through the mesh.6.Define the hive settings so that any of the three HiveAPs using the bootstrap config can rejoin the grid.hive hive1hive hive1 password s1r70ckH07m3sinterface mgt0 hive hive1When a HiveAP boots up using the bootstrap config, it can rejoin hive1 because the configuration includes the hive name and password and binds the mgt0 interface to the hive. This is particularly useful for HiveAP-3 because it is a mesh point and can only access the wired network after it has joined the hive. It can then reach the wired network through either of the portals, HiveAP-1 or HiveAP-2.7.Save the configuration as a bootstrap config.save config running bootstrapIf anyone resets the current configuration, the HiveAP will load this bootstrap config and thwart any thief from accessing the configuration and any wireless client from accessing the network.Note: Be careful to remember the login name and password defined in a bootstrap config file. If they become lost or forgotten, you must obtain a one-time login key from Aerohive technical support. To get the key, you must already have had a support contract in place. The first one-time login key is free. After that, there is a small handling fee for each additional key.
Deployment Guide 169EXAMPLE 5: LOADINGA BOOTSTRAP CONFIGURATIONStep 2Save the bootstrap config to a TFTP server1.Check the configurations to make sure the settings are accurate.show config bootstrapCheck that the settings are those you entered in the previous step for the bootstrap config.show config backupNote that the backup config is the previous current config. This is the configuration that has all your previously defined settings.2.Return to the previous current config.load config backupreboot3.When HiveAP-1 finishes rebooting, log back in using the login parameters you set in "Example 1: Deploying a Single HiveAP" on page150 (mwebster,3fF8ha).4.Check that the current config is the same as your previous current config.show config current5.Save the file as bootstrap-hive1.txt to the root directory of your TFTP server running on your management system at 10.1.1.31, an address received by the same DHCP server and in the same subnet as the HiveAP addresses.save config bootstrap tftp://10.1.1.31:bootstrap-hive1.txtStep 3Load the bootstrap config file on HiveAP-2 and HiveAP-31.Make a serial connection to the console port on HiveAP-2 and log in.2.Upload the bootstrap-hive1.txt config file from the TFTP server to HiveAP-2 as a bootstrap config.save config tftp://10.1.1.31:bootstrap-hive1.txt bootstrap3.Check that the uploaded config file is now the bootstrap config.show config bootstrap4.Repeat the procedure to load the bootstrap config on HiveAP-3.The bootstrap configs are now in place on all three HiveAPs.
Chapter 10 Deployment Examples (CLI)170 AerohiveCLI COMMANDSFOR EXAMPLESThis section includes all the CLI commands for configuring the HiveAPs in the previous examples. The CLI configurations are presented in their entirety (without explanations) as a convenient reference, and—if you are reading this guide as a PDF—as an easy way to copy and paste the commands. Simply copy the blocks of text for configuring the HiveAPs in each example and paste them at the command prompt.Commands for Example 1Enter the following commands to configure the SSID "employee" on the single HiveAP in "Deploying a Single HiveAP" on page150:ssid employeessid employee security protocol-suite wpa-auto-psk ascii-key N38bu7Adr0n3interface wifi0.1 ssid employeesave configCommands for Example 2Enter the following commands to configure three HiveAPs as members of "hive1" in "Deploying a Hive" on page153:HiveAP-1hive hive1hive hive1 password s1r70ckH07m3sinterface mgt0 hive hive1save configHiveAP-2ssid employeessid employee security protocol-suite wpa-auto-psk ascii-key N38bu7Adr0n3interface wifi0.1 ssid employeehive hive1hive hive1 password s1r70ckH07m3sinterface mgt0 hive hive1save configNote: The following sections omit optional commands, such as changing the login name and password, and commands used to check a configuration.
Deployment Guide 171EXAMPLE 5: CLI COMMANDSFOR EXAMPLESHiveAP-3ssid employeessid employee security protocol-suite wpa-auto-psk ascii-key N38bu7Adr0n3interface wifi0.1 ssid employeehive hive1hive hive1 password s1r70ckH07m3sinterface mgt0 hive hive1save configCommands for Example 3Enter the following commands to configure the hive members to support IEEE 802.1X authentication in "Using IEEE 802.1X Authentication" on page158:HiveAP-1aaa radius-server first 10.1.1.10 shared-secret s3cr3741n4bl0Xssid employee security protocol-suite wpa-auto-8021xsave configHiveAP-2aaa radius-server first 10.1.1.10 shared-secret s3cr3741n4bl0X ssid employee security protocol-suite wpa-auto-8021xsave configHiveAP-3aaa radius-server 10.1.1.10 shared-secret s3cr3741n4bl0X ssid employee security protocol-suite wpa-auto-8021xsave config
Chapter 10 Deployment Examples (CLI)172 AerohiveCommands for Example 4Enter the following commands to configure the hive members to apply QoS (Quality of Service) to voice, streaming media, and data traffic in "Applying QoS" on page161:HiveAP-1qos classifier-map oui 00:12:3b qos 6service mms tcp 1755service smtp tcp 25service pop3 tcp 110qos classifier-map service mms qos 5qos classifier-map service smtp qos 3qos classifier-map service pop3 qos 3qos classifier-profile employee-voice macqos classifier-profile employee-voice serviceqos classifier-profile eth0-voice macqos classifier-profile eth0-voice servicessid employee qos-classifier employee-voiceinterface eth0 qos-classifier eth0-voiceFor HiveAPs supporting IEEE 802.11a/b/gqos policy voice qos 5 wrr 20000 90qos policy voice qos 3 wrr 54000 60For HiveAPs supporting IEEE 802.11a/b/g/nqos policy voice qos 6 strict 512 0qos policy voice qos 5 wrr 20000 90qos policy voice qos 3 wrr 1000000 60user-profile employee-net qos-policy voice attribute 2save configHiveAP-2qos classifier-map oui 00:12:3b qos 6service mms tcp 1755service smtp tcp 25service pop3 tcp 110qos classifier-map service mms qos 5qos classifier-map service smtp qos 3qos classifier-map service pop3 qos 3qos classifier-profile employee-voice mac
Deployment Guide 173EXAMPLE 5: CLI COMMANDSFOR EXAMPLESqos classifier-profile employee-voice serviceqos classifier-profile eth0-voice macqos classifier-profile eth0-voice servicessid employee qos-classifier employee-voiceinterface eth0 qos-classifier eth0-voiceFor HiveAPs supporting IEEE 802.11a/b/gqos policy voice qos 5 wrr 20000 90qos policy voice qos 3 wrr 54000 60For HiveAPs supporting IEEE 802.11a/b/g/nqos policy voice qos 6 strict 512 0qos policy voice qos 5 wrr 20000 90qos policy voice qos 3 wrr 1000000 60user-profile employee-net qos-policy voice attribute 2save configHiveAP-3qos classifier-map oui 00:12:3b qos 6service mms tcp 1755service smtp tcp 25service pop3 tcp 110qos classifier-map service mms qos 5qos classifier-map service smtp qos 3qos classifier-map service pop3 qos 3qos classifier-profile employee-voice macqos classifier-profile employee-voice serviceqos classifier-profile eth0-voice macqos classifier-profile eth0-voice servicessid employee qos-classifier employee-voiceinterface eth0 qos-classifier eth0-voiceFor HiveAPs supporting IEEE 802.11a/b/gqos policy voice qos 5 wrr 20000 90qos policy voice qos 3 wrr 54000 60For HiveAPs supporting IEEE 802.11a/b/g/nqos policy voice qos 6 strict 512 0qos policy voice qos 5 wrr 20000 90qos policy voice qos 3 wrr 1000000 60user-profile employee-net qos-policy voice attribute 2save config
Chapter 10 Deployment Examples (CLI)174 AerohiveCommands for Example 5Enter the following commands to create bootstrap config files and load them on the hive members in "Loading a Bootstrap Configuration" on page167:bootstrap-security.txtadmin root-admin Cwb12o11siNIm8vhD2hs password 8wDamKC1Lo53Ku71hive hive1hive hive1 password s1r70ckH07m3sinterface mgt0 hive hive1HiveAP-1save config tftp://10.1.1.31:bootstrap-security.txt bootstrapshow config bootstrapHiveAP-2save config tftp://10.1.1.31:bootstrap-security.txt bootstrapshow config bootstrapHiveAP-3save config tftp://10.1.1.31:bootstrap-meshpoint.txt bootstrapshow config bootstrap
Deployment Guide 175Chapter 11Traffic TypesThis is a list of all the types of traffic that might be involved with a HiveAP and HiveManager deployment. If a firewall lies between any of the sources and destinations listed below, make sure that it allows these traffic types.Traffic Supporting Network Access for Wireless ClientsTraffic Supporting Management of HiveAPsService Source Destination ProtocolSRC PortDSTPort NotesDHCP unregistered wireless clientHiveAP wifi subinterface in access mode17 UDP6867Required for captive web portal functionalityDNS unregistered wireless clientHiveAP wifi subinterface in access mode17 UDP53, or 1024 - 6553553Required for captive web portal functionalityGRE HiveAP mgt0 interfaceHiveAP mgt0 interface47 GREN.A.N.A.Required to support DNX* and layer 3 roaming between members of different hives*DNX = dynamic network extensionsHTTP unregistered wireless clientHiveAP wifi subinterface in access mode6 TCP1024 - 6553580Required for captive web portal functionalityHTTPS unregistered wireless clientHiveAP wifi subinterface in access mode6 TCP1024 - 65535443Required for captive web portal functionality using a server keyRADIUSaccountingHiveAP mgt0 interfaceRADIUS server17 UDP1024 - 655351813†Required to support RADIUS accountingRADIUSauthenticationHiveAP mgt0 interfaceRADIUS server17 UDP1024 - 655351812††This is the default destination port number. You can change it to a different port number from 1 to 65535.Required for 802.1X authentication of users Service Source Destination ProtocolSRC PortDST Port NotesCAPWAP**Control and Provisioning of Wireless Access PointsHiveAP mgt0 interfaceHiveManager MGT or LAN port17 UDP1222212222Required for HiveAPs to discover the HiveManager and send it alarms, events, and reportsNTPHiveAP mgt0 interfaceHiveManager MGT or LAN port17 UDP1024 - 65535123Required for HiveAP time synchronization with the HiveManager
Chapter 11 Traffic Types176 AerohiveTraffic Supporting Device OperationsService Source Destination ProtocolSRC PortDST Port NotesSNMPHiveAP mgt0 interfaceSNMP manager17 UDP1024 - 65535161Required for reporting alarms and events to an SNMP manager and to HiveManager if not using CAPWAPSNMP trapsHiveAP mgt0 interfaceSNMP manager17 UDP1024 - 65535162Required for sending SNMP traps to an SNMP manager and to HiveManager if not using CAPWAPSSHv2HiveManager MGT portHiveAP mgt0 interface6 TCP1024 - 6553522Required for the HiveManager to manage and upload files to HiveAPsService Source Destination ProtocolSRC PortDST Port NotesAerohive Cooperative Control MessagesHiveAP mgt0 interfaceHiveAP mgt0 interface17 UDP3000**This is the default destination port number. You can change it to a different port number from 1024 to 65535.3000*Required for hive communications and operates at layer 3Aerohive Cooperative Control MessagesHiveAP wifi1.1 or eth0 interfaceHiveAP wifi1.1 or eth0 interfaceN.A.N.A.N.A.Required for hive communications and operates at the LLC (Logical Link Control) sublayer of layer 2AeroScout ReportsAeroScout engineHiveAP mgt0 interface17 UDP1024 - 655351144Required to report tracked devices to an AeroScout engineDHCP HiveAP mgt0 interfaceDHCP server17 UDP6867By default, a HiveAP gets its IP address through DHCP.HTTPS management systemHiveManager MGT port6 TCP1024 - 65535443Required for administration through the HiveManager GUINTP HiveAP mgt0 interface, or HiveManager MGT portNTP server6 TCP1024 - 65535123Required for time synchronization with an NTP serverSMTP HiveManager MGT portSMTP server6 TCP1024 - 6553525Required for the HiveManager to send e-mail alerts to adminsSSHv2 management systemHiveAP mgt0 interface or HiveManager MGT port6 TCP1024 - 6553522Used for secure network access to the HiveAP or HiveManager CLI, and (SCP) for uploading files to and downloading files from HiveAPs and for uploading images to HiveAPs and HiveManagersyslog HiveAP mgt0 interfacesyslog server17 UDP1024 - 65535514Required for remote logging to a syslog serverTelnet management systemHiveAP mgt0 interface6 TCP, 17UDP1024 - 6553523Used for unsecured network access to the HiveAP CLITFTP TFTP server or mgt0HiveAP mgt0 or TFTP server17 UDP1024 - 6553569Used for uploading files to and downloading files from HiveAPs
Deployment Guide 177Appendix ACountry CodesWhen the region code on a HiveAP is preset as "world", you must set a country code for the location where you intend to deploy the HiveAP. This code determines the radio channels and power settings that the HiveAP can use when deployed in that country. For HiveAPs intended for use in the United States, the region code is preset as "FCC"—for "Federal Communications Commission"—and the country code is preset for the United States. You can see the region code in the output of the show boot-param command.To set a country code when the region is "world", enter the following command, in which number is the appropriate country code number: boot-param country-code numberTo apply radio settings for the updated country code, reboot the HiveAP by entering the reboot command.The following list of country codes is provided for your convenience.Countries and Country CodesAlbania 8Algeria 12Argentina 32Armenia 51Australia 36Austria 40Azerbaijan 31Bahrain 48Belarus 112Belgium 56Belize 84Bolivia 68Bosnia and Herzegovina 70Brazil 76Brunei Darussalam 96Bulgaria 100Canada 124Chile 152China (People’s Republic of China) 156Colombia 170Costa Rica 188Croatia 191Cyprus 196Czech Republic 203Denmark 208Dominican Republic 214Ecuador 218Egypt 818El Salvador 222Estonia 233Faeroe Islands 234Finland 246France 250France2 255Georgia 268Germany 276Note: Be sure to enter the correct country code. An incorrect entry might result in illegal radio operation and cause harmful interference to other systems.
Appenidix A Country Codes178 AerohiveGreece 300Guatemala 320Honduras 340Hong Kong (S.A.R., P.R.C) 344Hungary 348Iceland 352India 356Indonesia 360Iran 364Iraq 368Ireland 372Israel 376Italy 380Jamaica 388Japan 392Japan1 (JP1) 393Japan2 (JP0) 394Japan3 (JP1-1) 395Japan4 (JE1) 396Japan5 (JE2) 397Japan6 (JP6) 399Japan7 (J7) 4007Japan8 (J8) 4008Japan9 (J9) 4009IJapan10 (J10) 4010Japan11 (J11) 4011Japan12 (J12) 4012Japan13 (J13) 4013Japan14 (J14) 4014Japan15 (J15) 4015Japan16 (J16) 4016Japan17 (J17) 4017Japan18 (J18) 4018Japan19 (J19) 4019Japan20 (J20) 4020Japan21 (J21) 4021Japan22 (J22) 4022Japan23 (J23) 4023Japan24 (J24) 4024Jordan 400Kazakhstan 398Kenya 404Korea (North Korea) 408Korea (South Korea, ROC) 410Korea (South Korea, ROC2) 411Korea (South Korea, ROC3) 412Kuwait 414Latvia 428Lebanon 422Libya 434Liechtenstein 438Lithuania 440Luxembourg 442Macau 446Macedonia (The Former Yugoslav Republic of Macedonia) 807Malaysia 458Malta 470Mexico 484Monaco (Principality of Monaco) 492Morocco 504Netherlands 528New Zealand 554Nicaragua 558Norway 578Oman 512Pakistan (Islamic Republic of Pakistan) 586Panama 591Paraguay 600Peru 604Philippines (Republic of the Philippines) 608Poland 616
Deployment Guide 179Appenidix A Country CodesPortugal 620Puerto Rico 630Qatar 634Romania 642Russia 643Saudi Arabia 682Singapore 702Slovakia (Slovak Republic) 703Slovenia 705South Africa 710Spain 724Sri Lanka 144Sweden 752Switzerland 756Syria 760Taiwan 158Thailand 764Trinidad y Tobago 780Tunisia 788Turkey 792U.A.E. 784Ukraine 804United Kingdom 826United States 840United States (Public Safety; FCC49) 842Uruguay 858Uzbekistan 860Venezuela 862Vietnam 704Yemen 887Zimbabwe 716
Appenidix A Country Codes180 Aerohive

Navigation menu