beautypg.com

Terminating another netconf session – H3C Technologies H3C S6300 Series Switches User Manual

Page 264

background image

251

# Enter XML view.

xml

# Copy the following message to the client to exchange capabilities with the device:

urn:ietf:params:netconf:base:1.0

# Copy the following message to the client to get the current NETCONF session information on the
device:

If the client receives a message as follows, the operation is successful:

1

vty0

2011-01-05T00:24:57

false

The output shows the following information:

The session ID of an existing NETCONF session is 1.

The login user type is vty0.

The login time is 2011-01-05T00:24:57.

The user does not hold the lock of the configuration.

Terminating another NETCONF session

NETCONF allows one client to terminate the NETCONF session of another client. The client whose

session is terminated returns to user view.
# Copy the following message to the client to terminate the specified NETCONF session:

Specified session-ID