世纪网通网关配置
- 格式:doc
- 大小:25.50 KB
- 文档页数:5
世纪网通网关配置世纪网通网关配置Login:root (用户名)Password: centnet (密码)Centnet>config (进入配置目录)Please input the Password: 直接回车Centnet/conf>第一步:配置网络地址Centnet/Conf>e0 (进入网络配置断口)Centnet/Conf/E0>no dhcp (删除自动获取网络地址功能)Centnet/Conf/E0>proxy dyn (打开e0)Centnet/Conf/E0>ip (配置网络地址IP)Centnet/Conf/E0>quit (退出网络配置断口)Centnet/Conf>sh e0 (查看网络情况)------------------------------------------------------------------------- Interface IP_address IP_mask MACE0 08:ab:01:e0:0f:c3------------------------------------------------------------------------- Proxy : Dynamic(Hostname :tos : 0DHCP : DisableDNS : DisableTCP port base : 30000Range : 300UDP port base : 5000------------------------------------------------------------------------- 第二步:配置拨号规则Centnet/Conf>dial t (进入拨号规则配置断口)Centnet/Conf/Dial T>relCentnet/Conf/Dial T>quitCentnet/Conf>wr如果:要配置市话不加区号centnet/conf>dial tcentnet/conf/dial t>pre -0 +(区号)Centnet/Conf/Dial T>relcentnet/conf/dial t>qucentnet/conf>dial 0tCentnet/Conf/Dial 0T>relcentnet/conf/dial 0t>qucentnet/conf>wr第三步:配置路由地址Centnet/Conf>sh route (查看路由表)destination mask gateway flags Refcnt Use Interface --------------------------------------------------------------------------------103 0 0 cpm0101 0 0 motfec0101 0 0 cpm03 0 0 lo0101 0 0 motfec03 0 0 lo0-------------------------------------------------------------------------------- Centnet/conf>route del def (删除网关地址)Centnet/Conf>sh routedestination mask gateway flags Refcnt Use Interface --------------------------------------------------------------------------------101 0 0 motfec0101 2 0 cpm03 0 0 lo0101 0 0 motfec03 0 0 lo0Centnet/Conf>route add def (增加网关地址)Centnet/Conf>sh routedestination mask gateway flags Refcnt Use Interface --------------------------------------------------------------------------------103 0 0 cpm0101 0 0 motfec0101 2 0 cpm03 0 0 lo0101 0 0 motfec03 0 0 lo0第四步:配置主叫号Centnet/Conf>sup 进入超级用户Please input the Password:szcentnet (密码)Centnet/Conf>sh line 0 (查看断口状况及主叫号)Line:0type : FXS mode : Relay active : UP status: IDLE codec : G723/6 2 sce : Disable vad : Disable answer : Normal inVol(D) : 32 outVol(D): 32 dtmf : InBand inVol(A) : 32 outVol(A) : 32handdown time : 400 ms flash time : 450mssdtmf wait time : 1000 ms sdtmf interval : 150msrdtmf time out : 30000ms rdtmf end time : 5000msfaststart : Enable h245tunnel : Enablebusy check : Enable Invert check : Disableround trip : Disable Faxmode : T38faxrate : 14400 faxredundancy : 1faxVolume : 6 dtmfVolume : 27msd : Disable h245 timeout : Disablehandup time : 200 ms hotline :billing : Disable JitterFactor : 7display called number : Disable(called)Prefix[0]:T(calling)Number : 888findvoice : 0card :Centnet/Conf>line (进入主叫号配置端口配置)Centnet/Conf/LineALL>num 028 (设置主叫号)Centnet/Conf/LineALL>relCentnet/Conf/LineALL>quitCentnet/conf>wrCentnet/conf>sh line 0Line:0type : FXS mode : Relay active : UP status: IDLE codec : G723/6 2 sce : Disable vad : Disable answer : Normal inVol(D) : 32 outVol(D): 32 dtmf : InBand inVol(A) : 32 outVol(A) : 32handdown time : 400 ms flash time : 450mssdtmf wait time : 1000 ms sdtmf interval : 150msrdtmf time out : 30000ms rdtmf end time : 5000msfaststart : Enable h245tunnel : Enablebusy check : Enable Invert check : Disableround trip : Disable Faxmode : T38faxrate : 14400 faxredundancy : 1faxVolume : 6 dtmfVolume : 27msd : Disable h245 timeout : Disablehandup time : 200 ms hotline : billing : Disable JitterFactor : 7 display called number : Disable(called)Prefix[0]:T(calling)Number : 028findvoice : 0card :如果:需要配置不同端口不同主叫centnet/conf>line 0centnet/conf/line0>num 1234centnet/conf/line0>qucentnet/conf>line 1centnet/conf/line1>num 2234centnet/conf/line1>qucentnet/conf>line 2centnet/conf/line2>num 3234centnet/conf/line2>qucentnet/conf>line 3centnet/conf/line3>num 4234centnet/conf/line3>qucentnet/conf>wr第五步:配置网守地址Centnet/Conf>h323 (进入网守设置目录)Centnet/Conf/H323>sh (查看网守目录)--H323 Settings------------------------------------------- RAS port : 1719Q931 port : 1720Retry interval : 10Retry times : 10GateKeeper IP : DisableGateKeeper port: 1719GateKeeper ID :GateWay ID :Card Number : 8Card Password : 8Aliase_name :RAS password :Prefix :H323id :Type : cisco----------------------------------------------------------Centnet/Conf/H323>gk xxxx (配置网守地址和端口号) Centnet/Conf/H323>h323id sjzd -m (配置小网关的ID) Centnet/Conf/H323>quCentnet/Conf>write (保存)Centnet/Conf>sh h323--H323 Settings------------------------------------------- RAS port : 1719Q931 port : 1720Retry interval : 10Retry times : 10GateKeeper IP : 1719(up)GateKeeper port: 1719GateKeeper ID :GateWay ID :Card Number : 8Card Password : 8Aliase_name :RAS password :Prefix :H323id :sjzd 08:ab:01:e0:0f:c3Type : cisco----------------------------------------------------------回音消除:Centnet/Conf>lineCentnet/Conf/LineALL>iv a 30Centnet/Conf/LineALL>iv d 30(主叫方回音)Centnet/Conf/LineALL>0v a 30Centnet/Conf/LineALL>0v d 30(被叫方回音)一般可不调另:其他命令恢复出厂值:setdef重起网关:reboot (都在Centnet/Conf>下输入)。