ACC-FAKE DEFINITIONS ::= BEGIN -- Fake definitions taken from standard MIBs -- (don't ask why this doesn't work the proper way...) IMPORTS OBJECT-TYPE, IpAddress FROM RFC1155-SMI DisplayString FROM RFC1213-MIB acc FROM ACC-MIB; accFake OBJECT IDENTIFIER ::= { acc 2 } -- From rfc1213.mib ifOperStatus OBJECT-TYPE SYNTAX INTEGER { -- ready to pass packets up(1), down(2), -- in some test mode testing(3) } ACCESS read-only STATUS mandatory DESCRIPTION "The current operational state of the interface. The testing(3) state indicates that no operational packets can be passed." -- ::= { ifEntry 8 } ::= { accFake 1 } -- From rfc1315.mib --------------------------------------------- DLCI ::= INTEGER -- 0..DLCINumber frCircuitDlci OBJECT-TYPE SYNTAX DLCI ACCESS read-only STATUS mandatory DESCRIPTION "The Data Link Connection Identifier for this virtual circuit." REFERENCE "Draft American National Standard T1.618-1991, Section 3.3.6" -- ::= { frCircuitEntry 2 } ::= { accFake 2 } -- From ospf_std_mibdef.txt AreaID ::= IpAddress InterfaceIndex ::= INTEGER RouterID ::= IpAddress TruthValue ::= INTEGER { true(1), false(2) } Status ::= INTEGER { enabled(1), disabled(2) } ospfIfIpAddress OBJECT-TYPE SYNTAX IpAddress ACCESS read-write STATUS mandatory DESCRIPTION "The IP address of this OSPF interface." -- ::= { ospfIfEntry 1 } ::= { accFake 3 } ospfAddressLessIf OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS mandatory DESCRIPTION "For the purpose of easing the instancing of addressed and addressless interfaces; This variable takes the value 0 on interfaces with IP Addresses, and the corresponding value of ifIndex for interfaces having no IP Address." -- ::= { ospfIfEntry 2 } ::= { accFake 4 } ospfAreaId OBJECT-TYPE SYNTAX AreaID ACCESS read-write STATUS mandatory DESCRIPTION "A 32-bit integer uniquely identifying an area. Area ID 0.0.0.0 is used for the OSPF backbone." REFERENCE "OSPF Version 2, Appendix C.2 Area parameters" -- ::= { ospfAreaEntry 1 } ::= { accFake 5 } ospfIfType OBJECT-TYPE SYNTAX INTEGER { broadcast (1), nbma (2), pointToPoint (3) } ACCESS read-write STATUS mandatory DESCRIPTION "The OSPF interface type. By way of a default, this field may be intuited from the corresponding value of ifType. Broadcast LANs, such as Ethernet and IEEE 802.5, take the value 'broadcast', X.25, Frame Relay, and similar technologies take the value 'nbma', and links that are definitively point to point take the value 'pointToPoint'." -- ::= { ospfIfEntry 4 } ::= { accFake 6 } ospfVirtIfAreaId OBJECT-TYPE SYNTAX AreaID ACCESS read-write STATUS mandatory DESCRIPTION "The Transit Area that the Virtual Link traverses. By definition, this is not 0.0.0.0" -- ::= { ospfVirtIfEntry 1 } ::= { accFake 7 } ospfVirtIfNeighbor OBJECT-TYPE SYNTAX RouterID ACCESS read-write STATUS mandatory DESCRIPTION "The Router ID of the Virtual Neighbor." -- ::= { ospfVirtIfEntry 2 } ::= { accFake 8 } ospfVirtNbrArea OBJECT-TYPE SYNTAX AreaID ACCESS read-only STATUS mandatory DESCRIPTION "The Transit Area Identifier." -- ::= { ospfVirtNbrEntry 1 } ::= { accFake 9 } ospfRouterId OBJECT-TYPE SYNTAX RouterID ACCESS read-write STATUS mandatory DESCRIPTION "A 32-bit integer uniquely identifying the router in the Autonomous System. By convention, to ensure uniqueness, this should default to the value of one of the router's IP interface addresses." REFERENCE "OSPF Version 2, C.1 Global parameters" -- ::= { ospfGeneralGroup 1 } ::= { accFake 10 } ospfASBdrRtrStatus OBJECT-TYPE SYNTAX TruthValue ACCESS read-write STATUS mandatory DESCRIPTION "A flag to note whether this router is an Autonomous System border router." REFERENCE "OSPF Version 2, Section 3.3 Classification of routers" -- ::= { ospfGeneralGroup 5 } ::= { accFake 11 } ospfTOSSupport OBJECT-TYPE SYNTAX TruthValue ACCESS read-write STATUS mandatory DESCRIPTION "The router's support for type-of-service routing." REFERENCE "OSPF Version 2, Appendix F.1.2 Optional TOS support" -- ::= { ospfGeneralGroup 8 } ::= { accFake 12 } ospfAdminStat OBJECT-TYPE SYNTAX Status ACCESS read-write STATUS mandatory DESCRIPTION "The administrative status of OSPF in the router. The value 'enabled' denotes that the OSPF Process is active on at least one interface; 'disabled' disables it on all interfaces." -- ::= { ospfGeneralGroup 2 } ::= { accFake 13 } ospfNbrIpAddr OBJECT-TYPE SYNTAX IpAddress ACCESS read-write STATUS mandatory DESCRIPTION "The IP address of this neighbor." -- ::= { ospfNbrEntry 1 } ::= { accFake 14 } ospfLsdbType OBJECT-TYPE SYNTAX INTEGER { routerLink (1), networkLink (2), summaryLink (3), asSummaryLink (4), asExternalLink (5) } ACCESS read-only STATUS mandatory DESCRIPTION "The type of the link state advertisement. Each link state type has a separate advertisement format." REFERENCE "OSPF Version 2, Appendix A.4.1 The Link State Advertisement header" -- ::= { ospfLsdbEntry 2 } ::= { accFake 15 } ospfLsdbAreaId OBJECT-TYPE SYNTAX AreaID ACCESS read-only STATUS mandatory DESCRIPTION "The 32 bit identifier of the Area from which the LSA was received." REFERENCE "OSPF Version 2, Appendix C.2 Area parameters" -- ::= { ospfLsdbEntry 1 } ::= { accFake 16 } ospfNbrAddressLessIndex OBJECT-TYPE SYNTAX InterfaceIndex ACCESS read-write STATUS mandatory DESCRIPTION " On an interface having an IP Address, zero. On addressless interfaces, the corresponding value of ifIndex in the Internet Standard MIB. On row creation, this can be derived from the instance." -- ::= { ospfNbrEntry 2 } ::= { accFake 17 } -- From OSPC-MIB.my ------------------------------------------ ospfMulticastExtensions OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS current DESCRIPTION "A Bit Mask indicating whether the router is forwarding IP multicast (Class D) datagrams based on the algorithms defined in the Multi- cast Extensions to OSPF. Bit 0, if set, indicates that the router can forward IP multicast datagrams in the router's directly attached areas (called intra-area mul- ticast routing). Bit 1, if set, indicates that the router can forward IP multicast datagrams between OSPF areas (called inter-area multicast routing). Bit 2, if set, indicates that the router can forward IP multicast datagrams between Auto- nomous Systems (called inter-AS multicast rout- ing). Only certain combinations of bit settings are allowed, namely: 0 (no multicast forwarding is enabled), 1 (intra-area multicasting only), 3 (intra-area and inter-area multicasting), 5 (intra-area and inter-AS multicasting) and 7 (multicasting everywhere). By default, no mul- ticast forwarding is enabled." -- DEFVAL { 0 } -- ::= { ospfGeneralGroup 12 } ::= { accFake 18 } ospfAreaAggregateAreaID OBJECT-TYPE SYNTAX AreaID ACCESS read-only STATUS current DESCRIPTION "The Area the Address Aggregate is to be found within." REFERENCE "OSPF Version 2, Appendix C.2 Area parameters" -- ::= { ospfAreaAggregateEntry 1 } ::= { accFake 19 } ospfAreaAggregateNet OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS current DESCRIPTION "The IP Address of the Net or Subnet indicated by the range." REFERENCE "OSPF Version 2, Appendix C.2 Area parameters" -- ::= { ospfAreaAggregateEntry 3 } ::= { accFake 20 } ospfAreaAggregateMask OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS current DESCRIPTION "The Subnet Mask that pertains to the Net or Subnet." REFERENCE "OSPF Version 2, Appendix C.2 Area parameters" -- ::= { ospfAreaAggregateEntry 4 } ::= { accFake 21 } -- From IP-FORWARD-MIB.my ------------------------------------- ipCidrRouteDest OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS current DESCRIPTION "The destination IP address of this route. This object may not take a Multicast (Class D) address value. Any assignment (implicit or otherwise) of an instance of this object to a value x must be rejected if the bitwise logical-AND of x with the value of the corresponding instance of the ipCidrRouteMask object is not equal to x." -- ::= { ipCidrRouteEntry 1 } ::= { accFake 22 } ipCidrRouteMask OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS current DESCRIPTION "Indicate the mask to be logical-ANDed with the destination address before being compared to the value in the ipCidrRouteDest field. For those systems that do not support arbitrary subnet masks, an agent constructs the value of the ipCidrRouteMask by reference to the IP Ad- dress Class. Any assignment (implicit or otherwise) of an instance of this object to a value x must be rejected if the bitwise logical-AND of x with the value of the corresponding instance of the ipCidrRouteDest object is not equal to ipCidrRoute- Dest." -- ::= { ipCidrRouteEntry 2 } ::= { accFake 23 } -- The following convention is included for specification -- of TOS Field contents. At this time, the Host Requirements -- and the Router Requirements documents disagree on the width -- of the TOS field. This mapping describes the Router -- Requirements mapping, and leaves room to widen the TOS field -- without impact to fielded systems. ipCidrRouteTos OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS current DESCRIPTION "The policy specifier is the IP TOS Field. The encoding of IP TOS is as specified by the following convention. Zero indicates the default path if no more specific policy applies. +-----+-----+-----+-----+-----+-----+-----+-----+ | | | | | PRECEDENCE | TYPE OF SERVICE | 0 | | | | | +-----+-----+-----+-----+-----+-----+-----+-----+ IP TOS IP TOS Field Policy Field Policy Contents Code Contents Code 0 0 0 0 ==> 0 0 0 0 1 ==> 2 0 0 1 0 ==> 4 0 0 1 1 ==> 6 0 1 0 0 ==> 8 0 1 0 1 ==> 10 0 1 1 0 ==> 12 0 1 1 1 ==> 14 1 0 0 0 ==> 16 1 0 0 1 ==> 18 1 0 1 0 ==> 20 1 0 1 1 ==> 22 1 1 0 0 ==> 24 1 1 0 1 ==> 26 1 1 1 0 ==> 28 1 1 1 1 ==> 30" -- ::= { ipCidrRouteEntry 3 } ::= { accFake 24 } ipCidrRouteNextHop OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS current DESCRIPTION "On remote routes, the address of the next sys- tem en route; Otherwise, 0.0.0.0." -- ::= { ipCidrRouteEntry 4 } ::= { accFake 25 } -- From rfc1573.mib ------------------------------------------------ ifName OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS current DESCRIPTION "The textual name of the interface. The value of this object should be the name of the interface as assigned by the local device and should be suitable for use in commands entered at the device's `console'. This might be a text name, such as `le0' or a simple port number, such as `1', depending on the interface naming syntax of the device. If several entries in the ifTable together represent a single interface as named by the device, then each will have the same value of ifName. If there is no local name, or this object is otherwise not applicable, then this object contains a 0-length string." -- ::= { ifXEntry 1 } ::= { accFake 26 } ---------------------------------------------------------------------- END