Config به شکل زیر کن
Route کاربران تلفنی به سمت کش بزار
یک Access List درسته حسابی برای Int Group بزار
ارت چک کن
کد:
version 12.3
service timestamps debug datetime localtime
service timestamps log datetime localtime
service password-encryption
!
hostname XXXXXX
!
boot-start-marker
boot-end-marker
!
spe 1/0 1/9
firmware location flash:mica-modem-pw.2.9.5.0.bin
!
!
resource-pool disable
clock timezone Tehran 3 30
!
aaa new-model
!
!
aaa authentication login XXXXX group radius local
aaa authentication ppp XXXXX if-needed group radius local
aaa authorization network XXXXXX if-authenticated group radius local
aaa accounting update newinfo
aaa accounting network XXXXXX1 start-stop group radius
aaa session-id common
ip subnet-zero
ip name-server 217.219.0.104
ip name-server 217.218.127.104
ip name-server 172.16.17.1
ip name-server 66.178.6.50
ip name-server 217.218.155.104
ip name-server 4.2.2.4
!
async-bootp dns-server 66.178.6.50 217.218.127.104
!
isdn switch-type primary-net5
modemcap entry mica-e1:MSC=&F&D2S34=18000S40=10S54=172S53=0
modemcap entry mica-noKflex:MSC=&F&D2s53=0
modemcap entry mica_v90:MSC=&F&D2
!
!
!
!
!
!
!
!
!
!
fax interface-type modem
!
!
controller E1 0
framing NO-CRC4
clock source line primary
pri-group timeslots 1-31
!
controller E1 1
clock source line secondary 1
!
controller E1 2
clock source line secondary 2
!
controller E1 3
clock source line secondary 3
!
controller E1 4
clock source line secondary 4
!
controller E1 5
clock source line secondary 5
!
controller E1 6
clock source line secondary 6
!
controller E1 7
clock source line secondary 7
!
policy-map qos-out
!
!
!
interface Ethernet0
no ip address
shutdown
no cdp enable
!
interface Serial0
ip unnumbered FastEthernet0
encapsulation ppp
no fair-queue
no cdp enable
!
interface Serial1
no ip address
no ip route-cache
shutdown
clockrate 2015232
no fair-queue
!
interface Serial2
no ip address
no ip route-cache
shutdown
clockrate 2015232
no fair-queue
!
interface Serial3
no ip address
no ip route-cache
shutdown
clockrate 2015232
no fair-queue
!
interface Serial0:15
no ip address
encapsulation ppp
isdn switch-type primary-net5
isdn incoming-voice modem
isdn calling-number 9712220
no cdp enable
!
interface FastEthernet0
description Connect To Internet
ip address xxxxxxxxxxx xxxxxxxxxxxxx
ip address xxxxxxxxxxxxxx 255.255.255.0 sec
no ip mroute-cache
duplex auto
speed auto
no cdp enable
!
interface Group-Async0
description connected to Dial-In
ip unnumbered FastEthernet0
encapsulation ppp
ip tcp header-compression
no ip mroute-cache
async mode interactive
peer default ip address pool modem_ports
compress mppc
fair-queue
ppp authentication pap chap
group-range 1 120
!
ip local pool modem_ports xxxxxxxxxxxxxx xxxxxxxxxxxxxxxx
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0
no ip http server
!
!
!
radius-server host xxxxxxxxxxxxx auth-port 1645 acct-port 1646
radius-server key 7 11584B5643010E0F113822303167667042
radius-server vsa send accounting
radius-server vsa send authentication
!
!
!
!
line con 0
line 1 120
session-timeout 30
exec-timeout 0 0
no flush-at-activation
modem DialIn
modem autoconfigure type mica-e1
autocommand ppp default
transport input all
autoselect during-login
autoselect ppp
autohangup
line aux 0
line vty 0
line vty 1 4
!
end