[right]براي اين که کاربرهاي که با مودم کانکت کردن و مدت زيادي هم هست خط رو اشغال کردن و( کار هم نميکنن) با چه دستوری روترخودش انها رو بعد از یک زمان مشخص دیسکانکت کنه [/right]
Printable View
[right]براي اين که کاربرهاي که با مودم کانکت کردن و مدت زيادي هم هست خط رو اشغال کردن و( کار هم نميکنن) با چه دستوری روترخودش انها رو بعد از یک زمان مشخص دیسکانکت کنه [/right]
[QUOTE=keleshter][right]براي اين که کاربرهاي که با مودم کانکت کردن و مدت زيادي هم هست خط رو اشغال کردن و( کار هم نميکنن) با چه دستوری روترخودش انها رو بعد از یک زمان مشخص دیسکانکت کنه [/right]
[/QUOTE]You can use:
line 1 8
session-timeout 1000
change the lines to suite your config, like if you have E1 it well be line 1 30 . also under your Group-Async you should also put the same time (in seconds)
dialer idle-timeout 1000
Good Luck
[right]با سلام [/right]
[right]دوست عزیز ممنون از کمک شما اما با این تنظیمات که گفتید الان کاربر چه دیتایی دریافت یا ارسال بکند یا نکند بدون استثنا کاربر رو بعد از یک زمان مشخص ارتباط اش رو قطع میکنه البته من روی روتر 1 ماژول 16 ای ام دارم[/right]
[right] من میخوام فقط زمانی که کاریر کار نمی کنه قطع بشه [/right]
[QUOTE=keleshter][right]با سلام [/right]
[right]دوست عزیز ممنون از کمک شما اما با این تنظیمات که گفتید الان کاربر چه دیتایی دریافت یا ارسال بکند یا نکند بدون استثنا کاربر رو بعد از یک زمان مشخص ارتباط اش رو قطع میکنه البته من روی روتر 1 ماژول 16 ای ام دارم[/right]
[right] من میخوام فقط زمانی که کاریر کار نمی کنه قطع بشه [/right]
[/QUOTE]
sorry from misunderstanding,
conf t
int Group-Async1 (or your group-async number)
dialer idle-timeout (time )
end
and remove the session timeout under line 1 16
Good Luck
[right]دوست عزیز سلام [/right]
[right] [/right]
[right]باز هم تغییراتی که گفتید را اعمال کردم اما هیچ فرقی با دفعه قبل نکرد[/right]
[right] [/right]
[right] [/right]
[QUOTE=keleshter][right]دوست عزیز سلام [/right]
[right]باز هم تغییراتی که گفتید را اعمال کردم اما هیچ فرقی با دفعه قبل نکرد[/right]
[/QUOTE]
paste your config here, lets see what you got?
[right]دفعه اول که گفتید این تنظیمات روانجام دادم[/right]
interface Group-Async1
ip unnumbered FastEthernet0/0
encapsulation ppp
ip tcp header-compression
no ip mroute-cache
ip policy route-map nat
load-interval 60
dialer in-band
dialer idle-timeout 1800
async mode interactive
peer default ip address pool cis
no fair-queue
ppp max-bad-auth 3
ppp authentication pap
group-range 33 46
line 33 48
session-timeout 1800
modem InOut
modem autoconfigure discovery
transport input all
autoselect during-login
autoselect ppp
[right]دفعه دوم که گفتید این تنظیمات روانجام دادم[/right]
interface Group-Async1
ip unnumbered FastEthernet0/0
encapsulation ppp
ip tcp header-compression
no ip mroute-cache
ip policy route-map nat
load-interval 60
dialer in-band
dialer idle-timeout 1800
async mode interactive
peer default ip address pool cis
no fair-queue
ppp max-bad-auth 3
ppp authentication pap
group-range 33 46
line 33 48
modem InOut
modem autoconfigure discovery
transport input all
autoselect during-login
autoselect ppp
Your settings are correct and should work, remains what IOS you are using?
Can you check the IOS you are using? you can paste your sh ver here please!
check this link and you see that the command is correct [url]http://www.cisco.com/warp/public/131/8.html[/url]
Good Luck
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.3(6), RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Wed 11-Feb-04 19:24 by kellythw
Image text-base: 0x80008098, data-base: 0x80C83E28
ROM: System Bootstrap, Version 12.2(7r) [cmong 7r], RELEASE SOFTWARE (fc1)
Router2610 uptime is 2 days, 4 hours, 47 minutes
System returned to ROM by power-on
System image file is "flash:c2600-i-mz.123-6.bin"
cisco 2610XM (MPC860P) processor (revision 0x100) with 28672K/4096K bytes of mem
ory.
Processor board ID JAE071902EH (4033037255)
M860 processor: part number 5, mask 2
Bridging software.
X.25 software, Version 3.0.0.
1 FastEthernet/IEEE 802.3 interface(s)
2 Serial(sync/async) network interface(s)
16 terminal line(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)
Configuration register is 0x2102