H3c-technologies H3C MSR 5600 Bedienungsanleitung Seite 181

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 247
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 180
168
O
p
eration Descri
p
tion XML exam
p
le
CLI
Executes CLI operations. A
request message encloses
commands in the <CLI>
element, and a response
message encloses the command
output in the <CLI> element.
NETCONF supports the
following views:
Execution—Use view
Configuration—System view
To execute a command in other
views, specify the command for
entering the specified view, and
then the desired command.
To execute the display this command in system view:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<CLI>
<Configuration>display
this</Configuration>
</CLI>
</rpc>
save
Saves the running configuration.
You can use the <file> element
to specify a file for saving the
configuration. If you do not
specify a file, the running
configuration is saved to the
main startup configuration file.
To save the running configuration to the file test.cfg:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0"> <save>
<file>test.cfg</file>
</save>
</rpc>
load
Loads the configuration. After
the device finishes the load
operation, the configuration in
the specified file is merged into
the current configuration of the
device.
To merge the configuration in the file a1.cfg to the
current configuration of the device:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0"> <load>
<file>a1.cfg</file>
</load>
</rpc>
rollback
Rolls back the configuration. To
do so, you must specify the
configuration file in the <file>
element. After the device
finishes the rollback operation,
the current device configuration
is totally replaced with the
configuration in the specified
configuration file.
To roll back the current configuration to the
configuration in the file 1A.cfg:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<rollback>
<file>1A.cfg</file>
</rollback>
</rpc>
Seitenansicht 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 246 247

Kommentare zu diesen Handbüchern

Keine Kommentare