Your values Fill in your own to see them in every example
The Server, or Primary server, the hub shows when you register your RADIUS server at a site.
That doesn’t look right yet. For example: 203.0.113.10
The Restricted VLAN for headless devices on the wired network’s settings in the hub.
That doesn’t look right yet. For example: 30
RADIUS shared secret stays a marked placeholder here, never filled in: the hub gives you secrets, and only your server should hold them.
Saved in this browser only, for every page of these docs. Nothing you type leaves this page.
Comware 7 runs 802.1X and MAC authentication on the same port. By default its MAC authentication sends PAP with the MAC, in lowercase without hyphens, as both user name and password, which Trustaige accepts. Two defaults need changing: 802.1X ends EAP on the switch (CHAP) until told to relay it, and a domain must authorize as well as authenticate for VLANs to apply.
Read Run a wired office on Trustaige RADIUS first for the hub’s side. Register the switch with the make Other.
Before you start
| You need | Why |
|---|---|
| An H3C switch on Comware 7 | The commands below are Comware 7’s. Check each with ? on your model. |
| The VLANs Trustaige will name, on the switch | vlan <your-restricted-vlan>, and the wired network’s VLAN if you set one. |
RADIUS scheme and domain
radius scheme trustaige
primary authentication <your-radius-server> 1812 key simple <your-radius-secret>
primary accounting <your-radius-server> 1813 key simple <your-radius-secret>
user-name-format without-domain
nas-ip 10.0.0.2
quit
domain trustaige
authentication lan-access radius-scheme trustaige
authorization lan-access radius-scheme trustaige
accounting lan-access radius-scheme trustaige
quit
domain default enable trustaige
- Use the hub’s Port for authentication and the port after it for
accounting. Add the secondary server with
secondary authenticationandsecondary accounting. authorization lan-accesslets the switch apply the VLAN Trustaige names.nas-ipis the switch address Trustaige hears from: the address you registered.
radius scheme trustaige
primary authentication <your-radius-server> 1812 key simple <your-radius-secret>
primary accounting <your-radius-server> 1813 key simple <your-radius-secret>
user-name-format without-domain
nas-ip 10.0.0.2
quit
domain trustaige
authentication lan-access radius-scheme trustaige
authorization lan-access radius-scheme trustaige
accounting lan-access radius-scheme trustaige
quit
domain default enable trustaige802.1X and MAC authentication
dot1x
dot1x authentication-method eap
mac-authentication
mac-authentication domain trustaige
dot1x authentication-method eaprelays EAP to Trustaige. The default,chap, ends it on the switch, and managed computers can’t join.- Keep the default MAC user name format,
mac-address, and its default PAP method;chapworks as well. Don’t add thepasswordkeyword tomac-authentication user-name-format, and don’t use thefixedformat: both give every device one shared password, which Trustaige refuses.
dot1x
dot1x authentication-method eap
mac-authentication
mac-authentication domain trustaigeAccess ports
interface GigabitEthernet1/0/10
port access vlan 10
dot1x
dot1x port-method macbased
mac-authentication
mac-authentication timer auth-delay 30
dot1x port-method macbased, the default, decides each device on the port separately, such as a PC behind an IP phone.mac-authentication timer auth-delay 30gives 802.1X 30 seconds before the switch tries the MAC.
Comware applies the VLAN Trustaige names, and with Termination-Action set to
RADIUS-Request it asks again at the Session-Timeout instead of its own
re-authentication timer.
interface GigabitEthernet1/0/10
port access vlan 10
dot1x
dot1x port-method macbased
mac-authentication
mac-authentication timer auth-delay 30Disconnects
radius dynamic-author server
client ip 198.51.100.7 key simple <your-radius-secret>
Comware takes Disconnect-Requests on UDP 3799, the port the hub uses for
Other. Add one client line for each address the hub lists when you
choose Disconnects on UDP 3799 beside the switch, in place of
198.51.100.7.
radius dynamic-author server
client ip 198.51.100.7 key simple <your-radius-secret>Check it works
-
Plug a managed PC into the port, then a printer.
-
On the switch:
display dot1x connection display mac-authentication connectionEach shows the device, its VLAN and the session timeout Trustaige sent.
-
In the hub, Recent joins shows each decision, and the activity names the port.
-
Block the PC in the hub; its session ends within seconds.
Troubleshooting
Managed PCs are refused, and the activity says “The device asked for a sign-in method other than a certificate.”
802.1X is ending EAP on the switch. Set dot1x authentication-method eap.
Printers are refused with the same message
MAC authentication sends a shared password. Remove the password keyword or
the fixed format from mac-authentication user-name-format.
Activity says “The access point does not sign its requests. Turn on Message-Authenticator in its RADIUS settings.”
The switch sent a MAC authentication request without Message-Authenticator.
If your release offers auth-attribute message-authenticator force-mode request in the RADIUS scheme, set it; otherwise ask H3C which release adds
it.
What hasn’t been confirmed yet
- Whether Comware switches add Message-Authenticator to MAC authentication
requests isn’t documented.
auth-attribute message-authenticator force-modeappears in H3C’s documentation for its routers only, and H3C has published no Blast-RADIUS notice that could be found. - The commands come from H3C’s Comware 7 security guides for the S5590 series; other models may differ. Trustaige’s lab hasn’t yet recorded an H3C switch.