`
itwangxinli
  • 浏览: 146068 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

TR069报文(三)

阅读更多

GetParameterValues:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand="1">1145</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:GetParameterValues>
			<ParameterNames SOAP-ENC:arrayType="xsd:string[10]">
				<string>InternetGatewayDevice.ManagementServer.UDPConnectionRequestAddressNotificationLimit</string>
				<string>InternetGatewayDevice.ManagementServer.ConnectionRequestPassword</string>
				<string>InternetGatewayDevice.ManagementServer.ConnectionRequestUsername</string>
				<string>InternetGatewayDevice.ManagementServer.PeriodicInformEnable</string>
				<string>InternetGatewayDevice.ManagementServer.URL</string>
				<string>InternetGatewayDevice.DeviceInfo.X_CT-COM_WorkTime</string>
				<string>InternetGatewayDevice.DeviceInfo.ProductClass</string>
				<string>InternetGatewayDevice.DeviceInfo.SoftwareVersion</string>
				<string>InternetGatewayDevice.DeviceInfo.SerialNumber</string>
				<string>InternetGatewayDevice.DeviceInfo.ManufacturerOUI</string>
			</ParameterNames>
		</cwmp:GetParameterValues>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

GetParameterResponse:

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
	xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema'
	xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'>
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand='1'>1145</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:GetParameterValuesResponse>
			<ParameterList xsi:type='SOAP-ENC:Array'
				SOAP-ENC:arrayType='cwmp:ParameterValueStruct[10]'>
				<ParameterValueStruct>
					<Name>InternetGatewayDevice.ManagementServer.UDPConnectionRequestAddressNotificationLimit
					</Name>
					<Value xsi:type='xsd:unsignedInt'></Value>
				</ParameterValueStruct>
				<ParameterValueStruct>
					<Name>InternetGatewayDevice.ManagementServer.ConnectionRequestPassword
					</Name>
					<Value xsi:type='xsd:string'></Value>
				</ParameterValueStruct>
				<ParameterValueStruct>
					<Name>InternetGatewayDevice.ManagementServer.ConnectionRequestUsername
					</Name>
					<Value xsi:type='xsd:string'>admin</Value>
				</ParameterValueStruct>
				<ParameterValueStruct>
					<Name>InternetGatewayDevice.ManagementServer.PeriodicInformEnable
					</Name>
					<Value xsi:type='xsd:boolean'>1</Value>
				</ParameterValueStruct>
				<ParameterValueStruct>
					<Name>InternetGatewayDevice.ManagementServer.URL</Name>
					<Value xsi:type='xsd:string'>http://seahightest.vicp.net:7547/ACS/acs/
					</Value>
				</ParameterValueStruct>
				<ParameterValueStruct>
					<Name>InternetGatewayDevice.DeviceInfo.X_CT-COM_WorkTime</Name>
					<Value xsi:type='xsd:unsignedInt'>368900</Value>
				</ParameterValueStruct>
				<ParameterValueStruct>
					<Name>InternetGatewayDevice.DeviceInfo.ProductClass</Name>
					<Value xsi:type='xsd:string'>Netgear CWGE111</Value>
				</ParameterValueStruct>
				<ParameterValueStruct>
					<Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name>
					<Value xsi:type='xsd:string'>020007b01</Value>
				</ParameterValueStruct>
				<ParameterValueStruct>
					<Name>InternetGatewayDevice.DeviceInfo.SerialNumber</Name>
					<Value xsi:type='xsd:string'>22S297N9006D6</Value>
				</ParameterValueStruct>
				<ParameterValueStruct>
					<Name>InternetGatewayDevice.DeviceInfo.ManufacturerOUI</Name>
					<Value xsi:type='xsd:string'>001F64</Value>
				</ParameterValueStruct>
			</ParameterList>
		</cwmp:GetParameterValuesResponse>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

GetRcpMethod:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand="1">1273736957064</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:GetRPCMethods></cwmp:GetRPCMethods>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

 GetRcpMethodsResponse:

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
	xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema'
	xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'>
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand='1'>1273736957064</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:GetRPCMethodsResponse>
			<MethodList xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="cwmp:string[13]">
				<string>GetRPCMethods</string>
				<string>ScheduleInform</string>
				<string>GetParameterNames</string>
				<string>GetParameterValues</string>
				<string>SetParameterValues</string>
				<string>GetParameterAttributes</string>
				<string>SetParameterAttributes</string>
				<string>AddObject</string>
				<string>Download</string>
				<string>Upload</string>
				<string>DeleteObject</string>
				<string>Reboot</string>
				<string>FactoryReset</string>
			</MethodList>
		</cwmp:GetRPCMethodsResponse>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

reboot:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand="1">124654</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:Reboot>
			<CommandKey>4567898</CommandKey>
		</cwmp:Reboot>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

RebootResponse:

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
	xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema'
	xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'>
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand='1'>124654</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:RebootResponse></cwmp:RebootResponse>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

SetParameterValues:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand="1">1273735061346</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:SetParameterValues>
			<ParameterList SOAP-ENC:arrayType="cwmp:ParameterValueStruct[1]">
				<ParameterValueStruct>
					<Name>InternetGatewayDevice.ManagementServer.PeriodicInformInterval</Name>
					<Value xsi:type="xsd:unsignedInt">60</Value>
				</ParameterValueStruct>
			</ParameterList>
			<ParameterKey>124567</ParameterKey>
		</cwmp:SetParameterValues>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

SetParameterValuesResponse:

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
	xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema'
	xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'>
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand='1'>1273735061346</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:SetParameterValuesResponse>
			<Status>0</Status>
		</cwmp:SetParameterValuesResponse>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 SetParameterValuesFault:

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
	xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema'
	xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'>
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand='1'>145</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<SOAP-ENV:Fault>
			<faultcode>Client</faultcode>
			<faultstring>CWMP fault</faultstring>
			<detail>
				<cwmp:Fault>
					<FaultCode>9005</FaultCode>
					<FaultString>Invalid parameter name</FaultString>
				</cwmp:Fault>
			</detail>
		</SOAP-ENV:Fault>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 FactoryReset:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand="1">1273566171908</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:FactoryReset/>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

FactoryResetResponse:

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
	xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema'
	xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'>
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand='1'>1273566171908</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:FactoryResetResponse></cwmp:FactoryResetResponse>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

Download:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand="1">1111</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:Download>
			<CommandKey>1271227474281</CommandKey>
			<FileType>3 Vendor Configuration File</FileType>
			<URL>http://116.231.72.207:8888/ACS//Tr069PropertyFile/config_acs.xml</URL>
			<Username />
			<Password />
			<FileSize>146242</FileSize>
			<TargetFileName>config.xml</TargetFileName>
			<DelaySeconds>180</DelaySeconds>
			<SuccessURL />
			<FailureURL />
		</cwmp:Download>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

DownloadResponse:(Download命令延时了DelaySeconds180s,所以暂时是失败,是正常的)

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:cwmp="urn:dslforum-org:cwmp-1-0"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand="1">1111</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:DownloadResponse>
			<Status>1</Status>
			<StartTime>0000-00-00T00:00:00-00:00</StartTime>
			<CompleteTime>0000-00-00T00:00:00-00:00</CompleteTime>
		</cwmp:DownloadResponse>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 下载可能会导致重启或触发inform事件:

7 TransferComplete,如果下载没有问题的话。

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
	xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema'
	xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:cwmp='urn:dslforum-org:cwmp-1-0'>
	<SOAP-ENV:Header>
		<cwmp:ID SOAP-ENV:mustUnderstand='1'>1273564052</cwmp:ID>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<cwmp:TransferComplete>
			<Commandkey>12585</Commandkey>
			<FaultStruct>
				<FaultCode>0</FaultCode>
				<FaultString></FaultString>
			</FaultStruct>
			<StartTime>2010-05-11T07:47:16</StartTime>
			<CompleteTime>2010-05-11T07:47:27</CompleteTime>
		</cwmp:TransferComplete>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
分享到:
评论

相关推荐

    TR069标准协议族

    TR069标准协议族是一系列由Broadband Forum(宽带论坛)制定的通信协议,用于设备管理和自动化配置。这些协议族主要包括TR069、TR098、TR104、TR111和TR143,它们在IT行业中扮演着至关重要的角色,特别是在家庭网关...

    TR069协议详细教程

    TR069协议详解 TR069协议,全称为用户终端设备广域网管理协议(CWMP),是由数字用户线(DSL)论坛(现更名为Broadband Forum)制定的一种网络管理协议,旨在解决VoIP、IPTV等IP终端设备日益普及带来的配置和维护...

    Go-tr069-lib是一个用Go开发的tr069协议支持库

    TR-069(Technical Report 069)是一种由DSL论坛制定的通信协议,用于设备管理和自动配置,尤其在宽带接入设备、家庭网关、路由器等设备中广泛应用。Go-tr069-lib是一个基于Go语言编写的TR-069协议实现库,它为...

    tr069 cpe ACS模拟器

    首先,"tr069 报文调试"是指模拟器可以捕获并解析TR069协议中的数据包,包括管理对象的查询、设置、通知等操作,这对于诊断和修复协议交互过程中的问题至关重要。用户可以通过模拟器查看和分析这些报文,以便了解...

    TR069协议配置指导

    ### TR069协议配置指导 #### TR069是什么? TR-069是由DSL论坛(现称为Broadband Forum)开发的一项技术规范,全称是“CPE广域网管理协议”(Customer Premises Equipment Wide Area Network Management Protocol...

    TR-111(属于TR069协议族)

    TR-111是TR-069协议族的一个重要组成部分,主要应用于家庭网络设备的远程管理。TR-069(Technical Report 069)是由DSL论坛(现为Broadband Forum)制定的一套标准,旨在提供一种安全、自动化的远程配置和管理家庭...

    TR069管理系统_XACS_2018版下载

    TR069管理系统(XACS)基于TR069协议实现的管理系统,可支持海量CPE的管理及测试。 免费使用,免费测试,支持标准RPC。 实现的内容主要有 · 1. CPE集中管理 · 2. CPE分类管理 · 3. 配置模板管理及自动化...

    XACS_免费的TR069管理系统

    TR069协议是一种CPE(客户端设备)管理协议,全称为“CPE广域网管理协议”,协议编号为TR-069,是DSL论坛发布的一项技术标准。通过TR069协议,网络运营商可以远程管理用户的网络设备,如路由器、调制解调器等,实现...

    TR069简介.zip

    **TR069_0.3.pptx**演示文稿可能包含了更深入的讲解,比如TR069的版本演变、协议报文结构、安全策略实现细节以及实际应用案例等。此外,还可能包含了一些图表和流程图,以直观地展示TR069的工作流程和交互机制。 ...

    TR069中文+英文.rar

    通过阅读“TR069中文+英文.rar”中的文档,可以深入了解TR069协议的细节,包括具体的报文格式、命令交互流程、错误处理机制等,对于从事网络设备开发、运维或故障排查的工程师来说,是必不可少的学习资料。

    TR069框架及实现(中文版)

    ### TR069框架及实现(中文版) #### TR069协议概述 TR-069协议,全称为CPE WAN Management Protocol (CPE广域网管理协议),由DSL论坛(Digital Subscriber Line Forum)制定的一项技术规范,其标准编号为TR-069。...

    TR069协议编程基础知识.doc

    TR069协议是一种专为网络设备管理设计的通信协议,最初由DSL论坛制定,用于远程管理和配置家庭网关、FEMTO基站、路由器等设备。在统一网管的实现中,理解和掌握TR069协议是至关重要的,因为这直接影响到对设备请求和...

    CWMP+(TR-069)技术介绍

    ### CWMP+(TR-069)技术介绍 #### 一、CWMP(TR-069)概述 CWMP(CPE WAN Management Protocol,CPE广域网管理协议)是DSL论坛开发的一项技术规范,其编号为TR-069,因此也被广泛称为TR-069协议。这项技术的主要目的...

    Diag_DHCPSim DHCP仿真报文.pcap

    通过TR069对CPE进行DHCP仿真的全部交互报文,有需要的可以参考, 有问题随时联系哦

    以智能路由器为例的智能终端远程管理实现与优化.pdf

    #### 三、基于TR069协议的智能路由器实现与优化 针对智能路由器这类智能终端设备,采用TR069协议可以实现以下功能: - **统一配置管理**:ACS可以通过TR069协议对智能路由器进行统一的配置管理,包括设置初始配置...

    商务领航终端配置方法

    本文将详细解析商务领航终端的配置方法,包括华三、贝尔和思科设备的WAN、TR069、SNMP以及Syslog配置。 **华三设备配置** 1. **WAN配置**:提供了三种方式,即自动获取IP地址、手动指定IP地址和虚拟拨号(PPPoE)。...

    沃尔玛WalmartEDI解决方案之824报文解读.docx

    #### 三、824报文的使用场景 当与沃尔玛进行EDI对接时,如果发送了830(Planning Schedule with Release Capability)、832(Price/Sales Catalog)、855(Purchase Order Acknowledgment)、856(Ship Notice/...

    usp-test:TP-469

    美国测试 TR-469-USP代理商的符合性测试计划 该存储库包含宽带论坛规范TR-469,这是用于认证TR-369(USP)代理的测试计划。 本文档中的文件用于构建index.md,该文件用于呈现TR-469的文本以供网络使用。

    DHCP客户端测试软件(dhcp for xcap)

    说明: 1表示报文组1, 选中报文组后, 在状态栏会显示报文组的索引, 2表示第三个报文, 即索引为3的报文. 版本记录: V1.0.1(基础版本) 1, 支持连接xcap并读取报文功能; 2, 支持刷新按钮自动更新报文功能; 3, 支持选择...

Global site tag (gtag.js) - Google Analytics