S12LGW现场开局配置手册簿.doc
S12RSU LGW现场开局配置手册1. 目的 Purpose本文件介绍配置S12RSU LGW的流程,以指导现场工程师完成LGW的配置。2. X围Scope本文件说明S12RSU LGW的配置步骤,包括文件的传送,子板DB配置,母板MB配置方法以与使用到的命令。3. 定义与缩略语 Definitions and abbreviations3.1. 定义< 无 >3.2. 缩略语4. 相关文件 Relevant documentsS12LGW User Manual3CL 93236 9400 DFZZAA5020MGC本地呼叫创建流程 8DA 99431 1804 ASCVQVND TAC工作指导书 8DA 09901 2024 QRCVQFSD客户服务工作指导书 8DA 09901 2058 QRCVQ5. RSU LGW配置流程5.1. 验货检查一下物件:IPRB板:两块左右手,或一块,视机架情况而定连接线:每一块IPRB三根连接线Control口网线,Data口网线,串口线。5.2. 板子替换与连线机架下电。根据RSU机架配置图拔掉DTRx,CALx与ECFC板,并在原两个CALx位置插入IPRB板。注:在开局时,请先只插入一块IPRB板,在将其完全配置完毕并能正常运行后打通,拔出改板,插入另一块作相应的配置,然后再换回原板单侧重起后,插入另一块板,以主备状态运行。主用板最下面的灯为绿色,备用为桔色。IPRB为后板连线,连线方法请参照S12LGW User Manual。把Control口网线与Data口网线连接到相应的HUB或SWITCH上;串口线连接到PC上。在电脑上配置串口参数,如如下图:机架上电。5.3. IP网络数据准备配置LGW前,应从运营商得到以下数据:分配给本LGW的控制通路IP地址,TCP/UDP端口号与语音通路IP地址,TCP/UDP端口号;其分别对应于LGW的Control口与Data口。主从MGC的控制通路IP地址,TCP/UDP端口号。注:LGW支持control和data口分开,即有两个ip地址 LGW支持control和data口不分开,即只有一个ip地址,模式为bined5.4. 启动LGW机架上电,启动LGW,在出现以下界面时按任意键中断启动,输入0,以0区启动 VxWorks System Boot Copyright 1984-2001 Wind River Systems, Inc. For ASB A75xx Board CPU: Broad BCM1122 Creation date: Dec 22 2005, 10:34:13 Press any key to stop auto-boot. 3 VxWorks Boot: 0 Starting at 0x80010000.注:该方法只在第一次启动时使用,在更新了启动区版本后,即可由其自动启动在IPRB控制板正常运转后,以Login: diag,Password:-assured,登陆。5.5. 修改母板配置文件并TFTP到LGW第一次启动后0区启动,先配置LGW的IP,如果网线已连到switch上,如此ip端口的状态应为up,然后配置路由default和到mgc的,尝试是否可以与网关以与用来做tftp server的pc互通,全部完成后即可按以下步骤传送文件。注:由于是以0区启动,所以无法正常save,重起后所有的ip配置会消失,需要重新配置一次,save后即可。有时在第二次启动后系统自动选择启动区启动,通过串口会无法正常save,此时通过telnet接入即可正常save。在TAC的主页上把最新软件版本文件b10b01*.pak , config.txt , dspfw_0.axf , mb_cde.dat , mp5saa01.img和相对应机架的MB-CONFIG文件下载到PC上,并以mb_cfg.dat的文件名和其他5个文件一起传入LGW中,重新定义启动区,使LGW以最新版本工作。注:b10b01*.pak *表示子板软件版本,可以是19,20或是其他数字其他文件名为固定名字,如果TAC主页上提供的文件名与之不符,请注意在tftp时加以修改。从b11版本后,dspfw_0.axf文件不再需要,该文件已被包含在pak文件中,请注意删除多余的文件用网线把PC连接到同LGW的Control口一样的HUB或SWITCH上。配置PC的IP地址,如58.20.85.12,掩码255.255.255.0。并启动TFTP服务软件。启动LGW,以Login: diag,Password:-assured,登陆。配置Control口(58.20.85.10)到PC的一样网段。My-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# create ip if en.1.1.1 58.20.85.10 255.255.255.0 control My-Chassis:ACT-FSB:1.1(r0)>=48:diag:main# define ip if state 58.20.85.10 enable用TFTP把PC上的文件6个下载到LGW上。5.6. 创建并激活IP接口配置Control口58.20.85.10和Data口58.21.85.11,有separate2个ip和bined1个ip两种配置模式。5.6.1. 创IP接口è create ip if <port>|Port-Group|loopback<ipaddress><mask> voice|control|bined 5.6.2. 激活IP接口è define ip if state <ipaddress> enableseparate modeMy-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# create ip if en.1.1.1 58.20.85.10 255.255.255.0 control My-Chassis:ACT-FSB:1.1(r0)>=48:diag:main# define ip if state 58.20.85.10 enableMy-Chassis:ACT-FSB:1.1(r0)>=49:diag:main# create ip if en.1.1.2 58.21.85.11 255.255.255.0 voice My-Chassis:ACT-FSB:1.1(r0)>=50:diag:main# define ip if state 58.21.85.11 enablebined modeMy-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# create ip if en.1.1.1 58.20.85.10 255.255.255.0 bined My-Chassis:ACT-FSB:1.1(r0)>=48:diag:main# define ip if state 58.20.85.10 enable5.6.3. 查看IP接口状态è view ip if Separate ModeMy-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# view ip if IP Interface Table:Total Interfaces: 2-IP Address Subnet Mask Port Admin Oper Type-58.20.85.10 255.255.255.0 en.1.1.1 enl up Control 58.21.85.11 255.255.255.0 en.1.1.2 enl up Voice -My-Chassis:ACT-FSB:1.1(r0)>=50:diag:main# bined ModeMy-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# view ip if IP Interface Table:Total Interfaces: 1-IP Address Subnet Mask Port Admin Oper Type-58.20.85.10 255.255.255.0 en.1.1.2 enl up bined -My-Chassis:ACT-FSB:1.1(r0)>=50:diag:main# 5.7. IP路由5.7.1. 创建缺省路由è create route default <router-ip>è create route <mgc ip-address> 255.255.255.255 <control-port-router-ip> 1Separate ModeMy-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# create route default 1 (voice口的网关地址)My-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# create route primary mgc ip-address 255.255.255.255 1 control 口的网关地址My-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# create route secondary mgc ip-address 255.255.255.255 1 control 口的网关地址My-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# view route stat-Destination Subnet Mask NextHop Cost Type-0.0.0.0 0.0.0.0 58.21.85.1 1 strict172.224.0.68 255.255.255.255 58.20.85.1 1 strict 172.224.0.70 255.255.255.255 58.20.85.1 1 strict -注:对Primary MGC和Secondary MGC都要创建静态路由。bined ModeMy-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# create route default 58.20.85.1 1My-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# view route stat-Destination Subnet Mask NextHop Cost Type-0.0.0.0 0.0.0.0 58.20.85.1 1 strict-5.8. 配置LGW参数5.8.1. 定义LGW同MGC通信的IP与TCP/UDP端口号è define mgw mg ipaddress <ip-address>è define mgw mg port <udp/tcp-port> Megaco缺省端口2944è define mgw mg mid ip-address5.8.2. 定义主从MGC的IP,MID与TCP/UDP端口号è define mgw mgc ipaddress primary <ip-address>è define mgw mgc mid primary <MID>è define mgw mgc port primary < udp/tcp-port >Megaco缺省端口2944,在LGW注册上MGC后,MGC会自动分配一个内部端口号给LGW,可能不是2944,但不会影响设备的正常的使用。注:以下3条命令只有在该LGW需要连接2个MGC时才需使用è define mgw mgc ipaddress secondary <ip-address>è define mgw mgc mid secondary <MID>è define mgw mgc port secondary < udp/tcp-port >Megaco缺省端口2944。 My-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# define mgw mg state disable My-Chassis:ACT-FSB:1.1(r0)>=48:diag:main# define mgw mg port 2944 My-Chassis:ACT-FSB:1.1(r0)>=48:diag:main# define mgw mg mid 58.20.85.10 My-Chassis:ACT-FSB:1.1(r0)>=50:diag:main# define mgw mgc mid primary 172.224.0.68 My-Chassis:ACT-FSB:1.1(r0)>=50:diag:main# define mgw mgc port primary 2944 My-Chassis:ACT-FSB:1.1(r0)>=50:diag:main# define mgw mgc mid secondary 10.0.38.50 My-Chassis:ACT-FSB:1.1(r0)>=50:diag:main# define mgw mgc port secondary 2944 My-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# define mgw mg state enable5.8.3. 检查连通性可以在LGW上检查到MGC的连通性。è ping <ip-address>5.9. 保存并重启LGW5.9.1. 保存配置è save 在修改完LGW的参数设置后,都需使用该命令保存,以便使修改生效5.9.2. 重启LGWè reboot system5.10. 配置MGC在MGC上配置LGW一种AGW,创建LGW上的用户,请参见相关MGC的配置手册。对A5020MGC,请参见A5020MGC本地呼叫创建流程。TerminationID=tdm/1-tdm/960。5.11. 查看LGW状态è view mgw configMy-Chassis:ACT-FSB:1.1(r0)>=47:diag:main# view mgw configMedia Gateway Configuration-General Part-Protocol : H248/MEGACOGateway Type : AccessAdmin State : EnabledNext Admin State : EnabledStack State : RegisteredMGC State : RegisteredCall Service Type : TDM2RTPEmpty_sigdesc : DisabledPrimary MGC IP Address : 172.224.0.68 (Active)Primary MGC Port : 11000Primary MGC Domain Name :Primary MGC MID : 172.224.0.68Secondary MGC Port : 2944Secondary MGC Domain Name :Secondary MGC MID : 10.0.38.50Max number of known MGC : 10Gateway Port Number : 5000Gateway Domain Name :Gateway MID : 58.20.85.10Transport Method : UDPUDI Method : DisabledDigit Relay Mode : FixedInitial Retry Timer : 5000msProvisional Response Timer : 30000msAt Most Once Timer : 30000msT-Max Timer : 30000msInactivity Timer Mechanism-Inactivity Timer Value : 40secInactivity Timer State : EnabledCurrent SVCH Heartbeat Message : Termination: ROOT Method: Disconnected Reason: 999 HeartbeatMegaco Specific Part-Profil : BLADE_1_0Security : NoneEncoding : Text-Encoding以下状态下表示LGW成功注册到MGC:Admin State : EnabledNext Admin State : EnabledStack State : RegisteredMGC State : Registered5.12. 设置VOIP参数My-Chassis:ACT-FSB:1.1(r0)>=2:diag:main# def voip def dtmf in2833 eMy-Chassis:ACT-FSB:1.1(r0)>=2:diag:main# saveMy-Chassis:ACT-FSB:1.1(r0)>=1:diag:main# v voip def Media Gateway default parameters :sys_dflt_ch_init_mode. CH_INIT_STATICsys_dflt_static_init_chnum. 256 type of service. 0DIM timeout . 3000 mscodec type. G711 u-lawpacket time. 20 mspacket time for G723. 30 msvoice activity Detection. Enabledfort noise generation. DisabledPCM law. A-Lawvoice activity detection mode. ConservativeG mode. WhiteDSP mode. Packet Voiceloopback mode. OffEC tail length. 64 msecho cancellation. Enabledquality alert threshold. 99gain-tx. 5 dBgain-rx. 5 dBjitter maximum buffer size. 200 msjitter minimum buffer size. 0jitter target. 50sys_dflt_cot_monitor_frequency. 1780&2010Hz sys_dflt_cot_transmit_frequency. 2010Hz COT active timer . 2000 mstelephone_tone_transmit_inRTP2833. Enabledsys_dflt_DTMF_transmit_inRTP2833. Enabledsys_dflt_DTMF_transmit_inVoice. Disabledsys_dflt_DTMF_2833_Mechanism. AALsys_dflt_DTMF_2833_removefromVoice. Disabledsys_dflt_DTMF_2833_regen2pcm. EnabledDTMF DET Threshold . -35.0 dbDTMF payload type for telephony event. 96DTMF payload type for redundancy event. 97payload type for clearmode . -1sys_dflt_vbd_schema_payload_type . PAYLOAD_TYPE_Passthrough_Alaw (127)sys_dflt_VBD_OnOff . Disablesys_dflt_Inherit_While_VBD_Off . Disablesys_dflt_rtcp_option . Enabledremote RTCP statistics interval . 10 sremote RTCP timeframes . 3local DSP statistics interval . 10 slocal DSP timeframes . 3remote RTP fraction lost thres . 99remote RTP fraction lost times . 3network failure mode . 0 DisabledFSK onhook settingsFSK onhook modulation type . Bell202 (0)FSK onhook transmit phase . During the ring (0)FSK offhook settingsFSK offhook modulation type . Bell202 (0)FSK cpeack settingsFSK cpeack start DTMF range . 6568FSK cpeack valid DTMF duration . 30FSK cpeack valid DTMF level . 300FSK cpeack timeout . 200FSK cpeack time before send FSK . 160FSK cpeack send FSK if w/o ack . No (0)FSK control timeout . 2000 msFSK control t0 . 300 msFSK control t3 . 600 msFSK control t5 . 1000 msMy-Chassis:ACT-FSB:1.1(r0)>=2:diag:main#5.13. 检查RMGR配置数据My-Chassis:rem-cons:STB-FSB:1.2(r0)>=8:sduc:main# v rmgr con-+-*Configuration Item*|*Value*-+- codec_enable status table | status priority G711U | enable 10 G711A | enable 10 G723 | enable 10 G729a | enable 10 -+- trace_level | error req_timer | 5000 ms max_retry | 1 -+- Monitor DSP State | Disable Monitor DSP Count | 10 DSP Core Dump | Disable -+- Start of RTP/RTCP Port | 40000 Start of UDPTL Port | 60000 UDP resource count | 1024 -注意是1024,如果不是用以下命令修改-+-My-Chassis:rem-cons:STB-FSB:1.2(r0)>=8:sduc:main# My-Chassis:rem-cons:STB-FSB:1.2(r0)>=6:sduc:main#