این Config برای IN
کد:
!
version 12.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable secret pass
!
spe 1/0 2/9
firmware location flash:mica-modem-portware[1].2.5.1.0.bin
!
!
resource-pool disable
!
aaa new-model
!
!
aaa authentication ppp default none
aaa authorization network default none
aaa accounting network default none
!
ip subnet-zero
ip name-server 217.218.127.105
ip name-server 192.9.9.3
ip name-server 4.2.2.2
!
!
isdn switch-type primary-net5
isdn gateway-max-interworking
!
!
!
!
!
!
!
!
!
!
username root password 0 pass
!
!
controller E1 0
clock source line primary
pri-group timeslots 1-31
!
controller E1 1
shutdown
clock source line secondary 1
!
controller E1 2
shutdown
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
!
!
interface Ethernet0
no ip address
shutdown
!
interface Serial0
no ip address
shutdown
clock rate 2015232
no fair-queue
!
interface Serial1
no ip addresss
shutdown
clock rate 2015232
no fair-queue
!
interface Serial2
no ip address
shutdown
clock rate 2015232
no fair-queue
!
interface Serial3
no ip address
shutdown
clock rate 2015232
no fair-queue
!
interface Serial0:15
ip unnumbered FastEthernet0
encapsulation ppp
isdn switch-type primary-net5
isdn incoming-voice modem
isdn calling-number 9712220
no cdp enable
!
interface FastEthernet0
ip address X.X.X.X X.X.X.X
no ip mroute-cache
duplex auto
speed auto
no cdp enable
!
interface Group-Async1
ip unnumbered FastEthernet0
encapsulation ppp
ip tcp header-compression
no ip mroute-cache
async mode interactive
peer default ip address pool dial
ppp authentication pap chap
group-range 1 120
!
ip local pool dial 192.168.0.11 192.168.0.254
ip classless
ip route 0.0.0.0 0.0.0.0 X.X.X.X
no ip http server
!
!
!
no cdp run
!
snmp-server community Dark RO
!
!
line con 0
line 1 120
no flush-at-activation
modem Dialin
transport input all
autocommand ppp
autoselect during-login
autoselect ppp
line 121 240
no flush-at-activation
line aux 0
line vty 0 4
!
And
کد:
!
version 12.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable secret pass
!
spe 1/0 2/9
firmware location flash:mica-modem-portware[1].2.5.1.0.bin
!
!
resource-pool disable
!
aaa new-model
!
!
no aaa
!
ip subnet-zero
ip name-server 217.218.127.105
ip name-server 192.9.9.3
ip name-server 4.2.2.2
!
!
isdn switch-type primary-net5
isdn gateway-max-interworking
!
!
!
!
!
!
!
!
!
!
username root password 0 pass
!
!
controller E1 0
clock source line primary
pri-group timeslots 1-31
!
controller E1 1
shutdown
clock source line secondary 1
!
controller E1 2
shutdown
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
!
!
interface Ethernet0
no ip address
shutdown
!
interface Serial0
no ip address
shutdown
clock rate 2015232
no fair-queue
!
interface Serial1
no ip addresss
shutdown
clock rate 2015232
no fair-queue
!
interface Serial2
no ip address
shutdown
clock rate 2015232
no fair-queue
!
interface Serial3
no ip address
shutdown
clock rate 2015232
no fair-queue
!
interface Serial0:15
ip unnumbered FastEthernet0
encapsulation ppp
isdn switch-type primary-net5
isdn incoming-voice modem
isdn calling-number 9712220
no cdp enable
!
interface FastEthernet0
ip address X.X.X.X X.X.X.X
no ip mroute-cache
duplex auto
speed auto
no cdp enable
!
interface Group-Async1
ip unnumbered FastEthernet0
encapsulation ppp
ip tcp header-compression
no ip mroute-cache
async mode interactive
peer default ip address pool dial
ppp authentication pap chap
group-range 1 120
!
ip local pool dial 192.168.0.11 192.168.0.254
ip classless
ip route 0.0.0.0 0.0.0.0 X.X.X.X
no ip http server
!
!
!
no cdp run
!
snmp-server community Dark RO
!
!
line con 0
line 1 120
no flush-at-activation
modem Dialin
transport input all
autocommand ppp
autoselect during-login
autoselect ppp
line 121 240
no flush-at-activation
line aux 0
line vty 0 4
!