beautypg.com

Example for subscribing to event notifications, Network requirements, Configuration procedure – H3C Technologies H3C S6300 Series Switches User Manual

Page 243

background image

230

code

group

severity

start-time

stop-time

Where:

The parameter represents the event stream type supported by the device. Only
NETCONF is supported.

The parameter represents an event which you have subscribed to.

The parameter represents a mnemonic symbol.

The parameter represents the module name.

The parameter represents the severity level of the event.

The parameter represents the start time of the subscription.

The argument represents the end time of the subscription.

After receiving the subscription request from the client, the device returns a response in the following

format if the subscription is successful:

If the subscription fails, the device returns an error message in the following format:

error-type

error-tag

error-severity

error-message

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