beautypg.com

Example for subscribing to event notifications, Network requirements, Configuration procedure – H3C Technologies H3C MSR 5600 User Manual

Page 148: Verifying the configuration

background image

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.

xml

# 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">

NETCONF

]]>]]>

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:

2011-01-04T12:30:46

DEV

FAN_DIRECTION_NOT_PREFERRED

6

Alert

Fan 1 airflow direction is not preferred on slot 6, please check

it.

This manual is related to the following products: