با سلام خدمت آقا رضا
من config AS رو میذارم شما یک نگاه بندازید
E1 PRI هست.
Using 2791 out of 124920 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$OqmJ$iO5RR97ljrvQ5oFgdForA/
!
spe 1/0 2/9
firmware location system:/ucode/mica_port_firmware
!
!
resource-pool disable
!
aaa new-model
!
!
--More--
*Aug 23 10:35:51.226: %ISDN-6-CONNECT: Interface Serial0:1 is now connected to 2
aaa authentication ppp default group radius none
aaa authorization network default group radius local
aaa accounting update periodic 1
aaa accounting network default start-stop group radius
aaa pod server auth-type any server-key testpod
aaa session-id common
ip subnet-zero
ip name-server **.**.**.**
ip name-server 4.2.2.4
ip name-server 4.2.2.2
!
!
isdn switch-type primary-net5
!
!
!
!
!
!
!
!
!
!
username ******privilege 15 password 7 ********
username ******password 7 *********
!
!
controller E1 0
clock source line secondary 1
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
shutdown
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 address
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
no cdp enable
!
interface FastEthernet0
ip address **.**.**.** 255.255.255.224
ip nat outside
duplex auto
speed auto
!
interface Group-Async0
description E1 Lines
ip unnumbered FastEthernet0
ip nat inside
encapsulation ppp
no ip mroute-cache
async mode interactive
peer default ip address pool pool1
compress mppc
ppp authentication chap pap
group-range 1 60
!
ip local pool pool1 192.168.5.2 192.168.5.254
ip nat pool valid ********** *********** prefix-length 27
ip nat inside source list 2 pool valid overload
ip classless
ip route 0.0.0.0 0.0.0.0 ***********
no ip http server
!
!
access-list 2 permit 192.168.5.0 0.0.0.255
!
!
snmp-server community*****RW
!
radius-server host ************auth-port 1812 acct-port 1813
radius-server key 7 **********
!
!
!
!
line con 0
line 1 60
no flush-at-activation
modem Dialin
modem autoconfigure discovery
transport input all
autoselect during-login
autoselect ppp
line 61 240
line aux 0
line vty 0 4
password 7 **************
!
end