![SNR S2940-8G-v2 Configuration Manual Download Page 319](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630319.webp)
SNR S2940-8G-v2 Switch Configuration Guide
802.1x Configuration
45.3
802.1x Application Example
45.3.1
Examples of Guest Vlan Applications
User
Switch
Internet
Update
Server
Authenticator
Server
E1/3
VLAN10
VLAN2
E1/2
E1/6
VLAN5
Figure 45.13: The Network Topology of Guest VLAN
Notes:
in the figures in this session, E2 means Ethernet 1/0/2, E3 means Ethernet 1/0/3 and
E6 means Ethernet 1/0/6.
As showed in the next figure, a switch accesses the network using 802.1x authentication, with
a RADIUS server as its authentication server. Ethernet1/0/2, the port through which the user ac-
cesses the switch belongs to VLAN100; the authentication server is in VLAN2; Update Server, be-
ing in VLAN10, is for the user to download and update supplicant system software; Ethernet1/0/6,
the port used by the switch to access the Internet is in VLAN5.
As illustrated in the up figure, on the switch port Ethernet1/0/2, the 802.1x feature is enabled,
and the VLAN10 is set as the port's Guest VLAN. Before the user gets authenticated or when
the user fails to do so, port Ethernet1/0/2 is added into VLAN10, allowing the user to access the
Update Server.
As illustrated in the up figure, when the users become online after a successful authentication,
the authentication server will assign VLAN5, which makes the user and Ethernet1/0/6 both in
VLAN5, allowing the user to access the Internet.
The following are configuration steps:
# Configure RADIUS server.
Switch(config)#radius-server authentication host 10.1.1.3
Switch(config)#radius-server accounting host 10.1.1.3
Switch(config)#radius-server key test
Switch(config)#aaa enable
Switch(config)#aaa-accounting enable
319
Summary of Contents for S2940-8G-v2
Page 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Page 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Page 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Page 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Page 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Page 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Page 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Page 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Page 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Page 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Page 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Page 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...