TR069 配置 ONU WAN 全流程

该文详细介绍了如何在ONU设备上创建和配置WANConnectionDevice,包括添加DHCPWAN和PPPoEWAN连接,设置参数如IP模式、连接类型、服务列表、用户名和密码等。同时,也阐述了删除这些连接的方法以及WAN与LAN接口的绑定。
摘要由CSDN通过智能技术生成

ONU WAN

1.创建WANConnectionDevice

路径:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.
类型object   操作AddObject
设置值:1
创建WANConnectionDevice ok后需要设置参数:

路径:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.

//以下两个节点无法设置,在后续新建PPPoE或者DHCP WAN后会自动变化

InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnectionNumberOfEntries
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnectionNumberOfEntries


//以下节点会改变此WANConnectionDevice所有wan的vlan type,vlan id,802.1p

InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.X_CT-COM_WANGponLinkConfig.Enable
//2-tag
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.X_CT-COM_WANGponLinkConfig.Mode
//vlan id  
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.X_CT-COM_WANGponLinkConfig.VLANIDMark
//802.1p
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.X_CT-COM_WANGponLinkConfig.802-1pMark    

2.新建DHCP WAN

路径:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.
类型object 操作AddObject
设置值:1
创建WANIPConnection ok后需要设置参数:

路径:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.
 

//1,ipv4;2,ipv6;3,ipv4/6
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.X_CT-COM_IPMode
//IP_Routed
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ConnectionType 
//DHCP
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.AddressingType
//ServiceList(INTERNET,TR069,VOICE,ETC)
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.X_CT-COM_ServiceList 
//wan使能
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.Enable 
//nat使能
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.NATEnabled 
/*WAN绑定lan,wifi
绑定lan口1,2,wifi 2.4G,wifi 5g
InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1,InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.2,InternetGatewayDevice.LANDevice.1.WLANConfiguration.1,InternetGatewayDevice.LANDevice.1.WLANConfiguration.5
*/
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.X_CT-COM_LanInterface 

3.删除dhcp wan
路径:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.
类型object 操作DeleteObject
设置值:1


4.新建PPPoE WAN

路径:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.
类型object 操作AddObject
设置值:1
创建WANPPPConnection ok后需要设置参数:

路径:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.

InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_CT-COM_IPMode
//PPPoE_Routed 
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.ConnectionType   
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_CT-COM_ServiceList 
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Username   
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Password     
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PPPoEACName 
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PPPoEServiceName 
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Enable
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.NATEnabled
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.X_CT-COM_LanInterface 


5.删除pppoe wan
路径:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.
类型object 操作DeleteObject
设置值:1


 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值