Table 336: Components of the MAC RADIUS Authentication Configuration Topology
(continued)
Settings
Property
ge-0/0/19
, MAC address 00040ffdacfe
ge-0/0/20
, MAC address 0004aecd235f
Connections to printers (no PoE required)
Connected to the switch on interface
ge-0/0/10
RADIUS server
The printer with the MAC address 00040ffdacfe is connected to access interface
ge-0/0/19
. A second printer with the MAC address 0004aecd235f is connected to access
interface
ge-0/0/20
. In this example, both interfaces are configured for MAC RADIUS
authentication on the switch, and the MAC addresses (without colons) of both printers
are configured on the RADIUS server. Interface
ge-0/0/20
is configured to eliminate the
normal delay while the switch attempts 802.1X authentication; MAC RADIUS
authentication is enabled and 802.1X authentication is disabled using the
mac-radius
restrict
option.
Configuration
To configure MAC RADIUS authentication on the switch, perform these tasks:
CLI Quick
Configuration
To quickly configure MAC RADIUS authentication, copy the following commands and
paste them into the switch terminal window:
[edit]
set protocols dot1x authenticator interface ge-0/0/19 mac-radius
set protocols dot1x authenticator interface ge-0/0/20 mac-radius restrict
NOTE:
You must also configure the two MAC addresses as usernames and
passwords on the RADIUS server, as is done in step 2 of the Step-by-Step
Procedure.
Step-by-Step
Procedure
Configure MAC RADIUS authentication on the switch and on the RADIUS server:
On the switch, configure the interfaces to which the printers are attached for MAC
RADIUS authentication, and configure the
restrict
option on interface
ge-0/0/20
,
so that only MAC RADIUS authentication is used:
1.
[edit]
user@switch#
set protocols dot1x authenticator interface ge-0/0/19
mac-radius
user@switch#
set protocols dot1x authenticator interface ge-0/0/20 mac-radius
restrict
2.
On the RADIUS server, configure the MAC addresses
00040ffdacfe
and
0004aecd235f
as usernames and passwords:
[root@freeradius]#
edit /etc/raddb
vi users
00040ffdacfe Auth-type:=EAP, User-Password = "00040ffdacfe"
0004aecd235f Auth-type:=EAP, User-Password = "0004aecd235f"
Copyright © 2010, Juniper Networks, Inc.
2566
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...