AG5200脚本

  • 格式:doc
  • 大小:49.00 KB
  • 文档页数:4

AG 5200 开局的步骤先查看整体机框类型,接口类型,所用线缆的类型查看主框和从框类型,用户版的类型确定主控板的类型远程登录telnet 144.1.1.1 1123 :系统数据配置总入口,user/pass:root/root(出厂配置)telnet 144.1.1.1 8888 :系统维护和管理入口,pass:zxmg (出厂配置)telnet 10.61.98.111 8888Conn 0X_Telnet from Port 8888 SlaveFd 31Version 1.0 bulid at 2001删除原有数据0x138a>0x138a>r06_attr E:/DA TA/V0100/*.* -R0x138a>r06_attr E:/DA TA/V0101/*.* -R0x138a>r06_del E:/DA TA/V0100/*.*0x138a>r06_del E:/DA TA/V0101/*.*0x138a>r06_del D:/persist0x138a>r06_del D:/durable删除后查看数据是否删除成功方法一:ftp 129.0.52.4 root/rootCD E:\DATA\V0100LSCD E:\DATA\V0101LS方法二:在8888端口下r06_dir E:/DA TA/V0100/*.*r06_dir E:/DA TA/V0101/*.*如果完全删除后需要重新启动该设备,启动后再次查看数据配置telnet 10.61.98.111 1123Login:rootPassword:MSAG# ag增加整体机架和从框Type1代表就是的中兴的设备SAG(ag)# add-rack rack 1 type 1MSAG(ag)# add-shelf rack 1 physhf 0 type 6MSAG(ag)# add-shelf rack 1 physhf 1 type 5MSAG(ag)# add-shelf rack 1 physhf 2 type 5MSAG(ag)# add-shelf rack 1 physhf 3 type 5MSAG(ag)# add-shelf rack 1 physhf 4 type 5增加主控板MSAG(ag)# add-board-mics slot 9 type 5 增加主控板(GISB)add-board-mics slot 10 type 5增加从框1的控制板add-board-sics rack 1 shelf 1 slot 9 type 5 hw1 8 打问号查看配置增加从框2的控制板add-board-sics rack 1 shelf 2 slot 9 type 5 hw1 9增加从框3的控制板add-board-sics rack 1 shelf 3 slot 9 type 5 hw1 10增加从框4的控制板add-board-sics rack 1 shelf 4 slot 9 type 5 hw1 11配置语音用户板MSAG(ag)# add-board-slc shelf 0 slot 3 type 26 //增加语音板ALCadd-board-slc shelf 0 slot 4 type 26add-board-slc shelf 0 slot 5 type 26add-board-slc shelf 0 slot 6 type 26add-board-slc shelf 0 slot 7 type 26add-board-slc shelf 0 slot 8 type 26add-board-slc shelf 0 slot 13 type 26add-board-slc shelf 0 slot 14 type 26add-board-slc shelf 0 slot 15 type 26add-board-slc shelf 0 slot 16 type 26MSAG(ag)# add-board-tslc rack 1 shelf 0 slot 17 (增加测试扳)MSAG(ag)# add-board-pwr rack 1 shelf 0 slot 1 (增加电源板)配置MGC的信息MGC是MG控制协议,其中MGC与MG分离开来,使得呼叫控制相对集中,可以用相对比较少的MGC来控制相对较多的MG在整个局向中其中的MGC就相当于SS,而MG就像与5200配置与本MSAG对接的SS设备的IP地址和端口及协议类型。

配置第一个SS且为H248协议且SS是ZTE的类型:MSAG(ag)# add-mgc mgcid 1 mgctype 1 mgcip 10.61.252.100 mgcport 2944配置MGCP协议SS是HW的类型:这个是华为的设配配置类型MSAG(ag)# add-mgc mgcid 1 mgctype 2 mgcip1 10.61.252.100 mgcport1 2727如果SS的PORT号不是2727,要增加NA T的端口号。

注意:如果SS的PORT号不是2944或者2727,例如,如果用户要求我们配置的SS端口号为11000,则需要同时配置下面的信息:增加NAT的端口号。

MSAG(ag)# get-ctrlport 查看已经存在的端口号序号,找到一个没有使用的需要。

例如13。

MSAG(ag)# add-ctrlport 13 0 11000配置MG信息MSAG(ag)# add-mg mgport 2944 mgcid1 1 //MGC与MG关联MSAG(ag)# add-voip-interface type 1 ipaddr 172.16.200.202 submask 255.255.255.248 //配置VOIP的地址MSAG(ag)# add-voip-route nexthop 172.16.200.203 //配置语音地址的下一跳MSAG(ag)# add-voip-interface type 1 ipaddr 172.16.200.202 submask 255.255.255.248 //配置VOIP的地址MSAG(ag)# add-voip-route nexthop 172.16.200.203 //配置语音地址的下一跳配置VOIP语音vlanMSAG(config)#port enable 0/9/0 (使能)MSAG(config)#port enable 0/9/1 (使能)MSAG(config)# vlan add 2000 //创建语音VLANMSAG(config)# vlan add-port 2000 port 0/9/1 untaggMSAG(config)# vlan add-port 2000 port 0/9/0 untaggMSAG(config)# vlan voipmed add 2000 (媒体vlan)长度固定但长度不可配置,配置的结果是以单元、子单元和电路号为特征MSAG(ag)# add-slctermid rack 1 shelf 0 beginslot 3 beginindex 0 num 32 tmidfix USER type 1增加主框USER资源add-slctermid rack 1 shelf 0 beginslot 3 beginindex 0 num 32 tmidfix USER type 1add-slctermid rack 1 shelf 0 beginslot 4 beginindex 0 num 32 tmidfix USER type 1add-slctermid rack 1 shelf 0 beginslot 5 beginindex 0 num 32 tmidfix USER type 1add-slctermid rack 1 shelf 0 beginslot 6 beginindex 0 num 32 tmidfix USER type 1add-slctermid rack 1 shelf 0 beginslot 7 beginindex 0 num 32 tmidfix USER type 1add-slctermid rack 1 shelf 0 beginslot 8 beginindex 0 num 32 tmidfix USER type 1add-slctermid rack 1 shelf 0 beginslot 13 beginindex 0 num 32 tmidfix USER type 1add-slctermid rack 1 shelf 0 beginslot 14 beginindex 0 num 32 tmidfix USER type 1add-slctermid rack 1 shelf 0 beginslot 15 beginindex 0 num 32 tmidfix USER type 1add-slctermid rack 1 shelf 0 beginslot 16 beginindex 0 num 32 tmidfix USER type 1增加tid资源TID字符串的总长度不能超过64字节。

一般情况下,一个系统只用一种类型配置。

方式一:MSAG(ag)# add-ipstermid slot 11 subcard 1 tmidfix RTP方式二:MSAG(ag)# add-ipstermid slot 11 subcard 1 tmidfix RTP type 2 begno 0方式三:MSAG(ag)# add-ipstermid slot 11 subcard 1 tmidfix RTP type 3 digitlen 3 begno 0在实际使用中,如果是第一种方式即单元号子单元号加电路号,则增加的用户TID的格式为MPR:RTP00200700000-USER00200700059 MPRB: RTP00200300000-USER00200300320 002为unit号,007和003为sunit号,00000-00059为电路号,分别有60路和320路。

这种方式对接ZTESS10时最常用。

如果是第二种方式,ID格式为RTP0 – RTP59例如,对接华为的SS时,最常用的为MSAG(ag)# add-ipstermid slot 8 subcard 1 tmidfix RTP/ type 2 begno 0具体使用中,需要根据SS的配置进行配置。