<get>
使用
<rpc>
<get [format="(json | json-minified | set | text | xml | xml-minified)"]>
<filter type="subtree">
<configuration>
<!-- tag elements representing the configuration elements to return -->
</configuration>
</filter>
</get>
</rpc>
]]>]]>
描述
从 NETCONF 服务器请求提交的配置。要显示配置层次结构的一个或多个部分(层次结构或配置对象),请将相应的子标记元素括在元素中 <filter> 。
属性
format |
指定配置数据的返回格式。如果省略此属性,服务器将返回格式化为 Junos XML 元素的配置数据。可接受值包括:
|
内容
<filter> |
(可选)将标记元素括起来 要指定要返回的配置元素,请在 |