count
Usage
<rpc>
<get-configuration>
<configuration>
<!-- opening tags for each parent of the object -->
<object-type count="count"/>
<!-- closing tags for each parent of the object -->
</configuration>
</get-configuration>
</rpc>
Description
Specify the number of configuration objects of the specified type about which to return information. If the attribute is omitted, the Junos XML protocol server returns information about all objects of the type.
The attribute can be combined with one or more of the matching, recurse, and start attributes.
If the application requests Junos XML-tagged output (the default), the Junos XML protocol server includes two attributes in the opening container tag for each returned object:
- junos:position—Specifies the object’s numerical index.
- junos:total—Reports the total number of such objects that exist in the hierarchy.
These attributes do not appear if the application requests formatted ASCII output by including the format="text" attribute in the opening <get-configuration> tag.
Usage Guidelines
See Requesting a Specified Number of Configuration Objects.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1