سلام
میتونین به این آدرس برین شاید به دردتون بخوره
http://www.cisco.com/en/US/tech/tk80...80093c1b.shtml
Access Server Configuration
Current configuration:!version 12.1service timestamps debug datetime msecservice timestamps log uptime msecno service password-encryption!hostname lala!logging rate-limit console 10 except errors!username testuser callback-dialstring 6036 password 0 test!-- Access server calls back testuser at phone number 6036!-- The callback parameters can also be configured on a RADIUS/TACACS+ server.!spe 1/0 1/9firmware location system:/ucode/mica_port_firmwarespe 2/0 2/23firmware location system:/ucode/microcom_firmware!resource-pool disable!modem-pool ModemPool8210!-- Modem pool for calls to a specific phone numberpool-range 1-40!-- The range of the modems in the pool!-- Modems 1 through 40 are included in this poolcalled-number 8210 max-conn 40!-- Specifies the DNIS to be used for this modem pool!-- Incoming calls for phone number 8210 are assigned to this pool!modem-pool ModemPool8211pool-range 41-60,61-84!-- The range of the modems in the pool!-- Modems 41 through 84 are included in this poolcalled-number 8211 max-conn 44!-- Incoming calls for phone number 8211 are assigned to this pool!ip subnet-zerono ip finger!isdn switch-type primary-net5chat-script mod ABORT ERROR ABORT BUSY "" "AT" OK "ATDT \T" TIMEOUT 30 CONNECT \c!-- Chat script for dialout!controller E1 0!-- DNIS number for this E1 is 8210clock source line primarypri-group timeslots 1-31!controller E1 1!-- DNIS number for this E1 is 8211clock source line secondary 1pri-group timeslots 1-31!controller E1 2!controller E1 3!!interface Ethernet0ip address 10.200.20.22 255.255.255.0!interface Serial0:15!-- D-channel for E1 0!-- DNIS number for this PRI is 8210description PRI 8210no ip addressencapsulation pppisdn switch-type primary-net5isdn incoming-voice modem!-- All incoming voice calls on this E1 are sent to the modems!interface Serial1:15!-- D-channel for E1 1!-- DNIS number for this PRI is 8211description PRI 8211no ip addressencapsulation pppisdn switch-type primary-net5isdn incoming-voice modem!-- All incoming voice calls on this E1 are sent to the modems!interface Group-Async1ip unnumbered Ethernet0encapsulation pppasync mode interactivepeer default ip address pool dialup!-- Assign IP address for incoming calls (with DNIS 8210) from pool dialupppp callback accept!-- Permit PPP Callbackppp authentication chapgroup-range 1 40!-- Interface includes modems 1 through 40 that are also in ModemPool8210!interface Group-Async2ip unnumbered Ethernet0encapsulation pppasync mode interactivepeer default ip address pool dialup2!-- Assign IP address for incoming calls (with DNIS 8211) from pool dialup2ppp callback accept!-- Here we accept the callbackppp authentication chapgroup-range 41 84!-- Interface includes modems 41 through 84 that are also in ModemPool8211!ip local pool dialup 192.168.100.1 192.168.100.15ip local pool dialup2 192.168.200.32 192.168.200.126!-- Define the IP address ranges for the 2 poolsip classlessno ip http server!line con 0exec-timeout 0 0transport input noneline 1 40!-- Line configuration for modems 1-40!-- These modems are in pool ModemPool8210autoselect during-loginautoselect pppscript callback mod!-- Invoke chat script mod for the callbacklogin localmodem InOut!-- Set the modems for dialin and dialoutmodem dialout controller e1 0!-- Outgoing call on these modems use e1 0line 41 84!-- Line configuration for modems 41-84!-- These modems are in pool ModemPool8210autoselect during-loginautoselect pppscript callback mod!-- Invoke chat script mod for the callbacklogin localmodem InOutmodem dialout controller e1 1!-- Outgoing call on these modems use e1 1line aux 0line vty 0 4!end