Chinaunix首页 | 论坛 | 博客
  • 博客访问: 310517
  • 博文数量: 43
  • 博客积分: 1590
  • 博客等级: 上尉
  • 技术积分: 508
  • 用 户 组: 普通用户
  • 注册时间: 2006-11-22 22:16
个人简介

温柔的IT民工~

文章分类

全部博文(43)

文章存档

2013年(1)

2012年(2)

2011年(2)

2010年(7)

2009年(8)

2008年(15)

2007年(8)

分类: 系统运维

2007-01-11 16:12:51

AS5300_5#show config       
Using 6281 out of 124920 bytes
!
! Last configuration change at 16:34:58 china Mon Dec 4 2006 by kong
! NVRAM config last updated at 09:37:26 china Wed Dec 6 2006 by kong
!
version 12.3
no service timestamps debug uptime
no service timestamps log uptime
service password-encryption
no service dhcp
!
hostname AS5300_5
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$Qq0Y$EEmIVG4BIw06cpyaSTTh11
!
!        
!
resource-pool disable
clock timezone china 8
clock calendar-valid
!
aaa new-model
!
!
aaa authentication login default local
aaa session-id common
ip subnet-zero
no ip domain lookup
!
no ip bootp server
!
isdn switch-type primary-net5
isdn voice-call-failure 0
isdn gateway-max-interworking
!
voice call send-alert
voice call disc-pi-off
voice call convert-discpi-to-prog
voice rtp send-recv
voice disc-pi-incoming-on
!
voice service pots
 fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback cisco
!
voice service voip
 fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback cisco
 h323
!
voice class codec 86
 codec preference 1 g729r8
 codec preference 2 g723r63
 codec preference 3 g723ar63
 codec preference 4 g723ar53
 codec preference 5 g723r53
 codec preference 7 gsmefr
 codec preference 8 gsmfr
 codec preference 9 g726r16
 codec preference 10 g726r24
 codec preference 11 g726r32
 codec preference 12 g728
 codec preference 13 g711alaw
 codec preference 14 g711ulaw
!
voice class codec 88
 codec preference 1 g723r63
 codec preference 2 g723ar63 bytes 48
 codec preference 3 g729br8 bytes 40
 codec preference 4 g729r8 bytes 40
 codec preference 5 g723ar53 bytes 40
 codec preference 6 g723r53 bytes 40
 codec preference 7 g711ulaw
 codec preference 8 g711alaw
 codec preference 9 gsmfr
 codec preference 10 gsmefr
!
!
!
!
!
!
!
!
!
fax interface-type modem
username kong password 7 05060F01205E580017
!
!
controller E1 0
 framing NO-CRC4
 clock source line secondary 3
 pri-group timeslots 1-31
!
controller E1 1
 framing NO-CRC4
 clock source line secondary 2
 pri-group timeslots 1-31
!
controller E1 2
 framing NO-CRC4
 clock source line secondary 1
 pri-group timeslots 1-31
!
controller E1 3
 framing NO-CRC4
 clock source line primary
 pri-group timeslots 1-31
!
translation-rule 1
 Rule 0 any 02428886578
!
!
!
interface Ethernet0
 no ip address
 shutdown
 no cdp enable
!
interface Serial0
 no ip address
 shutdown
 clock rate 2015232
 no fair-queue
 no cdp enable
!        
interface Serial1
 no ip address
 shutdown
 clock rate 2015232
 no fair-queue
 no cdp enable
!
interface Serial2
 no ip address
 shutdown
 clock rate 2015232
 no fair-queue
 no cdp enable
!
interface Serial3
 no ip address
 shutdown
 clock rate 2015232
 no fair-queue
 no cdp enable
!
interface Serial0:15
 no ip address
 encapsulation hdlc
 ip mroute-cache
 no logging event link-status
 no snmp trap link-status
 isdn switch-type primary-net5
 isdn overlap-receiving T302 2000
 isdn not-end-to-end 64
 isdn incoming-voice modem
 isdn map address .* plan isdn type unknown
 isdn T203 30000
 isdn T310 60000
 isdn send-alerting
 isdn disconnect-cause 34
 isdn sending-complete
 fair-queue 64 256 0
 no cdp enable
!
interface Serial1:15
 no ip address
 encapsulation hdlc
 ip mroute-cache
 no logging event link-status
 no snmp trap link-status
 isdn switch-type primary-net5
 isdn overlap-receiving T302 2000
 isdn not-end-to-end 64
 isdn incoming-voice modem
 isdn map address .* plan isdn type unknown
 isdn T203 30000
 isdn T310 60000
 isdn send-alerting
 isdn disconnect-cause 34
 isdn sending-complete
 fair-queue 64 256 0
 no cdp enable
!
interface Serial2:15
 no ip address
 encapsulation hdlc
 no logging event link-status
 no snmp trap link-status
 isdn switch-type primary-net5
 isdn overlap-receiving
 isdn not-end-to-end 64
 isdn incoming-voice modem
 isdn map address .* plan isdn type unknown
 isdn T203 30000
 isdn T310 60000
 isdn send-alerting
 isdn sending-complete
 fair-queue 64 256 0
 no cdp enable
!
interface Serial3:15
 no ip address
 encapsulation hdlc
 no logging event link-status
 no snmp trap link-status
 isdn switch-type primary-net5
 isdn overlap-receiving
 isdn not-end-to-end 64
 isdn incoming-voice modem
 isdn map address .* plan isdn type unknown
 isdn T203 30000
 isdn T310 60000
 isdn send-alerting
 isdn sending-complete
 fair-queue 64 256 0
 no cdp enable
!
interface FastEthernet0
 description To Internet
 ip address *.*.*.* 255.255.255.0
 duplex auto
 speed auto
 no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 *.*.*.*
no ip http server
!
!
!
ip access-list extended allowip
 permit tcp any any eq telnet
 permit udp any any eq ntp
 permit icmp any any
 permit udp any any
 permit ip host *.*.*.* any
 permit ip host *.*.*.* any
 permit ip host *.*.*.*any
no logging trap
no cdp run
!
!
!
voice-port 0:D
 input gain -2
 output attenuation 2
 echo-cancel coverage 32
 no comfort-noise
 cptone CN
 bearer-cap Speech
!
voice-port 1:D
 input gain -2
 output attenuation 2
 echo-cancel coverage 32
 no comfort-noise
 cptone CN
 bearer-cap Speech
!
voice-port 2:D
 input gain -2
 output attenuation 4
 echo-cancel coverage 24
 echo-cancel suppressor
 no comfort-noise
 cptone CN
 bearer-cap Speech
!        
voice-port 3:D
 input gain -2
 output attenuation 4
 echo-cancel coverage 24
 echo-cancel suppressor
 no comfort-noise
 cptone CN
 bearer-cap Speech
!
!
!
dial-peer voice 1 voip
 huntstop
 incoming called-number .
 modem passthrough nse codec g711ulaw
 voice-class codec 88
 dtmf-relay h245-alphanumeric
 fax protocol t38 ls-redundancy 1 hs-redundancy 1 fallback cisco
!
dial-peer voice 1001 pots
 destination-pattern 123450T
 direct-inward-dial
 port 0:D
 prefix 0
!
dial-peer voice 1002 pots
 destination-pattern 123450T
 direct-inward-dial
 port 1:D
 prefix 0
!
dial-peer voice 1003 pots
 destination-pattern 123450T
 direct-inward-dial
 port 2:D
 prefix 0
!
dial-peer voice 1004 pots
 destination-pattern 123450T
 direct-inward-dial
 port 3:D
 prefix 0
!
gateway
!
!
line con 0
 exec-timeout 5 0
 password 7 060B062F4741071E
 login authentication local
line aux 0
 exec-timeout 5 0
 login authentication local
line vty 0 4
 exec-timeout 5 0
 password 7 151F020205383D2D26
 login authentication kong
!
facility-alarm detect interface Ethernet0
!
ntp clock-period 17179857
ntp update-calendar
ntp server *.*.*.*
end
AS5300_5#
阅读(4711) | 评论(7) | 转发(0) |
0

上一篇:

下一篇:网文收集

给主人留下些什么吧!~~

chinaunix网友2008-01-11 17:41:24

一条号码转换规则, 应用到此 1 规则的dial-peer , 所有号码都转换为02428886578