-- ================================================================= -- Copyright (C) 2004 by H3C TECHNOLOGIES. All rights reserved. -- -- Description:protocol vlan mib -- Reference:IEEE 802.1v clause 8.6.4 -- Version: V1.3 -- History: -- V1.0 Initial version 2004-08-18 -- V1.1 Updated version 2004-08-31 -- V1.2 2004-10-12 updated by gaolong -- Change value of Hh3cvProtocolVlanProtocolType from underscores to hyphens. -- Remove hh3cProtocolVlanVlanId, hh3cProtocolVlanProtocolIndex from hh3cProtocolVlanProtocolGroup -- because they are not-accessible objects. -- Remove hh3cProtocolVlanPortIndex, hh3cProtocolVlanPortVlanId, hh3cProtocolVlanPortProtocolId -- from hh3cProtocolVlanPortGroup because they are not-accessible objects. -- V1.3 2005-08-31 updated by jiangjun -- Add hh3cDifferentProtocolNumAllPort object to support the maximum -- number of different protocols that can be applied on all ports. -- Add enum value (ipv6) to Hh3cvProtocolVlanProtocolType. -- Update file format by gaolong. -- ================================================================= HH3C-PROTOCOL-VLAN-MIB DEFINITIONS ::= BEGIN IMPORTS hh3cCommon FROM HH3C-OID-MIB OBJECT-GROUP, MODULE-COMPLIANCE FROM SNMPv2-CONF Integer32, OBJECT-TYPE, MODULE-IDENTITY FROM SNMPv2-SMI DisplayString, TruthValue, RowStatus, TEXTUAL-CONVENTION FROM SNMPv2-TC; hh3cProtocolVlan MODULE-IDENTITY LAST-UPDATED "200408311800Z" ORGANIZATION "Hangzhou H3C Tech. Co., Ltd." CONTACT-INFO "Platform Team Hangzhou H3C Tech. Co., Ltd. Hai-Dian District Beijing P.R. China http://www.h3c.com Zip:100085 " DESCRIPTION "This MIB contains the objects for managing the protocol-based vlan configurations." REVISION "200408311938Z" -- August 31, 2004 at 19:38 GMT DESCRIPTION "The initial revision of this MIB module ." ::= { hh3cCommon 16 } -- -- Textual conventions -- Hh3cvProtocolVlanProtocolType ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION " Contains protocols both for layer3 and layer2. " SYNTAX INTEGER { -- layer 3 protocols ip(1), ipx(2), at(3), ipv6(4), --layer 2 protocols mode-llc(101), mode-snap(102), mode-ethernetii(103) } Hh3cvProtocolVlanProtocolSubType ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION " combine with Hh3cvProtocolVlanProtocolType. ethernetii(2), llc(3), raw(4), snap(5) are used when the value of Hh3cvProtocolVlanProtocolType is for layer 3 protocols. etype(6) is used when the value of Hh3cvProtocolVlanProtocolType is for layer 2 protocols. Detail information refers to DESCRIPTION part of hh3cProtocolVlanProtocolTypeValue. " SYNTAX INTEGER { notused(1), -- this value indicates the object is not used. ethernetii(2), llc(3), raw(4), snap(5), etype(6) } -- -- Node definitions -- hh3cProtocolVlanOperate OBJECT IDENTIFIER ::= { hh3cProtocolVlan 1 } hh3cProtocolNumAllVlan OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The maximum number of protocols that can be configured on all vlans. This number may vary with products." ::= { hh3cProtocolVlanOperate 1 } hh3cProtocolNumPerVlan OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The maximum number of protocols that can be configured per vlan. This number may vary with products." ::= { hh3cProtocolVlanOperate 2 } hh3cProtocolNumAllPort OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The maximum number of protocols that can be applied on all ports. This number may vary with products." ::= { hh3cProtocolVlanOperate 3 } hh3cProtocolNumPerPort OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The maximum number of protocols that can be applied to each port. This number may vary with products." ::= { hh3cProtocolVlanOperate 4 } hh3cProtocolVlanTable OBJECT-TYPE SYNTAX SEQUENCE OF Hh3cProtocolVlanEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Protocol-based VLAN configuration table." ::= { hh3cProtocolVlanOperate 5 } hh3cProtocolVlanEntry OBJECT-TYPE SYNTAX Hh3cProtocolVlanEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Protocol-based VLAN configuration entry." INDEX { hh3cProtocolVlanVlanId, hh3cProtocolVlanProtocolIndex } ::= { hh3cProtocolVlanTable 1 } Hh3cProtocolVlanEntry ::= SEQUENCE { hh3cProtocolVlanVlanId Integer32, hh3cProtocolVlanProtocolIndex Integer32, hh3cProtocolVlanProtocolType Hh3cvProtocolVlanProtocolType, hh3cProtocolVlanProtocolSubType Hh3cvProtocolVlanProtocolSubType, hh3cProtocolVlanProtocolTypeValue OCTET STRING, hh3cProtocolVlanRowStatus RowStatus } hh3cProtocolVlanVlanId OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "Vlan ID." ::= { hh3cProtocolVlanEntry 1 } hh3cProtocolVlanProtocolIndex OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "The protocol index value of a row in this table in the range of [0..hh3cProtocolNumPerVlan-1]. This object may not be provided during creation. In this case, a number is assigned by system automatically." ::= { hh3cProtocolVlanEntry 2 } hh3cProtocolVlanProtocolType OBJECT-TYPE SYNTAX Hh3cvProtocolVlanProtocolType MAX-ACCESS read-create STATUS current DESCRIPTION " Specify protocol types supported by a protocol-based VLAN. Now protocols supported on layer 3 are ip, ipx, at, ipv6, etc. Now protocols supported on layer 2 are llc, snap, ethernetii, etc. For details, see description of hh3cProtocolVlanProtocolTypeValue. " ::= { hh3cProtocolVlanEntry 3 } hh3cProtocolVlanProtocolSubType OBJECT-TYPE SYNTAX Hh3cvProtocolVlanProtocolSubType MAX-ACCESS read-create STATUS current DESCRIPTION " See description of hh3cProtocolVlanProtocolTypeValue. " ::= { hh3cProtocolVlanEntry 4 } hh3cProtocolVlanProtocolTypeValue OBJECT-TYPE SYNTAX OCTET STRING(SIZE(0..255)) MAX-ACCESS read-create STATUS current DESCRIPTION " The value of the configured protocol type. By default, semicolon(;) is used as a seperator between different parts in the content of the object. The relationship among hh3cProtocolVlanProtocolType, hh3cProtocolVlanProtocolSubType and hh3cProtocolVlanProtocolTypeValue is as follows. |--------------------------------------------------------------------------------------------| | hh3cProtocolVlan- | hh3cProtocolVlan- | hh3cProtocolVlanProtocolTypeValue | | ProtocolType | ProtocolSubType | | |------------------|------------------|------------------------------------------------------| | ip | notused | IP address with subnet mask in dotted decimal format.| | | | such as 10.10.11.12;255.255.0.0. By default,subnet | | | | mask is 255.255.255.0 . | |------------------|------------------|------------------------------------------------------| | ipv6 | notused | Zero length string | |------------------|------------------|------------------------------------------------------| | at | notused | Zero length string | |------------------|------------------|------------------------------------------------------| | ipx | ethernetii | Zero length string | | | llc | | | | raw | | | | snap | | |------------------|------------------|------------------------------------------------------| | mode-snap | notused | zero length string | | |------------------|------------------------------------------------------| | | etype | hex string like '600', which means 0x0600. | | | | The range is [0x600..0xffff] | |------------------|------------------|------------------------------------------------------| | mode-ethernetii | notused | zero length string | | |------------------|------------------------------------------------------| | | etype | hex string like '600', which means 0x0600. | | | | The range is [0x600..0xffff] | |------------------|------------------|------------------------------------------------------| | mode-llc | notused | the sequence of different parts is as follows. | | | | [dsap value][;ssap value][dsap value;ssap value] | | | | Both range is [0x00..0xff] | | | | | | | | For example. Suppose value of dsap and ssap are 0x09 | | | | and 0x0a. | | | | If neither dsap or ssap, the string length is zero. | | | | If dsap provided, the string is '09;' or '09' | | | | If ssap provided, the value is ';0a' | | | | If dsap and ssap provided, the value is '09;0a' | |------------------|------------------|------------------------------------------------------| " ::= { hh3cProtocolVlanEntry 5 } hh3cProtocolVlanRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The row status of this table." ::= { hh3cProtocolVlanEntry 6 } hh3cProtocolVlanPortTable OBJECT-TYPE SYNTAX SEQUENCE OF Hh3cProtocolVlanPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " Protocol-based VLAN port information table. hh3cProtocolVlanPortVlanId refers to hh3cProtocolVlanVlanId in hh3cProtocolVlanTable. hh3cProtocolVlanPortProtocolId refers to hh3cProtocolVlanProtocolIndex in hh3cProtocolVlanTable. So if the value of hh3cProtocolVlanPortVlanId and hh3cProtocolVlanPortProtocolId have no corresponding entry in hh3cProtocolVlanTable, set operation for this table will fail. Only hybrid ports are supported by this table. Only untagged packets are supported by this table. " ::= { hh3cProtocolVlanOperate 6 } hh3cProtocolVlanPortEntry OBJECT-TYPE SYNTAX Hh3cProtocolVlanPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " Protocol-based VLAN port information entry. " INDEX { hh3cProtocolVlanPortIndex, hh3cProtocolVlanPortVlanId, hh3cProtocolVlanPortProtocolId } ::= { hh3cProtocolVlanPortTable 1 } Hh3cProtocolVlanPortEntry ::= SEQUENCE { hh3cProtocolVlanPortIndex Integer32, hh3cProtocolVlanPortVlanId Integer32, hh3cProtocolVlanPortProtocolId Integer32, hh3cProtocolVlanPortProtocolType Hh3cvProtocolVlanProtocolType, hh3cProtocolVlanPortProtocolSubType Hh3cvProtocolVlanProtocolSubType, hh3cProtocolVlanPortTypeValue OCTET STRING, hh3cProtocolVlanPortRowStatus RowStatus } hh3cProtocolVlanPortIndex OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION " The maximum number is the total number of the ports supported by device. " REFERENCE "hh3cLswPortIndex in HH3C-LSW-DEV-ADM-MIB" ::= { hh3cProtocolVlanPortEntry 1 } hh3cProtocolVlanPortVlanId OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "The protocol-based VLAN ID." ::= { hh3cProtocolVlanPortEntry 2 } hh3cProtocolVlanPortProtocolId OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "The protocol index." ::= { hh3cProtocolVlanPortEntry 3 } hh3cProtocolVlanPortProtocolType OBJECT-TYPE SYNTAX Hh3cvProtocolVlanProtocolType MAX-ACCESS read-only STATUS current DESCRIPTION "Refer to the description of hh3cProtocolVlanProtocolType." ::= { hh3cProtocolVlanPortEntry 4 } hh3cProtocolVlanPortProtocolSubType OBJECT-TYPE SYNTAX Hh3cvProtocolVlanProtocolSubType MAX-ACCESS read-only STATUS current DESCRIPTION "Refer to the description of hh3cProtocolVlanProtocolSubType." ::= { hh3cProtocolVlanPortEntry 5 } hh3cProtocolVlanPortTypeValue OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Refer to the description of hh3cProtocolVlanProtocolTypeValue." ::= { hh3cProtocolVlanPortEntry 6 } hh3cProtocolVlanPortRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The row status of this table." ::= { hh3cProtocolVlanPortEntry 7 } hh3cDifferentProtocolNumAllPort OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The maximum number of different protocols that can be applied to all ports." ::= { hh3cProtocolVlanOperate 7 } hh3cProtocolVlanConformance OBJECT IDENTIFIER ::= { hh3cProtocolVlan 2 } hh3cProtocolVlanCompliances OBJECT IDENTIFIER ::= { hh3cProtocolVlanConformance 1 } hh3cProtocolVlanCompliance MODULE-COMPLIANCE STATUS current DESCRIPTION "The compliance statement for protocol vlan MIB." MODULE -- this module MANDATORY-GROUPS { hh3cProtocolVlanOperateGroup, hh3cProtocolVlanProtocolGroup, hh3cProtocolVlanPortGroup } ::= { hh3cProtocolVlanCompliances 1 } hh3cProtocolVlanGroups OBJECT IDENTIFIER ::= { hh3cProtocolVlanConformance 2 } hh3cProtocolVlanOperateGroup OBJECT-GROUP OBJECTS { hh3cProtocolNumAllVlan, hh3cProtocolNumPerVlan, hh3cProtocolNumAllPort, hh3cProtocolNumPerPort, hh3cDifferentProtocolNumAllPort } STATUS current DESCRIPTION "A group of scalar objects describing the maximum number." ::= { hh3cProtocolVlanGroups 1 } hh3cProtocolVlanProtocolGroup OBJECT-GROUP OBJECTS { hh3cProtocolVlanProtocolType, hh3cProtocolVlanProtocolSubType, hh3cProtocolVlanProtocolTypeValue, hh3cProtocolVlanRowStatus } STATUS current DESCRIPTION "A group of protocol vlan protocol." ::= { hh3cProtocolVlanGroups 2 } hh3cProtocolVlanPortGroup OBJECT-GROUP OBJECTS { hh3cProtocolVlanPortProtocolType, hh3cProtocolVlanPortProtocolSubType, hh3cProtocolVlanPortTypeValue, hh3cProtocolVlanPortRowStatus } STATUS current DESCRIPTION "A group of protocol vlan port." ::= { hh3cProtocolVlanGroups 3 } END