:: پشتیبانی فنی ADSL به پارسی ::

::: ADSL - ویندوز - نرم افزار - سخت افزار - موبایل - لینوکس - آفیس - شبکه - برنامه نویسی :::

:: پشتیبانی فنی ADSL به پارسی ::

::: ADSL - ویندوز - نرم افزار - سخت افزار - موبایل - لینوکس - آفیس - شبکه - برنامه نویسی :::

:: پشتیبانی فنی ADSL به پارسی ::

تقدیم به تمام پشتیبانان ADSL که به رنج در تلاشند

*** تاسیس به سال 1389 در بلاگفا ***

بایگانی
  • ۰
  • ۰

این دستورات شامل 2 نوع از تنظیمات هستند :

 

 

دستورات اولی 

 

R1(config-voiceport)#do sh run
Building configuration...


Current configuration : 2448 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
card type e1 0 3
logging message-counter syslog
enable password 123
!
no aaa new-model
memory-size iomem 25
network-clock-participate wic 3
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
ip domain name cando.voip
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
!
trunk group OUT
!
!
!
!
!
voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 codec preference 3 g729r8
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
username admin privilege 15 secret 5 $1$jxVs$biXu7jPKLnFI3weHLHxSs.
username amir password 0 123
archive
 log config
  hidekeys
!
!
!
!
!
controller E1 0/3/0
 framing NO-CRC4
 pri-group timeslots 1-4,16
!
controller E1 0/3/1
 framing NO-CRC4
 pri-group timeslots 1-4,16
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.23.198 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/3/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 trunk-group OUT
 no cdp enable
!
interface Serial0/3/1:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 trunk-group OUT
 no cdp enable
!
ip forward-protocol nd
ip route 192.168.60.0 255.255.255.0 192.168.23.254
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
control-plane
!
!
!
voice-port 0/0/0
!
voice-port 0/0/1
!
voice-port 0/0/2
!
voice-port 0/0/3
!
voice-port 0/3/0:15
!
voice-port 0/3/1:15
!
voice-port 0/2/0
 supervisory disconnect dualtone mid-call
 timeouts wait-release 1
 connection plar 88776655
!
voice-port 0/2/1
!
!
!
!
!
dial-peer voice 45153 voip
 destination-pattern 45153...
 voice-class codec 1
 session protocol sipv2
 session target ipv4:192.168.60.231:5060
 session transport udp
 dtmf-relay rtp-nte sip-notify cisco-rtp sip-kpml
!
dial-peer voice 9 pots
 destination-pattern 9T
 port 0/2/0
!
dial-peer voice 88776655 voip
 destination-pattern 88776655
 voice-class codec 1
 session protocol sipv2
 session target ipv4:192.168.60.231:5060
 session transport udp
 dtmf-relay rtp-nte sip-notify cisco-rtp sip-kpml
!
!
!
!
line con 0
line aux 0
line vty 0 4
 login local
 transport input all
!
scheduler allocate 20000 1000
end

 

دستورات دومی 

 

Building configuration...


Current configuration : 2938 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
card type e1 0 3
logging message-counter syslog
enable password 123
!
no aaa new-model
memory-size iomem 25
network-clock-participate wic 3
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
ip domain name cando.voip
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
!
trunk group OUT
!
!
!
!
!
voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 codec preference 3 g729r8
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
username admin privilege 15 secret 5 $1$jxVs$biXu7jPKLnFI3weHLHxSs.
username amir password 0 123
archive
 log config
  hidekeys
!
!
!
!
!
controller E1 0/3/0
 framing NO-CRC4
 pri-group timeslots 1-4,16
!
controller E1 0/3/1
 framing NO-CRC4
 pri-group timeslots 1-4,16
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.23.198 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.104.200.5 255.255.255.252
 duplex auto
 speed auto
!
interface Serial0/3/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 trunk-group OUT
 no cdp enable
!
interface Serial0/3/1:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 trunk-group OUT
 no cdp enable
!
ip forward-protocol nd
ip route 10.123.101.175 255.255.255.255 192.104.200.6
ip route 192.168.60.0 255.255.255.0 192.168.23.254
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
control-plane
!
!
!
voice-port 0/0/0
!
voice-port 0/0/1
!
voice-port 0/0/2
!
voice-port 0/0/3
!
voice-port 0/3/0:15
!
voice-port 0/3/1:15
!
voice-port 0/2/0
 supervisory disconnect dualtone mid-call
 timeouts wait-release 1
 connection plar 88776655
!
voice-port 0/2/1
!
!
!
!
!
dial-peer voice 45153 voip
 destination-pattern 45153...
 voice-class codec 1
 session protocol sipv2
 session target ipv4:192.168.60.231:5060
 session transport udp
 dtmf-relay rtp-nte sip-notify cisco-rtp sip-kpml
!
dial-peer voice 9 pots
 destination-pattern 9T
 port 0/2/0
!
dial-peer voice 88776655 voip
 destination-pattern 88776655
 voice-class codec 1
 session protocol sipv2
 session target ipv4:192.168.60.231:5060
 session transport udp
 dtmf-relay rtp-nte sip-notify cisco-rtp sip-kpml
!
dial-peer voice 4030 voip
 destination-pattern T
 voice-class codec 1
 session protocol sipv2
 session target ipv4:10.123.101.174:5060
 session transport udp
 dtmf-relay rtp-nte sip-notify cisco-rtp sip-kpml
!
dial-peer voice 40300 voip
 destination-pattern 4030
 voice-class codec 1
 session protocol sipv2
 session target ipv4:192.168.60.231
 session transport udp
 dtmf-relay rtp-nte sip-notify cisco-rtp sip-kpml
!
!
!
!
line con 0
line aux 0
line vty 0 4
 login local
 transport input all
!
scheduler allocate 20000 1000
end
 

نظرات (۰)

هیچ نظری هنوز ثبت نشده است

ارسال نظر

ارسال نظر آزاد است، اما اگر قبلا در بیان ثبت نام کرده اید می توانید ابتدا وارد شوید.
شما میتوانید از این تگهای html استفاده کنید:
<b> یا <strong>، <em> یا <i>، <u>، <strike> یا <s>، <sup>، <sub>، <blockquote>، <code>، <pre>، <hr>، <br>، <p>، <a href="" title="">، <span style="">، <div align="">
تجدید کد امنیتی