![SNR S2940-8G-v2 Configuration Manual Download Page 353](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630353.webp)
SNR S2940-8G-v2 Switch Configuration Guide
MAB Configuration
function.
Ethernet 1/3 is an access port, connects to the printer and enables MAB function.
Ethernet 1/4 is a trunk port, connects to Switch2.
Ethernet 1/4 is a trunk port of Switch2, connects to Switch1.
Ethernet 1/1 is an access port, belongs to vlan8, connects to update server to download and
upgrade the client software.
Ethernet 1/2 is an access port, belongs to vlan9, connects to radius server which configure
auto vlan as vlan10.
Ethernet 1/3 is an access port, belongs to vlan10, connects to external internet resources.
To implement this application, the configuration is as follows:
Switch1 configuration:
(1) Enable 802.1x and MAB authentication function globally, configure username and
password of MAB authentication and radius-server address
Switch(config)#dot1x enable
Switch(config)#mac-authentication-bypass enable
Switch(config)#mac-authentication-bypass username-format fixed
username mabuser password mabpwd
Switch(config)#vlan 8-10
Switch(config)#interface vlan 9
Switch(config-if-vlan9)ip address 192.168.61.9 255.255.255.0
Switch(config-if-vlan9)exit
Switch(config)#radius-server authentication host 192.168.61.10
Switch(config)#radius-server accounting host 192.168.61.10
Switch(config)#radius-server key test
Switch(config)#aaa enable
Switch(config)#aaa-accounting enable
(2) Enable the authentication function of each port
Switch(config)#interface ethernet 1/1
Switch(config-if-ethernet1/1)#dot1x enable
Switch(config-if-ethernet1/1)#dot1x port-method portbased
Switch(config-if-ethernet1/1)#dot1x guest-vlan 8
Switch(config-if-ethernet1/1)#exit
Switch(config)#interface ethernet 1/2
Switch(config-if-ethernet1/2)#switchport mode hybrid
Switch(config-if-ethernet1/2)#switchport hybrid native vlan 1
Switch(config-if-ethernet1/2)#switchport hybrid allowed vlan 1;8;10 untag
Switch(config-if-ethernet1/2)#mac-authentication-bypass enable
Switch(config-if-ethernet1/2)#mac-authentication-bypass enable guest-vlan 8
Switch(config-if-ethernet1/2)#exit
Switch(config)#interface ethernet 1/3
Switch(config-if-ethernet1/3)#switchport mode access
Switch(config-if-ethernet1/3)#mac-authentication-bypass enable
Switch(config-if-ethernet1/3)#exit
Switch(config)#interface ethernet 1/4
Switch(config-if-ethernet1/4)#switchport mode trunk
353
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...