H3c-technologies H3C MSR 5600 Manual de usuario Pagina 174

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 247
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 173
161
O
p
eration Descri
p
tion XML exam
p
le
get-bulk-config
Retrieves a number of
non-default configuration data
entries starting from the data
entry next to the one with the
specified index.
To retrieve non-default configuration for all interfaces:
<rpc message-id ="100"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0" >
<get-bulk-config>
<source>
<running/>
</source>
<filter type="subtree">
<top
xmlns="http://www.h3c.com/netconf/config
:1.0">
<Ifmgr>
</Ifmgr>
</top>
</filter>
</get-bulk-config>
</rpc>
edit-config: merge
Changes the running
configuration.
To use the merge attribute in the
edit-config operation, you must
specify the operation target (on
a specified level):
If the specified target exists,
the operation directly
changes the configuration
for the target.
If the specified target does
not exist, the operation
creates and configures the
target.
If the specified target does
not exist and it cannot be
created, an error message is
returned.
To change the buffer size to 120:
<rpc message-id ="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0"
xmlns:xc="urn:ietf:params:xml:ns:netconf
:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<top
xmlns="http://www.h3c.com/netconf/config
:1.0"><Syslog
xmlns="http://www.h3c.com/netconf/config
:1.0" xc:operation="merge">
<LogBuffer>
<BufferSize>120</BufferSize>
</LogBuffer>
</Syslog>
</top>
</config>
</edit-config>
</rpc>
Vista de pagina 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 246 247

Comentarios a estos manuales

Sin comentarios