TR069服务器配置DHCP/IP/PING/Tracert/HTTP/PPPoE等仿真诊断模板及IPWAN和PPPoE WAN模板创建

1.IPOE WAN 连接配置
下发操作步骤:

创建DHCP WAN,
1.	建立InternetGatewayDevice.WANDevice.1.WANConnectionDevice.==1实例(若有预配置WAN,可忽略该步骤)
2.	再增加
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.=={i}实例==2
3.	设置WANIPConnection相关参数
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.X_CMCC_VLANMode =
VLAN启用模式,以下值之一:
0表示不启用
1表示保持原来的标志位值
2表示重写VLAN

InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.{i}.X_CMCC_VLANIDMark =
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.{i}.ConnectionType = IP_Routed
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.{i}.AddressingType = DHCP
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.{i}.X_CMCC_LanInterface = (和LAN侧的绑定关系)InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.2
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.{i}.X_CMCC_ ServiceList = (业务绑定)
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.{i}.Enable=true
实际操作实践:

1. 先进入TR098数据模型树中 创建Object对象通过AddObject方法去创建,创建后会自动生成一条新的WAN连接:
由于默认WAN连接存在一条预配置IPOE 的TR069 WAN连接,WANConnectionDevice.1该实例默认就已经创建好了,因此创建WANIPConnection.==2实例从2 开始;
如:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice. == 2(实例值)
2.设置WANIPConnection相关参数

InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.X_CMCC_VLANMode     unsignedInt   2 (tag vlan)
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.X_CMCC_VLANIDMark   unsignedInt  200
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.X_CMCC_802-1pMark   unsignedInt   0(0--7)
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.ConnectionType      string      IP_Routed or IP_Bridged
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.AddressingType      string  DHCP 或 Static
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.X_CMCC_LanInterface    string  InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.2 (绑定LAN2 端口)
InternetGatewayDevice.WANDevice.1.WANConnectionDe
  • 3
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值