设为首页 收藏本站
查看: 682|回复: 0

The experience to config Cisco 2811 for VOIP

[复制链接]

尚未签到

发表于 2015-5-24 06:32:58 | 显示全部楼层 |阅读模式
  Introduction
  My company would like to set up a call center. The call center needs a VOIP router. We choosed Cisco 2811, and we applied an E1 cable to host 30 phones in. We need to do necessary configuration in the Cisco 2811 router.
  
  Config the Cisco 2811 router
  We received the router. We started to config the router. First we checked the delivery list file in the package, and found a console cable. The console cable is used to config the router. One end of the console cable is female serial port, the other end of the console cable is RJ11(network port). Plugged in the RJ11 side into the router, and plugged the female serial port into the serial port of my laptop.
  Start the "Hyper terminal" program in windows, input a name: cisco2811, for the connection. Select China(86) for Country/region, area code 010, Connect using COM1, click on the "Configure" button next to Connect using, click "Restore defaults". click ok, click ok again.
  Then the Console window shows some message. Press enter key. The router prompts for user name and password. Input cisco as user name and cisco as password.  This is the default password of all cisco routers. We need to change it right now. Use this one:
  username cisco privilege 15 secret 5 cisco
  
  Config the E1 PRI card
  There is the T1/E1 card delivered with the router. We plugged the card into the number 0 slot of the router, attach the PRI cable to the E1 card, a yellow light turns on.
  Go to the console window, type the command:
  configure terminal
  hostname GW_1
  card type E1 0 0
  network-clock-participate wic 0
  network-clock-select 1 E1 0/0/0
  end
  show run
  Note: the card type command is to specify the E1 card. If the command not presented, the isdn command will not be available.
  
  
  Config the IP address for the network card
  GW_1#configure terminal
  
  GW_1#interface fast-ethernet 0/0
  GW_1#ip address ip-address net-mask
  
  GW_1#ip route 0.0.0.0 0.0.0.0 default-router
  default-router: address of default gateway
  GW_1#exit
  
  GW_1#ip routing
  
  
  
  
  Config the relay of router
  GW_1#configure terminal
  
  GW_1#Isdn switch-type primary-net5
  turn on ISDN PRI
  GW_1#controller E1 0/0/0
  
  GW_1#framing NO-CRC4
  set the mode to NO_CRC4
  GW_1#pri-group timeslots 1-31
  all the time slots in one primary group
  GW_1#trunk-group 1 timeslots 1-31
  all time slots into the first group
  GW_1#exit
  
  GW_1#interface Serial 0/0/0:15
  
  GW_1#isdn overlap-receiving T302 500
  turn on isdn overlap-receiving mode
  GW_1#exit
  
  
  Config the dial-peer
  GW_1#configure terminal
  
  GW_1#dial-peer voice 100 voip
  Add a inbound route named 100
  GW_1#destination-pattern 28829…
  the number starts with 28829. The "." could be wildchar to match any character.
  
  GW_1#session target ipv4:192.168.90.230
  send all the SIP packets to the target address 192.168.90.230
  GW_1#session protocol sipv2
  protocol sip version 2
  GW_1# dtmf-relay rtp-nte
  RTP protocol to deal with DTMF
  GW_1#codec g711alaw
  Use g.711 Alaw to transmit voice data
  another choice is codec g729r8
  GW_1#exit
  
  GW_1#exit
  
  
  
  Config the call out route
  GW_1#configure terminal
  
  GW_1#
  
  GW_1#controller E1 0/0/0
  
  GW_1#trunk-group 1 timeslots 1-31
  put timeslots in the first group
  GW_1exit
  
  GW_1#controller E1 0/0/1
  another controller
  GW_1#trunk-group 1 timeslots 1-31
  
  GW_1exit
  
  GW_1#dial-peer voice 900 pots
  out bound route named 900
  GW_1#destination-pattern …
  call out number start with
  GW_1#direct-inward-dial
  Set DID mode
  GW_1#trunkgroup 1
  call out from the first group
  GW_1#exit
  
  GW_1#
  
  
  After the configuration, there should be a green light on the E1 card.
  
  Debug the router
  The show command is very useful when debugging the router. To check the status of controllers, serial ports.
  First we can use show run command to view the current configuration of router.
  Show controllers command is also useful, Show interface serial-port command is also useful to debug the router.
  
  Be careful to the "shutdown" command
  When you see a shutdown command, the component is in administrative shutdown status. If it is extremely necessary, you can put the shutdown command. Otherwise, please use "no shutdown" to disable the "shutdown" command.
  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-69949-1-1.html 上篇帖子: Cisco路由器ACL剖析 下篇帖子: 通过SSH实现Cisco路由器登录
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表