- Preface
- Installing UCS NID Controller
- Configuration Management
- Administering the Cisco ME 1200 NID
- Configuring Notifications
- Zero Touch Provisioning
- Auto Discovery of Cisco ME 1200 NIDs
- Configuring Synchronous Ethernet
- Configuring Ethernet Virtual Connections
- Configuring Switch Ports
- Configuring Spanning-Tree Protocol
- Configuring Link Aggregation Control Protocol (LACP)
- Provisioning Link Layer Discovery Protocol
- Configuring SNMP
- Configuring PTP
- Configuring ACLs
- Configuring Quality of Service (QoS)
- Configuring Ethernet OAM, Link OAM, and CFM
- Configuring Performance Monitoring
- Configuring EPS
- Configuring ERPS
- Configuring L2CP
- Configuring MAC Security
- Configuring NTP
- Configuring Storm Control
- Configuring Syslog
- Configuring SPAN
- Configuring RSPAN
- Configuring RFC 2544
- Configuring sFlow
- Configuring UDLD
- Configuring LST
- Configuring Flex Links
- Configuring Y.1564
- Configuring Bulk Provisioning
- Template Management
Configuring Notifications
This chapter describes how to configure notifications on Cisco ME 1200 NID.
- Prerequisites for Configuring Notifications
- Restrictions for Configuring Notifications
- Information About Notifications
- Types of Notifications
- How to Configure Notifications
Prerequisites for Configuring Notifications
Restrictions for Configuring Notifications
- Only the first three
notification lists are supported. They are:
- Notifications_list 1 for HeartBeat notifications.
- Notifications_list 2 for Config Change Trap notifications.
- Notifications_list 3 for Asynchronous failure notifications.

Note
In case, the other notification lists are configured, the configuration does not get applied.
Information About Notifications
Notifications are asynchronous messages generated by NID based on the events. The notifications are transported over HTTP POST request. The NID acts as an HTTP client and the controller (ME3600 or any other HTTP server) acts as a server.
Types of Notifications
HeartBeat Notifications
Heartbeat notifications are used to check the liveliness of the NID. This corresponds to the module_id = 1, and the notification_id = 1. You can use the setNotificationReceiver setNotificationReceiver_req heartbeat 30 command to configure the HeartBeat to 30 seconds. If the controller does not receive the heartbeat notification within 30 seconds, the controller waits for an additional 60 seconds before announcing Cisco ME 1200 NID as DOWN. For more information, see .
Config Change Trap Notifications
The registered server receives configuration change notifications when any other controller does prime changes or accesses the NID through XML. This corresponds to the module_id = 2, and the notification_id = 1. For more information, see .
Asynchronous Failure Notifications (ICLI failures)
The controller receives asynchronous failure notifications, when there are ICLI failures. Every commit action (SOAP action) on the controller is translated into multiple ICLI commands on NID, and if there are failures during the ICLI command execution, an asynchronous failure notification is sent to the controller that has registered to receive the asynchronous failure notification. This corresponds to the module_id = 3 , and the notification_id = 1. For more information, see .
How to Configure Notifications
- Setting Password on the Controller
- Viewing Notifications
- Configuring Notifications
- Registering for HeartBeat Notification
- Registering for Config Change Trap Notification
- Registering for Asynchronous Failure Notification
- Listing Notifications
- Deleting Notifications
Setting Password on the Controller
Configuration Example
UCS# configureNID UCS# username guest123 UCS# enable password lab123 UCS# exit
Viewing Notifications
Configuration Example
UCS# ProvisionNotifications
UCS(ProvisionNotifications)# getNotificationList listAllNotifications_req
UCS(ProvisionNotifications)# getNotificationList review
Commands in queue:
getNotificationList listAllNotifications_req
UCS(ProvisionNotifications)# getNotificationList commit
GetNotificationList_Output.listAllNotifications_resp.notification[0].module_id = 1
GetNotificationList_Output.listAllNotifications_resp.notification[0].module_description = 'HeartBeat'
GetNotificationList_Output.listAllNotifications_resp.notification[0].notification_id = 1
GetNotificationList_Output.listAllNotifications_resp.notification[0].notification_description = 'Heartbeat Notifications'
GetNotificationList_Output.listAllNotifications_resp.notification[1].module_id = 2
GetNotificationList_Output.listAllNotifications_resp.notification[1].module_description = 'ConfigChangeTrap'
GetNotificationList_Output.listAllNotifications_resp.notification[1].notification_id = 1
GetNotificationList_Output.listAllNotifications_resp.notification[1].notification_description = 'Config Change Notifications'
GetNotificationList_Output.listAllNotifications_resp.notification[2].module_id = 3
GetNotificationList_Output.listAllNotifications_resp.notification[2].module_description = 'AsyncNotification'
GetNotificationList_Output.listAllNotifications_resp.notification[2].notification_id = 1
GetNotificationList_Output.listAllNotifications_resp.notification[2].notification_description = 'ICLI command failure'
GetNotificationList Commit Success!!!
UCS(ProvisionNIDMgmtType)# exit
Configuring Notifications
Configuration Example
UCS# ProvisionNotifications
UCS(ProvisionNotifications)# setNotificationReceiver setNotificationReceiver_req heartbeat 30
UCS(ProvisionNotifications)# setNotificationReceiver setNotificationReceiver_req http_BA_password lab123
UCS(ProvisionNotifications)# setNotificationReceiver setNotificationReceiver_req http_BA_user guest123
UCS(ProvisionNotifications)# setNotificationReceiver setNotificationReceiver_req http_file_path myfiles/nid_notification
UCS(ProvisionNotifications)# setNotificationReceiver setNotificationReceiver_req http_server_address 10.20.30.40
UCS(ProvisionNotifications)# setNotificationReceiver review
Commands in queue:
setNotificationReceiver setNotificationReceiver_req heartbeat 30
setNotificationReceiver setNotificationReceiver_req http_BA_password lab123
setNotificationReceiver setNotificationReceiver_req http_BA_user guest123
setNotificationReceiver setNotificationReceiver_req http_file_path myfiles/nid_notification
setNotificationReceiver setNotificationReceiver_req http_server_address 10.20.30.40
UCS(ProvisionNotifications)# setNotificationReceiver commit
SetNotificationReceiver_Output.setNotificationReceiver_resp.registerOK = true
SetNotificationReceiver_Output.setNotificationReceiver_resp.cookie = 5120
SetNotificationReceiver Commit Success!!!!
UCS(ProvisionNIDMgmtType)# exit
![]() Note | Use this procedure to generate multiple cookies. In the above mentioned example, 5120 is the cookie value. |
Registering for HeartBeat Notification
Configuration Example
UCS# ProvisionNotifications
UCS(ProvisionNotifications)# registerForNotification regForNotification_req cookie 5120
UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 1 enable enable
UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 1 module_id 1
UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 1 notification_id 1
UCS(ProvisionNotifications)# registerForNotification review
Commands in queue:
registerForNotification regForNotification_req cookie 5120
registerForNotification regForNotification_req notifications_list 1 enable enable
registerForNotification regForNotification_req notifications_list 1 module_id 1
registerForNotification regForNotification_req notifications_list 1 notification_id 1
UCS(ProvisionNotifications)# registerForNotification commit
RegisterForNotification_Output.regForNotification_resp = 0
RegisterForNotification Commit Success!!!
UCS(ProvisionNIDMgmtType)# exit
Registering for Config Change Trap Notification
| Command or Action | Purpose | |||
|---|---|---|---|---|
| Step 1 | Configure NID
Example: UCS# Configure NID 1 | Opens a new session for NID 1. | ||
| Step 2 | ProvisionNotifications
Example: UCS# ProvisionNotifications | Enters the Notifications mode. | ||
| Step 3 | registerForNotification
regForNotification_req {cookie
cookie
value |
notifications_list
List of
notifications {enable {enable |
disable} |
module_id
Module
ID |
notification_id
Notification
ID }}
Example: UCS(ProvisionNotifications)# registerForNotification regForNotification_req cookie 5120 UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 2 enable enable UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 2 module_id 2 UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 2 notification_id 1
| Lists all the
registered notifications under the generated cookie.
| ||
| Step 4 | registerForNotification review
Example: UCS(ProvisionNotifications)# registerForNotification review | Displays the configuration. | ||
| Step 5 | registerForNotification commit
Example: UCS(ProvisionNotifications)# registerForNotification commit | Sends the configuration to the NID. | ||
| Step 6 | exit
Example: UCS(ProvisionNotifications)# exit | Exits the Notifications mode. |
Configuration Example
UCS# ProvisionNotifications
UCS(ProvisionNotifications)# registerForNotification regForNotification_req cookie 5120
UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 2 enable enable
UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 2 module_id 2
UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 2 notification_id 1
UCS(ProvisionNotifications)# registerForNotification review
Commands in queue:
registerForNotification regForNotification_req cookie 5120
registerForNotification regForNotification_req notifications_list 2 enable enable
registerForNotification regForNotification_req notifications_list 2 module_id 2
registerForNotification regForNotification_req notifications_list 2 notification_id 1
UCS(ProvisionNotifications)# registerForNotification commit
RegisterForNotification_Output.regForNotification_resp = 0
RegisterForNotification Commit Success!!!
UCS(ProvisionNIDMgmtType)# exit
Registering for Asynchronous Failure Notification
| Command or Action | Purpose | |||
|---|---|---|---|---|
| Step 1 | Configure NID
Example: UCS# Configure NID 1 | Opens a new session for NID 1. | ||
| Step 2 | ProvisionNotifications
Example: UCS# ProvisionNotifications | Enters the Notifications mode. | ||
| Step 3 | registerForNotification
regForNotification_req {cookie
cookie
value |
notifications_list
List of
notifications {enable {enable |
disable} |
module_id
Module
ID |
notification_id
Notification
ID }}
Example: UCS(ProvisionNotifications)# registerForNotification regForNotification_req cookie 5120 UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 3 enable enable UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 3 module_id 3 UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 3 notification_id 1
| Lists all the
registered notifications under the generated cookie.
| ||
| Step 4 | registerForNotification review
Example: UCS(ProvisionNotifications)# registerForNotification review | Displays the configuration. | ||
| Step 5 | registerForNotification commit
Example: UCS(ProvisionNotifications)# registerForNotification commit | Sends the configuration to the NID. | ||
| Step 6 | exit
Example: UCS(ProvisionNotifications)# exit | Exits the Notifications mode. |
Configuration Example
UCS# ProvisionNotifications
UCS(ProvisionNotifications)# registerForNotification regForNotification_req cookie 5120
UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 3 enable enable
UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 3 module_id 3
UCS(ProvisionNotifications)# registerForNotification regForNotification_req notifications_list 3 notification_id 1
UCS(ProvisionNotifications)# registerForNotification review
Commands in queue:
registerForNotification regForNotification_req cookie 5120
registerForNotification regForNotification_req notifications_list 3 enable enable
registerForNotification regForNotification_req notifications_list 3 module_id 3
registerForNotification regForNotification_req notifications_list 3 notification_id 1
UCS(ProvisionNotifications)# registerForNotification commit
RegisterForNotification_Output.regForNotification_resp = 0
RegisterForNotification Commit Success!!!
UCS(ProvisionNIDMgmtType)# exit
Listing Notifications
| Command or Action | Purpose | |
|---|---|---|
| Step 1 | Configure NID
Example: UCS# Configure NID 1 | Opens a new session for NID 1. |
| Step 2 | ProvisionNotifications
Example: UCS# ProvisionNotifications | Enters the Notifications mode. |
| Step 3 | listRegisteredNotification
listNotificationsRegistered {cookie
cookie
value}
Example: UCS(ProvisionNotifications)# listRegisteredNotification listNotificationsRegistered cookie 5120 | Lists all the registered notifications under the generated cookie. |
| Step 4 | listRegisteredNotification review
Example: UCS(ProvisionNotifications)# listRegisteredNotification review | Displays the configuration. |
| Step 5 | listRegisteredNotification commit
Example: UCS(ProvisionNotifications)# listRegisteredNotification commit | Sends the configuration to the NID. |
| Step 6 | exit
Example: UCS(ProvisionNotifications)# exit | Exits the Notifications mode. |
Configuration Example
UCS# ProvisionNotifications
UCS(ProvisionNotifications)# listRegisteredNotification listNotificationsRegistered cookie 5120
UCS(ProvisionNotifications)# listRegisteredNotification review
Commands in queue:
listRegisteredNotification listNotificationsRegistered cookie 5120
UCS(ProvisionNotifications)# listRegisteredNotification commit
ListRegisteredNotification_Output.regForNotification_req.notifications_list[0].module_id = 1
ListRegisteredNotification_Output.regForNotification_req.notifications_list[0].notification_id = 1
ListRegisteredNotification_Output.regForNotification_req.notifications_list[0].enable = true
ListRegisteredNotification_Output.regForNotification_req.notifications_list[1].module_id = 2
ListRegisteredNotification_Output.regForNotification_req.notifications_list[1].notification_id = 1
ListRegisteredNotification_Output.regForNotification_req.notifications_list[1].enable = true
ListRegisteredNotification_Output.regForNotification_req.notifications_list[2].module_id = 3
ListRegisteredNotification_Output.regForNotification_req.notifications_list[2].notification_id = 1
ListRegisteredNotification_Output.regForNotification_req.notifications_list[2].enable = true
ListRegisteredNotification_Output.regForNotification_req.cookie = 5120
ListRegisteredNotification Commit Success!!!
UCS(ProvisionNIDMgmtType)# exit
Deleting Notifications
| Command or Action | Purpose | |
|---|---|---|
| Step 1 | Configure NID
Example: UCS# Configure NID 1 | Opens a new session for NID 1. |
| Step 2 | ProvisionNotifications
Example: UCS# ProvisionNotifications | Enters the Notifications mode. |
| Step 3 | delNotificationReceiver
delNotifReceiver_req {cookie
cookie
value}
Example: UCS(ProvisionNotifications)# delNotificationReceiver delNotifReceiver_req cookie 5120 | Deletes the notifications under the cookie. |
| Step 4 | delNotificationReceiver review
Example: UCS(ProvisionNotifications)# delNotificationReceiver review | Displays the configuration. |
| Step 5 | delNotificationReceiver commit
Example: UCS(ProvisionNotifications)# delNotificationReceiver commit | Sends the configuration to the NID. |
| Step 6 | exit
Example: UCS(ProvisionNotifications)# exit | Exits the Notifications mode. |
Configuration Example
UCS# ProvisionNotifications
UCS(ProvisionNotifications)# delNotificationReceiver delNotifReceiver_req cookie 5120
UCS(ProvisionNotifications)# delNotificationReceiver review
Commands in queue:
delNotificationReceiver delNotifReceiver_req cookie 5120
UCS(ProvisionNotifications)# delNotificationReceiver commit
DelNotificationReceiver_Output.delNotifReceiver_resp = false
DelNotificationReceiver Commit Success!!!
UCS(ProvisionNIDMgmtType)# exit
After deleting the notification, use the listRegisteredNotification listNotificationsRegistered {cookie cookie value} command to verify if the delete operation is successful.
UCS(ProvisionNotifications)# listRegisteredNotification listNotificationsRegistered cookie cookie value UCS(ProvisionNotifications)# listRegisteredNotification review UCS(ProvisionNotifications)# listRegisteredNotification commit
Feedback