0
A
回答
1
有根據RFC 3584 限將是實用的(消息大小,等等)上的長度沒有明確的限制。
0
基於社區的模型也引用了USM表中的條目。遵循RFC3414中定義的SNMP USM MIBs,usmUserName和usmSecurityName的定義如下,它將用戶名限制爲32個字符。該文本的約定SnmpAdminString本身是255字節長
usmUserName OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE(1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "A human readable string representing the name of
the user.
This is the (User-based Security) Model dependent
security ID.
"
::= { usmUserEntry 2 }
usmUserSecurityName OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "A human readable string representing the user in
Security Model independent format.
The default transformation of the User-based Security
Model dependent security ID to the securityName and
vice versa is the identity function so that the
securityName is the same as the userName.
"
::= { usmUserEntry 3 }
經過約定usmUserSecurityName在RFC3411
SnmpAdminString ::= TEXTUAL-CONVENTION
DISPLAY-HINT "255t"
STATUS current
DESCRIPTION "An octet string containing administrative
information, preferably in human-readable form.
定義..
Note that when this TC is used for an object that
is used or envisioned to be used as an index, then
a SIZE restriction MUST be specified so that the
number of sub-identifiers for any object instance
does not exceed the limit of 128, as defined by
[RFC3416].
Note that the size of an SnmpAdminString object is
measured in octets, not characters.
"
SYNTAX OCTET STRING (SIZE (0..255))
在Cisco交換機/路由器也顯得在通過CLI設置時強制執行。
相關問題
- 1. SonarQube錯誤:組件密鑰長度長於最大允許
- 2. 允許讀只接受兩種長度
- 3. 獲得允許在列的最大長度,MySQL的
- 4. Apache的SSL接收到超過最大允許長度
- 5. GROUP_CONCAT允許的最大長度?如何通過它?
- 6. DOMDocument :: schemaValidate()超過了允許的最大長度'255'
- 7. V8/Node.js增加允許的最大字符串長度
- 8. window.returnValue屬性允許的最大長度是多少? (JavaScript)
- 9. 視圖高度的最大允許值?
- 10. sendto的最大緩衝區長度?
- 11. 更改simple_form中字段所允許的大小和最大長度
- 12. 驗證字符串的最小和最大長度,但允許它爲空
- 13. 允許的最大cookie數
- 14. CUBLAS Library允許的cublasDgetrfBatched()允許的最大批量大小
- 15. 文本區最大長度不工作
- 16. CoffeeLint:禁用警告消息:行超出了允許的最大長度
- 17. Symfony的最大允許大小錯誤
- 18. 允許的最大和最小內存
- 19. 最大NVARCHAR長度
- 20. UITextView最大長度
- 21. JAVA_TOOL_OPTIONS最大長度
- 22. CSS最大長度
- 23. 最大URL長度
- 24. BindingSource.Filter最大長度
- 25. TextArea最大長度?
- 26. CString最大長度
- 27. 與最大長度
- 28. 如何在協議緩衝區中實施最大字符串長度和允許的字符?
- 29. MaskedTextBox最小/最大長度
- 30. 負長度向量是不允許
感謝您的回覆 – Ravi
此外TCP數據包大小可能是一個限制 – Bruno9779