Management ACL via SNMP (MES 1124)
Добавлено: 06 апр 2015 03:49
в mnginf.mib задекларировано наличие следующей таблицы:
rlMngInfListTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlMngInfListEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table specifies all defined Access Lists definitions for IPv4 addresses.
Provide backward compatibility for previous versions."
::= {rlMngInf 4}
rlMngInfListEntry OBJECT-TYPE
SYNTAX RlMngInfListEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Row definition for this table."
INDEX { rlMngInfListName, rlMngInfListPriority }
::= { rlMngInfListTable 1}
RlMngInfListEntry ::= SEQUENCE {
rlMngInfListName DisplayString,
rlMngInfListPriority Unsigned32,
rlMngInfListIfIndex Unsigned32,
rlMngInfListIpAddr IpAddress,
rlMngInfListIpNetMask IpAddress,
rlMngInfListService RlMngInfServiceType,
rlMngInfListAction RlMngInfActionType,
rlMngInfListRowStatus RowStatus
}
по факту имеется следующее (fw:1.1.36):
[avz@localhost ~]$ snmpwalk -v 2c -c public -On 172.18.29.41 1.3.6.1.4.1.89.89
.1.3.6.1.4.1.89.89.2.0 = INTEGER: 1
.1.3.6.1.4.1.89.89.3.0 = STRING: "mgmt"
.1.3.6.1.4.1.89.89.4.1.1.12.99.111.110.115.111.108.101.45.111.110.108.121.1 = STRING: "console-only"
.1.3.6.1.4.1.89.89.4.1.1.4.109.103.109.116.1 = STRING: "mgmt"
Error: OID not increasing: .1.3.6.1.4.1.89.89.4.1.1.12.99.111.110.115.111.108.101.45.111.110.108.121.1
>= .1.3.6.1.4.1.89.89.4.1.1.4.109.103.109.116.1
Вопрос: где же таблица?
rlMngInfListTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlMngInfListEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table specifies all defined Access Lists definitions for IPv4 addresses.
Provide backward compatibility for previous versions."
::= {rlMngInf 4}
rlMngInfListEntry OBJECT-TYPE
SYNTAX RlMngInfListEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Row definition for this table."
INDEX { rlMngInfListName, rlMngInfListPriority }
::= { rlMngInfListTable 1}
RlMngInfListEntry ::= SEQUENCE {
rlMngInfListName DisplayString,
rlMngInfListPriority Unsigned32,
rlMngInfListIfIndex Unsigned32,
rlMngInfListIpAddr IpAddress,
rlMngInfListIpNetMask IpAddress,
rlMngInfListService RlMngInfServiceType,
rlMngInfListAction RlMngInfActionType,
rlMngInfListRowStatus RowStatus
}
по факту имеется следующее (fw:1.1.36):
[avz@localhost ~]$ snmpwalk -v 2c -c public -On 172.18.29.41 1.3.6.1.4.1.89.89
.1.3.6.1.4.1.89.89.2.0 = INTEGER: 1
.1.3.6.1.4.1.89.89.3.0 = STRING: "mgmt"
.1.3.6.1.4.1.89.89.4.1.1.12.99.111.110.115.111.108.101.45.111.110.108.121.1 = STRING: "console-only"
.1.3.6.1.4.1.89.89.4.1.1.4.109.103.109.116.1 = STRING: "mgmt"
Error: OID not increasing: .1.3.6.1.4.1.89.89.4.1.1.12.99.111.110.115.111.108.101.45.111.110.108.121.1
>= .1.3.6.1.4.1.89.89.4.1.1.4.109.103.109.116.1
Вопрос: где же таблица?