--********************************************************* -- IPV6-statis-route mib --********************************************************* -- Version 1.0 -- 2006/11/6 -- By Yan Zhang for DGS34xx and DGS36xx -- [1]Add object swIPv6StaticRouteInterfaceName, swIPv6StaticRouteWeight and swIPv6StaticProtocol in swIPv6StaticRouteTable. -- [2]Change object swIPv6StaticRouteMask to swIPv6StaticRouteMaskLen in swIPv6StaticRouteTable. -- [3]Add swIPv6NeighborCacheTable. -- ********************************************************* -- 0.9 Draft -- 2005/7/11 11:49 -- Create IPV6-STATIC-ROUTE-MIB -- ********************************************************* IPV6-STATIC-ROUTE-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY,OBJECT-TYPE,IpAddress, Unsigned32 FROM SNMPv2-SMI MacAddress, RowStatus FROM SNMPv2-TC DisplayString FROM RFC1213-MIB SnmpAdminString FROM SNMP-FRAMEWORK-MIB dlink-common-mgmt FROM DLINK-ID-REC-MIB; swIPv6StaticRouteMIB MODULE-IDENTITY LAST-UPDATED "0007150000Z" ORGANIZATION " " CONTACT-INFO " " DESCRIPTION "The structure of the IPv6 static Route and ARP table management for the proprietary enterprise." ::= { dlink-common-mgmt 26 } -- ***************************************************************************** -- Textual Conventions -- ***************************************************************************** -- This definition may be excluded if IPv6 is not supported Ipv6Address ::= TEXTUAL-CONVENTION DISPLAY-HINT "2x:" STATUS current DESCRIPTION "This data type is used to model IPv6 addresses. This is a binary string of 16 octets in network byte-order." SYNTAX OCTET STRING (SIZE (16)) swIPv6StaticRouteCtrl OBJECT IDENTIFIER ::= { swIPv6StaticRouteMIB 1 } swIPv6StaticRouteInfo OBJECT IDENTIFIER ::= { swIPv6StaticRouteMIB 2 } swIPv6StaticRouteMgmt OBJECT IDENTIFIER ::= { swIPv6StaticRouteMIB 3 } swIPv6NeighborCacheMgmt OBJECT IDENTIFIER ::= { swIPv6StaticRouteMIB 4 } --*********************************************************************************************** -- swIPv6StaticRouteMgmt OBJECT IDENTIFIER ::= { swIPv6StaticRouteMIB 3 } --*********************************************************************************************** swIPv6StaticRouteTable OBJECT-TYPE SYNTAX SEQUENCE OF SwIPv6StaticRouteEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This entity's IPv6 static Routing table." ::= { swIPv6StaticRouteMgmt 1 } swIPv6StaticRouteEntry OBJECT-TYPE SYNTAX SwIPv6StaticRouteEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A particular route to a particular destination, under a particular policy. Once an entry is built, it cannot be modified. That is, it just supports create and delete actions." INDEX { swIPv6StaticRouteDest, swIPv6StaticRoutePrefixLen, swIPv6StaticRouteInterfaceName, swIPv6StaticRouteNextHop } ::= { swIPv6StaticRouteTable 1 } SwIPv6StaticRouteEntry ::= SEQUENCE { swIPv6StaticRouteDest Ipv6Address, swIPv6StaticRoutePrefixLen INTEGER, swIPv6StaticRouteInterfaceName DisplayString, swIPv6StaticRouteNextHop Ipv6Address, swIPv6StaticRouteMetric INTEGER, -- swIPv6StaticRouteWeight -- INTEGER, swIPv6StaticProtocol DisplayString, swIPv6StaticRouteStatus RowStatus } swIPv6StaticRouteDest OBJECT-TYPE SYNTAX Ipv6Address MAX-ACCESS read-only STATUS current DESCRIPTION "Specify the destination network IPv6 address for the route. If swIPv6StaticRouteDest and swIPv6StaticRoutePrefixLen are both 0, it means the default route." ::= { swIPv6StaticRouteEntry 1 } swIPv6StaticRoutePrefixLen OBJECT-TYPE SYNTAX INTEGER (0..128) MAX-ACCESS read-only STATUS current DESCRIPTION "The prefix length for this IPv6 address. If swIPv6StaticRouteDest and swIPv6StaticRoutePrefixLen are both 0, it means the default route." ::= { swIPv6StaticRouteEntry 2 } swIPv6StaticRouteInterfaceName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..12)) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the name of the interface." ::= { swIPv6StaticRouteEntry 3 } swIPv6StaticRouteNextHop OBJECT-TYPE SYNTAX Ipv6Address MAX-ACCESS read-only STATUS current DESCRIPTION "Specify the next hop address for this route." ::= { swIPv6StaticRouteEntry 4 } swIPv6StaticRouteMetric OBJECT-TYPE SYNTAX INTEGER (1..65535) MAX-ACCESS read-create STATUS current DESCRIPTION "The routing metric for this route." DEFVAL {1} ::= { swIPv6StaticRouteEntry 5 } -- swIPv6StaticRouteWeight OBJECT-TYPE -- SYNTAX INTEGER (1..4) -- MAX-ACCESS read-create -- STATUS current -- DESCRIPTION -- "Specified weight value. Used for weighted multipath. The default setting is 1." -- DEFVAL {1} -- ::= { swIPv6StaticRouteEntry 6 } swIPv6StaticProtocol OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The protocol state for this route." ::= { swIPv6StaticRouteEntry 7 } swIPv6StaticRouteStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the status of this entry." ::= { swIPv6StaticRouteEntry 8 } --*********************************************************************************************** -- swIPv6NeighborCacheMgmt OBJECT IDENTIFIER ::= { swIPv6StaticRouteMIB 4 } --*********************************************************************************************** swIPv6NeighborCacheTable OBJECT-TYPE SYNTAX SEQUENCE OF SwIPv6NeighborCacheEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This entity's IPv6 NeighborCache table." ::= { swIPv6NeighborCacheMgmt 1 } swIPv6NeighborCacheEntry OBJECT-TYPE SYNTAX SwIPv6NeighborCacheEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A particular route to a particular destination, under a particular policy. Once an entry is built, it cannot be modified. That is, it just supports create and delete actions." INDEX { swIPv6NeighborCacheIPv6Address, swIPv6NeighborCacheMacAddress, swIPv6NeighborCacheInterfaceName } ::= { swIPv6NeighborCacheTable 1 } SwIPv6NeighborCacheEntry ::= SEQUENCE { swIPv6NeighborCacheIPv6Address Ipv6Address, swIPv6NeighborCacheMacAddress MacAddress, swIPv6NeighborCacheInterfaceName DisplayString, swIPv6NeighborCacheReachState INTEGER, swIPv6NeighborCacheRouteStatus RowStatus } swIPv6NeighborCacheIPv6Address OBJECT-TYPE SYNTAX Ipv6Address MAX-ACCESS read-only STATUS current DESCRIPTION "The destination IPv6 address of this neighbor." ::= { swIPv6NeighborCacheEntry 1 } swIPv6NeighborCacheMacAddress OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The MAC address of this neighbor ." ::= { swIPv6NeighborCacheEntry 2 } swIPv6NeighborCacheInterfaceName OBJECT-TYPE SYNTAX DisplayString(SIZE(1..12)) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the name of the IP interface." ::= { swIPv6NeighborCacheEntry 3 } swIPv6NeighborCacheReachState OBJECT-TYPE SYNTAX INTEGER { incomplete(1), reachable(2), stale(3), delay(4), probe(5), static(6) } MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the reachability state of this neighbor." ::= { swIPv6NeighborCacheEntry 4 } swIPv6NeighborCacheRouteStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the status of this entry." ::= { swIPv6NeighborCacheEntry 5 } swIPv6NeighborCacheDeleteState OBJECT-TYPE SYNTAX INTEGER { all(1), static-all(2), dynamic-all(3), other(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the reachability state of this neighbor." ::= { swIPv6NeighborCacheMgmt 2 } END