-- ********************************************************************** -- -- Name: 3Com Layer 4 Redirection MIB -- -- Description: -- -- This MIB is used to configure the redirection of network traffic to a -- network appliance. It is to be used for switches that are Layer 4 -- capable. It is divided into 3 tables and 4 scalar objects: -- the Cache table, the TCP Port table, the IP Exclusion Table, -- the Information String object, the Free Cache Entries object, the -- Free TCP Port Entries object, and the Free IP Exclusion Entries -- object. -- -- The Cache table is responsible for storing the information -- about each cache to which network traffic is potentially being -- redirected. This table includes the cache IP address, the status -- of redirection, and the cache port information. -- -- The TCP Port table is responsible for storing the TCP port numbers -- that can be redirected. -- -- The IP Exclusion table is responsible for storing the IP information -- on any IP addresses/subnetworks that are NOT allowed to be redirected. -- -- The Information String object is responsible for storing a string. This -- string will contain information pertaining to configuring Layer 4 -- Redirection (success or failure). -- -- The Free Cache Entries object is responsible for storing the number -- of entries that may still be added to the Cache Table. -- -- The Free TCP Port Entries object is responsible for storing the -- number of entries that may still be added to the TCP Port Table. -- -- The Free IP Exclusion Entries object is responsible for storing the -- number of entries that may still be added to the IP Exclusion Table. -- -- History Date Reason for Change -- -- 1.00 9/22/00 Created. -- 1.01 2/16/01 Clarified RowStatus objects -- 1.02 6/15/01 Updated RowStatus decription -- ********************************************************************** -- Copyright (c) 3Com Corporation. All Rights Reserved. -- ********************************************************************** A3COM440-LAYER4-REDIRECTION DEFINITIONS ::= BEGIN IMPORTS l4Redirect FROM A3COM0004-GENERIC DisplayString, RowStatus FROM SNMPv2-TC IpAddress FROM SNMPv2-SMI OBJECT-TYPE FROM RFC-1212 ; -- This table should be supported by devices that support Web Cache -- Redirection. l4RedirectCacheTable OBJECT-TYPE SYNTAX SEQUENCE OF L4RedirectCacheEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "This table contains an entry for each Web Cache device that this unit is aware of." ::= {l4Redirect 1} l4RedirectCacheEntry OBJECT-TYPE SYNTAX L4RedirectCacheEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "Each row specifies a known Web Cache device." INDEX {l4RedirectCacheIpAddress} ::= {l4RedirectCacheTable 1} L4RedirectCacheEntry ::= SEQUENCE { l4RedirectCacheIpAddress IpAddress, l4RedirectCacheRedirectionStatus INTEGER, l4RedirectCachePort INTEGER, l4RedirectCacheRowStatus RowStatus } l4RedirectCacheIpAddress OBJECT-TYPE SYNTAX IpAddress ACCESS not-accessible STATUS mandatory DESCRIPTION "This object specifies the IP address of the Web Cache device." ::= {l4RedirectCacheEntry 1} l4RedirectCacheRedirectionStatus OBJECT-TYPE SYNTAX INTEGER { disabledNotRedirecting (1), enabledNoHealthChecker (2), enabledHealthChecking (3), enabledHealthCheckOKNotRedirecting (4), enabledHealthCheckFailed (5), enabledRedirecting (6) } ACCESS read-only STATUS mandatory DESCRIPTION "This object returns the current state of traffic redirection to the cache. If redirection is disabled, this object shall return disabledNotRedirecting(1). If a unit cannot be selected to perform the cache health check, this object shall return enabledNoHealthChecker(2). If the software is determining if the cache is able to do redirection(this will happen when the redirection state transitions from disabled to enabled), this object shall return enabledHealthChecking(3). If the cache health check succeeded but the hardware is unable to support redirection to the cache port, this object shall return enabledHealthCheckOKNotRedirecting(4). If the latest health check of the cache has failed, this object shall return enabledHealthCheckFailed(5). If the cache is in use and traffic is being redirected to it, this object shall return enabledRedirecting(6). The default value is disabledNotRedirecting(1)." ::= {l4RedirectCacheEntry 2} l4RedirectCachePort OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "This object stores the ifIndex that identifies the port or link aggregation which provides the connection that leads to the cache. This is automatically determined by the switch. The user cannot adjust this item. The default value is 0." ::= {l4RedirectCacheEntry 3} l4RedirectCacheRowStatus OBJECT-TYPE SYNTAX RowStatus ACCESS read-write STATUS mandatory DESCRIPTION "This object is used to create and remove Web Cache entries. The following are the valid values that may be written to RowStatus: Writing createAndGo(4) to the RowStatus of a non-existent row shall create a row with default values and shall set the row to active(1). If the row already exists, it shall be an error. Writing createAndWait(5) to the RowStatus of a non-existent row shall create a row with default values and shall set the row to notInService(2). If the row already exists, it shall be an error. Writing active(1) to the RowStatus of an existing row shall change the value of that row to active(1). Writing active(1) to the RowStatus of an existing row that is already active(1) shall not cause an error, the row shall remain active(1). If the row does not exist, it shall be an error. Writing notInService(2) to the RowStatus of an existing row shall change the value of that row to notInService(2). Writing notInService(2) to the RowStatus of an existing row that is already notInService(2) shall not cause an error, the row shall remain notInService(2). If the row does not exist, it shall be an error. Writing destroy(6) to the RowStatus of a non-existent row shall be an error. If the row exists, it shall be removed. Writing notReady(3) to the RowStatus of a non-existent row or to an existent row shall be an error. If the user does not supply values for the necessary objects, default values will be supplied. Attempts to create more entries than the hardware can support shall be rejected." ::= {l4RedirectCacheEntry 4} l4RedirectTcpPortTable OBJECT-TYPE SYNTAX SEQUENCE OF L4RedirectTcpPortEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "This table contains a row for each TCP port that the unit is capable of redirecting to a Web Cache. This table may have a default row with index l4RedirectTcpPort = 80(HTTP) and l4RedirectTcpPortRowStatus = active(1)." ::= {l4Redirect 2} l4RedirectTcpPortEntry OBJECT-TYPE SYNTAX L4RedirectTcpPortEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "Each row specifies a TCP port that the unit may redirect to a Web Cache." INDEX {l4RedirectTcpPort} ::= {l4RedirectTcpPortTable 1} L4RedirectTcpPortEntry ::= SEQUENCE { l4RedirectTcpPort INTEGER, l4RedirectTcpPortRowStatus RowStatus } l4RedirectTcpPort OBJECT-TYPE SYNTAX INTEGER ACCESS not-accessible STATUS mandatory DESCRIPTION "This object specifies the TCP port number that is being redirected." ::= {l4RedirectTcpPortEntry 1} l4RedirectTcpPortRowStatus OBJECT-TYPE SYNTAX RowStatus ACCESS read-write STATUS mandatory DESCRIPTION "This object allows ports to be added and removed from the table. The following are the valid values that may be written to RowStatus: Writing createAndGo(4) to the RowStatus of a non-existent row shall create a new row. The new row shall be active(1). If the row exists, it shall be an error. Writing createAndWait(5) to the RowStatus of a non-existent row or to an existent row shall be an error. Writing active(1) to the RowStatus of an existing row shall change the value of that row to active(1). Writing active(1) to the RowStatus of an existing row that is already active(1) shall not cause an error, the row shall remain active(1). If the row does not exist, it shall be an error. Writing notInService(2) to the RowStatus of a non-existent row or to an existent row shall be an error. Writing destroy(6) to the RowStatus of a non-existent row shall be an error. If the row exists, it shall be removed. Writing notReady(3) to the RowStatus of a non-existent row or to an existent row shall be an error. Attempts to create more entries than the hardware can support shall be rejected." ::= {l4RedirectTcpPortEntry 2} l4RedirectIpExclusionTable OBJECT-TYPE SYNTAX SEQUENCE OF L4RedirectIpExclusionEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "This table lists the IP addresses and subnetworks that Web Cache redirection is not supported for. Some devices may not support addition to this table." ::= {l4Redirect 3} l4RedirectIpExclusionEntry OBJECT-TYPE SYNTAX L4RedirectIpExclusionEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "Each row contains an IP address or a IP subnetwork that is being excluded from the redirection." INDEX {l4RedirectIpExclusionIpAddress} ::= {l4RedirectIpExclusionTable 1} L4RedirectIpExclusionEntry ::= SEQUENCE { l4RedirectIpExclusionIpAddress IpAddress, l4RedirectIpExclusionMaskLen INTEGER, l4RedirectIpExclusionRowStatus RowStatus } l4RedirectIpExclusionIpAddress OBJECT-TYPE SYNTAX IpAddress ACCESS not-accessible STATUS mandatory DESCRIPTION "This object specifies the IP address or the subnetwork address that is to be excluded." ::= {l4RedirectIpExclusionEntry 1} l4RedirectIpExclusionMaskLen OBJECT-TYPE SYNTAX INTEGER (1..32) ACCESS read-write STATUS mandatory DESCRIPTION "This object provides the number of bits in the subnetwork mask. This mask shall be applied to the excludeIP address to determine the subnetwork that is to be excluded. A value of 32 implies that the excludeIP address refers to an individual host. The default value is 32." ::= {l4RedirectIpExclusionEntry 2} l4RedirectIpExclusionRowStatus OBJECT-TYPE SYNTAX RowStatus ACCESS read-write STATUS mandatory DESCRIPTION "This object is used to add rows to the Exclusion Table. The following are the valid values that may be written to RowStatus: Writing createAndGo(4) to the RowStatus of a non-existent row shall create a new row. The new row shall be active(1). If the row exists, it shall be an error. Writing createAndWait(5) to the RowStatus of a non-existent row or to an existent row shall be an error. Writing active(1) to the RowStatus of an existing row shall change the value of that row to active(1). Writing active(1) to the RowStatus of an existing row that is already active(1) shall not cause an error, the row shall remain active(1). If the row does not exist, it shall be an error. Writing notInService(2) to the RowStatus of an existing row shall change the value of that row to notInService(2). Writing notInService(2) to the RowStatus of an existing row that is already notInService(2) shall not cause an error, the row shall remain notInService(2). If the row does not exist, it shall be an error. Writing destroy(6) to the RowStatus of a non-existent row shall be an error. If the row exists, it shall be removed. Writing notReady(3) to the RowStatus of a non-existent row or to an existent row shall be an error. Attempts to create more entries than the hardware can support shall be rejected." ::= {l4RedirectIpExclusionEntry 3} l4RedirectInformationString OBJECT-TYPE SYNTAX DisplayString (SIZE(0..80)) ACCESS read-only STATUS mandatory DESCRIPTION "This object shall contain the string generated as a result of a Layer 4 Redirection configuration. It shall contain either a string describing successful configuration or a string describing unsuccessful configuration. This length of this string shall be no longer than 80 characters." ::= {l4Redirect 4} l4RedirectFreeCacheEntries OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "This object indicates the number of entries that may still be added to the l4RedirectCacheTable." ::= {l4Redirect 5} l4RedirectFreeTcpPortEntries OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "This object indicates the number of entries that may still be added to the l4RedirectTcpPortTable." ::= {l4Redirect 6} l4RedirectFreeIpExclusionEntries OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "This object indicates the number of entries that may still be added to the l4RedirectIpExclusionTable." ::= {l4Redirect 7} END