SNMPv2cの読み書きコミュニティに許可されている最大長を教えてください。同じ内容の説明を提供する関連ドキュメントが見つかりませんでしたか?SNMPv2cの読み書きコミュニティの最大許容長
おかげ-Ravi
SNMPv2cの読み書きコミュニティに許可されている最大長を教えてください。同じ内容の説明を提供する関連ドキュメントが見つかりませんでしたか?SNMPv2cの読み書きコミュニティの最大許容長
おかげ-Ravi
RFC 3584で規定限界が実用的であるとしている (メッセージサイズなど)に応じて長さに明示的な制限はありません 。
コミュニティベースのモデルは、USMテーブルのエントリも参照します。 RFC3414で定義されているSNMP USM MIBに続いて、usmUserNameとusmSecurityNameの定義は、ユーザー名を32文字に制限します。テキストの表記れるSnmpAdminString自体はテキストの表記法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))
で定義されている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 }
ですCLIを使用してこれを設定しているときに強制する必要があります。
ご回答ありがとうございます – Ravi
また、TCPパケットサイズには限界があります – Bruno9779