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