`
itwangxinli
  • 浏览: 143699 次
  • 性别: 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管理系统_XACS_2018版下载

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

    tr069 cpe ACS模拟器

    完美支持tr069报文调试,支持反向链接,0 /1/2/4/等事件,支持信令,支持流程组合,支持PNP,告警等

    Diag_DHCPSim DHCP仿真报文.pcap

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

    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, 支持选择...

    L2报文转发流程理解.ppt

    二层转发原理学习笔记,供大家参考,一个技术小白的自我学习成长点滴,欢迎指正,谢谢!

    H3C SecPath UTM系列视频配置案例视频与文档.zip

    14-配置TR-069.exe 15-配置域间策略.exe 16-配置ARP防攻击.exe 17-配置攻击防范-黑名单.exe 18-配置攻击防范-流量异常检测.exe 19-配置攻击防范-报文异常检测.exe 20-配置带宽管理策略.exe 21-配置IPS策略.exe 22-...

    H3C secPath UTM配置视频.zip

    14-配置TR-069.exe 15-配置域间策略.exe 16-配置ARP防攻击.exe 17-配置攻击防范-黑名单.exe 18-配置攻击防范-流量异常检测.exe 19-配置攻击防范-报文异常检测.exe 20-配置带宽管理策略.exe 21-配置IPS策略.exe 22-...

    TCP拦截和网络地址转换

    T C P三路握手的第一个报文设置了 S Y N位。当某台设备接收到一个请求服务的初 始报文时,该设备响应这个报文,发回一个设置了 S Y N和A C K位的报文,并等待源端来的 A C K应答。如果请求的发出者不作响应,主机...

    7-2019053296-张光华--数据链路层和网络1

    3、IP协议分析从主机A上向主机B发PING检测报文,捕获IP数据包,记录并分析各字段的含义,并与IP数据包格式进行比较 4、ICMP协议分析通过ping和tr

    LINUX与UNIX_Shell编程指南(上)

    10.10.2 处理报文输出 101 10.10.3 去除行首数字 101 10.10.4 附加文本 102 10.10.5 从shell向sed传值 102 10.10.6 从sed输出中设置shell变量 102 10.11 快速一行命令 102 10.12 小结 103 第11章 合并与分割 104 ...

    Linux与unix shell编程指南(1-16)

    10.10.2 处理报文输出 101 10.10.3 去除行首数字 101 10.10.4 附加文本 102 10.10.5 从shell向sed传值 102 10.10.6 从sed输出中设置shell变量 102 10.11 快速一行命令 102 10.12 小结 103 第11章 合并与分割 104 ...

    spirngmvc js传递复杂json参数到controller的实例

    Spring MVC在接收集合请求参数时,需要在Controller方法的集合参数里前添加@RequestBody,而@RequestBody默认接收的enctype (MIME编码)是application/json,因此发送POST请求时需要设置请求报文头信息,否则Spring ...

    Python3中bytes类型转换为str类型

    基于URL解析报文的时候,URL链接出现str类型+bytes类型是报错TypeError,如何解决这个问题呢? 解决方案 方法一:利用str函数 方法二:利用bytes.decode()进行解码 测试代码如下: # -*- coding: utf-8 -*-

    LINUX 与 UNIX SHELL编程指南

    10.10.2 处理报文输出 101 10.10.3 去除行首数字 101 10.10.4 附加文本 102 10.10.5 从 shell 向 sed 传值 102 10.10.6 从 sed 输出中设置 shell 变量 102 10.11 快速一行命令 102 10.12 小结 103 第 11 章 ...

    Linux与unix shell编程指南

    10.10.2 处理报文输出 101 10.10.3 去除行首数字 101 10.10.4 附加文本 102 10.10.5 从shell向sed传值 102 10.10.6 从sed输出中设置shell变量 102 10.11 快速一行命令 102 10.12 小结 103 第11章 合并与分割 104 ...

    linux shell 编程教程

    10.10.2 处理报文输出 101 10.10.3 去除行首数字 101 10.10.4 附加文本 102 10.10.5 从shell向sed传值 102 10.10.6 从sed输出中设置shell变量 102 10.11 快速一行命令 102 10.12 小结 103 第11章 合并与分割 104 ...

    shell 编程指南pdf

    10.10.2 处理报文输出 101 10.10.3 去除行首数字 101 10.10.4 附加文本 102 10.10.5 从shell向sed传值 102 10.10.6 从sed输出中设置shell变量 102 10.11 快速一行命令 102 10.12 小结 103 第11章 合并与分割 104 ...

    LINUX与UNIX SHELL编程指南(很全)

    10.10.2 处理报文输出 101 10.10.3 去除行首数字 101 10.10.4 附加文本 102 10.10.5 从shell向sed传值 102 10.10.6 从sed输出中设置shell变量 102 10.11 快速一行命令 102 10.12 小结 103 第11章 合并与分割 104 ...

    LINUX与UNIX_SHELL编程指南1

    tr用法 119 12.1 关于tr 119 12.1.1 字符范围 119 12.1.2 保存输出 120 12.1.3 去除重复出现的字符 120 12.1.4 删除空行 120 12.1.5 大写到小写 121 12.1.6 小写到大写 121 12.1.7 删除指定...

Global site tag (gtag.js) - Google Analytics