H3c-technologies H3C MSR 5600 Manual de usuario Pagina 159

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 247
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 158
146
</rpc>
Verifying the configuration
If the client receives the following text, the edit-config operation is successful:
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply message-id="100" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Saving, rolling back, and loading the configuration
Use NETCONF to save, roll back, or load the configuration.
Saving the configuration
# Copy the following text to the client to save the device configuration to a specified file:
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<save>
<file>Specify the configuration file name</file>
</save>
</rpc>
If the file name is not specified, the configuration is saved to the startup configuration file by default.
After receiving the save request, the device returns a response in the following format if the save
operation is successful:
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Rolling back the configuration
# Copy the following text to the client to roll back the configuration:
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<rollback>
<file>Specify the configuration file name</file>
</rollback>
</rpc>
After receiving the rollback request, the device returns a response in the following format if the rollback
operation is successful:
<?xml version="1.0" encoding="UTF-8" ?>
<rpc-reply message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
Vista de pagina 158
1 2 ... 154 155 156 157 158 159 160 161 162 163 164 ... 246 247

Comentarios a estos manuales

Sin comentarios