Got it

hostnames of connected STAs in AirEngine9700-M

Created: Jul 13, 2021 09:35:38Latest reply: Jul 13, 2021 11:26:02 214 4 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

In any entry level access points, you can see the hostname of the connected cleints of the AP without any extra configurations.


So my quesstion is, Is there any other way to see the hostname of the connected clients aside using Mac address authentication, portal or 802.1x? 

Featured Answers

Recommended answer

jason_hu
Admin Created Jul 13, 2021 11:26:02

Hi friend!

You can use display station sta-mac to view user name information.

1


Hope to help you!


View more
  • x
  • convention:

All Answers
Hello, dear!
It's nice to meet you in the community.
We're working on your problem. Please be patient.
View more
  • x
  • convention:

Example for Configuring 802.1X Authentication

Service Requirements

When users attempt to access the WLAN, they can use 802.1X clients for authentication. After entering the correct user names and passwords, users can connect to the Internet. Furthermore, users' services are not affected during roaming in the coverage area.

Networking Requirements

  • AC networking mode: Layer 2 bypass mode

  • DHCP deployment mode: The AC functions as the DHCP server to assign IP addresses to APs, and SwitchB functions as the DHCP server to assign IP addresses to STAs.

  • Service data forwarding mode: direct forwarding

  • WLAN authentication mode: WPA-WPA2+802.1X+AES

Figure 3-27 Networking diagram for configuring 802.1X authentication
download?uuid=54a8917324d2485f8dc3a5436400d983

Data Planning

Table 3-35 Data planning on the AC

Configuration Item

Data

Management VLAN

VLAN 100

Service VLAN

VLAN 101

AC's source interface

VLANIF 100: 10.23.100.1/24

DHCP server

The AC functions as the DHCP server to assign IP addresses to APs, and SwitchB functions as the DHCP server to assign IP addresses to STAs.

IP address pool for APs

10.23.100.2-10.23.100.254/24

IP address pool for the STAs

10.23.101.2-10.23.101.254/24

RADIUS authentication parameters

  • RADIUS server template name: wlan-net

  • IP address: 10.23.103.1

  • Authentication port number: 1812

  • Shared key: huawei@123

  • Authentication scheme: wlan-net

802.1X access profile

  • Name: wlan-net

  • Authentication mode: EAP

Authentication profile

  • Name: wlan-net

  • Bound profile and authentication scheme: 802.1X access profile wlan-net, RADIUS server template wlan-net, and RADIUS authentication scheme wlan-net

AP group

  • Name: ap-group1

  • Bound profile: VAP profile wlan-net and regulatory domain profile default

Regulatory domain profile

  • Name: default

  • Country code: China

SSID profile

  • Name: wlan-net

  • SSID name: wlan-net

Security profile

  • Name: wlan-net

  • Security policy: WPA-WPA2+802.1X+AES

VAP profile

  • Name: wlan-net

  • Forwarding mode: direct forwarding

  • Service VLAN: VLAN 101

  • Bound profiles: SSID profile wlan-net, security profile wlan-net, and authentication profile wlan-net

Configuration Roadmap

  1. Configure network interworking of the AC, APs, and other network devices.

  2. Select Config Wizard to configure AC system parameters.

  3. Select Config Wizard to configure the APs to go online on the AC.

  4. Select Config Wizard to configure WLAN services on the AC. When configuring the security policy, select 802.1X and RADIUS authentication, and set the RADIUS server parameters.

  5. Configure third-party server interconnection parameters.

download?uuid=a29cb3d29b64450388d3dc6ed78e2fcc

The AC and server must have the same RADIUS shared key.

Configuration Notes

  • No ACK mechanism is provided for multicast packet transmission on air interfaces. In addition, wireless links are unstable. To ensure stable transmission of multicast packets, they are usually sent at low rates. If a large number of such multicast packets are sent from the network side, the air interfaces may be congested. You are advised to configure multicast packet suppression to reduce impact of a large number of low-rate multicast packets on the wireless network. Exercise caution when configuring the rate limit; otherwise, the multicast services may be affected.For details on how to configure traffic suppression, see How Do I Configure Multicast Packet Suppression to Reduce Impact of a Large Number of Low-Rate Multicast Packets on the Wireless Network?.

    • In direct forwarding mode, you are advised to configure multicast packet suppression on switch interfaces connected to APs.

    • In tunnel forwarding mode, you are advised to configure multicast packet suppression in traffic profiles of the AC.

  • Configure port isolation on the interfaces of the device directly connected to APs. If port isolation is not configured and direct forwarding is used, a large number of unnecessary broadcast packets may be generated in the VLAN, blocking the network and degrading user experience.

  • In tunnel forwarding mode, the management VLAN and service VLAN cannot be the same. Only packets from the management VLAN are transmitted between the AC and APs. Packets from the service VLAN are not allowed between the AC and APs.

Procedure

  1. Configure the network devices.


    # Add GE0/0/1 and GE0/0/2 on SwitchA (access switch) to VLAN 100 and VLAN 101.

    <HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] vlan batch 100 101 [SwitchA] interface gigabitethernet 0/0/1 [SwitchA-GigabitEthernet0/0/1] port link-type trunk [SwitchA-GigabitEthernet0/0/1] port trunk pvid vlan 100 [SwitchA-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 101 [SwitchA-GigabitEthernet0/0/1] port-isolate enable [SwitchA-GigabitEthernet0/0/1] quit [SwitchA] interface gigabitethernet 0/0/2 [SwitchA-GigabitEthernet0/0/2] port link-type trunk [SwitchA-GigabitEthernet0/0/2] port trunk allow-pass vlan 100 101 [SwitchA-GigabitEthernet0/0/2] quit

    # Add GE0/0/1 on SwitchB (aggregation switch) to VLAN 100 and VLAN 101, GE0/0/2 to VLAN 100 and VLAN 102, GE0/0/3 to VLAN 103, and GE0/0/4 to VLAN 104. Create VLANIF 102, VLANIF 103, and VLANIF 104, and configure a default route with the next hop of the address of Router.

    <HUAWEI> system-view [HUAWEI] sysname SwitchB [SwitchB] vlan batch 100 to 104 [SwitchB] interface gigabitethernet 0/0/1 [SwitchB-GigabitEthernet0/0/1] port link-type trunk [SwitchB-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 101 [SwitchB-GigabitEthernet0/0/1] quit [SwitchB] interface gigabitethernet 0/0/2 [SwitchB-GigabitEthernet0/0/2] port link-type trunk [SwitchB-GigabitEthernet0/0/2] port trunk allow-pass vlan 100 102 [SwitchB-GigabitEthernet0/0/2] quit [SwitchB] interface gigabitethernet 0/0/3 [SwitchB-GigabitEthernet0/0/3] port link-type trunk [SwitchB-GigabitEthernet0/0/3] port trunk pvid vlan 103 [SwitchB-GigabitEthernet0/0/3] port trunk allow-pass vlan 103 [SwitchB-GigabitEthernet0/0/3] quit [SwitchB] interface gigabitethernet 0/0/4 [SwitchB-GigabitEthernet0/0/4] port link-type trunk [SwitchB-GigabitEthernet0/0/4] port trunk pvid vlan 104 [SwitchB-GigabitEthernet0/0/4] port trunk allow-pass vlan 104 [SwitchB-GigabitEthernet0/0/4] quit [SwitchB] interface vlanif 102 [SwitchB-Vlanif102] ip address 10.23.102.1 24 [SwitchB-Vlanif102] quit [SwitchB] interface vlanif 103 [SwitchB-Vlanif103] ip address 10.23.103.2 24 [SwitchB-Vlanif103] quit [SwitchB] interface vlanif 104 [SwitchB-Vlanif104] ip address 10.23.104.1 24 [SwitchB-Vlanif104] quit [SwitchB] ip route-static 0.0.0.0 0.0.0.0 10.23.104.2

    # Configure the IP address of GE0/0/1 on Router and a static route to the network segment for STAs.

    <Huawei> system-view [Huawei] sysname Router [Router] interface gigabitethernet 0/0/1 [Router-GigabitEthernet0/0/1] ip address 10.23.104.2 24 [Router-GigabitEthernet0/0/1] quit [Router] ip route-static 10.23.101.0 24 10.23.104.1


  2. Configure a DHCP server to assign IP addresses to STAs.


    # On SwitchB, configure the VLANIF 101 to assign IP addresses to STAs.download?uuid=a29cb3d29b64450388d3dc6ed78e2fccConfigure the DNS server as required. The common methods are as follows:

    [SwitchB] dhcp enable [SwitchB] interface vlanif 101 [SwitchB-Vlanif101] ip address 10.23.101.1 24 [SwitchB-Vlanif101] dhcp select interface [SwitchB-Vlanif101] quit


  • In interface address pool scenarios, run the dhcp server dns-list ip-address &<1-8> command in the VLANIF interface view.

  • In global address pool scenarios, run the dns-list ip-address &<1-8> command in the IP address pool view.

Configure system parameters for the AC.

  1. Perform basic AC configurations.


    # Choose Configuration > Config Wizard > AC. The Basic AC Configuration page is displayed.

    # Set Country/Region based on actual situations. For example, set Country/Region to China. Set System time to Manual and Date and time to PC.

    download?uuid=bbd0153f78304e15bb60bd422a7ee4de

    # Click Next. The Port Configuration page is displayed.


  2. Configure ports.


    # Select GigabitEthernet0/0/1. Expand Batch Modify. Set Interface type to Trunk and add GigabitEthernet0/0/1 to VLAN 100 (management VLAN) and VLAN 102.download?uuid=a29cb3d29b64450388d3dc6ed78e2fcc

    If the AC and AP are directly connected, set the default VLAN of the interface connected to the AP to management VLAN 100.


    download?uuid=5b08dad1ae1649a9b9589dae966fd2de

    # Click Apply. In the dialog box that is displayed, click OK.

    # Click Next. The Network Interconnection Configuration page is displayed.


  3. Configure network interconnection.


    # Click Create under Interface Configuration. The Create Interface Configuration page is displayed.

    # Set the IP address of VLANIF 100 to 10.23.100.1/24.


    download?uuid=70d51f3459074982874be859ae671a5e

    # Click Create under DHCPv4 Address Pool List, select Interface address pool and select VLANIF 100.

    download?uuid=a29cb3d29b64450388d3dc6ed78e2fcc

    Configure the DNS server address as required.

    download?uuid=0e541fbf0506434e9dc855b3fcb9667f

    # Click OK.

    # Set the IP address of VLANIF 102 to 10.23.102.2/24 in the same way.

    # Under Static Route Table, click Create. The Create Static Route Table page is displayed.

    # Set Destination IP to 10.23.103.0Subnet Mask to 24(255.255.255.0), and Next hop address to 10.23.102.1.
    download?uuid=2d834888fc414407a74e87af3bba512f

    # Click OK.

    # Click Next.

    # Click Next. The AC Source Address page is displayed.


  4. Configure the source address for AC.


    # Set AC source address to VLANIF. Click the browse button and select Vlanif100.


    download?uuid=4dca4b5366c14022a6bba0f2f9e17671

    # Click Next. The Confirm Settings page is displayed.


  5. Confirm the configuration.


    # Confirm the configuration and click Continue With AP Online.


Configure APs to go online.

  • AP MAC: 60de-4476-e360

  • AP SN: 210235419610CB002287

  • AP Name: area_1

  • AP Group: ap-group1

  • If you set AP authentication mode to MAC address authentication, the AP's MAC address is mandatory and the AP's SN is optional.

  • If you set AP authentication mode to SN authentication, the AP's SN is mandatory and the AP's MAC address is optional.

  1. Configure APs to go online.


    # Click Batch Import. The Batch Import page is displayed. Click download?uuid=5f9f4ca3eb3e43bb9d5a117a97ab7708 to download an AP template file to your local computer.


    download?uuid=f830c5c27e7741c5a8792bc189cd67a1

    # Fill in the AP template file with AP information according to the following example. To add multiple APs, fill in the file with information of the APs.download?uuid=a29cb3d29b64450388d3dc6ed78e2fcc

    You are advised to export the radio ID, AP channel, frequency bandwidth, and power planned on WLAN Planner to a .csv file, and then enter them in the AP template file. Set the longitude and latitude as required.

    # Click download?uuid=fc0aa8567d5c4ae5a1d0e83d1c34cfac next to Import AP File, select the AP template file, and click Import.

    # On the page that displays the template import result, click OK.

    # Click Next. The Group APs page is displayed.

    # AP group information has been added in the AP template file. Click Next. The Confirm Configurations page is displayed.


  2. Confirm the configuration.


    # Confirm the configuration and click Continue With Wireless Service Configuration.


Configure WLAN services

  1. # Click Create. The Basic Information page is displayed.

  2. # Set the SSID name, forwarding mode, and service VLAN ID.
    download?uuid=e61ae30653bc4ed4b972c57c1d716127

  3. # Click Next. The Security Authentication page is displayed.

  4. # Set Security settings to 802.1x authentication, and configure parameters of the external RADIUS server. download?uuid=c359da8937d14a529002bf9d2eb7a1c3

  5. # Click Next. The Access Control page is displayed.

  6. # Set Binding the AP group to ap-group1.

  7. # Click Finish.

Set the AP channel and power.

  1. Disable automatic channel and power calibration functions of AP radios, and manually configure the AP channel and power.


    download?uuid=a29cb3d29b64450388d3dc6ed78e2fcc

    Automatic channel and power calibration functions are enabled by default. The manual channel and power configurations take effect only when these two functions are disabled.

    # Choose Configuration > AP Config > AP Config > AP Info. The AP List page is displayed.

    # Click the ID of the AP whose channel and power need to be configured. The AP customized settings page is displayed.

    # Click download?uuid=329668f3631a4ac78309fbb64980de23 next to Radio Management. The profiles under Radio Management are displayed.

    # Click Radio 0. On the radio 0 configuration page that is displayed, disable the automatic channel and power calibration functions, and set the channel to 20-MHz channel 6 and transmit power to 127 dBm.

    download?uuid=3a40d110f8064c8a80c589b525adda9c

    # The configuration of Radio 1 is similar to that of Radio0. Disable automatic channel and power calibration functions, and set the AP channel to 20-MHz channel 149 and transmit power to 127 dBm.

    # Click Apply. In the dialog box that is displayed, click OK.


Configure third-party server interconnection parameters.


For the detailed configuration, see the related product documentation.


Verify the configuration.


  • Configuration on the Windows XP operating system:

  • Configuration on the Windows 7 operating system:

  • The WLAN with SSID wlan-net is available for STAs connected to the AP.

  • The wireless PC obtains an IP address after it associates with the WLAN.

  • Use the 802.1X authentication client on a STA and enter the correct user name and password. The STA is authenticated and can access the WLAN. You must configure the client for PEAP authentication.

  1. On the Association tab page of the Wireless network properties dialog box, add SSID wlan-net, set the authentication mode to WPA2, and encryption algorithm to AES.

  2. On the Authentication tab page, set EAP type to PEAP and click Properties. In the Protected EAP Properties dialog box, deselect Validate server certificate and click Configure. In the displayed dialog box, deselect Automatically use my Windows logon name and password and click OK.

  3. Access the Manage wireless networks page, click Add, and select Manually create a network profile. Add SSID wlan-net. Set the authentication mode to WPA2-Enterprise, and encryption algorithm to AES. Click Next.

  4. Click Change connection settings. On the Wireless Network Properties page that is displayed, select the Security tab page and click Settings. In the Protected EAP Properties dialog box, deselect Validate server certificate and click Configure. In the displayed dialog box, deselect Automatically use my Windows logon name and password and click OK.

  5. On the Wireless Network Properties page, click Advanced settings. On the Advanced settings page that is displayed, select Specify authentication mode, set the identity authentication mode to User authentication, and click OK.



https://support.huawei.com/enterprise/en/doc/EDOC1100096321/68acb905/example-for-configuring-8021x-authentication

Hope it can help you.

View more
  • x
  • convention:

  • x
  • convention:

Hi friend!

You can use display station sta-mac to view user name information.

1


Hope to help you!


View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.