-- ----------------------------------------------------------------------------- -- MIB NAME : MLD SNOOPING Common mib -- FILE NAME: MldSnp.mib -- DATE : 2007/03/27 -- VERSION : 2.00 -- PURPOSE : To construct the MIB structure of MLD snooping -- for proprietary enterprise -- ----------------------------------------------------------------------------- -- MODIFICTION HISTORY: -- ----------------------------------------------------------------------------- -- Version, Date, Author -- Description: -- [New Object] -- [Modification] -- Notes: (Requested by who and which project) -- -- Version 2.00, 2007/03/27, Yedda -- This is the first formal version for universal MIB definition. -- ----------------------------------------------------------------------------- MLD-SNOOPING-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY,OBJECT-TYPE,IpAddress, Unsigned32 FROM SNMPv2-SMI MacAddress, RowStatus FROM SNMPv2-TC DisplayString FROM RFC1213-MIB SnmpAdminString FROM SNMP-FRAMEWORK-MIB dlink-common-mgmt FROM DLINK-ID-REC-MIB; swMldSnpMIB MODULE-IDENTITY LAST-UPDATED "0703270000Z" ORGANIZATION "D-Link Crop." CONTACT-INFO "http://support.dlink.com" DESCRIPTION "The Structure of MLD snooping management for the proprietary enterprise." ::= { dlink-common-mgmt 34 } -- ----------------------------------------------------------------------------- -- Textual Conventions -- ----------------------------------------------------------------------------- -- This definition may be excluded if IPv6 Supported Ipv6Address ::= TEXTUAL-CONVENTION DISPLAY-HINT "2x:" STATUS current DESCRIPTION "This data type is used to model IPv6 addresses. This is a binary string of 16 octets in network byte-order." SYNTAX OCTET STRING (SIZE (16)) PortList ::= OCTET STRING(SIZE (0..127)) swMldSnpCtrl OBJECT IDENTIFIER ::= { swMldSnpMIB 1 } swMldSnpInfo OBJECT IDENTIFIER ::= { swMldSnpMIB 2 } swMldSnpMgmt OBJECT IDENTIFIER ::= { swMldSnpMIB 3 } -- ----------------------------------------------------------------------------- -- swMldSnpCtrl OBJECT IDENTIFIER ::= { swMldSnpMIB 1 } -- ----------------------------------------------------------------------------- swMldSnoopingGlobalState OBJECT-TYPE SYNTAX INTEGER { other(1), disabled(2), enabled(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates Mld snooping capture function is enabled or disabled." ::= { swMldSnpCtrl 1 } swMldSnoopingMcstRTOnly OBJECT-TYPE SYNTAX INTEGER { other(1), disabled(2), enabled(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "Specifies that the switch should forward all multicast traffic to a multicast-enabled IPv6 router only." ::= { swMldSnpCtrl 2 } -- ----------------------------------------------------------------------------- -- swMldSnpMgmt OBJECT IDENTIFIER ::= { swMldSnpMIB 3 } -- ----------------------------------------------------------------------------- swMldSnoopingMaxSupportedVlans OBJECT-TYPE SYNTAX INTEGER (0..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "Maximum number of Vlans in the Mld snooping table (swMldSnoopingCtrlTable)." ::= { swMldSnpMgmt 1 } -- ----------------------------------------------------------------------------- -- swMldSnoopingCtrlTable OBJECT IDENTIFIER ::= { swMldSnpMgmt 2 } -- ----------------------------------------------------------------------------- swMldSnoopingCtrlTable OBJECT-TYPE SYNTAX SEQUENCE OF SwMldSnoopingCtrlEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The table controls the Vlan's MLD function. Its scale depends on current VLAN state (swL2VlanInfoStatus). If VLAN is disabled mode, there is only one entry in the table, with index 1. If VLAN is in Port-Base or 802.1q mode, the number of entries can be up to 12, with index range from 1 to 12." ::= { swMldSnpMgmt 2 } swMldSnoopingCtrlEntry OBJECT-TYPE SYNTAX SwMldSnoopingCtrlEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The entry in MLD control table (swMldSnoopingCtrlTable). The entry is effective only when MLD capture switch (swMldSnoopingGlobalState) is enabled." INDEX { swMldSnoopingCtrlVid } ::= { swMldSnoopingCtrlTable 1 } SwMldSnoopingCtrlEntry ::= SEQUENCE { swMldSnoopingCtrlVid INTEGER, swMldSnoopingQueryInterval INTEGER, swMldSnoopingMaxResponseTime INTEGER, swMldSnoopingRobustness INTEGER, swMldSnoopingLastMemberQueryInterval INTEGER, swMldSnoopingHostTimeout INTEGER, swMldSnoopingRouteTimeout INTEGER, swMldSnoopingDoneTimer INTEGER, swMldSnoopingQueryState INTEGER, swMldSnoopingCurrentState INTEGER, swMldSnoopingCtrlState INTEGER, swMldSnoopingFastDoneState INTEGER, swMldSnoopingVersion INTEGER } swMldSnoopingCtrlVid OBJECT-TYPE SYNTAX INTEGER (0..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the MLD control entry's VLAN id. If VLAN is disabled, the Vid is always 0 and cannot be changed by management users. If VLAN is in Port-Base mode, the Vid is arranged from 1 to 12, fixed form. If VLAN is in 802.1q mode, the Vid setting can vary from 1 to 4094 by management user, and the Vid in each entry must be unique in the MLD Control Table." ::= { swMldSnoopingCtrlEntry 1 } swMldSnoopingQueryInterval OBJECT-TYPE SYNTAX INTEGER (1..65535) MAX-ACCESS read-write STATUS current DESCRIPTION "The frequency at which MLD Host-Query packets are transmitted on this switch." DEFVAL { 125 } ::= { swMldSnoopingCtrlEntry 2 } swMldSnoopingMaxResponseTime OBJECT-TYPE SYNTAX INTEGER (1..25) MAX-ACCESS read-write STATUS current DESCRIPTION "The maximum query response time on this switch." DEFVAL { 10 } ::= { swMldSnoopingCtrlEntry 3 } swMldSnoopingRobustness OBJECT-TYPE SYNTAX INTEGER (1..255) MAX-ACCESS read-write STATUS current DESCRIPTION "The Robustness Variable allows tuning for the expected packet loss on a subnet. If a subnet is expected to be lossy, the Robustness Variable may be increased. MLD is robust to (Robustness Variable-1) packet losses." DEFVAL { 2 } ::= { swMldSnoopingCtrlEntry 4 } swMldSnoopingLastMemberQueryInterval OBJECT-TYPE SYNTAX INTEGER (1..25) MAX-ACCESS read-write STATUS current DESCRIPTION "The Last Member Query Interval is the Max Response Time inserted into Group-Specific Queries sent in response to Leave Group messages, and is also the amount of time between Group-Specific Query messages." ::= { swMldSnoopingCtrlEntry 5 } swMldSnoopingHostTimeout OBJECT-TYPE SYNTAX INTEGER (1..16711450) MAX-ACCESS read-write STATUS current DESCRIPTION "The timer value for sending MLD query packet when none was sent by the host in the LAN. The timer works in per-VLAN basis. Our device will be activated to send the query message if the timer is expired." DEFVAL { 260 } ::= { swMldSnoopingCtrlEntry 6 } swMldSnoopingRouteTimeout OBJECT-TYPE SYNTAX INTEGER (1..16711450) MAX-ACCESS read-write STATUS current DESCRIPTION "The Router Timeout is how long a host must wait after hearing a Query before it may send any MLD messages." DEFVAL { 260 } ::= { swMldSnoopingCtrlEntry 7 } swMldSnoopingDoneTimer OBJECT-TYPE SYNTAX INTEGER (1..16711450) MAX-ACCESS read-write STATUS current DESCRIPTION "When a querier receives a Leave Group message for a group that has group members on the reception interface, it sends Group-Specific Queries every swMldSnoopingDoneTimer to the group being left." DEFVAL { 2 } ::= { swMldSnoopingCtrlEntry 8 } swMldSnoopingQueryState OBJECT-TYPE SYNTAX INTEGER { other(1), disabled(2), enabled(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object decide the MLD query enabled or disabled." ::= { swMldSnoopingCtrlEntry 9 } swMldSnoopingCurrentState OBJECT-TYPE SYNTAX INTEGER { other(1), querier(2), non-querier(3) } MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the current MLD query state." ::= { swMldSnoopingCtrlEntry 10 } swMldSnoopingCtrlState OBJECT-TYPE SYNTAX INTEGER { other(1), disable(2), enable(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disable(2) - MLD funtion is disabled for this entry. enable(3) - MLD funtion is enabled for this entry." ::= { swMldSnoopingCtrlEntry 11 } swMldSnoopingFastDoneState OBJECT-TYPE SYNTAX INTEGER { other(1), disable(2), enable(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the fast_leave status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disable(2) - MLD fast-done funtion is disabled for this entry. enable(3) - MLD fast-done funtion is enabled for this entry." ::= { swMldSnoopingCtrlEntry 12 } swMldSnoopingVersion OBJECT-TYPE SYNTAX INTEGER { version-1(1), version-2(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the MLD version of this entry. If the MLD version is configured with a lower version, the higher version's MLD Report/Leave messages will be ignored. " ::= { swMldSnoopingCtrlEntry 13 } -- ----------------------------------------------------------------------------- -- swMldSnoopingGroupInfoTable OBJECT IDENTIFIER ::= { swMldSnpMgmt 3 } -- ----------------------------------------------------------------------------- swMldSnoopingGroupInfoTable OBJECT-TYPE SYNTAX SEQUENCE OF SwMldSnoopingGroupInfoEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The table containing current Mld snooping information which captured by this device, provided that swMldSnoopingGlobalState and swMldSnoopingCtrlState of associated VLAN entry are all enabled. Note that the priority of MLD table entries is lower than Filtering Table, i.e. if there is a table hash collision between the entries of Mld Table and Filtering Table inside the switch H/W address table, then Filtering Table entry overwrite the colliding entry of Mld snooping Table. " ::= { swMldSnpMgmt 3 } swMldSnoopingGroupInfoEntry OBJECT-TYPE SYNTAX SwMldSnoopingGroupInfoEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Information about current Mld information which captured by this device, provided that swMldSnoopingGlobalState and swMldSnoopingCtrlState of associated VLAN entry are all enabled." INDEX { swMldSnoopingGroupInfoVid , swMldSnoopingGroupInfoIpAddr } ::= { swMldSnoopingGroupInfoTable 1 } SwMldSnoopingGroupInfoEntry ::= SEQUENCE { swMldSnoopingGroupInfoVid INTEGER, swMldSnoopingGroupInfoIpAddr Ipv6Address, swMldSnoopingGroupInfoMacAddr MacAddress, swMldSnoopingGroupInfoPortMap PortList, swMldSnoopingGroupInfoReportCount INTEGER } swMldSnoopingGroupInfoVid OBJECT-TYPE SYNTAX INTEGER (0..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the Vid of individual MLD table entry. It shows the Vid of MLD report information captured on network." ::= { swMldSnoopingGroupInfoEntry 1 } swMldSnoopingGroupInfoIpAddr OBJECT-TYPE SYNTAX Ipv6Address MAX-ACCESS read-only STATUS current DESCRIPTION "This object is identify group ip address which is captured from MLD packet, in per-Vlan basis." ::= { swMldSnoopingGroupInfoEntry 2 } swMldSnoopingGroupInfoMacAddr OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-only STATUS current DESCRIPTION "This object is identify mac address which is corresponding to swMldSnoopingGroupInfoIpAddr, in per-Vlan basis." ::= { swMldSnoopingGroupInfoEntry 3 } swMldSnoopingGroupInfoPortMap OBJECT-TYPE SYNTAX PortList MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates which ports are belong to the same multicast group, in per-Vlan basis. Each multicast group has a octect string to indicate with port map. The most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the switch is represented by a single bit within the value of this object. If that bit has a value of '1' then that port is included in the set of ports; the port is not included if its bit has a value of '0'(Note that the setting of the bit corresponding to the port from which a frame is received is irrelevant). The 4 octets is represent one unit port according its logic port. If the unit less 32 port, the other port don't care just fill zero." ::= { swMldSnoopingGroupInfoEntry 4 } swMldSnoopingGroupInfoReportCount OBJECT-TYPE SYNTAX INTEGER (0..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicate how much report packet was receive by our device corresponding with this entry from MLD function enabled, in per-Vlan basis." ::= { swMldSnoopingGroupInfoEntry 5 } -- ----------------------------------------------------------------------------- -- swMldSnpRouterPortsTable OBJECT IDENTIFIER ::= { swMldSnpMgmt 4 } -- ----------------------------------------------------------------------------- swMldSnpRouterPortsTable OBJECT-TYPE SYNTAX SEQUENCE OF SwMldSnpRouterPortsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The table controls the Vlan's MLD router ports function." ::= { swMldSnpMgmt 4 } swMldSnpRouterPortsEntry OBJECT-TYPE SYNTAX SwMldSnpRouterPortsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The entry in MLD router ports table (swMldSnoopingCtrlTable). " INDEX { swMldSnpRouterPortsVid } ::= { swMldSnpRouterPortsTable 1 } SwMldSnpRouterPortsEntry ::= SEQUENCE { swMldSnpRouterPortsVid INTEGER, swMldSnpRouterStaticPortList PortList, swMldSnpRouterDynamicPortList PortList, swMldSnpRouterForbiddenPortList PortList } swMldSnpRouterPortsVid OBJECT-TYPE SYNTAX INTEGER (0..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the MLD router ports entry's VLAN id. If VLAN is disabled, the Vid is always 0 and cannot be changed by management users. If VLAN is in Port-Base mode, the Vid is arranged from 1 to 12, fixed form. If VLAN is in 802.1q mode, the Vid setting can vary from 1 to 4094 by management user, and the Vid in each entry must be unique in the MLD ports Table." ::= { swMldSnpRouterPortsEntry 1 } swMldSnpRouterStaticPortList OBJECT-TYPE SYNTAX PortList MAX-ACCESS read-write STATUS current DESCRIPTION "Displays router ports that have been statically configured." ::= { swMldSnpRouterPortsEntry 2 } swMldSnpRouterDynamicPortList OBJECT-TYPE SYNTAX PortList MAX-ACCESS read-only STATUS current DESCRIPTION "Displays router ports that have been dynamically configured." ::= { swMldSnpRouterPortsEntry 3 } swMldSnpRouterForbiddenPortList OBJECT-TYPE SYNTAX PortList MAX-ACCESS read-write STATUS current DESCRIPTION "Displays router ports that have been forbiddenly configured." ::= { swMldSnpRouterPortsEntry 4 } END