Huawei Quidway S9300 Configuration Manual page 104

Terabit routing switch
Table of Contents

Advertisement

2 NAC Configuration
Procedure
Step 1 Set the IP address of the Layer 3 interface connected to the user.
<Quidway> system-view
[Quidway] vlan 10
[Quidway-vlan10] quit
[Quidway] interface gigabitethernet1/0/0
[Quidway-GigabitEthernet1/0/0] port link-type access
[Quidway-GigabitEthernet1/0/0] port default vlan 10
[Quidway-GigabitEthernet1/0/0] quit
[Quidway] interface vlanif 10
[Quidway-Vlanif10] ip address 192.168.1.10 24
[Quidway-Vlanif10] quit
Step 2 Configure a RADIUS server template.
# Configure a RADIUS server template rd1.
[Quidway] radius-server template rd1
# Set the IP address and port number of the primary RADIUS authentication server.
[Quidway-radius-rd1] radius-server authentication 192.168.2.30 1812
# Set the key and retransmission count of the RADIUS server.
[Quidway-radius-rd1] radius-server shared-key cipher hello
[Quidway-radius-rd1] radius-server retransmit 2
[Quidway-radius-rd1] quit
Step 3 Create an authentication scheme web1 and set the authentication method to RADIUS
authentication.
[Quidway] aaa
[Quidway-aaa] authentication-scheme web1
[Quidway-aaa-authen-1] authentication-mode radius
[Quidway-aaa-authen-1] quit
Step 4 Create a domain isp1 and bind the authentication scheme and RADIUS server template to the
domain.
[Quidway-aaa] domain isp
[Quidway-aaa-domain-isp1] authentication-scheme web1
[Quidway-aaa-domain-isp1] radius-server rd1
Step 5 Configure the Web authentication function.
# Set the IP address and URL of the Web authentication server
[Quidway] web-auth-serer isp1 192.168.2.20 url www.isp1.com
# Bind the Web authentication server to the Layer 3 interface.
[Quidway] interface vlanif 10
[Quidway-Vlanif10] web-auth-server isp1
[Quidway-Vlanif10] quit
# Configure a free rule to redirect the user to the Web authentication page when the user starts
the Web browser.
[Quidway] portal free-rule 20 destination ip 192.168.2.20 mask 24
Step 6 Verify the configuration.
2-34
NOTE
In this example, only the configuration of the S9300 is provided, and the configurations of the Web server
and RADIUS server are omitted.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Security
source any
Issue 06 (2010–01–08)

Advertisement

Table of Contents
loading

Table of Contents