Common Open Policy Service (COPS) Protocol

Created

  • 2000-11

Last Updated

  • 2012-09-28

Available Formats


Client Types Values

Reference

  • RFC 2748: The COPS (Common Open Policy Service) Protocol

Note

Client-type values in the range 0x4000 - 0x7FFF are reserved for Private Use as defined in RFC 8126. These Client-types are not tracked by IANA and are not to be used in standards or general-release products, as their uniqueness cannot be assured.

Available Formats

RangeRegistration ProceduresNotes
0x0IETF ReviewDefined by RFC4261
0x001-0x3FFSpecification RequiredCOPS extension document required
0x4000-0x7FFFReservedPrivate Use
0x8000-0xFFFFFirst Come First Served

Client-type Values (0x0001-0x3FFF)

Available Formats

ValueNamePIB ModuleDescriptionReference
1COPS Usage for RSVPRFC 2749
2diffServdsPolicyPibDiffServ QoS, DIFFSERV-PIBRFC 3317

Client-Type Values (0x8000-0xFFFF)

Available Formats

ValueNamePIB ModuleDescriptionReference
0x8001IP HighwayShai Herzog
0x8002IP HighwayShai Herzog
0x8003IP HighwayShai Herzog
0x8004IP HighwayShai Herzog
0x8005Fujitsu Application Server Software DivisionTetsuharu Hanada
0x8006HP OpenView PolicyXpertBrian O'Keefe
0x8007HP OpenView PolicyXpert COPS-PR PXPIBBrian O'Keefe
0x8008PacketCable Dynamic Quality of ServiceJason Gaedtke
0x8009go3gppPibgo3gppPibCOPS usage for 3GPP GO interfaceftp://ftp.3gpp.org/specs/Specs/archive/29_series/29.207/
0x800aPacketCable Multimedia [http://www.packetcable.com/specifications/multimedia.html]
0x800bJuniper NetworksJohn Scano
0x800cITUT-RwPIBITUT-RwPIBQ.3303.1 (Rw interface) COPS alternativeITU-T Recommendation Q.3303.1
0x800dITUT-RcPIBITUT-RcPIBQ.3304.1 (Rc interface) COPS alternativeITU-T Recommendation Q.3304.1

C-Num and C-Type Values

Registration Procedure(s)

  • IETF Review

Reference

  • RFC 2748: The COPS (Common Open Policy Service) Protocol

Available Formats

c-numc-typeDescriptionReference
0x010x01HandleRFC 2748
0x020x01ContextRFC 2748
0x030x01In-Interface, IPv4RFC 2748
0x030x02In-Interface, IPv6RFC 2748
0x040x01Out-Interface, IPv4RFC 2748
0x040x02Out-Interface, IPv6RFC 2748
0x050x01ReasonRFC 2748
0x060x01Decision, FlagsRFC 2748
0x060x02Decision, Stateless DataRFC 2748
0x060x03Decision, Replacement DataRFC 2748
0x060x04Decision, Client Specific Decision DataRFC 2748
0x060x05Decision, Named Decision DataRFC 2748
0x070x01LPDP Decision, FlagsRFC 2748
0x070x02LPDP Decision, Stateless DataRFC 2748
0x070x03LPDP Decision, Replacement DataRFC 2748
0x070x04LPDP Decision, Client Specific Decision DataRFC 2748
0x070x05LPDP Decision, Named Decision DataRFC 2748
0x080x01ErrorRFC 2748
0x090x01Client Specific Information, SignaledRFC 2748
0x090x02Client Specific Information, NamedRFC 2748
0x0A0x01Keep-Alive TimerRFC 2748
0x0B0x01PEP IdentificationRFC 2748
0x0C0x01Report-TypeRFC 2748
0x0D0x01PDP Redirect Address, IPv4 + TCP PortRFC 2748
0x0D0x02PDP Redirect Address, IPv6 + TCP PortRFC 2748
0x0E0x01Last PDP Address, IPv4 + TCP PortRFC 2748
0x0E0x02Last PDP Address, IPv6 + TCP PortRFC 2748
0x0F0x01Accounting TimerRFC 2748
0x100x01Message IntegrityRFC 2748
0x100x02Message Integrity, Integrity-TLSRFC 4261

R-Types, Reason-Codes, Report-Types, Decision Object Command-Codes/Flags, and Error-Codes

Registration Procedure(s)

  • IETF Review

Reference

  • RFC 2748: The COPS (Common Open Policy Service) Protocol

R-Types

Available Formats

R-TypeDescriptionReference
0x01Incoming-Message/Admission Control requestRFC 2748
0x02Resource-Allocation requestRFC 2748
0x04Outgoing-Message requestRFC 2748
0x08Configuration requestRFC 2748

Reason-Codes

Available Formats

Reason-CodeDescriptionReference
1UnspecifiedRFC 2748
2ManagementRFC 2748
3PreemptedRFC 2748
4TearRFC 2748
5TimeoutRFC 2748
6Route ChangeRFC 2748
7Insufficient ResourcesRFC 2748
8PDP's DirectiveRFC 2748
9Unsupported decisionRFC 2748
10Synchronize Handle UnknownRFC 2748
11Transient HandleRFC 2748
12Malformed DecisionRFC 2748
13Unknown COPS ObjectRFC 2748

Report-Types

Available Formats

Report-TypeDescriptionReference
1SuccessRFC 2748
2FailureRFC 2748
3AccountingRFC 2748

Decision Object Command-Codes

Available Formats

Command-CodeDescriptionReference
0NULL DecisionRFC 2748
1InstallRFC 2748
2RemoveRFC 2748

Decision Object Flags

Available Formats

Decision-FlagDescriptionReference
0x01Trigger ErrorRFC 2748
0x02Request-StateRFC 3084

Error Codes

Available Formats

Error-CodeDescriptionReference
1Bad handleRFC 2748
2Invalid handle referenceRFC 2748
3Bad message formatRFC 2748
4Unable to processRFC 2748
5Mandatory client-specific info missingRFC 2748
6Unsupported client-typeRFC 2748
7Mandatory COPS object missingRFC 2748
8Client FailureRFC 2748
9Communication FailureRFC 2748
10UnspecifiedRFC 2748
11Shutting downRFC 2748
12Redirect to Preferred ServerRFC 2748
13Unknown COPS ObjectRFC 2748
14Authentication FailureRFC 2748
15Authentication RequiredRFC 2748

M-Types, Reason Sub-Codes, and Error Sub-codes

Registration Procedure(s)

  • Values are assigned relative to the respective Client-type

Reference

  • RFC 2748: The COPS (Common Open Policy Service) Protocol
No registrations at this time.

Client-type = 0 Flags and Error-SubCodes

Registration Procedure(s)

  • IETF Review

Reference

  • RFC 4261: Common Open Policy Service (COPS) Over Transport Layer Security (TLS)

Available Formats

Error-CodeError-SubCode Octet 2Error-SubCode Octet 3DescriptionReference
15160No securityRFC 4261
15162Integrity-TLS supported/preferredRFC 4261

Flags

Registration Procedure(s)

  • IETF Review

Reference

  • RFC 4261: Common Open Policy Service (COPS) Over Transport Layer Security (TLS)

Available Formats

ValueFlagReference
0x01StartTLSRFC 4261

COPS-PR Object S-Num, S-Types, and Error-Codes

Registration Procedure(s)

  • IETF Review

Reference

  • RFC 3084: COPS Usage for Policy Provisioning (COPS-PR)

Note

Additional COPS-PR RFC 3084 Object S-Num, S-Types, and Error-Codes MAY be defined for use with future COPS-PR Client-types, but such additions require IETF Review as defined in RFC 8126.

Available Formats

s-nums-type valDescription (s-num, s-type)Reference
0x010x01Complete PRID, BERRFC 3084
0x020x01Prefix PRID, BERRFC 3084
0x030x01EPD, BERRFC 3084
0x040x01GPERR, BERRFC 3084
0x050x01CPERR, BERRFC 3084
0x060x01ErrorPRID, BERRFC 3084
0x02Reserved for transport of XML encoded dataRFC 3084

Global Provisioning Error (GPERR) (s-num=4, s-type=1)

Registration Procedure(s)

  • IETF Review

Reference

  • RFC 3084: COPS Usage for Policy Provisioning (COPS-PR)

Available Formats

ValueNameReference
1availMemLowRFC 3084
2availMemExhaustedRFC 3084
3unknownASN.1TagRFC 3084
4maxMsgSizeExceededRFC 3084
5unknownErrorRFC 3084
6maxRequestStatesOpenRFC 3084
7invalidASN.1LengthRFC 3084
8invalidObjectPadRFC 3084
9unknownPIBDataRFC 3084
10unknownCOPSPRObjectRFC 3084
11malformedDecisionRFC 3084

Class-Specific Provisioning Error (CPERR) (s-num=5, s-type=1)

Registration Procedure(s)

  • IETF Review

Reference

  • RFC 3084: COPS Usage for Policy Provisioning (COPS-PR)

Available Formats

ValueNameReference
1priSpaceExhaustedRFC 3084
2priInstanceInvalidRFC 3084
3attrValueInvalidRFC 3084
4attrValueSupLimitedRFC 3084
5attrEnumSupLimitedRFC 3084
6attrMaxLengthExceededRFC 3084
7attrReferenceUnknownRFC 3084
8priNotifyOnlyRFC 3084
9unknownPrcRFC 3084
10tooFewAttrsRFC 3084
11invalidAttrTypeRFC 3084
12deletedInRefRFC 3084
13priSpecificErrorRFC 3084

P-types

Reference

  • RFC 2750: RSVP Extensions for Policy Control

Available Formats

RangeRegistration ProceduresNote
0-49151IETF Review
49152-53247First Come First ServedVendor-specific
53248-65535Reserved for Private Use
P-TypeDescriptionReference
0x01PREEMPTION_PRIRFC 3181
0x02AUTH_USERRFC 3182
0x03AUTH_APPRFC 3182
0x04AUTH_SESSIONRFC 3520
0x05ADMISSION_PRIRFC 6401
0x06APP_RESOURCE_PRIRFC 6401
0x07REC_PROXY_CONTROLRFC 5946

AUTH_SESSION X-Types (0x04)

Reference

  • RFC 3520: Session Authorization Policy Element

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-255Private Use
X-TypeDescriptionReference
0Reserved
1AUTH_ENT_IDRFC 3520
2SESSION_IDRFC 3520
3SOURCE_ADDRRFC 3520
4DEST_ADDRRFC 3520
5START_TIMERFC 3520
6END_TIMERFC 3520
7RESOURCESRFC 3520
8AUTHENTICATION_DATARFC 3520
9-127Unassigned
128-255Reserved

AUTH_ENT_ID (X-Type 1) SubType values

Reference

  • RFC 3520: Session Authorization Policy Element

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-255Private Use
SubTypeDescriptionReference
0Reserved
1IPV4_ADDRESSRFC 3520
2IPV6_ADDRESSRFC 3520
3FQDNRFC 3520
4ASCII_DNRFC 3520
5UNICODE_DNRFC 3520
6URIRFC 3520
7KRB_PRINCIPALRFC 3520
8X509_V3_CERTRFC 3520
9PGP_CERTRFC 3520
10-127Unassigned
128-255Reserved

SOURCE_ADDR (X-Type 3) SubType values

Reference

  • RFC 3520: Session Authorization Policy Element

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-255Private Use
SubTypeDescriptionReference
0Reserved
1IPV4_ADDRESSRFC 3520
2IPV6_ADDRESSRFC 3520
3UDP_PORT_LISTRFC 3520
4TCP_PORT_LISTRFC 3520
5-127Unassigned
128-255Reserved

DEST_ADDR (X-Type 4) SubType values

Reference

  • RFC 3520: Session Authorization Policy Element

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-255Private Use
SubTypeDescriptionReference
0Reserved
1IPV4_ADDRESSRFC 3520
2IPV6_ADDRESSRFC 3520
3UDP_PORT_LISTRFC 3520
4TCP_PORT_LISTRFC 3520
5-127Unassigned
128-255Reserved

START_TIME (X-Type 5) SubType values

Reference

  • RFC 3520: Session Authorization Policy Element

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-255Private Use
SubTypeDescriptionReference
0Reserved
1NTP_TIMESTAMPRFC 3520
2-127Unassigned
128-255Reserved

END_TIME (X-Type 6) SubType values

Reference

  • RFC 3520: Session Authorization Policy Element

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-255Private Use
SubTypeDescriptionReference
0Reserved
1NTP_TIMESTAMPRFC 3520
2-127Unassigned
128-255Reserved

RESOURCES (X-Type 7) SubType values

Reference

  • RFC 3520: Session Authorization Policy Element

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-255Private Use
SubTypeDescriptionReference
0Reserved
1BANDWIDTHRFC 3520
2FLOW_SPECRFC 3520
3SDPRFC 3520
4DSCPRFC 3520
5-127Unassigned
128-255Reserved

A-types

Reference

  • RFC 3182: Identity Representation for RSVP

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-255Private Use
A-TypeDescriptionReference
0Reserved
1POLICY_LOCATORRFC 3182
2CREDENTIALRFC 3182
3DIGITAL_SIGNATURERFC 3182
4POLICY_ERROR_OBJECTRFC 3182
5-127Unassigned
128-255Reserved

POLICY_LOCATOR (A-Type 1) SubType values

Reference

  • RFC 3182: Identity Representation for RSVP

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-255Private Use
SubTypeDescriptionReference
0Reserved
1ASCII_DNRFC 3182
2UNICODE_DNRFC 3182
3ASCII_DN_ENCRYPTRFC 3182
4UNICODE_DN_ENCRYPTRFC 3182
5-127Unassigned
128-255Reserved

CREDENTIAL (A-Type 2) SubType values

Reference

  • RFC 3182: Identity Representation for RSVP

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-255Private Use
SubTypeDescriptionReference
0Reserved
1ASCII_IDRFC 3182
2UNICODE_IDRFC 3182
3KERBEROS_TKTRFC 3182
4X509_V3_CERTRFC 3182
5PGP_CERTRFC 3182
6-127Unassigned
128-255Reserved

POLICY_ERROR_CODE ErrorValues (A-Type 4)

Reference

  • RFC 3182: Identity Representation for RSVP

Available Formats

RangeRegistration Procedures
0-32767IETF Review
32768-65535Private Use
ErrorValueDescriptionReference
0Reserved
1ErrorValue ERROR_NO_MORE_INFORFC 3182
2UNSUPPORTED_CREDENTIAL_TYPERFC 3182
3INSUFFICIENT_PRIVILEGESRFC 3182
4EXPIRED_CREDENTIALRFC 3182
5IDENTITY_CHANGEDRFC 3182
6-32767Unassigned
32768-65535Reserved

Merge Strategies

Reference

  • RFC 6401: RSVP Extensions for Admission Priority

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-240First Come First Served
ValueDescriptionReference
0ReservedRFC 6401
1Take priority of highest QoSRFC 3181; RFC 6401
2Take highest priorityRFC 3181; RFC 6401
3Force Error on heterogenous mergeRFC 3181; RFC 6401
4-240Unassigned
241-255Reserved for Private UseRFC 6401

ADMISSION_PRI (P-Type 0x05) Error Codes

Reference

  • RFC 6401: RSVP Extensions for Admission Priority

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-240First Come First Served
ValueDescriptionReference
0NO_ERROR Value used for regular ADMISSION_PRI elementsRFC 6401
1ReservedRFC 6401
2HETEROGENEOUS This element encountered heterogeneous mergeRFC 6401
3-240Unassigned
241-255Reserved for Private UseRFC 6401

Receiver Proxy Control Policy Element (P-Type 0x07) Control-Value field

Reference

  • RFC 5946: Resource Reservation Protocol (RSVP) Extensions for Path-Triggered RSVP Receiver Proxy

Available Formats

RangeRegistration Procedures
0-127IETF Review
128-240First Come First Served
ValueDescriptionReference
0ReservedRFC 5946
1Receiver-Proxy-NeededRFC 5946
2Receiver-Proxy-Not-NeededRFC 5946
3-240Unassigned
241-255Reserved for Private UseRFC 5946

Contact Information

NameContact URILast Updated
Brian O'Keefebrian_okeefe&hp.com2001-05
Jason Gaedtkej.gaedtke&cablelabs.com2001-12
John Scanojscano&juniper.net2005-01
Shai Herzogherzog&policyconsulting.com1999-11
Tetsuharu Hanadahanada&pc.fujitsu.com2000-12