8. ASN.1 Definitions
The ASN.1 syntax referenced by the attribute templates in section 6 are either defined in RFC1065-SMI, the Attribute-ASN1Module of ISO/IEC DIS 10165-2, or in the OIM-Module defined in this section. This module includes some syntax definitions taken from the RFC1158 since they were not included in that document inside an ASN.1 module and hence could not be externally referenced.
OIM-Module {iso org(3) dod(6) internet(1) mgmt(2) mib(1)
oim(9) misc(4) 1}
DEFINITIONS ::=
BEGIN
-- EXPORTS Everything
IMPORTS ObjectClass, ObjectInstance
FROM CMIP-1{joint-iso-ccitt ms(9) cmip(1)
modules(0) protocol(3)}
ObjectName, ObjectSyntax
FROM RFC1065-SMI;
mib OBJECT IDENTIFIER ::= {iso org(3) dod(6)
internet(1) mgmt(2) 1}
at OBJECT IDENTIFIER ::= {mib 3}
oim OBJECT IDENTIFIER ::= {mib 9}
cmotVersion OBJECT IDENTIFIER ::= {oim 1}
cmotACSEInfo OBJECT IDENTIFIER ::= {oim 2}
cmotSystemId OBJECT IDENTIFIER ::= {oim 3}
misc OBJECT IDENTIFIER ::= {oim 4}
objects OBJECT IDENTIFIER ::= {oim 5}
attributes OBJECT IDENTIFIER ::= {oim 6}
events OBJECT IDENTIFIER ::= {oim 7}
nameforms OBJECT IDENTIFIER ::= {oim 8}
actions OBJECT IDENTIFIER ::= {oim 9}
-- Generic and MIB specific syntax
EgpNeighEventTrigger ::= INTEGER {
start(1),
stop(2)
}
EgpNeighMode ::= INTEGER {
active(1),
passive(2)
}
EgpNeighState ::= INTEGER {
idle(1),
acquisition(2),
down(3),
up(4),
cease(5)
}
Integer ::= INTEGER
Integer128 ::= INTEGER (0..127)
Integer64k ::= INTEGER (0..65535)
IfAdminStatus ::= INTEGER {
up(1), -- ready to pass packets
down(2),
testing(3) -- in some test mode
}
IfOperStatus ::= INTEGER {
up(1), -- ready to pass packets
down(2),
testing(3) -- in some test mode
}
IfType INTEGER {
other(1), -- none of the following
regular1822(2),
hdh1822(3),
ddn-x25(4),
rfc877-x25(5),
ethernet-csmacd(6),
iso88023-csmacd(7),
iso88024-tokenBus(8),
iso88025-tokenRing(9),
iso88026-man(10),
starLan(11),
proteon-10Mbit(12),
proteon-80Mbit(13),
hyperchannel(14),
fddi(15),
lapb(16),
sdlc(17),
ds1(18),
e1(19), -- european equivalent
-- of T-1
basicISDN(20),
primaryISDN(21),
-- proprietary serial
propPointToPointSerial(22),
ppp(23),
softwareLoopback(24),
eon(25), -- CLNP over IP
ethernet-3Mbit(26),
nsip(27), -- XNS over IP
slip(28), -- generic SLIP
ultra(29), -- ULTRA technologies
ds3(30), -- T-3
sip(31), -- SMDS
frame-relay(32)
}
IpForwarding ::= INTEGER {
forwarding(1), -- acting as a gateway
not-forwarding(2) -- NOT acting as
-- a gateway
}
IpNetToMediaType ::= INTEGER {
other(1), -- none of the
-- following
invalid(2), -- an invalidated
-- mapping
dynamic(3),
static(4) }
IpRouteProto ::= INTEGER {
other(1), -- none of the
-- following
local(2), -- configured entries
netmgmt(3), -- mgmt protocol
icmp(4), -- obtained via ICMP,
-- e.g., redirect
egp(5),
ggp(6),
hello(7),
rip(8),
is-is(9),
es-is(10),
ciscoIgrp(11),
bbnSpfIgp(12),
ospf(13),
bgp(14)
}
IpRouteType ::= INTEGER {
other(1), -- none of the
-- following
invalid(2), -- an invalidated
-- route
direct(3), -- route to directly
-- connected
-- subnetwork
indirect(4) -- route to a
-- non-local
-- host/network/
-- subnet
}
ObjectId ::= OBJECT IDENTIFIER
OctetString ::= OCTET STRING
PhysAddress ::= OCTET STRING
PrintString ::= DisplayString (SIZE (0..255))
DisplayString ::= OCTET STRING
--
-- DisplayString is restricted to the NVT ASCII character set as
-- defined in pages 10-11 of RFC 854 "TELNET Protocol
-- Specification", May 1983 [15].
--
-- SNMP trap syntax
SnmpEnableAuthenTraps ::= INTEGER {
enabled(1),
disabled(2)
}
SnmpTrapInfo ::= SEQUENCE {
enterprise -- type of device generating
-- event
-- see sysObjectId
OBJECT IDENTIFIER,
agent-addr -- address of device generating
-- the event
NetworkAddress,
generic-trap INTEGER {coldStart (0),
warmStart (1),
linkDown (2),
linkUp (3),
authenticationFailure (4),
egpNeighborLoss (5),
enterpriseSpecific (6) },
specific-trap INTEGER OPTIONAL, -- enterprise specific
variable-bindings VarBindList OPTIONAL}
VarBindList ::= SEQUENCE OF VarBind
VarBind ::= SEQUENCE {
name ObjectName,
ovalue ObjectSyntax}
TcpConnState ::= INTEGER {
closed(1),
listen(2),
synSent(3),
synReceived(4),
established(5),
finWait1(6),
finWait2(7),
closeWait(8),
lastAck(9),
closing(10),
timeWait(11),
deleteTCP(12) }
TcpRtoAlgorithm ::= INTEGER {
other(1), -- none of the
-- following
constant(2), -- a constant rto
rsre(3), -- MIL-STD-1778,
-- Appendix B
vanj(4) -- Van Jacobsons alg.
}
END