Appearance
H3C
How to connect an H3C wireless access controller (Comware) to Kiwire with remote portal authentication and RADIUS.
| Device type in Kiwire | H3C |
| Redirect URL | https://<kiwire-host>/login/h3c |
| RADIUS | auth 1812 / acct 1813 (UDP) |
| Identity must equal | the nasid value in the redirect and the AC's RADIUS NAS-Identifier (make them the same) |
| Disconnect / live changes (CoA) | yes, port 3799 (dynamic authorization on the AC) |
| Data caps | time limits only (Session-Timeout) |
How the login works
The AC redirects the guest to Kiwire with the guest's MAC and IP, the AC's address and a NAS ID. After the portal, the guest's browser hands the login back to the AC at http://<AC-IP>/portal/httplogin, and the AC authenticates the guest against Kiwire over RADIUS. So the guest must be able to reach the AC on that address over HTTP.
Before you start
From Kiwire:
- the RADIUS server address shown in the Setup Guide checklist ("Before you add your controller" › "RADIUS Authentication & Accounting");
- a shared secret of at most 64 characters;
<kiwire-host>.
On the AC: CLI access, the guest service template, and the AC address guests can reach (<AC-IP>).
On the controller
Menu names and commands vary between firmware versions; the values are what matter. The commands below follow H3C's remote portal configuration examples.
- RADIUS schemeSet the NAS-Identifier the AC sends to a fixed name, for example
radius scheme kiwire primary authentication <radius-server-ip> 1812 primary accounting <radius-server-ip> 1813 key authentication simple <shared-secret> key accounting simple <shared-secret> user-name-format without-domainsite1-h3c(on most firmware this is thenas-idsetting on the service template or in an AAA NAS-ID profile — the exact command varies; check your AC's command reference). - ISP domain
domain kiwire authentication portal radius-scheme kiwire authorization portal radius-scheme kiwire accounting portal radius-scheme kiwire - Portal web server — the redirect, with the parameters Kiwire reads:If
portal web-server kiwire url https://<kiwire-host>/login/h3c url-parameter usermac source-mac url-parameter wlanuserip source-address url-parameter nasid nas-id url-parameter acip value <AC-IP>nas-idis not available as a parameter source on your firmware, useurl-parameter nasid value site1-h3cwith the same fixed name as step 1. - Walled garden (portal free rules): allow DNS and
<kiwire-host>, plusfonts.googleapis.com,fonts.gstatic.comand anything your portal design loads — for exampleportal free-rule 1 destination host-name <kiwire-host>and free rules for UDP/TCP 53. See Walled garden and redirect. - Service template
wlan service-template <guest-template> portal enable method direct portal domain kiwire portal apply web-server kiwire - HTTP login on the AC. The AC must accept the portal login at
http://<AC-IP>/portal/httplogin. How this is enabled differs between AC models and firmware versions — ask Synchroweb for an H3C reference configuration for your model. - CoA (optional). Enable RADIUS dynamic authorization on the AC (
radius dynamic-author server) with Kiwire as a client and key<shared-secret>. Changes come from the Kiwire application server, not the RADIUS address — ask Synchroweb for it.
In Kiwire
- System › Device Controller › add:
- Vendor: H3C.
- Identity: the NAS ID from step 1 (for example
site1-h3c) — the same value arrives asnasidin the redirect and as NAS-Identifier in RADIUS, so one record covers both. - Shared Secret Key:
<shared-secret>. - Advanced Configuration › Network Configuration: IP Address = the AC address, COA Port = 3799. If the two values differ on your AC, you need a record for each; see Identity and virtual NAS.
- Check the redirect parameters with Redirect and login config: Kiwire reads
usermac,wlanuserip,acipandnasid. - Add a zone rule and journey: Controllers and zones, Portal designer.
Test it
- Portals › Troubleshoot › Controller Test › Start Capture, connect a phone, and check that
usermac,wlanuserip,acipandnasidarrive and the controller shows as registered. - Log in as a real guest; the phone should go online after the page hands back to the AC.
- Reporting › Login › Active Session lists the guest.
Limits to know
- After login the AC sends the guest to a standard search page (Google), not the page they first asked for.
- H3C has no data-cap attribute in Kiwire: profile quotas are enforced by time only.
- The
h3c-cloudentry you may see listed is not covered by this guide; use/login/h3c. - If the AC sent RADIUS requests before its record existed in Kiwire, the first logins can still be refused for up to an hour; see Allow up to an hour for a new controller.