📄 rfc2940.mib
字号:
COPS-CLIENT-MIB DEFINITIONS ::= BEGIN-- --------------------------------------------------------------- -------------------------------------------------------------IMPORTS MODULE-IDENTITY, OBJECT-TYPE, Counter32, Integer32, Unsigned32, mib-2 FROM SNMPv2-SMI TimeStamp, TimeInterval, RowStatus, TEXTUAL-CONVENTION FROM SNMPv2-TC MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF InetAddressType, InetAddress FROM INET-ADDRESS-MIB;-- REFERENCE-- "The COPS (Common Open Policy Service) Protocol RFC 2748copsClientMIB MODULE-IDENTITY LAST-UPDATED "200009280000Z" ORGANIZATION "IETF RSVP Admission Policy Working Group" CONTACT-INFO " Andrew Smith (WG co-chair) Phone: +1 408 579 2821 Email: ah_smith@pacbell.net Mark Stevens (WG co-chair) Phone: +1 978 287 9102 Email: markstevens@lucent.com Editor: Andrew Smith Phone: +1 408 579 2821 Email: ah_smith@pacbell.net Editor: David Partain Phone: +46 13 28 41 44 Email: David.Partain@ericsson.com Editor: John Seligson Phone: +1 408 495 2992 Email: jseligso@nortelnetworks.com" DESCRIPTION "The COPS Client MIB module" REVISION "200009280000Z" DESCRIPTION "This version published as RFC 2940" ::= { mib-2 89 }copsClientMIBObjects OBJECT IDENTIFIER ::= { copsClientMIB 1 }-- --------------------------------------------------------------- Textual Conventions-- -------------------------------------------------------------CopsClientState ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "A value indicating the state of a COPS client." SYNTAX INTEGER { copsClientInvalid(1), -- default state. copsClientTcpconnected(2), -- TCP connection up but COPS -- not yet open. copsClientAuthenticating(3), -- TCP connection up but still -- authenticating. copsClientSecAccepted(4), -- connection authenticated. copsClientAccepted(5), -- COPS server accepted client. copsClientTimingout(6) -- Keepalive timer has expired, -- client is in process of -- tearing down connection. }CopsServerEntryType ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "A value indicating how a COPS server entry came into existence." SYNTAX INTEGER { copsServerStatic(1), -- configured by manager copsServerRedirect(2) -- notified by COPS server }CopsErrorCode ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "A value describing a COPS protocol error. Codes are identical to those used by the COPS protocol itself." SYNTAX INTEGER { errorOther(0), -- none of the below errorBadHandle(1), errorInvalidHandleReference(2), errorBadMessageFormat(3), errorUnableToProcess(4), errorMandatoryClientSiMissing(5), errorUnsupportedClientType(6), errorMandatoryCopsObjectMissing(7), errorClientFailure(8), errorCommunicationFailure(9), errorUnspecified(10), -- client-type specific subcode errorShuttingDown(11), errorRedirectToPreferredServer(12), errorUnknownCopsObject(13), errorAuthenticationFailure(14), errorAuthenticationMissing(15) }-- REFERENCE-- "RFC 2748 section 2.2.8"CopsTcpPort ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "A value indicating a TCP protocol port number." SYNTAX INTEGER (0..65535)CopsAuthType ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "A value indicating a type of security authentication mechanism." SYNTAX INTEGER { authNone(0), authOther(1), authIpSecAh(2), authIpSecEsp(3), authTls(4), authCopsIntegrity(5) }-- -------------------------------------------------------------copsClientCapabilitiesGroup OBJECT IDENTIFIER ::= { copsClientMIBObjects 1 }-- ----------------------------------------------------------------- Capabilities of the COPS client to connect to a COPS server:--copsClientCapabilities OBJECT-TYPE SYNTAX BITS { copsClientVersion1(0), -- supports version1 of COPS protocol copsClientAuthIpSecAh(1) , -- supports IP-SEC Authentication copsClientAuthIpSecEsp(2), -- supports IP-SEC Encryption copsClientAuthTls(3), -- supports Transport-Layer Security copsClientAuthInteg(4) -- supports COPS Integrity } MAX-ACCESS read-only STATUS current DESCRIPTION "A list of the optional capabilities that this COPS client supports." ::= { copsClientCapabilitiesGroup 1 }-- -------------------------------------------------------------copsClientStatusGroup OBJECT IDENTIFIER ::= { copsClientMIBObjects 2 }-- ----------------------------------------------------------------- Current status of COPS server connections, all read-only.--copsClientServerCurrentTable OBJECT-TYPE SYNTAX SEQUENCE OF CopsClientServerCurrentEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table of information regarding COPS servers as seen from the point of view of a COPS client. This table contains entries for both statically-configured and dynamically-learned servers (from a PDP Redirect operation). One entry exists in this table for each COPS Client-Type served by the COPS server. In addition, an entry will exist with copsClientServerClientType 0 (zero) representing information about the underlying connection itself: this is consistent with the COPS specification which reserves this value for this purpose." ::= { copsClientStatusGroup 1 }copsClientServerCurrentEntry OBJECT-TYPE SYNTAX CopsClientServerCurrentEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A set of information regarding a single COPS server serving a single COPS Client-Type from the point of view of a COPS client." INDEX { copsClientServerAddressType, copsClientServerAddress, copsClientServerClientType } ::= { copsClientServerCurrentTable 1 }CopsClientServerCurrentEntry ::= SEQUENCE { copsClientServerAddressType InetAddressType, copsClientServerAddress InetAddress, copsClientServerClientType INTEGER, copsClientServerTcpPort CopsTcpPort, copsClientServerType CopsServerEntryType, copsClientServerAuthType CopsAuthType, copsClientServerLastConnAttempt TimeStamp, copsClientState CopsClientState, copsClientServerKeepaliveTime TimeInterval, copsClientServerAccountingTime TimeInterval, copsClientInPkts Counter32, copsClientOutPkts Counter32, copsClientInErrs Counter32, copsClientLastError CopsErrorCode, copsClientTcpConnectAttempts Counter32, copsClientTcpConnectFailures Counter32, copsClientOpenAttempts Counter32, copsClientOpenFailures Counter32, copsClientErrUnsupportClienttype Counter32, copsClientErrUnsupportedVersion Counter32, copsClientErrLengthMismatch Counter32, copsClientErrUnknownOpcode Counter32, copsClientErrUnknownCnum Counter32, copsClientErrBadCtype Counter32, copsClientErrBadSends Counter32, copsClientErrWrongObjects Counter32, copsClientErrWrongOpcode Counter32, copsClientKaTimedoutClients Counter32, copsClientErrAuthFailures Counter32, copsClientErrAuthMissing Counter32 }copsClientServerAddressType OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS not-accessible STATUS current DESCRIPTION "The type of address in copsClientServerAddress." ::= { copsClientServerCurrentEntry 1 }copsClientServerAddress OBJECT-TYPE SYNTAX InetAddress MAX-ACCESS not-accessible STATUS current DESCRIPTION "The IPv4, IPv6 or DNS address of a COPS Server. Note that, since this is an index to the table, the DNS name must be short enough to fit into the maximum length of indices allowed by the management protocol in use." REFERENCE "RFC 2748 section 2.3" ::= { copsClientServerCurrentEntry 2 }copsClientServerClientType OBJECT-TYPE SYNTAX INTEGER (0..65535) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The COPS protocol Client-Type for which this entry applies. Multiple Client-Types can be served by a single COPS server. The value 0 (zero) indicates that this entry contains information about the underlying connection itself." REFERENCE "RFC 2748 section 6, IANA" ::= { copsClientServerCurrentEntry 3 }copsClientServerTcpPort OBJECT-TYPE SYNTAX CopsTcpPort MAX-ACCESS read-only STATUS current DESCRIPTION "The TCP port number on the COPS server to which the client should connect/is connected." ::= { copsClientServerCurrentEntry 4 }copsClientServerType OBJECT-TYPE SYNTAX CopsServerEntryType MAX-ACCESS read-only STATUS current DESCRIPTION "Indicator of the source of this COPS server information. COPS servers may be configured by network management into copsClientServerConfigTable and appear in this entry with type copsServerStatic(1). Alternatively, the may be notified from another COPS server by means of the COPS PDP-Redirect mechanism and appear as copsServerRedirect(2)." ::= { copsClientServerCurrentEntry 5 }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -