-- ***************************************************************** -- DIS200G-VLAN-MIB.mib : VLAN MIB -- -- Copyright (c) 2013 D-Link Corporation, all rights reserved. -- -- ***************************************************************** DIS200G-VLAN-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Unsigned32 FROM SNMPv2-SMI RowStatus,TruthValue,MacAddress FROM SNMPv2-TC MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF InetAddress, InetAddressType, InetAddressPrefixLength FROM INET-ADDRESS-MIB dot1dBasePort FROM BRIDGE-MIB VlanId,dot1vProtocolPortGroupId FROM Q-BRIDGE-MIB Dlink2kVlanList FROM DIS200G-TC-MIB dlink-dis-200G-Common FROM DIS-200G-PRIMGMT-MIB; dis200gVlanMIB MODULE-IDENTITY LAST-UPDATED "201304180000Z" ORGANIZATION "D-Link Corp." CONTACT-INFO " D-Link Corporation Postal: No. 289, Sinhu 3rd Rd., Neihu District, Taipei City 114, Taiwan, R.O.C Tel: +886-2-66000123 E-mail: tsd@dlink.com.tw " DESCRIPTION "This MIB module defines objects for extending the configuration of VLAN (Virtual Local Area Network). " REVISION "201304180000Z" DESCRIPTION "This is the first version of the MIB file." ::= { dlink-dis-200G-Common 21 } -- ----------------------------------------------------------------------------- isVlanMIBNotifications OBJECT IDENTIFIER ::= { dis200gVlanMIB 0 } isVlanMIBObjects OBJECT IDENTIFIER ::= { dis200gVlanMIB 1 } isVlanMIBConformance OBJECT IDENTIFIER ::= { dis200gVlanMIB 2 } -- ----------------------------------------------------------------------------- isVlanStaticMacVlanTable OBJECT-TYPE SYNTAX SEQUENCE OF IsVlanStaticMacVlanEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table contains a list of MAC-based VLANs." ::= { isVlanMIBObjects 1 } isVlanStaticMacVlanEntry OBJECT-TYPE SYNTAX IsVlanStaticMacVlanEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table entry represents the configuration of a MAC-based VLAN." INDEX { isVlanStaticMacVlanAddress } ::= { isVlanStaticMacVlanTable 1 } IsVlanStaticMacVlanEntry ::= SEQUENCE { isVlanStaticMacVlanAddress MacAddress, isVlanStaticMacVlanId VlanId, isVlanStaticMacVlanPriority Unsigned32, isVlanStaticMacVlanRowStatus RowStatus } isVlanStaticMacVlanAddress OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object indicates the MAC address of the entry." ::= { isVlanStaticMacVlanEntry 1 } isVlanStaticMacVlanId OBJECT-TYPE SYNTAX VlanId MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the Vlan ID for the MAC based VLAN entry." ::= { isVlanStaticMacVlanEntry 2 } isVlanStaticMacVlanPriority OBJECT-TYPE SYNTAX Unsigned32 ( 0 .. 7 ) MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the CoS for the MAC based VLAN entry." DEFVAL { 0 } ::= { isVlanStaticMacVlanEntry 3 } isVlanStaticMacVlanRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The status of this conceptual row." ::= { isVlanStaticMacVlanEntry 4 } -- ----------------------------------------------------------------------------- isVlanCurrentMacVlanTable OBJECT-TYPE SYNTAX SEQUENCE OF IsVlanCurrentMacVlanEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table contains a list of MAC-based VLANs." ::= { isVlanMIBObjects 2 } isVlanCurrentMacVlanEntry OBJECT-TYPE SYNTAX IsVlanCurrentMacVlanEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table entry represents the information of a MAC-based VLAN." INDEX { isVlanCurrentMacVlanAddress, isVlanCurrentMacVlanStatus } ::= { isVlanCurrentMacVlanTable 1 } IsVlanCurrentMacVlanEntry ::= SEQUENCE { isVlanCurrentMacVlanAddress MacAddress, isVlanCurrentMacVlanStatus INTEGER, isVlanCurrentMacVlanId VlanId, isVlanCurrentMacVlanPriority Unsigned32 } isVlanCurrentMacVlanAddress OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object indicates the MAC address of the entry." ::= { isVlanCurrentMacVlanEntry 1 } isVlanCurrentMacVlanStatus OBJECT-TYPE SYNTAX INTEGER { active(1), inactive(2) } MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object indicates the status of the entry." ::= { isVlanCurrentMacVlanEntry 2 } isVlanCurrentMacVlanId OBJECT-TYPE SYNTAX VlanId MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the Vlan ID for the MAC based VLAN entry." ::= { isVlanCurrentMacVlanEntry 3 } isVlanCurrentMacVlanPriority OBJECT-TYPE SYNTAX Unsigned32 ( 0 .. 7 ) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the CoS for the MAC based VLAN entry." ::= { isVlanCurrentMacVlanEntry 4 } -- ----------------------------------------------------------------------------- isVlanSubnetVlanTable OBJECT-TYPE SYNTAX SEQUENCE OF IsVlanSubnetVlanEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table contains a list of subnet-based VLANs." ::= { isVlanMIBObjects 3 } isVlanSubnetVlanEntry OBJECT-TYPE SYNTAX IsVlanSubnetVlanEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table entry represents the configuration of a subnet-based VLAN." INDEX { isVlanSubnetVlanType, isVlanSubnetVlanNetPrefix, isVlanSubnetVlanNetPrefixLen } ::= { isVlanSubnetVlanTable 1 } IsVlanSubnetVlanEntry ::= SEQUENCE { isVlanSubnetVlanType InetAddressType, isVlanSubnetVlanNetPrefix InetAddress, isVlanSubnetVlanNetPrefixLen InetAddressPrefixLength, isVlanSubnetVlanId VlanId, isVlanSubnetVlanPriority Unsigned32, isVlanSubnetVlanRowStatus RowStatus } isVlanSubnetVlanType OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object indicates the address type of the subnet." ::= { isVlanSubnetVlanEntry 1 } isVlanSubnetVlanNetPrefix OBJECT-TYPE SYNTAX InetAddress MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object indicates the network prefix of the entry." ::= { isVlanSubnetVlanEntry 2 } isVlanSubnetVlanNetPrefixLen OBJECT-TYPE SYNTAX InetAddressPrefixLength MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object indicates the length of the sub-network address prefix." ::= { isVlanSubnetVlanEntry 3 } isVlanSubnetVlanId OBJECT-TYPE SYNTAX VlanId MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the VLAN-ID of the subnet-based VLAN." ::= { isVlanSubnetVlanEntry 4 } isVlanSubnetVlanPriority OBJECT-TYPE SYNTAX Unsigned32 ( 0..7 ) MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the CoS of the subnet-based VLAN." ::= { isVlanSubnetVlanEntry 5 } isVlanSubnetVlanRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The status of this conceptual row." ::= { isVlanSubnetVlanEntry 6 } -- ----------------------------------------------------------------------------- isVlanPortIfCtrlTable OBJECT-TYPE SYNTAX SEQUENCE OF IsVlanPortIfCtrlEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table provides mechanism to configure port-specific VLAN function." ::= { isVlanMIBObjects 4 } isVlanPortIfCtrlEntry OBJECT-TYPE SYNTAX IsVlanPortIfCtrlEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table entry represents the VLAN configuration on a port. This table is an extension to dot1qPortVlanTable which is defined at Q-BRIDGE-MIB." INDEX { dot1dBasePort } ::= { isVlanPortIfCtrlTable 1 } IsVlanPortIfCtrlEntry ::= SEQUENCE { isVlanPortIfMode INTEGER, isVlanPortIfTrunkNativeVlanTagged TruthValue, isVlanPortIfAcceptableFrameTypes INTEGER, isVlanPortIfVlanPrecedence INTEGER, isVlanPortIfTagAllowVlanLstFirst2K Dlink2kVlanList, isVlanPortIfTagAllowVlanLstSecond2K Dlink2kVlanList, isVlanPortIfUntagAllowVlanLstFirst2K Dlink2kVlanList, isVlanPortIfUntagAllowVlanLstSecond2K Dlink2kVlanList } isVlanPortIfMode OBJECT-TYPE SYNTAX INTEGER { access(1), hybrid(2), trunk(3), dot1qTunnel(4), privateVlanHost(5), privateVlanPromiscuous(6) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates VLAN mode for the port. access - this port will be untagged member of the access VLAN configured for the port. hybrid - the port can be untagged or tagged member of all VLANs configured by the user. The purpose of this VLAN mode is to support protocol VLAN, MAC-based VLAN, voice VLAN and dot1q VLAN tunnel application in access side. trunk - this port is either tagged or untagged member port of its native VLAN and can be tagged member of other VLANs configured by the user. The purpose of a trunk port is to support the switch-to-switch connection. dot1qTunnel - the port behaves as an UNI port of a service VLAN. privateVlanHost - the port behaves as private VLAN host port. privateVlanPromiscuous - the port behaves as private VLAN promiscuous port. When VLAN mode is changed, the VLAN related setting associated with previous mode will be lost." ::= { isVlanPortIfCtrlEntry 1 } isVlanPortIfTrunkNativeVlanTagged OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates whether enable the tagging mode of the native VLAN on the interface. Note: This value is meaningful only when the VLAN mode of the port is 'trunk'." ::= { isVlanPortIfCtrlEntry 2 } isVlanPortIfAcceptableFrameTypes OBJECT-TYPE SYNTAX INTEGER { admitAll(1), admitUntaggedAndPriority(2), admitTagged(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the acceptable frame types on the interface. 'admitAll' - Permits both tagged and untagged packet. 'admitUntaggedAndPriority' - Only untagged or Priority-Tagged packets received on this interface will be accepted and tagged packets are dropped. 'admitTagged' - Only tagged incoming packets are permitted and untagged packets are dropped." ::= { isVlanPortIfCtrlEntry 3 } isVlanPortIfVlanPrecedence OBJECT-TYPE SYNTAX INTEGER { macVlan(1), subnetVlan(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the VLAN classification precedence for the port. macVlan - MAC-based VLAN classification has higher precedence than subnet-based VLAN. subnetVlan - subnet-based VLAN classification has higher precedence than MAC-based VLAN. Note: This value is meaningful only when the VLAN mode of the port is 'hybrid' or 'dot1qTunnel'." ::= { isVlanPortIfCtrlEntry 4 } isVlanPortIfTagAllowVlanLstFirst2K OBJECT-TYPE SYNTAX Dlink2kVlanList MAX-ACCESS read-write STATUS current DESCRIPTION "This object specifies the VLANs in a string of octets containing one bit per VLAN for VLANs 1 to 2048. If the bit is set to '1', then the interface is allowed to be the VLAN's tagged member. Note: This value is meaningful only when the VLAN mode of the port is 'hybrid' or 'trunk'." ::= { isVlanPortIfCtrlEntry 5 } isVlanPortIfTagAllowVlanLstSecond2K OBJECT-TYPE SYNTAX Dlink2kVlanList MAX-ACCESS read-write STATUS current DESCRIPTION "This object specifies the VLANs in a string of octets containing one bit per VLAN for VLANs 2049 to 4094. If the bit is set to '1', then the interface is allowed to be the VLAN's tagged member. Note: This value is meaningful only when the VLAN mode of the port is 'hybrid' or 'trunk'." ::= { isVlanPortIfCtrlEntry 6 } isVlanPortIfUntagAllowVlanLstFirst2K OBJECT-TYPE SYNTAX Dlink2kVlanList MAX-ACCESS read-write STATUS current DESCRIPTION "This object specifies the VLANs in a string of octets containing one bit per VLAN for VLANs 1 to 2048. If the bit is set to '1', then the interface is allowed to be the VLAN's untagged member. Note: This value is meaningful only when the VLAN mode of the port is 'hybrid' or 'trunk'." ::= { isVlanPortIfCtrlEntry 7 } isVlanPortIfUntagAllowVlanLstSecond2K OBJECT-TYPE SYNTAX Dlink2kVlanList MAX-ACCESS read-write STATUS current DESCRIPTION "This object specifies the VLANs in a string of octets containing one bit per VLAN for VLANs 2049 to 4094. If the bit is set to '1', then the interface is allowed to be the VLAN's untagged member. Note: This value is meaningful only when the VLAN mode of the port is 'hybrid' or 'trunk'." ::= { isVlanPortIfCtrlEntry 8 } -- ----------------------------------------------------------------------------- isVlanProtocolVlanIfCtrlTable OBJECT-TYPE SYNTAX SEQUENCE OF IsVlanProtocolVlanIfCtrlEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table provides mechanism to configure port-specific protocol VLAN function. This table is an extension to dot1vProtocolPortTable which is defined at Q-BRIDGE-MIB. An entry appears in this table for each row created at dot1vProtocolPortTable. " ::= { isVlanMIBObjects 5 } isVlanProtocolVlanIfCtrlEntry OBJECT-TYPE SYNTAX IsVlanProtocolVlanIfCtrlEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table entry represents the extension configuration of protocol VLAN profile on a port. " INDEX { dot1dBasePort, dot1vProtocolPortGroupId } ::= { isVlanProtocolVlanIfCtrlTable 1 } IsVlanProtocolVlanIfCtrlEntry ::= SEQUENCE { isVlanProtocolVlanPriority Unsigned32 } isVlanProtocolVlanPriority OBJECT-TYPE SYNTAX Unsigned32 (0..7) MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the CoS of the protocol VLAN entry on the interface." ::= { isVlanProtocolVlanIfCtrlEntry 1} -- ----------------------------------------------------------------------------- isVlanAsymVlanStateEnabled OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object enables or disables asymmetric VLAN feature." ::= { isVlanMIBObjects 6 } -- *************************************************************************** -- Conformance -- *************************************************************************** isVlanCompliances OBJECT IDENTIFIER ::= { isVlanMIBConformance 1 } isVlanCompliance MODULE-COMPLIANCE STATUS current DESCRIPTION "The compliance statement for entities which implement the DIS200G-VLAN-MIB." MODULE -- this module MANDATORY-GROUPS { isVlanIfCfgGroup } GROUP isVlanStaticMacVlanCfgGroup DESCRIPTION "Implementation of this group is optional." GROUP isVlanCurrentMacVlanCfgGroup DESCRIPTION "Implementation of this group is optional." GROUP isVlanSubnetVlanCfgGroup DESCRIPTION "Implementation of this group is optional." GROUP isVlanProtocolVlanCfgGroup DESCRIPTION "Implementation of this group is optional." GROUP isVlanAsymmetricVlanCfgGroup DESCRIPTION "Implementation of this group is optional." ::= { isVlanCompliances 1 } isVlanGroups OBJECT IDENTIFIER ::= { isVlanMIBConformance 2 } isVlanIfCfgGroup OBJECT-GROUP OBJECTS { isVlanPortIfMode, isVlanPortIfTrunkNativeVlanTagged, isVlanPortIfVlanPrecedence, isVlanPortIfAcceptableFrameTypes, isVlanPortIfTagAllowVlanLstFirst2K, isVlanPortIfTagAllowVlanLstSecond2K, isVlanPortIfUntagAllowVlanLstFirst2K, isVlanPortIfUntagAllowVlanLstSecond2K } STATUS current DESCRIPTION "A collection of objects providing the information and control for configuring port-specific VLAN feature." ::= { isVlanGroups 1 } isVlanStaticMacVlanCfgGroup OBJECT-GROUP OBJECTS { isVlanStaticMacVlanId, isVlanStaticMacVlanPriority, isVlanStaticMacVlanRowStatus } STATUS current DESCRIPTION "A collection of objects provides the configuration of MAC-based VLANs." ::= { isVlanGroups 2 } isVlanCurrentMacVlanCfgGroup OBJECT-GROUP OBJECTS { isVlanCurrentMacVlanId, isVlanCurrentMacVlanPriority } STATUS current DESCRIPTION "A collection of objects provides the running MAC-based VLANs." ::= { isVlanGroups 3 } isVlanSubnetVlanCfgGroup OBJECT-GROUP OBJECTS { isVlanSubnetVlanId, isVlanSubnetVlanPriority, isVlanSubnetVlanRowStatus } STATUS current DESCRIPTION "A collection of objects provides the configuration of subnet-based VLANs." ::= { isVlanGroups 4 } isVlanProtocolVlanCfgGroup OBJECT-GROUP OBJECTS { isVlanProtocolVlanPriority } STATUS current DESCRIPTION "A collection of objects provides the configuration of protocol VLAN entrys on interfaces." ::= { isVlanGroups 5 } isVlanAsymmetricVlanCfgGroup OBJECT-GROUP OBJECTS { isVlanAsymVlanStateEnabled } STATUS current DESCRIPTION "A collection of objects provides the management of asymmetric VLAN feature." ::= { isVlanGroups 6 } END