Example 810 Sample Radius Configuration

NAS(config)#aaa new-model

NAS(config)#radius-server host 192.168.100.15 NAS(config)#radius-server key ladyhawk NAS(config)#username Elvis password k0nj0

NAS(config)#aaa authentication ppp testl radius local NAS(config)#aaa authorization network default group radius local NAS(config)#aaa accounting network default start-stop group radius NAS(config)#aaa authentication login admins local NAS(config)#aaa authorization exec default local NAS(config)#line 1 8

NAS(config-line)#login authentication admins NAS(config)#interface group-async 1 NAS(config-line)#ppp authentication pap testl

The last four lines in this example RADIUS AAA configuration mean the following:

• The aaa authorization network radius local command is used to assign an address and other network parameters to the RADIUS user.

• The aaa accounting network start-stop radius command tracks PPP usage.

• The aaa authentication login admins local command defines another method list, admins, for login authentication.

• The login authentication admins command applies the admins method list for login authentication from lines 1 to 8.

0 0

Post a comment