[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

5838.0. "Code examples of CMIP for TCP/IP needed." by DIEHRD::SUCONICK () Fri Jan 21 1994 11:45

   Does anyone have any code examples of using CMIP for showing TCP/IP
    nodes? I am looking into implementing the following: 
    
    ncl> show node xxx routing circuit xxxx ip address translation * all
    
    Any pointers would be appreciated.
    
    	Irina.
     
T.RTitleUserPersonal
Name
DateLines
5838.1MARVIN::COBBGraham R. Cobb (Routing), REO2-G/C2, 830-3917Wed Jan 26 1994 15:2822
That will be hard!  I presume you mean using the MCC_CALL interface?

If you  aren't limited to using the MCC_CALL interface I would recommend you
spawn NCL and parse the output (maybe even using something like awk to parse
the output)!

If you  really  want to use MCC_CALL, take a look at the example I posted in
the  MCC_TOOLS  conference  of  how  to  do  the  equivalent  of  SHOW  NODE
dec:.reo.msrv26 CHANGES OF ADDRESS.  The biggest problem you will face is in
constructing  the  entity  name  to  represent  that entity (and parsing the
entity  names  in the responses).  At least it is easier than trying to look
at the IP Destination Node database where the identifier is a RECORD!

However, I still recommend parsing NCL output.

If you  really don't want to do that then use SNMP.  The ARP cache (which is
what  that  command  displays)  is  part  of MIB-II and DECNIS and all later
routers  support  MIB-II.   If  you  are  going  to  use  SNMP you could use
something  like  the  ISODE  package  instead  of going to the complexity of
involving MCC.

Graham