
Hi All, I was trying to run the RFC1213 through smidump to create an XML file. I get the following errors:
--------------------------------------------------------------- $ ./smidump -fxml -pRFC1155-SMI.txt -pRFC-1212.txt -oaaa rfc1213_new.txt
failed to locate MIB module `RFC-1212' rfc1213_new.txt:262: index element `ifIndex' of row `ifEntry' must have a range restriction rfc1213_new.txt:609: index element `atIfIndex' of row `atEntry' must have a rang e restriction rfc1213_new.txt:1301: index element `ipNetToMediaIfIndex' of row `ipNetToMediaEn try' must have a range restriction smidump: module `rfc1213_new.txt' contains errors, expect flawed output -----------------------------------------------------------------
I used the RFC1213 located at: http://www.ibr.cs.tu-bs.de/projects/libsmi/orig/RFC1213-MIB The module files I used are attached! Any help will be highly appreciated!
Thanks! Yogini

Yogini Parkhi writes:
Yogini> Hi All, I was trying to run the RFC1213 through smidump to Yogini> create an XML file. I get the following errors:
Yogini> --------------------------------------------------------------- Yogini> $ ./smidump -fxml -pRFC1155-SMI.txt -pRFC-1212.txt -oaaa Yogini> rfc1213_new.txt
Yogini> failed to locate MIB module `RFC-1212' rfc1213_new.txt:262: Yogini> index element `ifIndex' of row `ifEntry' must have a range Yogini> restriction rfc1213_new.txt:609: index element `atIfIndex' of Yogini> row `atEntry' must have a rang e restriction Yogini> rfc1213_new.txt:1301: index element `ipNetToMediaIfIndex' of Yogini> row `ipNetToMediaEn try' must have a range restriction Yogini> smidump: module `rfc1213_new.txt' contains errors, expect Yogini> flawed output Yogini> -----------------------------------------------------------------
Yogini> I used the RFC1213 located at: Yogini> http://www.ibr.cs.tu-bs.de/projects/libsmi/orig/RFC1213-MIB Yogini> The module files I used are attached! Any help will be highly Yogini> appreciated!
Sorry, but I do not see where your problem is. Please describe precisely why you believe there is a problem. Also try to make sure the problem can be easily reproduced - e.g. by using MIB files as they come with the distribution. Finally, do not forget to mention the smidump version number.
/js -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.

Hi!
Yogini> I was trying to run the RFC1213 through smidump to create an Yogini> XML file. I get the following errors:
Yogini> --------------------------------------------------------------- Yogini> $ ./smidump -fxml -pRFC1155-SMI.txt -pRFC-1212.txt -oaaa rfc1213_new.txt
Yogini> failed to locate MIB module `RFC-1212' Yogini> rfc1213_new.txt:262: index element `ifIndex' of row `ifEntry' must have a Yogini> range Yogini> restriction Yogini> rfc1213_new.txt:609: index element `atIfIndex' of row `atEntry' must have a Yogini> rang Yogini> e restriction Yogini> rfc1213_new.txt:1301: index element `ipNetToMediaIfIndex' of row Yogini> `ipNetToMediaEn Yogini> try' must have a range restriction Yogini> smidump: module `rfc1213_new.txt' contains errors, expect flawed output Yogini> -----------------------------------------------------------------
Yogini> I used the RFC1213 located at: Yogini> http://www.ibr.cs.tu-bs.de/projects/libsmi/orig/RFC1213-MIB Yogini> The module files I used are attached! Yogini> Any help will be highly appreciated!
Your RFC-1212.txt file is not a valid module. It does not contain a ``RFC-1212 DEFINITIONS ::= BEGIN'' start phrase.
-frank -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.
participants (3)
-
Frank Strauss
-
Juergen Schoenwaelder
-
Yogini Parkhi