beautypg.com

Configuration example, Configuration requirement, Configuration procedure – H3C Technologies H3C S6300 Series Switches User Manual

Page 265: Verifying the configuration, Returning to the cli

background image

252

After receiving the kill-session request, the device returns a response in the following format if the
kill-session operation is successful:

xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

Configuration example

Configuration requirement

The user whose session's ID is 1 terminates the session with session ID 2.

Configuration procedure

# Enter XML view.

xml

# Exchange capabilities.

urn:ietf:params:netconf:base:1.0

# Terminate the session with session ID 2.

2

Verifying the configuration

If the client receives the following text, the NETCONF session with session ID 2 has been terminated. The

client with session ID 2 has returned from XML view to user view:

Returning to the CLI

To return from XML view to the CLI, send the following close-session request: