-- ------------------------------------------------------------------ -- 描述: 华为公司 Lan Switch Qos部分MIB草案 -- -- 修改记录:1) 2002-11-18 祁正林 创建 -- -- -- ------------------------------------------------------------------ -- ------------------------------------------------------------------ -- -- 引入和定义的变量 -- -- ------------------------------------------------------------------ HUAWEI_LswAcl_MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY,OBJECT-TYPE,Counter32 FROM SNMPv2-SMI TruthValue, RowStatus, MacAddress FROM SNMPv2-TC lswCommon FROM HUAWEI-MIB; ---------- Following is for Node:hwLswAclMib -------- hwLswQosAclMib MODULE-IDENTITY LAST-UPDATED "200211190000Z" ORGANIZATION "HUAWEI LANSWITCH" CONTACT-INFO "huawei beiyan" DESCRIPTION "Module node for qos and acl." REVISION "200211190000Z" DESCRIPTION "none" ::= { lswCommon 16 } ---------- Following is for Node:hwLswAclMibObject -------- hwLswAclMibObject OBJECT IDENTIFIER ::= { hwLswQosAclMib 1 } ---------- Following is for Node:hwLswAclMibObject -------- hwLswAclMode OBJECT-TYPE SYNTAX INTEGER{link-based(1),ip-based(2)} MAX-ACCESS read-write STATUS current DESCRIPTION "The acl mode" DEFVAL { 2} ::= { hwLswAclMibObject 1 } -------- TABLE: hwLswAclNumGroupTable ------ hwLswAclNumGroupTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswAclNumGroupEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The match order of the num acl" ::= { hwLswAclMibObject 2 } hwLswAclNumGroupEntry OBJECT-TYPE SYNTAX HwLswAclNumGroupEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "" INDEX { hwLswAclNumGroupAclNum } ::= { hwLswAclNumGroupTable 1 } HwLswAclNumGroupEntry ::= SEQUENCE { hwLswAclNumGroupAclNum INTEGER, hwLswAclNumGroupOrder INTEGER, hwLswAclNumGroupSubitemNum INTEGER } hwLswAclNumGroupAclNum OBJECT-TYPE SYNTAX INTEGER(1..399|1000..1999) MAX-ACCESS read-only STATUS current DESCRIPTION "The num of the num acl" ::={ hwLswAclNumGroupEntry 1 } hwLswAclNumGroupOrder OBJECT-TYPE SYNTAX INTEGER{config(1),auto(2)} MAX-ACCESS read-write STATUS current DESCRIPTION "The match order of the num acl" DEFVAL { 1 } ::={ hwLswAclNumGroupEntry 2 } hwLswAclNumGroupSubitemNum OBJECT-TYPE SYNTAX INTEGER(0..127) MAX-ACCESS read-only STATUS current DESCRIPTION "The subitem number of the num acl" ::={ hwLswAclNumGroupEntry 3 } -------- TABLE: hwLswAclBasicTable ------ hwLswAclBasicTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswAclBasicEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Create basic acl" ::= { hwLswAclMibObject 3 } hwLswAclBasicEntry OBJECT-TYPE SYNTAX HwLswAclBasicEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "" INDEX { hwLswAclBasicAclNum, hwLswAclBasicSubitem } ::= { hwLswAclBasicTable 1 } HwLswAclBasicEntry ::= SEQUENCE { hwLswAclBasicAclNum INTEGER, hwLswAclBasicSubitem INTEGER, hwLswAclBasicAct INTEGER, hwLswAclBasicSrcIp IpAddress, hwLswAclBasicSrcWild IpAddress, hwLswAclBasicFragments TruthValue, hwLswAclBasicTimeRangeIndex INTEGER, hwLswAclBasicEnable TruthValue, hwLswAclBasicCount Counter32, hwLswAclBasicCountClear INTEGER, hwLswAclBasicRowStatus RowStatus } hwLswAclBasicAclNum OBJECT-TYPE SYNTAX INTEGER(1..99|10000..10999) MAX-ACCESS read-create STATUS current DESCRIPTION "The num of the basic acl" ::={ hwLswAclBasicEntry 1 } hwLswAclBasicSubitem OBJECT-TYPE SYNTAX INTEGER(0..127|255) MAX-ACCESS read-create STATUS current DESCRIPTION "The subitem of the basic acl" ::={ hwLswAclBasicEntry 2 } hwLswAclBasicAct OBJECT-TYPE SYNTAX INTEGER{permit(1),deny(2)} MAX-ACCESS read-create STATUS current DESCRIPTION "The action of the basic acl" ::={ hwLswAclBasicEntry 3 } hwLswAclBasicSrcIp OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Source ip" ::={ hwLswAclBasicEntry 4 } hwLswAclBasicSrcWild OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Source ip wild" ::={ hwLswAclBasicEntry 5 } hwLswAclBasicFragments OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-create STATUS current DESCRIPTION "Fragments flag" DEFVAL { 2 } ::={ hwLswAclBasicEntry 6 } hwLswAclBasicTimeRangeIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-create STATUS current DESCRIPTION "The name index of the timerange" ::={ hwLswAclBasicEntry 7 } hwLswAclBasicEnable OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "Is enable or not" ::={ hwLswAclBasicEntry 8 } hwLswAclBasicCount OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The counter of the packet if matched" ::={ hwLswAclBasicEntry 9 } hwLswAclBasicCountClear OBJECT-TYPE SYNTAX INTEGER{cleared(1),nouse(2)} MAX-ACCESS read-create STATUS current DESCRIPTION "Clear the counter" ::={ hwLswAclBasicEntry 10 } hwLswAclBasicRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "RowStatus" ::={ hwLswAclBasicEntry 11 } -------- TABLE: hwLswAclAdvancedTable ------ hwLswAclAdvancedTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswAclAdvancedEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Create advanced acl" ::= { hwLswAclMibObject 4 } hwLswAclAdvancedEntry OBJECT-TYPE SYNTAX HwLswAclAdvancedEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "" INDEX { hwLswAclAdvancedAclNum, hwLswAclAdvancedSubitem } ::= { hwLswAclAdvancedTable 1 } HwLswAclAdvancedEntry ::= SEQUENCE { hwLswAclAdvancedAclNum INTEGER, hwLswAclAdvancedSubitem INTEGER, hwLswAclAdvancedAct INTEGER, hwLswAclAdvancedProtocol INTEGER, hwLswAclAdvancedEstablish TruthValue, hwLswAclAdvancedSrcIp IpAddress, hwLswAclAdvancedSrcWild IpAddress, hwLswAclAdvancedSrcOp INTEGER, hwLswAclAdvancedSrcPort1 INTEGER, hwLswAclAdvancedSrcPort2 INTEGER, hwLswAclAdvancedDestIp IpAddress, hwLswAclAdvancedDestWild IpAddress, hwLswAclAdvancedDestOp INTEGER, hwLswAclAdvancedDestPort1 INTEGER, hwLswAclAdvancedDestPort2 INTEGER, hwLswAclAdvancedIcmpType INTEGER, hwLswAclAdvancedIcmpCode INTEGER, hwLswAclAdvancedFragments TruthValue, hwLswAclAdvancedPrecedence INTEGER, hwLswAclAdvancedTos INTEGER, hwLswAclAdvancedDscp INTEGER, hwLswAclAdvancedTimeRangeIndex INTEGER, hwLswAclAdvancedEnable TruthValue, hwLswAclAdvancedCount Counter32, hwLswAclAdvancedCountClear INTEGER, hwLswAclAdvancedRowStatus RowStatus } hwLswAclAdvancedAclNum OBJECT-TYPE SYNTAX INTEGER(100..199|10000..10999) MAX-ACCESS read-create STATUS current DESCRIPTION "The num of the advanced acl" ::={ hwLswAclAdvancedEntry 1 } hwLswAclAdvancedSubitem OBJECT-TYPE SYNTAX INTEGER(0..127|255) MAX-ACCESS read-create STATUS current DESCRIPTION "The subitem of the advanced acl" ::={ hwLswAclAdvancedEntry 2 } hwLswAclAdvancedAct OBJECT-TYPE SYNTAX INTEGER{permit(1),deny(2)} MAX-ACCESS read-create STATUS current DESCRIPTION "The action of the advanced acl" ::={ hwLswAclAdvancedEntry 3 } hwLswAclAdvancedProtocol OBJECT-TYPE SYNTAX INTEGER(0..255) MAX-ACCESS read-create STATUS current DESCRIPTION "Protocol" ::={ hwLswAclAdvancedEntry 4 } hwLswAclAdvancedEstablish OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-create STATUS current DESCRIPTION "Establish flag" DEFVAL { 2 } ::={ hwLswAclAdvancedEntry 5 } hwLswAclAdvancedSrcIp OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Source ip" ::={ hwLswAclAdvancedEntry 6 } hwLswAclAdvancedSrcWild OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Source ip wild" ::={ hwLswAclAdvancedEntry 7 } hwLswAclAdvancedSrcOp OBJECT-TYPE SYNTAX INTEGER{lt(1),eq(2),gt(3),neq(4),range(5),invalid(0)} MAX-ACCESS read-create STATUS current DESCRIPTION "The operater of source port" ::={ hwLswAclAdvancedEntry 8 } hwLswAclAdvancedSrcPort1 OBJECT-TYPE SYNTAX INTEGER(0..65535) MAX-ACCESS read-create STATUS current DESCRIPTION "Source port" ::={ hwLswAclAdvancedEntry 9 } hwLswAclAdvancedSrcPort2 OBJECT-TYPE SYNTAX INTEGER(0..65535) MAX-ACCESS read-create STATUS current DESCRIPTION "Source port" ::={ hwLswAclAdvancedEntry 10 } hwLswAclAdvancedDestIp OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Destination ip" ::={ hwLswAclAdvancedEntry 11 } hwLswAclAdvancedDestWild OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Destination ip wild" ::={ hwLswAclAdvancedEntry 12 } hwLswAclAdvancedDestOp OBJECT-TYPE SYNTAX INTEGER{lt(1),eq(2),gt(3),neq(4),range(5),invalid(0)} MAX-ACCESS read-create STATUS current DESCRIPTION "The operater of destination port" ::={ hwLswAclAdvancedEntry 13 } hwLswAclAdvancedDestPort1 OBJECT-TYPE SYNTAX INTEGER(0..65535) MAX-ACCESS read-create STATUS current DESCRIPTION "Destination port" ::={ hwLswAclAdvancedEntry 14 } hwLswAclAdvancedDestPort2 OBJECT-TYPE SYNTAX INTEGER(0..65535) MAX-ACCESS read-create STATUS current DESCRIPTION "Destination port" ::={ hwLswAclAdvancedEntry 15 } hwLswAclAdvancedIcmpType OBJECT-TYPE SYNTAX INTEGER(0..255|65535) MAX-ACCESS read-create STATUS current DESCRIPTION "ICMP type" DEFVAL { 65535 } ::={ hwLswAclAdvancedEntry 16 } hwLswAclAdvancedIcmpCode OBJECT-TYPE SYNTAX INTEGER(0..255|65535) MAX-ACCESS read-create STATUS current DESCRIPTION "ICMP code" DEFVAL { 65535 } ::={ hwLswAclAdvancedEntry 17 } hwLswAclAdvancedFragments OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-create STATUS current DESCRIPTION "Fragments flag" DEFVAL { 2 } ::={ hwLswAclAdvancedEntry 18 } hwLswAclAdvancedPrecedence OBJECT-TYPE SYNTAX INTEGER(0..7|255) MAX-ACCESS read-create STATUS current DESCRIPTION "IP precedence" DEFVAL { 255 } ::={ hwLswAclAdvancedEntry 19 } hwLswAclAdvancedTos OBJECT-TYPE SYNTAX INTEGER(0..15|255) MAX-ACCESS read-create STATUS current DESCRIPTION "TOS" DEFVAL { 255 } ::={ hwLswAclAdvancedEntry 20 } hwLswAclAdvancedDscp OBJECT-TYPE SYNTAX INTEGER(0..63|255) MAX-ACCESS read-create STATUS current DESCRIPTION "DSCP" DEFVAL { 255 } ::={ hwLswAclAdvancedEntry 21 } hwLswAclAdvancedTimeRangeIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-create STATUS current DESCRIPTION "The name index of the timerange" ::={ hwLswAclAdvancedEntry 22 } hwLswAclAdvancedEnable OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "Is enable or not" ::={ hwLswAclAdvancedEntry 23 } hwLswAclAdvancedCount OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The counter of the packet if matched" ::={ hwLswAclAdvancedEntry 24 } hwLswAclAdvancedCountClear OBJECT-TYPE SYNTAX INTEGER{cleared(1),nouse(2)} MAX-ACCESS read-create STATUS current DESCRIPTION "Clear the counter" ::={ hwLswAclAdvancedEntry 25 } hwLswAclAdvancedRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "RowStatus" ::={ hwLswAclAdvancedEntry 26 } -------- TABLE: hwLswAclIfTable ------ hwLswAclIfTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswAclIfEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Create interface acl" ::= { hwLswAclMibObject 5 } hwLswAclIfEntry OBJECT-TYPE SYNTAX HwLswAclIfEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "" INDEX { hwLswAclIfAclNum, hwLswAclIfSubitem } ::= { hwLswAclIfTable 1 } HwLswAclIfEntry ::= SEQUENCE { hwLswAclIfAclNum INTEGER, hwLswAclIfSubitem INTEGER, hwLswAclIfAct INTEGER, hwLswAclIfIndex INTEGER, hwLswAclIfAny TruthValue, hwLswAclIfTimeRangeIndex INTEGER, hwLswAclIfEnable TruthValue, hwLswAclIfCount Counter32, hwLswAclIfCountClear INTEGER, hwLswAclIfRowStatus RowStatus } hwLswAclIfAclNum OBJECT-TYPE SYNTAX INTEGER(1000..1999|10000..10999) MAX-ACCESS read-create STATUS current DESCRIPTION "The num of the interface acl" ::={ hwLswAclIfEntry 1 } hwLswAclIfSubitem OBJECT-TYPE SYNTAX INTEGER(0..127|255) MAX-ACCESS read-create STATUS current DESCRIPTION "The subitem of the interface acl" ::={ hwLswAclIfEntry 2 } hwLswAclIfAct OBJECT-TYPE SYNTAX INTEGER{permit(1),deny(2)} MAX-ACCESS read-create STATUS current DESCRIPTION "The action of the interface acl" ::={ hwLswAclIfEntry 3 } hwLswAclIfIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-create STATUS current DESCRIPTION "IfIndex" ::={ hwLswAclIfEntry 4 } hwLswAclIfAny OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-create STATUS current DESCRIPTION "Any" DEFVAL { 2 } ::={ hwLswAclIfEntry 5 } hwLswAclIfTimeRangeIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-create STATUS current DESCRIPTION "The name index of the timerange" ::={ hwLswAclIfEntry 6 } hwLswAclIfEnable OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "Is enable or not" ::={ hwLswAclIfEntry 7 } hwLswAclIfCount OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The counter of the packet if matched" ::={ hwLswAclIfEntry 8 } hwLswAclIfCountClear OBJECT-TYPE SYNTAX INTEGER{cleared(1),nouse(2)} MAX-ACCESS read-create STATUS current DESCRIPTION "Clear the counter" ::={ hwLswAclIfEntry 9 } hwLswAclIfRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "RowStatus" ::={ hwLswAclIfEntry 10 } -------- TABLE: hwLswAclNameGroupTable ------ hwLswAclNameGroupTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswAclNameGroupEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Create name acl" ::= { hwLswAclMibObject 6 } hwLswAclNameGroupEntry OBJECT-TYPE SYNTAX HwLswAclNameGroupEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "" INDEX { hwLswAclNameGroupIndex } ::= { hwLswAclNameGroupTable 1 } HwLswAclNameGroupEntry ::= SEQUENCE { hwLswAclNameGroupIndex INTEGER, hwLswAclNameGroupCreateName OCTET STRING, hwLswAclNameGroupTypes INTEGER, hwLswAclNameGroupMatchingOrder INTEGER, hwLswAclNameGroupSubitemNum INTEGER, hwLswAclNameGroupRowStatus RowStatus } hwLswAclNameGroupIndex OBJECT-TYPE SYNTAX INTEGER(0|10000..10999) MAX-ACCESS read-write STATUS current DESCRIPTION "The index of the name acl" ::={ hwLswAclNameGroupEntry 1 } hwLswAclNameGroupCreateName OBJECT-TYPE SYNTAX OCTET STRING(SIZE(1..32)) MAX-ACCESS read-write STATUS current DESCRIPTION "The name of the name acl" ::={ hwLswAclNameGroupEntry 2 } hwLswAclNameGroupTypes OBJECT-TYPE SYNTAX INTEGER{basic(1),advanced(2),interface(3),link(4),user(5)} MAX-ACCESS read-write STATUS current DESCRIPTION "The type of the name acl" ::={ hwLswAclNameGroupEntry 3 } hwLswAclNameGroupMatchingOrder OBJECT-TYPE SYNTAX INTEGER{config(1),auto(2)} MAX-ACCESS read-write STATUS current DESCRIPTION "The match order of the name acl" DEFVAL { 1 } ::={ hwLswAclNameGroupEntry 4 } hwLswAclNameGroupSubitemNum OBJECT-TYPE SYNTAX INTEGER(0..127) MAX-ACCESS read-only STATUS current DESCRIPTION "The subitem number of the name acl" ::={ hwLswAclNameGroupEntry 5 } hwLswAclNameGroupRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "RowStatus" ::={ hwLswAclNameGroupEntry 6 } -------- TABLE: hwLswAclLinkTable ------ hwLswAclLinkTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswAclLinkEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Create link acl" ::= { hwLswAclMibObject 7 } hwLswAclLinkEntry OBJECT-TYPE SYNTAX HwLswAclLinkEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "" INDEX { hwLswAclLinkAclNum, hwLswAclLinkSubitem } ::= { hwLswAclLinkTable 1 } HwLswAclLinkEntry ::= SEQUENCE { hwLswAclLinkAclNum INTEGER, hwLswAclLinkSubitem INTEGER, hwLswAclLinkAct INTEGER, hwLswAclLinkProtocol INTEGER, hwLswAclLinkFormatType INTEGER, hwLswAclLinkVlanTag INTEGER, hwLswAclLinkVlanPri INTEGER, hwLswAclLinkSrcVlanId INTEGER, hwLswAclLinkSrcMac MacAddress, hwLswAclLinkSrcMacWild MacAddress, hwLswAclLinkSrcIfIndex INTEGER, hwLswAclLinkSrcAny TruthValue, hwLswAclLinkDestVlanId INTEGER, hwLswAclLinkDestMac MacAddress, hwLswAclLinkDestMacWild MacAddress, hwLswAclLinkDestIfIndex INTEGER, hwLswAclLinkDestAny TruthValue, hwLswAclLinkTimeRangeIndex INTEGER, hwLswAclLinkEnable TruthValue, hwLswAclLinkRowStatus RowStatus } hwLswAclLinkAclNum OBJECT-TYPE SYNTAX INTEGER(200..299|10000..10999) MAX-ACCESS read-create STATUS current DESCRIPTION "The num of the link acl" ::={ hwLswAclLinkEntry 1 } hwLswAclLinkSubitem OBJECT-TYPE SYNTAX INTEGER(0..127|255) MAX-ACCESS read-create STATUS current DESCRIPTION "The subitem of the link acl" ::={ hwLswAclLinkEntry 2 } hwLswAclLinkAct OBJECT-TYPE SYNTAX INTEGER{permit(1),deny(2)} MAX-ACCESS read-create STATUS current DESCRIPTION "The action of the link acl" ::={ hwLswAclLinkEntry 3 } hwLswAclLinkProtocol OBJECT-TYPE SYNTAX INTEGER{ip(2048),arp(2054),rarp(32821),pppoe-control(34915),pppoe-data(34916),invalid(0)} MAX-ACCESS read-create STATUS current DESCRIPTION "L2 protocol" DEFVAL { invalid } ::={ hwLswAclLinkEntry 4 } hwLswAclLinkFormatType OBJECT-TYPE SYNTAX INTEGER{ether-ii(1),snap(2),e-8023-8022(3),e-8023(4),invalid(0)} MAX-ACCESS read-create STATUS current DESCRIPTION "Format type" ::={ hwLswAclLinkEntry 5 } hwLswAclLinkVlanTag OBJECT-TYPE SYNTAX INTEGER{tagged(1),untagged(2),invalid(0)} MAX-ACCESS read-create STATUS current DESCRIPTION "Have vlan tag or not" ::={ hwLswAclLinkEntry 6 } hwLswAclLinkVlanPri OBJECT-TYPE SYNTAX INTEGER(0..7|255) MAX-ACCESS read-create STATUS current DESCRIPTION "Vlan priority" DEFVAL { 255 } ::={ hwLswAclLinkEntry 7 } hwLswAclLinkSrcVlanId OBJECT-TYPE SYNTAX INTEGER(0..4094) MAX-ACCESS read-create STATUS current DESCRIPTION "Source vlan ID" ::={ hwLswAclLinkEntry 8 } hwLswAclLinkSrcMac OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Source mac" ::={ hwLswAclLinkEntry 9 } hwLswAclLinkSrcMacWild OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Source mac wild" ::={ hwLswAclLinkEntry 10 } hwLswAclLinkSrcIfIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-create STATUS current DESCRIPTION "Source IfIndex" ::={ hwLswAclLinkEntry 11 } hwLswAclLinkSrcAny OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-create STATUS current DESCRIPTION "Source any" ::={ hwLswAclLinkEntry 12 } hwLswAclLinkDestVlanId OBJECT-TYPE SYNTAX INTEGER(0..4094) MAX-ACCESS read-create STATUS current DESCRIPTION "Destination vlan ID" ::={ hwLswAclLinkEntry 13 } hwLswAclLinkDestMac OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Destination mac" ::={ hwLswAclLinkEntry 14 } hwLswAclLinkDestMacWild OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-create STATUS current DESCRIPTION "Destination mac wild" ::={ hwLswAclLinkEntry 15 } hwLswAclLinkDestIfIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-create STATUS current DESCRIPTION "Destination IfIndex" ::={ hwLswAclLinkEntry 16 } hwLswAclLinkDestAny OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-create STATUS current DESCRIPTION "Destination any" ::={ hwLswAclLinkEntry 17 } hwLswAclLinkTimeRangeIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-create STATUS current DESCRIPTION "The name index of the timerange" ::={ hwLswAclLinkEntry 18 } hwLswAclLinkEnable OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "Is enable or not" ::={ hwLswAclLinkEntry 19 } hwLswAclLinkRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "RowStatus" ::={ hwLswAclLinkEntry 20 } -------- TABLE: hwLswAclUserTable ------ hwLswAclUserTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswAclUserEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Create user acl" ::= { hwLswAclMibObject 8 } hwLswAclUserEntry OBJECT-TYPE SYNTAX HwLswAclUserEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "" INDEX { hwLswAclUserAclNum, hwLswAclUserSubitem } ::= { hwLswAclUserTable 1 } HwLswAclUserEntry ::= SEQUENCE { hwLswAclUserAclNum INTEGER, hwLswAclUserSubitem INTEGER, hwLswAclUserAct INTEGER, hwLswAclUserFormatType INTEGER, hwLswAclUserVlanTag INTEGER, hwLswAclUserRuleStr OCTET STRING, hwLswAclUserRuleMask OCTET STRING, hwLswAclUserTimeRangeIndex INTEGER, hwLswAclUserEnable TruthValue, hwLswAclUserRowStatus RowStatus } hwLswAclUserAclNum OBJECT-TYPE SYNTAX INTEGER(300..399|10000..10999) MAX-ACCESS read-create STATUS current DESCRIPTION "The num of the user acl" ::={ hwLswAclUserEntry 1 } hwLswAclUserSubitem OBJECT-TYPE SYNTAX INTEGER(0..127|255) MAX-ACCESS read-create STATUS current DESCRIPTION "The subitem of the user acl" ::={ hwLswAclUserEntry 2 } hwLswAclUserAct OBJECT-TYPE SYNTAX INTEGER{permit(1),deny(2)} MAX-ACCESS read-create STATUS current DESCRIPTION "The action of the user acl" ::={ hwLswAclUserEntry 3 } hwLswAclUserFormatType OBJECT-TYPE SYNTAX INTEGER{ether-ii(1),snap(2),e-8023-8022(3),e-8023(4),invalid(0)} MAX-ACCESS read-create STATUS current DESCRIPTION "Format type" DEFVAL { invalid } ::={ hwLswAclUserEntry 4 } hwLswAclUserVlanTag OBJECT-TYPE SYNTAX INTEGER{tagged(1),untagged(2),invalid(0)} MAX-ACCESS read-create STATUS current DESCRIPTION "Have vlan tag or not" DEFVAL { invalid } ::={ hwLswAclUserEntry 5 } hwLswAclUserRuleStr OBJECT-TYPE SYNTAX OCTET STRING(SIZE(1..80)) MAX-ACCESS read-create STATUS current DESCRIPTION "Rule string" ::={ hwLswAclUserEntry 6 } hwLswAclUserRuleMask OBJECT-TYPE SYNTAX OCTET STRING(SIZE(1..80)) MAX-ACCESS read-create STATUS current DESCRIPTION "Rule mask" ::={ hwLswAclUserEntry 7 } hwLswAclUserTimeRangeIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-create STATUS current DESCRIPTION "The name index of the timerange" ::={ hwLswAclUserEntry 8 } hwLswAclUserEnable OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "Is enable or not" ::={ hwLswAclUserEntry 9 } hwLswAclUserRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "RowStatus" ::={ hwLswAclUserEntry 10 } -------- TABLE: hwLswAclActiveTable ------ hwLswAclActiveTable OBJECT-TYPE SYNTAX SEQUENCE OF HwLswAclActiveEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Active acl" ::= { hwLswAclMibObject 9 } hwLswAclActiveEntry OBJECT-TYPE SYNTAX HwLswAclActiveEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "" INDEX { hwLswAclActiveAclIndex, hwLswAclActiveIfIndex, hwLswAclActiveDirection } ::= { hwLswAclActiveTable 1 } HwLswAclActiveEntry ::= SEQUENCE { hwLswAclActiveAclIndex INTEGER, hwLswAclActiveIfIndex INTEGER, hwLswAclActiveDirection INTEGER, hwLswAclActiveUserAclNum INTEGER, hwLswAclActiveUserAclSubitem INTEGER, hwLswAclActiveIpAclNum INTEGER, hwLswAclActiveIpAclSubitem INTEGER, hwLswAclActiveLinkAclNum INTEGER, hwLswAclActiveLinkAclSubitem INTEGER, hwLswAclActiveRuntime TruthValue, hwLswAclActiveRowStatus RowStatus } hwLswAclActiveAclIndex OBJECT-TYPE SYNTAX INTEGER(0..2999) MAX-ACCESS read-create STATUS current DESCRIPTION "Acl index" ::={ hwLswAclActiveEntry 1 } hwLswAclActiveIfIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-create STATUS current DESCRIPTION "IfIndex" ::={ hwLswAclActiveEntry 2 } hwLswAclActiveDirection OBJECT-TYPE SYNTAX INTEGER{input(1),output(2),invalid(0)} MAX-ACCESS read-create STATUS current DESCRIPTION "Direction" ::={ hwLswAclActiveEntry 3 } hwLswAclActiveUserAclNum OBJECT-TYPE SYNTAX INTEGER(0|300..399|10000..10999) MAX-ACCESS read-create STATUS current DESCRIPTION "The num of the user acl" ::={ hwLswAclActiveEntry 4 } hwLswAclActiveUserAclSubitem OBJECT-TYPE SYNTAX INTEGER(0..127|255) MAX-ACCESS read-create STATUS current DESCRIPTION "The subitem of the user acl" DEFVAL { 255 } ::={ hwLswAclActiveEntry 5 } hwLswAclActiveIpAclNum OBJECT-TYPE SYNTAX INTEGER(0..199|10000..10999) MAX-ACCESS read-create STATUS current DESCRIPTION "The num of the IP acl" ::={ hwLswAclActiveEntry 6 } hwLswAclActiveIpAclSubitem OBJECT-TYPE SYNTAX INTEGER(0..127|255) MAX-ACCESS read-create STATUS current DESCRIPTION "The subitem of the IP acl" DEFVAL { 255 } ::={ hwLswAclActiveEntry 7 } hwLswAclActiveLinkAclNum OBJECT-TYPE SYNTAX INTEGER(0|200..299|10000..10999) MAX-ACCESS read-create STATUS current DESCRIPTION "The num of the link acl" ::={ hwLswAclActiveEntry 8 } hwLswAclActiveLinkAclSubitem OBJECT-TYPE SYNTAX INTEGER(0..127|255) MAX-ACCESS read-create STATUS current DESCRIPTION "The subitem of the link acl" DEFVAL { 255 } ::={ hwLswAclActiveEntry 9 } hwLswAclActiveRuntime OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "Is run or not" ::={ hwLswAclActiveEntry 10 } hwLswAclActiveRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "RowStatus" ::={ hwLswAclActiveEntry 11 } END