通信人家园
标题:
5620E按SN号注册语音配置脚本
[查看完整版帖子]
[打印本页]
时间:
2011-7-29 18:25
作者:
tnbbyjw
标题:
5620E按SN号注册语音配置脚本
*************************************************************************
* 变量与常量说明 *
* 5771SNxxxxxxxx ==>ONU的SN号与ONU名称 *
* 2011-x-xx xx:xx:xx ==>日期与时间 *
* 10.xxx.xxx.xxx ==>语音IAD IP *
* 255.255.255.xxx ==>语音IAD IP子网掩码 *
* 10.xxx.xxx.yyy ==>语音IAD 网关 *
* 10.159.255.30 ==>软交换IP地址 *
* 3599 ==>语音业务VLAN *
* terminalid 0 ==>对应规则,以Telant为准 *
* 2011-07-02 11:18:45==>日期与时间 *
*************************************************************************
-------------------------5620E配置脚本 start---------------------------------
root
mduadmin
enable
config
sysname 5771xxxxxxxx
time 2011-07-02 11:18:45
interface eponnni 0/0/1
password 5771xxxxxxxx
quit
vlan 3599
port vlan 3599 0/0 1
interface vlanif 3599
ip address 10.xxx.xxx.xxx 255.255.255.xxx
quit
ip route-static 10.159.255.0 255.255.255.0 10.xxx.xxx.yyy
voip
ip address media 10.xxx.xxx.xxx 10.xxx.xxx.yyy
ip address signaling 10.xxx.xxx.xxx
quit
interface h248 0
y
if-h248 attribute mgip 10.xxx.xxx.xxx mgport 2944 transfer udp
if-h248 attribute mgcip_1 10.159.255.30 mgcport_1 2944
if-h248 attribute mg-media-ip 10.xxx.xxx.xxx MIDtype domainName
if-h248 attribute start-negotiate-version 1
if-h248 attribute domainName 5771xxxxxxxx
reset coldstart
y
quit
esl user
mgpstnuser batadd 0/2/1 0/2/24 0 terminalid 0
------------------------------------end 配好检查后要记得保存----------------------------
时间:
2011-7-30 01:41
作者:
联联
好啊
时间:
2011-8-1 10:49
作者:
tomtuo
谢谢分享
通信人家园 (https://www.txrjy.com/)
Powered by C114