آقا اول از همه چون مودمهات آنالوگ هستن باید ert بزنی تا کسی بتونه connect بشه و صدای شیشششششششششششششششش بیاد!!!!
ببین اولین قدم تعریف aaa توی روتر هست.
aaa در حقیقت مخفف (تصدیق) authentication و(اختیار) Authorization و (حسابداری) accounting می باشد.
Cisco یه تعبیر با حال برای این aaa داره و او ن اینه!!!
?Authentication—Who are you
?Authorization—What can you do
?Accounting—What did you do
حالا اینارو ولش...
رضا جان دستورات این aaa چندین بار توی فروم نوشته یه بار دیگه هم من اینجا مینویسم.
aaa new-model
!
!
aaa authentication login no-tac line
aaa authentication ppp default group tacacs+ local
+aaa authorization network default group tacacs
aaa accounting update newinfo
+aaa accounting network default start-stop group tacacs
aaa session-id common
حالا اینارو هم اضاف کن
ip subnet-zero
ip rcmd rsh-enable
ip rcmd remote-host system <AAA SERVER IP> system enable
البته به جای <AAA SERVER IP> آی پی کا مپیوتری که nttac روی اون نصب هست رو بنویس.
بعد میایی یه group async تعریف می کنی اینجوری
interface Group-Async1
ip unnumbered FastEthernet0/0
encapsulation ppp
ip tcp header-compression passive
no ip mroute-cache
async mode interactive
peer default ip address pool dial
no fair-queue
ppp authentication pap chap
group-range 33 48
حالا واسه اینکه یوزرات بتونن ip بگیرند نیاز به یه استخر ip داری به عنوان مثال
ip local pool dial a.b.c.d A.B.C.D
البته a.b.c.d A.B.C.D رو براساس رنج ip های شبکه خودت بده.
Ip RAS رو هم وارد کن
<tacacs-server host <AAA SERVER IP
حالا وقته اینه که مودم ها و خطوطت رو تنظیم کنی
line 33 48
login authentication no-tac
modem InOut
modem autoconfigure discovery
transport preferred none
transport input all
transport output none
autoselect during-login
autoselect ppp
stopbits 1
flowcontrol hardware
بعدشم تمامممممممم :blink:
هر کدوم از کامندها رو اگه متوجه نمیشی یه چرا بزار واست توضیح بدم .