300 lines
9.8 KiB
Plaintext
300 lines
9.8 KiB
Plaintext
-- =================================================================
|
|
-- Copyright (C) 2007 by HUAWEI TECHNOLOGIES. All rights reserved
|
|
--
|
|
-- Description: The HUAWEI-TUNNEL-MIB provides information about
|
|
-- Tunnel configuration
|
|
--
|
|
-- Reference:
|
|
-- Version: V1.0
|
|
-- History:
|
|
-- V1.0 2009-06-19, publish
|
|
-- =================================================================
|
|
HUAWEI-TUNNEL-MIB DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
hwDatacomm
|
|
FROM HUAWEI-MIB
|
|
ifIndex
|
|
FROM IF-MIB
|
|
OBJECT-GROUP, MODULE-COMPLIANCE
|
|
FROM SNMPv2-CONF
|
|
OBJECT-TYPE, MODULE-IDENTITY, Unsigned32, Integer32
|
|
FROM SNMPv2-SMI
|
|
RowStatus, DisplayString, TruthValue
|
|
FROM SNMPv2-TC
|
|
Ipv6Address
|
|
FROM IPV6-TC
|
|
ipv6IfIndex
|
|
FROM IPV6-MIB
|
|
EnabledStatus
|
|
FROM P-BRIDGE-MIB
|
|
InetAddressType, InetAddress
|
|
FROM INET-ADDRESS-MIB;
|
|
|
|
|
|
hwTunnelMib MODULE-IDENTITY
|
|
LAST-UPDATED "200906201610Z"
|
|
ORGANIZATION "IPv6-Team of Huawei Technologies"
|
|
CONTACT-INFO
|
|
"R&D BeiJing, Huawei Technologies co.,Ltd.
|
|
Showchuang Bld.,NO.3 Xinxi Rd.,
|
|
Shang-Di Information Industry Base,
|
|
Hai-Dian District Beijing P.R. China
|
|
Zip:100085 "
|
|
DESCRIPTION
|
|
"The MIB module for entities implementing the Tunnel
|
|
protocol configuration."
|
|
::= { hwDatacomm 201 }
|
|
|
|
hwTunnelMibObjects OBJECT IDENTIFIER ::= { hwTunnelMib 1 }
|
|
|
|
|
|
-- ==============================
|
|
-- the IPv6 tunnel configure table
|
|
-- ==============================
|
|
|
|
hwTunnelCfgTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF HwTunnelCfgEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"MIB table for the tunnel configuration information."
|
|
::= { hwTunnelMibObjects 1 }
|
|
|
|
hwTunnelCfgEntry OBJECT-TYPE
|
|
SYNTAX HwTunnelCfgEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Describes tunnel interface configuration information."
|
|
INDEX { ipv6IfIndex }
|
|
::= { hwTunnelCfgTable 1 }
|
|
|
|
HwTunnelCfgEntry ::= SEQUENCE {
|
|
hwTunnelProtocol INTEGER,
|
|
hwTunnelSourceType INTEGER,
|
|
hwTunnelSrcIfName DisplayString,
|
|
hwTunnelAddrType InetAddressType,
|
|
hwTunnelSourceAddr InetAddress,
|
|
hwTunnelDestinationAddr InetAddress,
|
|
hwTunnelCfgUndoFlag INTEGER
|
|
}
|
|
|
|
hwTunnelProtocol OBJECT-TYPE
|
|
SYNTAX INTEGER {
|
|
gre(1),
|
|
mplsTe(2),
|
|
ipv6Ipv4(3),
|
|
ipv6Ipv4Auto(4),
|
|
ipv6Ipv46to4(5),
|
|
ipv6Ipv4Isatap(6),
|
|
ipv4Ipv6(7),
|
|
none(8)
|
|
}
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies the Tunnel protocol type."
|
|
::= { hwTunnelCfgEntry 1 }
|
|
|
|
hwTunnelSourceType OBJECT-TYPE
|
|
SYNTAX INTEGER {
|
|
interfaceName(1),
|
|
sourceAddress(2),
|
|
unknown (3)
|
|
}
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies the Tunnel source type."
|
|
|
|
::= { hwTunnelCfgEntry 2 }
|
|
|
|
hwTunnelSrcIfName OBJECT-TYPE
|
|
SYNTAX DisplayString
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies the tunnel source interface name."
|
|
::= { hwTunnelCfgEntry 3 }
|
|
|
|
hwTunnelAddrType OBJECT-TYPE
|
|
SYNTAX InetAddressType
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies the address type for Tunnel source and
|
|
destination address."
|
|
::= { hwTunnelCfgEntry 4 }
|
|
|
|
hwTunnelSourceAddr OBJECT-TYPE
|
|
SYNTAX InetAddress
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies source address of the tunnel interface."
|
|
::= { hwTunnelCfgEntry 5 }
|
|
|
|
hwTunnelDestinationAddr OBJECT-TYPE
|
|
SYNTAX InetAddress
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies destination address of the tunnel interface."
|
|
::= { hwTunnelCfgEntry 6 }
|
|
|
|
hwTunnelCfgUndoFlag OBJECT-TYPE
|
|
SYNTAX INTEGER {
|
|
undoTunnelProtocol(1),
|
|
undoTunnelSource(2),
|
|
undoTunnelDestination(3),
|
|
invalid(4)
|
|
}
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies undo operation for specified hwTunnelCfgTable parameter."
|
|
::= { hwTunnelCfgEntry 7 }
|
|
|
|
|
|
-- ==============================
|
|
-- the IPv6 tunnel 4Over6 parameter configure table
|
|
-- ==============================
|
|
|
|
hwIpv6Tunnel4Over6CfgTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF HwIpv6Tunnel4Over6CfgEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"MIB table for 4Over6 tunnel configuration information."
|
|
::= { hwTunnelMibObjects 2 }
|
|
|
|
hwIpv6Tunnel4Over6CfgEntry OBJECT-TYPE
|
|
SYNTAX HwIpv6Tunnel4Over6CfgEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Describes IPv6 tunnel 4Over6 parameters."
|
|
INDEX { ipv6IfIndex }
|
|
::= { hwIpv6Tunnel4Over6CfgTable 1 }
|
|
|
|
HwIpv6Tunnel4Over6CfgEntry ::= SEQUENCE {
|
|
hwIpv6TunnelEncapLimit Integer32,
|
|
hwIpv6TunnelEncapLimitDisable TruthValue,
|
|
hwIpv6TunnelFlowLabel Integer32,
|
|
hwIpv6TunnelHopLimit Integer32,
|
|
hwIpv6TunnelTrafficClass Integer32,
|
|
hwIpv6TunnelTrafficOriginal TruthValue,
|
|
hwIPv6Tunnel4Over6CfgUndoFlag INTEGER
|
|
}
|
|
|
|
hwIpv6TunnelEncapLimit OBJECT-TYPE
|
|
SYNTAX Integer32(0..255)
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies Tunnel ipv4-ipv6 encapsulation limit."
|
|
DEFVAL { 4 }
|
|
|
|
::= { hwIpv6Tunnel4Over6CfgEntry 1 }
|
|
|
|
hwIpv6TunnelEncapLimitDisable OBJECT-TYPE
|
|
SYNTAX TruthValue
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies Tunnel encapsulation is disabled or not.
|
|
Default value is false."
|
|
::= { hwIpv6Tunnel4Over6CfgEntry 2 }
|
|
|
|
hwIpv6TunnelFlowLabel OBJECT-TYPE
|
|
SYNTAX Integer32(0..1048575)
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies Tunnel ipv4-ipv6 flow label."
|
|
DEFVAL { 0 }
|
|
::= { hwIpv6Tunnel4Over6CfgEntry 3 }
|
|
|
|
hwIpv6TunnelHopLimit OBJECT-TYPE
|
|
SYNTAX Integer32(1..255)
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies Tunnel ipv4-ipv6 hop limit."
|
|
DEFVAL { 64 }
|
|
::= { hwIpv6Tunnel4Over6CfgEntry 4 }
|
|
|
|
hwIpv6TunnelTrafficClass OBJECT-TYPE
|
|
SYNTAX Integer32(0..255)
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies Tunnel ipv4-ipv6 traffic-class."
|
|
DEFVAL { 0 }
|
|
::= { hwIpv6Tunnel4Over6CfgEntry 5 }
|
|
|
|
hwIpv6TunnelTrafficOriginal OBJECT-TYPE
|
|
SYNTAX TruthValue
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Specifies Tunnel ipv4-ipv6 traffic-class original is enabled or not."
|
|
DEFVAL { false }
|
|
::= { hwIpv6Tunnel4Over6CfgEntry 6 }
|
|
|
|
hwIPv6Tunnel4Over6CfgUndoFlag OBJECT-TYPE
|
|
SYNTAX INTEGER {
|
|
undoTunnelEncapLimit(1),
|
|
undoTunnelFlowLabel(2),
|
|
undoTunnelHopLimit(3),
|
|
undoTunnelTrafficClass(4),
|
|
invalid(5)
|
|
}
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object specifies undo operation for specified hwIpv6Tunnel4Over6CfgTable parameter."
|
|
::= { hwIpv6Tunnel4Over6CfgEntry 7 }
|
|
|
|
|
|
|
|
hwTunnelMibConformance OBJECT IDENTIFIER ::= { hwTunnelMib 2 }
|
|
|
|
hwTunnelCompliances OBJECT IDENTIFIER ::= { hwTunnelMibConformance 1 }
|
|
hwTunnelCompliance MODULE-COMPLIANCE
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The compliance statement for systems supporting
|
|
the HUAWEI-TUNNEL-MIB."
|
|
MODULE -- this module
|
|
MANDATORY-GROUPS {
|
|
hwTunnelGroup
|
|
}
|
|
::= { hwTunnelCompliances 1 }
|
|
|
|
hwTunnelGroups OBJECT IDENTIFIER ::= { hwTunnelMibConformance 2 }
|
|
hwTunnelGroup OBJECT-GROUP
|
|
OBJECTS {
|
|
hwTunnelProtocol,
|
|
hwTunnelSourceType,
|
|
hwTunnelSrcIfName,
|
|
hwTunnelAddrType,
|
|
hwTunnelSourceAddr,
|
|
hwTunnelDestinationAddr,
|
|
hwTunnelCfgUndoFlag,
|
|
hwIpv6TunnelEncapLimit,
|
|
hwIpv6TunnelEncapLimitDisable,
|
|
hwIpv6TunnelFlowLabel,
|
|
hwIpv6TunnelHopLimit,
|
|
hwIpv6TunnelTrafficClass,
|
|
hwIpv6TunnelTrafficOriginal,
|
|
hwIPv6Tunnel4Over6CfgUndoFlag}
|
|
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The Tunnel table member."
|
|
::= { hwTunnelGroups 1 }
|
|
END
|
|
|