
[Huawei]
aaa
[Huawei-aaa]
authentication-scheme 1
[Huawei-aaa-authen-1]
authentication-mode radius
[Huawei-aaa-authen-1]
quit
# Configure accounting scheme 1 and set the accounting method to RADIUS accounting.
[Huawei-aaa]
accounting-scheme 1
[Huawei-aaa-accounting-1]
accounting-mode radius
[Huawei-aaa-accounting-1]
quit
Step 4
Configure a domain
huawei
and apply authentication scheme 1, accounting scheme 1, and
RADIUS server template
shiva
to the domain.
[Huawei-aaa]
domain huawei
[Huawei-aaa-domain-huawei]
authentication-scheme 1
[Huawei-aaa-domain-huawei]
accounting-scheme 1
[Huawei-aaa-domain-huawei]
radius-server shiva
Step 5
Verify the configuration.
Run the
display radius-server configuration template
command on RouterB. The command
output shows that the configuration of the RADIUS server template meets the requirements.
<Huawei>
display radius-server configuration template shiva
-------------------------------------------------------------------
Server-template-name : shiva
Protocol-version : standard
Traffic-unit : B
Shared-secret-key : 3MQ*TZ,O3KCQ=^Q`MAF4<1!!
Timeout-interval(in second) : 5
Primary-authentication-server : 129.7.66.66 :1812 :-
LoopBack:NULL Source-IP:0.0.0.0
Primary-accounting-server : 129.7.66.66 :1813 :-
LoopBack:NULL Source-IP:0.0.0.0
Secondary-authentication-server : 129.7.66.67 :1812 :-
LoopBack:NULL Source-IP:0.0.0.0
Secondary-accounting-server : 129.7.66.67 :1813 :-
LoopBack:NULL Source-IP:0.0.0.0
Retransmission : 2
Domain-included : YES
NAS-IP-Address : 0.0.0.0
-------------------------------------------------------------------
----End
Configuration Files
#
sysname Huawei
#
radius-server template shiva
radius-server shared-key cipher 3MQ*TZ,O3KCQ=^Q`MAF4<1!!
radius-server authentication 129.7.66.66 1812
radius-server authentication 129.7.66.67 1812 secondary
radius-server accounting 129.7.66.66 1813
radius-server accounting 129.7.66.67 1813 secondary
radius-server retransmit 2
#
aaa
authentication-scheme default
authentication-scheme 1
authentication-mode radius
authorization-scheme default
accounting-scheme default
accounting-scheme 1
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
1 AAA Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
30