• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

06-二层技术-以太网交换

目录

08-HH3C-LswVLAN-MIB

本章节下载 08-HH3C-LswVLAN-MIB  (201.70 KB)

08-HH3C-LswVLAN-MIB


HH3C-LswVLAN-MIB

功能介绍

本MIB用来操作VLAN的基本配置,以及获取VLAN的基本信息。

MIB文件名

hh3c-splat-vlan.mib

根节点

iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).hh3c(25506).hh3cRhw(8).hh3clswCommon(35).hh3cLswVlan(2)

全局节点详细描述

hh3cVLANMibGarpLeaveAllTime

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cVLANMibGarpLeaveAllTime (1.3.6.1.4.1.25506.8.35.2.2.14)

read-write

Time-Interval

同MIB标准取值

GARP时间,单位厘秒

不支持

hh3cVLANMibSwitchGMRPRXPkt

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cVLANMibSwitchGMRPRXPkt (1.3.6.1.4.1.25506.8.35.2.2.15.1.1)

read-only

COUNTER32

同MIB标准取值

流量开关

不支持

hh3cVLANMibSwitchGVRPRXPkt

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cVLANMibSwitchGVRPRXPkt (1.3.6.1.4.1.25506.8.35.2.2.15.1.2)

read-only

COUNTER32

同MIB标准取值

流量开关

不支持

hh3cVLANMibSwitchGMRPTXPkt

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cVLANMibSwitchGMRPTXPkt (1.3.6.1.4.1.25506.8.35.2.2.15.1.3)

read-only

COUNTER32

同MIB标准取值

流量开关

不支持

hh3cVLANMibSwitchGVRPTXPkt

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cVLANMibSwitchGVRPTXPkt (1.3.6.1.4.1.25506.8.35.2.2.15.1.4)

read-only

COUNTER32

同MIB标准取值

流量开关

不支持

hh3cVLANMibSwitchDiscardedPkt

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cVLANMibSwitchDiscardedPkt (1.3.6.1.4.1.25506.8.35.2.2.15.1.5)

read-only

COUNTER32

同MIB标准取值

流量开关

不支持

hh3cVLANMibSwitchGarpStatClear

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cVLANMibSwitchGarpStatClear (1.3.6.1.4.1.25506.8.35.2.2.15.1.6)

read-write

INTEGER

同MIB标准取值

流量开关

不支持

hh3cVLANMibHoldTime

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cVLANMibHoldTime (1.3.6.1.4.1.25506.8.35.2.2.16.1.1)

read-write

INTEGER

INTEGER (10..32765)

接口的持续时间

不支持

表节点详细描述

hh3cdot1qVlanMIBTable

【功能描述】

该表用来管理与监控VLAN信息,用于VLAN的创建、删除; VLAN私有数据的配置与获取。

【操作支持情况】

创建约束

修改约束

删除约束

读取约束

支持

支持

支持

支持

【表节点信息】

该表的索引节点是hh3cdot1qVlanIndex,即VLAN ID,支持VLAN的创建与删除,支持VLAN属性配置与数据查询。

本表的叶子节点分为配置类节点与查询类节点,配置类节点支持读与写,查询类节点只支持读。

以下是配置类节点,其余节点是查询类节点:

·     hh3cdot1qVlanName

·     hh3cdot1qVlanPorts

·     hh3cdot1qVlanType

·     hh3cdot1qVlanPriority

·     hh3cdot1qVlanRowStatus

·     hh3cdot1qVlanBroadcastSuppression

·     hh3cdot1qVlanBcastSuppressionPPS

·     hh3cdot1qVlanMulticast (不支持)

·      

·      

hh3cdot1qVlanMIBTable配置说明:

本表支持行创建,即创建VLAN。行创建时,建议先遍历本表数据,使用不存在的VLAN ID。行状态节点只支持active(1)、createAndGo(4)、destroy(6)操作。本MIB表,涉及以下两类操作:

·     hh3cdot1qVlanRowStatus(createAndGo(4))创建VLAN,同时配置如下属性节点:

¡     hh3cdot1qVlanName

¡     hh3cdot1qVlanPorts

¡     hh3cdot1qVlanType

¡     hh3cdot1qVlanPriority

¡     hh3cdot1qVlanBroadcastSuppression

¡     hh3cdot1qVlanBcastSuppressionPPS

¡     hh3cdot1qVlanMulticast (Not support)

先检查hh3cdot1qVlanName节点的输入字符串,通过了检查才继续创建VLAN;VLAN创建成功后配置上面列出的叶子节点的属性。任何一个叶子节点存在配置错误,都会导致本次操作失败。例如:

¡     hh3cdot1qVlanPorts:本节点只允许Access类型的接口加入或退出VLAN,如果配置存在非Access类型的接口,会导致本节点的配置失败。

¡     hh3cdot1qVlanType:MIB不支持sub-vlan(3),当hh3cdot1qVlanRowStatus(createAndGo(4))与hh3cdot1qVlanType(sub-vlan(3))一起执行时,就会操作失败。

因此,建议hh3cdot1qVlanRowStatus(createAndGo(4))创建VLAN操作与其他属性节点的配置分开执行,避免这类错误。

·     VLAN已存在,配置如下属性节点:

¡     hh3cdot1qVlanName      输入字符串不超过32 字节

¡     hh3cdot1qVlanPorts      先获取本节点的数据,然后只改变该数据中接口对应的bit位,修改值作为配置值

¡     hh3cdot1qVlanType       本MIB不支持设置sub-vlan(3)类型与secondary-vlan(5)类型

¡     hh3cdot1qVlanPriority

¡     hh3cdot1qVlanBroadcastSuppression

¡     hh3cdot1qVlanBcastSuppressionPPS

¡     hh3cdot1qVlanMulticast (不支持)

配置举例

·     配置成功:索引使用不存在的VLAN ID,hh3cdot1qVlanName输入值"vlantest",同时操作行状态节点hh3cdot1qVlanRowStatus(createAndGo(4))创建VLAN,本次操作VLAN创建成功,且VLAN Name配置成功。

·     配置失败:Trunk类型的接口,且未加入该VLAN。hh3cdot1qVlanPorts节点配置加入该Trunk端口,同时操作状态节点hh3cdot1qVlanRowStatus(createAndGo(4))创建VLAN,本次操作会失败。

 

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cdot1qVlanIndex (1.3.6.1.4.1.25506.8.35.2.1.1.1.1)

read-only

Hh3cVlanIndex

Integer32 (0..2147483647)

VLAN索引

实现与MIB文件定义一致

hh3cdot1qVlanName (1.3.6.1.4.1.25506.8.35.2.1.1.1.2)

read-write

SnmpAdminString

OCTET STRING (0..80)

VLAN名字

输入字符串开头或者结尾的空格,将会被删除,不也支持由空格组成的字符串,输入空字符串,会配置成VLAN的默认描述信息

hh3cdot1qVlanPorts (1.3.6.1.4.1.25506.8.35.2.1.1.1.3)

read-write

PortList

OCTET STRING (0..65535)

VLAN端口列表

只支持ACCESS类型的端口加入、退出VLAN

hh3cdot1qVlanType (1.3.6.1.4.1.25506.8.35.2.1.1.1.4)

read-write

Integer

superVlan(1) common-vlan(2) sub-vlan(3) isolate-user-vlan(4) secondary-vlan(5) primaryVlan(6)

VLAN类型

不支持

hh3cdot1qVlanMacFilter (1.3.6.1.4.1.25506.8.35.2.1.1.1.5)

read-only

TruthValue

true(1),  false(2)

MAC VLAN过滤

不支持,显示默认数据false(2)

hh3cdot1qVlanMcastUnknownProtos (1.3.6.1.4.1.25506.8.35.2.1.1.1.6)

read-only

TruthValue

true(1), false(2)

是否广播未知报文

不支持,显示默认数据false(2)

hh3cExistInterface (1.3.6.1.4.1.25506.8.35.2.1.1.1.7)

read-only

TruthValue

true(1), false(2)

存在的VLAN虚接口

实现与MIB文件定义一致

hh3cVlanInterfaceIndex (1.3.6.1.4.1.25506.8.35.2.1.1.1.8)

read-only

Integer

Integer(1..4094)

VLAN虚接口索引

实现与MIB文件定义一致

hh3cdot1qVlanMacLearn (1.3.6.1.4.1.25506.8.35.2.1.1.1.9)

read-only

TruthValue

true(1), false(2)

是否支持MAC地址学习

不支持,显示默认数据false(2)

hh3cdot1qVlanStatus (1.3.6.1.4.1.25506.8.35.2.1.1.1.10)

read-only

Integer

other(1),static(2),dynamic(3)

VLAN状态

实现与MIB文件定义一致

hh3cdot1qVlanPriority (1.3.6.1.4.1.25506.8.35.2.1.1.1.12)

read-write

Integer

Integer(0..7)

VLAN优先级

需要产品确认规格

hh3cdot1qVlanRowStatus (1.3.6.1.4.1.25506.8.35.2.1.1.1.13)

read-create

Row-Status

active(1), notInService(2), notReady(3), createAndGo(4), createAndWait(5), destroy(6)

VLAN行状态

只支持如下操作:active(1), createAndgo(4), destroy(6)

hh3cdot1qVlanBroadcastSuppression (1.3.6.1.4.1.25506.8.35.2.1.1.1.14)

read-write

Integer

Integer(0..100)

VLAN广播抑制

只支持读操作

hh3cdot1qVlanBcastSuppressionPPS (1.3.6.1.4.1.25506.8.35.2.1.1.1.15)

read-write

Integer

Integer(0..148800)

VLAN广播抑制pps类型

不支持

hh3cdot1qVlanMulticast (1.3.6.1.4.1.25506.8.35.2.1.1.1.16)

read-write

Integer

disable(0),enable(1)

VLAN多播

不支持

hh3cdot1qVlanTaggedPorts (1.3.6.1.4.1.25506.8.35.2.1.1.1.17)

read-only

PortList

OCTET STRING (0..65535)

VLAN内带Tag的接口

实现与MIB文件定义一致

hh3cdot1qVlanUntaggedPorts (1.3.6.1.4.1.25506.8.35.2.1.1.1.18)

read-only

PortList

OCTET STRING (0..65535)

VLAN内不带Tag的接口

实现与MIB文件定义一致

hh3cdot1qVlanPortIndexs (1.3.6.1.4.1.25506.8.35.2.1.1.1.19)

read-write

OCTET STRING

OCTET STRING (0..65535)

端口索引列表

实现与MIB文件定义一致

hh3cVlanInterfaceTable

【功能描述】

该表用来配置与获取VLAN虚接口的信息。

【操作支持情况】

创建约束

修改约束

删除约束

读取约束

支持

支持

支持

支持

【表节点信息】

该表的索引节点是hh3cdot1qVlanID。

设置操作,hh3cdot1qVlanIpAddress与hh3cdot1qVlanIpAddressMask必须同时输入。

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cVlanInterfaceID (1.3.6.1.4.1.25506.8.35.2.1.2.1.1)

read-only

Integer

同MIB标准取值

索引

实现与MIB文件定义一致

hh3cdot1qVlanID (1.3.6.1.4.1.25506.8.35.2.1.2.1.2)

read-only

Hh3cVlanIndex

Integer32 (0..2147483647)

VLAN ID

实现与MIB文件定义一致

hh3cdot1qVlanIpAddress (1.3.6.1.4.1.25506.8.35.2.1.2.1.3)

read-write

IpAddress

OCTET STRING (0..65535)

IP地址

实现与MIB文件定义一致

hh3cdot1qVlanIpAddressMask (1.3.6.1.4.1.25506.8.35.2.1.2.1.4)

read-write

IpAddress

OCTET STRING (0..65535)

IP地址掩码

实现与MIB文件定义一致

hh3cVlanInterfaceAdminStatus (1.3.6.1.4.1.25506.8.35.2.1.2.1.5)

read-write

Integer

up(1),

down(2)

虚接口状态

实现与MIB文件定义一致

hh3cVlanInterfaceFrameType (1.3.6.1.4.1.25506.8.35.2.1.2.1.6)

read-only

Integer

ethernet-ii(1),

ethernet-snap(2),

ethernet-8022(3),

ethernet-8023(4)

帧类型

实现与MIB文件定义一致

hh3cInterfaceRowStatus (1.3.6.1.4.1.25506.8.35.2.1.2.1.7)

read-create

RowStatus

active(1),
notInService(2),

notReady(3),

createAndGo(4),

createAndWait(5),

destroy(6)

接口行状态

只支持active(1),createAndgo(4),destroy(6)


当本节点行创建与本表的其他属性节点配置一起执行时,会先创建行,即创建VLAN虚接口,再配置其他属性节点

如果某一节点配置失败,本次操作也会失败

建议hh3cInterfaceRowStatus (createAndGo(4))创建VLAN虚接口与配置其他属性节点分开执行

当行状态是active时,createAndGo操作返回成功

hh3cVlanInterfaceIpMethod (1.3.6.1.4.1.25506.8.35.2.1.2.1.8)

read-write

Integer

assigned-ip(1),

dhcp-ip(2),

bootp-ip(3)

VLAN虚接口获取IP方式

只支持读操作

hh3cVlanInterfaceIfIndex (1.3.6.1.4.1.25506.8.35.2.1.2.1.9)

read-only

Integer

同MIB标准取值

VLAN虚接口索引

实现与MIB文件定义一致

 

hh3cifIsolateMappingTable

【功能描述】

该表用来实现Isolate VLAN特性,配置、读取Isolate VLAN与Secondary VLAN的映射关系。本表的支持情况依赖于产品的规格。

【操作支持情况】

创建约束

修改约束

删除约束

读取约束

不支持

支持

不支持

支持

【表节点信息】

该表的索引节点是hh3cifIsolatePrimaryVlanID。

设置操作,hh3cifIsolateSecondaryVlanlistLow与hh3cifIsolateSecondaryVlanlistHigh必须同时输入。

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cifIsolatePrimaryVlanID (1.3.6.1.4.1.25506.8.35.2.1.4.1.1)

read-only

Hh3cVlanIndex

Integer32 (0..2147483647)

Primary VLAN

需要产品确认规格

hh3cifIsolateSecondaryVlanlistLow (1.3.6.1.4.1.25506.8.35.2.1.4.1.2)

read-write

OCTET STRING

OCTET STRING (0..256)

Secondary VLAN位图低位

需要产品确认规格

hh3cifIsolateSecondaryVlanlistHigh (1.3.6.1.4.1.25506.8.35.2.1.4.1.3)

read-write

OCTET STRING

OCTET STRING (0..256)

Secondary VLAN位图高位

需要产品确认规格

 

hh3cVlanInterfaceAddrTable

【功能描述】

该表用来配置、读取VLAN虚接口的IP地址功能。

【操作支持情况】

创建约束

修改约束

删除约束

读取约束

支持

支持

支持

支持

【表节点信息】

该表的索引节点是hh3cVlanInterfaceIpIfIndex、hh3cVlanInterfaceIpAddr。

hh3cVlanInterfaceIpRowStatus执行createAndgo(4)操作时,hh3cVlanInterfaceIpAddr与hh3cVlanInterfaceIpMask需要同时输入。hh3cVlanInterfaceIpRowStatus执行destroy(6)操作时,hh3cVlanInterfaceIpAddr、hh3cVlanInterfaceIpMask与hh3cVlanInterfaceIpType需要同时输入。

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cVlanInterfaceIpIfIndex (1.3.6.1.4.1.25506.8.35.2.1.5.1.1)

read-only

Integer

同MIB标准取值

VLAN虚接口接口索引

实现与MIB文件定义一致

hh3cVlanInterfaceIpAddr (1.3.6.1.4.1.25506.8.35.2.1.5.1.2)

read-only

IpAddress

OCTET STRING (4)

VLAN虚接口IP地址

实现与MIB文件定义一致

hh3cVlanInterfaceIpMask (1.3.6.1.4.1.25506.8.35.2.1.5.1.3)

read-create

IpAddress

OCTET STRING (4)

VLAN虚接口IP掩码

实现与MIB文件定义一致

hh3cVlanInterfaceIpType (1.3.6.1.4.1.25506.8.35.2.1.5.1.4)

read-create

Integer

primary(1),

sub(2),

cluster(3),

vrrp(4)

VLAN虚接口IP类型

实现与MIB文件定义一致

只支持 primary(1)和sub(2).

hh3cVlanInterfaceIpRowStatus (1.3.6.1.4.1.25506.8.35.2.1.5.1.5)

read-create

RowStatus

active(1),

notInService(2),

notReady(3),

createAndGo(4),

createAndWait(5),

destroy(6)

接口IP的行状态

支持active(1)、createAndgo(4)、destroy(6).

 

hh3cDot1qVlanBatchMIBTable

【功能描述】

该表用来实现批量VLAN功能。

【操作支持情况】

创建约束

修改约束

删除约束

读取约束

支持

支持

支持

支持

【表节点信息】

该表的索引节点是hh3cdot1qVlanBatchStartIndex、hh3cdot1qVlanBatchEndIndex、和hh3cdot1qVlanBatchSetOperate。

创建批量VLAN时,hh3cdot1qVlanBatchSetOperate设置为1。

例如,创建VLAN 2-4,各节点输入值如下:

 hh3cdot1qVlanBatchStartIndex 2,

 hh3cdot1qVlanBatchEndIndex 4,

 hh3cdot1qVlanBatchSetOperate create(1),

 hh3cdot1qVlanBatchRowStatus createAndGo(4).

批量删除VLAN时,hh3cdot1qVlanBatchSetOperate设置为2。

例如,删除VLAN 10-20,各节点输入值如下:

 hh3cdot1qVlanBatchStartIndex 10,

 hh3cdot1qVlanBatchEndIndex 20,

 hh3cdot1qVlanBatchSetOperate delete(2),

 hh3cdot1qVlanBatchRowStatus createAndGo(4).

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cdot1qVlanBatchOperIndex (1.3.6.1.4.1.25506.8.35.2.1.6.1.1)

read-only

Integer32

同MIB标准取值

操作索引

不支持

hh3cdot1qVlanBatchStartIndex (1.3.6.1.4.1.25506.8.35.2.1.6.1.2)

read-write

Hh3cVlanIndex

Integer32 (0..2147483647)

起始VLAN ID

不支持

hh3cdot1qVlanBatchEndIndex (1.3.6.1.4.1.25506.8.35.2.1.6.1.3)

read-write

Hh3cVlanIndex

Integer32 (0..2147483647)

终止VLAN ID

不支持

hh3cdot1qVlanBatchOperStatus (1.3.6.1.4.1.25506.8.35.2.1.6.1.4)

read-only

Integer

同MIB标准取值

操作状态

不支持

hh3cdot1qVlanBatchRowStatus (1.3.6.1.4.1.25506.8.35.2.1.6.1.5)

read-create

Row-Status

同MIB标准取值

行状态

不支持

hh3cdot1qVlanBatchSetOperate (1.3.6.1.4.1.25506.8.35.2.1.6.1.6)

read-create

Integer

同MIB标准取值

设置操作类型

不支持

hh3cifSuperVlanMappingTable

【功能描述】

该表用来实现Super VLAN特性,配置、查询Super VLAN与Sub VLAN的映射关系。

【操作支持情况】

创建约束

修改约束

删除约束

读取约束

不支持

支持

不支持

支持

【表节点信息】

该表的索引节点是hh3cifSuperVlanID。

设置操作,hh3cifSubVlanlistLow与hh3cifSubVlanlistHigh需要同时输入。

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cifSuperVlanID (1.3.6.1.4.1.25506.8.35.2.1.7.1.1)

read-only

Hh3cVlanIndex

Integer32 (0..2147483647)

Super VLAN索引

不支持

hh3cifSubVlanlistLow (1.3.6.1.4.1.25506.8.35.2.1.7.1.2)

read-write

OCTET STRING

OCTET STRING (0..256)

Sub VLAN位图低位

不支持

hh3cifSubVlanlistHigh (1.3.6.1.4.1.25506.8.35.2.1.7.1.3)

read-write

OCTET STRING

OCTET STRING (0..256)

Sub VLAN位图高位

不支持

hh3cPrivateVlanMappingTable

【功能描述】

该表用来实现Private VLAN特性,配置、查询Primary VLAN与Secondary VLAN的映射关系。

【操作支持情况】

创建约束

修改约束

删除约束

读取约束

不支持

支持

不支持

支持

【表节点信息】

该表的索引节点是hh3cPrimaryVlanID。

设置操作,hh3cSecondaryVlanlistLow与hh3cSecondaryVlanlistHigh需要同时输入。

节点名称及OID

最大访问权限

数据类型

有效范围

含义

实现规格

hh3cPrimaryVlanID (1.3.6.1.4.1.25506.8.35.2.1.8.1.1)

read-only

Hh3cVlanIndex

Integer32 (0..2147483647)

Primary VLAN索引

实现与MIB文件定义一致

hh3cSecondaryVlanlistLow (1.3.6.1.4.1.25506.8.35.2.1.8.1.2)

read-write

OCTET STRING

OCTET STRING (0..256)

Secondary VLAN位图低位

实现与MIB文件定义一致

hh3cSecondaryVlanlistHigh (1.3.6.1.4.1.25506.8.35.2.1.8.1.3)

read-write

OCTET STRING

OCTET STRING (0..256)

Secondary VLAN位图高位

实现与MIB文件定义一致

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们