Example for subscribing to event notifications, Network requirements, Configuration procedure – H3C Technologies H3C MSR 5600 User Manual
Page 148: Verifying the configuration
135
For more information about error messages, see RFC 4741.
Example for subscribing to event notifications
Network requirements
Configure a client to subscribe to all events with no time limitation. After the subscription is successful, all
events on the device are sent to the client before the session between the device and client is terminated.
Configuration procedure
# Enter XML view.
# Exchange capabilities.
urn:ietf:params:netconf:base:1.0
]]>]]>
# Subscribe to all events with no time limitation.
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
Verifying the configuration
# If the client receives the following response, the subscription is successful:
# If fan 1 on the device encounters problems, the device sends the following text to the client that has
subscribed to all events:
FAN_DIRECTION_NOT_PREFERRED
it.