| Hi Lee,
I succeed to receive DECNIS 600 event with the following MCC commands :
On your MCC session :
! Enable the MCC phase V event sink
!
enable mcc 0 dna5_am sink
!
! Create event dispatcher in DECnis node
!
create node decnis event dispatcher, by user system, by password password
!
! Create event dispatcher outbound stream in DECnis node
!
create node decnis event dispatcher outbound stream out_stream_name, -
by user system, by password password
!
! set sink outbound stream to MCC if director is a Phase IV
! 49::00-3F:AA-00-04-00-40-FD:20 is the hard address of MCC station
set node decnis event dispatcher outbound stream out_stream_name -
sink address = { ([DNA_CMIP-MICE, none], -
[DNA_SessionControlV2, name = MCC_EVL_SINK], -
[DNA_NSP, none], -
[DNA_OSInetwork, 49::00-3F:AA-00-04-00-40-FD:20])}, -
by user system, by password password
!
! set sink outbound stream to MCC if director is a Phase V
! DNA_SessionControlV3 instead DNA_SessionControlV2
set node decnis event dispatcher outbound stream out_stream_name -
sink address = { ([DNA_CMIP-MICE, none], -
[DNA_SessionControlV3, name = MCC_EVL_SINK], -
[DNA_NSP, none], -
[DNA_OSInetwork, 49::00-3F:AA-00-04-00-40-FD:20])}, -
by user system, by password password
For example, to receive event from HDLC LINK disconnected do the following :
!
! enable HDLC link
!
enable node decnis hdlc link w618-4-5, by user system, by password password
!
! Enable outbound stream
!
enable node decnis event dispatcher outbound stream out_stream_name, -
at start +00:00:15
!
! Verify outbound stream is in state On Connected
!
show node decnis event dispatcher outbound stream out_stream_name all status
!
! set HDLC Link to state ON
!
enable node decnis hdlc link w618-4-5, by user system, by password password
! to get the event
getevent node * hdlc link w618-4-5 Link Down
!
! set HDLC Link to state OFF
!
! In another MCC session do the following command
disable node decnis hdlc link w618-4-5, by user system, by password password
This works well with "node *" instead the name of the DECNIS, because there
is a case sensitivity known problem. If you want to precise absolutely the
DECNIS name take care to write it with the exactly characters (uppercase and
lowercase).
If you need more informations don't hesitate to reply in this note.
I hope this help you.
Regards,
Philippe
|