Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Activating an event-handler on an RBridge

Use this procedure to activate one or more event-handlers on an RBridge. If a trigger specified in the event-handler profile occurs, a designated Python script runs.

  1. Enter configure terminal to access global configuration mode.
    device# configure terminal
  2. Enter the rbridge-id command to access RBridge configuration mode.
    device(config)# rbridge-id 1
  3. Enter the event-handler activate command, specifying the event handler that you are activating on the RBridge.
    device(config-rbridge-id-1)# event-handler activate eventHandler1
  4. To activate an additional event handler on the RBridge, enter the event-handler activate command, specifying the additional event handler.
    device(config-activate-eventHandler1)# event-handler activate eventHandler2
  5. To de-activate an event handler on that Rbridge, enter the no event-handler activate command
    device(config-activate-eventHandler2)# no event-handler activate eventHandler2

The following example includes all of the activation steps.

device# configure terminal
device(config)# rbridge-id 1
device(config-rbridge-id-1)# event-handler activate eventHandler1
device(config-activate-eventHandler1)# event-handler activate eventHandler2