TTEP.CN > 手机 >

Cisco路由器支持的AAA计费


Cisco路由器支持的AAA计费

第一步:基本接口的配置
Router(config)#host Rack244R1
Rack244R1(config)#int e0/0
Rack244R1(config-if)#ip add 12.0.0.1 255.255.255.0
Rack244R1(config-if)#no sh
Rack244R1(config-if)#int e1/0
Rack244R1(config-if)#ip add 172.16.18.11 255.255.0.0
Rack244R1(config-if)#no sh
Router(config)#host Rack244R2
Rack244R2(config)#int e0/0
Rack244R2(config-if)#ip add 12.0.0.2 255.255.255.0c
Rack244R2(config-if)#no sh
www.ttep.cn
第二步:配置R1的AAA计费
Rack244R1#conf t
Rack244R1(config)#aaa authentication login default group tacacs+
Rack244R1(config)#aaa accounting exec telnet start-stop group tacacs+
Rack244R1(config)#aaa accounting commands 15 telnet-cmd start-stop group tacacs+
Rack244R1(config)#tacacs-server host 172.16.18.203 key cisco
Rack244R1(config)#li vty 0 4
Rack244R1(config-line)#accounting exec telnet
Rack244R1(config-line)#accounting exec telnet
Rack244R1(config-line)#accounting commands 15 telnet-cmd
Rack244R1(config-line)#
www.ttep.cn
第三步:从R2上telnet R1
Rack244R1#telnet 12.0.0.1
Trying 12.0.0.1 ... Open
Username: cisco
Password:

Rack244R1>cisco
Translating "cisco"
Translating "cisco"
% Unknown command or computer name, or unable to find computer address
Rack244R1>en
Password:
Rack244R1#conf t

第四步:输入一些命令以便产生计费信息
Rack244R1(config)#ip route 0.0.0.0 0.0.0.0 12.0.0.2
Rack244R1(config)#router rip
Rack244R1(config-router)#ver 2
Rack244R1(config-router)#net 12.0.0.0
Rack244R1(config-router)#exit
Rack244R1(config)#router ospf 94
Rack244R1(config-router)#net 0.0.0.0 0.0.0.0 a 0
Rack244R1(config-router)#exit
Rack244R1(config)#
第五步:可以看到已经产生计费信息了.



最近发表
赞助商链接