分享
 
 
 

Radius学习资料

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

CSU [ CiscoSecure for Unix ]

# ./ViewProfile -p 9900 -u async_clientUser Profile Informationuser = async_client{profile_id = 110profile_cycle = 2radius=Cisco {check_items= {2=cisco

!--- Password(2) is "cisco"}reply_attributes= {6=2

!--- Service-Type(6) is Framed (2)7=1

!--- Framed-Protocol(7) is PPP (1)} }}

# ./ViewProfile -p 9900 -u isdn_user

User Profile Information

user = isdn_user{

profile_id = 24

profile_cycle = 4

radius=Cisco {

check_items= {

2=cisco

! -- Password(2) is "cisco"

}

reply_attributes= {

6=2

! -- Service-Type(6) is Framed (2)

7=1

! -- Framed-Protocol(7) is PPP (1)

}

}

}

Router

maui-nas-01#show running-config

Building configuration...

Current configuration:

!

version 12.0

service timestamps debug datetime msec

service timestamps log datetime msec

service password-encryption

!

hostname maui-nas-01

!

aaa new-model

!--- Initiates the AAA access control system.

!--- This command immediately locks down login and PPP authentication.

aaa authentication login default group radius local

!--- Exec login (for the list default) is authenticated using methods

!--- radius then local. The router uses RADIUS for authentication at the

!--- login(exec) prompt. If RADIUS returns an error, the user is authenticated

!--- using the local database.

aaa authentication login NO_AUTHEN none

!--- Exec login (for the list NO_AUTHEN) has authentication method none

!--- (no authentication). Interfaces to which this list is applied will not have

!--- authentication enabled. Refer to the console port (line con 0) configuration.

aaa authentication ppp default if-needed group radius local

!--- PPP authentication (for the list default) uses methods radius then local.

!--- The if-needed keyword automatically permits ppp for users that have

!--- successfully authenticated using exec mode. If the EXEC facility has

!--- authenticated the user, RADIUS authentication for PPP is not performed.

!----This is necessary for clients that use terminal window after dial.

aaa authorization network default group radius local

!--- Authorization of network services (PPP services) for the list default uses

!--- methods radius then local. This is neccessary if you use RADIUS for the

!--- client IP address, Access List assignment and so on.

enable secret 5

!

username admin password 7

!--- This username allows for access to the router in situations where

!--- connectivity to the RADIUS server is lost. This is because the AAA

!--- configuration for exec login has the alternate method local.

spe 2/0 2/7

firmware location system:/ucode/mica_port_firmware

!

resource-pool disable

!

ip subnet-zero

no ip finger

!

isdn switch-type primary-ni

!--- Switch type is Primary NI-2.

isdn voice-call-failure 0

mta receive maximum-recipients 0

!

!

controller T1 0

!--- T1 0 controller configuration.

framing esf

clock source line primary

linecode b8zs

pri-group timeslots 1-24

!

controller T1 1

!--- T1 1 is unused.

clock source line secondary 1

!

controller T1 2

!--- T1 1 is unused.

!

controller T1 3

!--- T1 1 is unused.

!

interface Ethernet0

ip address 172.22.53.141 255.255.255.0

no ip directed-broadcast

!

interface Serial0:23

!--- D-channel configuration for T1 0.

no ip address

no ip directed-broadcast

encapsulation ppp

dialer pool-member 23

!--- Assign Serial0:23 as member of dialer pool 23.

!--- Dialer pool 23 is specified in interface Dialer 1.

!--- Interface Dialer 1 will terminate the ISDN calls.

isdn switch-type primary-ni

isdn incoming-voice modem

!--- Switch incoming analog calls to the internal digital modems.

no cdp enable

!

interface FastEthernet0

no ip address

no ip directed-broadcast

shutdown

duplex auto

speed auto

!

interface Group-Async0

!--- Async Group Interface for the modems.

ip unnumbered Ethernet0

!--- Unnumbered to the ethernet interface.

no ip directed-broadcast

encapsulation ppp

async mode interactive

!--- Configures interactive mode on the asynchronous interfaces.

!--- This allows users to dial in and get to a shell or PPP session on

!--- that line. If you want incoming users to only connect using PPP configure

!--- async mode dedicated instead.

peer default ip address pool ASYNC

!--- Use the ip pool named "ASYNC" to assign ip address for incoming connections.

ppp authentication chap

group-range 1 48

!--- Lines(modems) 1 through 48 are in this group async interface.

!

interface Dialer1

!--- Dialer1 will terminate ISDN calls.

ip unnumbered Ethernet0

no ip directed-broadcast

encapsulation ppp

dialer pool 23

!--- Dialer 1 uses dialer pool 23. Interface Serial0:23 is a member of this pool.

peer default ip address pool ISDN

!--- Use the ip pool named "ISDN" to assign ip address for incoming connections.

no cdp enable

ppp authentication chap

!

ip local pool ISDN 172.22.53.142 172.22.53.145

!--- IP address pool named "ISDN".

!--- This pool will be assigned to connections on interface Dialer 1.

ip local pool ASYNC 172.22.53.146 172.22.53.149

!--- IP address pool named "ASYNC".

!--- This pool will be assigned to incoming connections on Group-Async 0.

!--- Note: This address pool only has 4 addresses and is not sufficient to

!--- support all 48 modem lines. Configure your IP pool with the address range

!--- to support all connections.

ip classless

no ip http server

!

no cdp run

!

radius-server host 172.22.53.201 auth-port 1645 acct-port 1646 key cisco

!--- Radius-server host IP address and encryption key.

!--- The encryption key must match the onbe configured on the RADIUS server.

!

line con 0

exec-timeout 0 0

login authentication NO_AUTHEN

!--- Specifies that the AAA list name assigned to the console is NO_AUTHEN. From

!--- the AAA configuration above, the list NO_AUTHEN does not use authentication.

transport input none

line 1 48

autoselect during-login

!--- Displays the usernameassword prompt after modems connect.

!--- Without this the user must press enter to receive a prompt.

autoselect ppp

!--- When the NAS detects incoming PPP packets, the PPP session will be launched.

modem InOut

transport preferred none

transport input all

transport output none

line aux 0

line vty 0 4

!

end

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有