-- ============================================================================ -- Copyright (c) 2009-2023 FS.COM Inc. All Rights Reserved. -- -- Description: -- Reference: -- Version: V1.1 -- History: -- V1.0 Created by Zhouzhihua, 2004.11.12 -- V1.1 Bug fixed by songhao, 2015.04.30 -- ============================================================================ FS-NS-MIB DEFINITIONS ::= BEGIN IMPORTS fsCommon FROM FS-OID-MIB TimeTicks, IpAddress, Integer32, Counter32, OBJECT-TYPE, MODULE-IDENTITY FROM SNMPv2-SMI RowStatus FROM SNMPv2-TC; fsNS MODULE-IDENTITY LAST-UPDATED "200411071353Z" -- November 07, 2004 at 13:53 GMT ORGANIZATION "Fiberstore Co.,Limited" CONTACT-INFO "" DESCRIPTION "This MIB contains objects to manage the configuration and status information of network traffic statistics. It classifies the IP packets by source IP address, source port, destination IP address, destination port, protocol, ToS and input interface, counts the octets and packets, and sends the statistic information to the specific collector. " REVISION "200409211415Z" -- September 21, 2004 at 14:15 GMT DESCRIPTION "The initial revision of this MIB module." ::= { fsCommon 20 } fsNSMibObjects OBJECT IDENTIFIER ::= { fsNS 1 } fsNSMibScalarObjects OBJECT IDENTIFIER ::= { fsNSMibObjects 1 } fsNSActiveTime OBJECT-TYPE SYNTAX Integer32 (1..60) MAX-ACCESS read-write STATUS current DESCRIPTION "The stream will be aged when the active time of this stream exceeds this value. This object is in minute." DEFVAL { 30 } ::= { fsNSMibScalarObjects 1 } fsNSInactiveTime OBJECT-TYPE SYNTAX Integer32 (1..600) MAX-ACCESS read-write STATUS current DESCRIPTION "The stream will be aged when the inactive time of this stream exceeds this value. This object is in second." DEFVAL { 60 } ::= { fsNSMibScalarObjects 2 } fsNSVersion OBJECT-TYPE SYNTAX Integer32 ( 5|9 ) MAX-ACCESS read-write STATUS current DESCRIPTION "The version of the exported packet, which describes the format of the exported packet. It should export version 5 and version 8 when this object is 5, but it should export version 9 only when the value of this object is 9. " DEFVAL { 5 } ::= { fsNSMibScalarObjects 3 } fsNSAsType OBJECT-TYPE SYNTAX INTEGER { peerAs(1), originAs(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "The number of autonomous system (AS). This object can be origin or peer." DEFVAL { peerAs } ::= { fsNSMibScalarObjects 4 } fsNSTemplateRefreshRate OBJECT-TYPE SYNTAX Integer32 (1..600 ) MAX-ACCESS read-write STATUS current DESCRIPTION "This object specifies the refresh rate in number of exported packets." DEFVAL { 20 } ::= { fsNSMibScalarObjects 5 } fsNSTemplateTimeout OBJECT-TYPE SYNTAX Integer32 ( 1..3600 ) MAX-ACCESS read-write STATUS current DESCRIPTION "This object specifies the timeout rate in minutes." DEFVAL { 30 } ::= { fsNSMibScalarObjects 6 } fsNSExportVlanOrIfIndex OBJECT-TYPE SYNTAX INTEGER { vlanId(1), interfaceIndex(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "This object describes the interface index at the exported packet. It can be interface index or vlan id according to the product." DEFVAL { vlanId } ::= { fsNSMibScalarObjects 7 } fsNSProcessSlotTable OBJECT-TYPE SYNTAX SEQUENCE OF FSNSProcessSlotEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table describes the board which can enable network traffic statistics at the switch or router." ::= { fsNSMibObjects 2 } fsNSProcessSlotEntry OBJECT-TYPE SYNTAX FSNSProcessSlotEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The entry of fsNSProcessSlotEntry." INDEX { fsNSProcessSlot } ::= { fsNSProcessSlotTable 1 } FSNSProcessSlotEntry ::= SEQUENCE { fsNSProcessSlot Integer32 } fsNSProcessSlot OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object describes all boards which can processes network traffic statistics at the switch or router." ::= { fsNSProcessSlotEntry 1 } fsNSExportConfigTable OBJECT-TYPE SYNTAX SEQUENCE OF FSNSExportConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table describes the configuration of the exported packets." ::= { fsNSMibObjects 3 } fsNSExportConfigEntry OBJECT-TYPE SYNTAX FSNSExportConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The entry of fsNSExportConfigTable." INDEX { fsNSAggregationType } ::= { fsNSExportConfigTable 1 } FSNSExportConfigEntry ::= SEQUENCE { fsNSAggregationType INTEGER, fsNSHostIPAddr IpAddress, fsNSHostPort Integer32, fsNSSrcIpAddr IpAddress, fsNSState INTEGER } fsNSAggregationType OBJECT-TYPE SYNTAX INTEGER { v5Statistics(1), as(2), destinationPrefix(3), sourcePrefix(4), protocolPort(5), prefix(6), tosAs(7), tosDestinationPrefix(8), tosSourcePrefix(9), tosProtocolPort(10), tosPrefix(11), prefixPort(12) } MAX-ACCESS not-accessible STATUS current DESCRIPTION "The aggregation type. v5Statistics type counts IP packets which have same source IP address, destination IP address, source port, destination port, protocol, ToS, input interface, output interface. AS type counts IP packets which have same source AS, destination AS, input interface and output interface. destinationPrefix type counts IP packets which have same destination AS, output interface, destination mask and destination prefix. sourcePrefix type counts IP packets which have same source AS, input interface, source mask and source prefix. protocolPort type counts IP packets which have same protocol, source port and destination port. prefix type counts IP packets which have same source AS, destination AS, input interface, output interface, source mask, source prefix, destination mask, destination prefix. tosAS type counts IP packets which have same tos, source AS, destination AS, input interface and output interface. tosDestinationPrefix type counts IP packets which have same tos, destination AS, output interface, destination mask and destination prefix. tosProtocolPort type counts IP packets which have same tos, protocol, source port and destination port. tosSourcePrefix type counts IP packets which have same tos, source AS, input interface, source mask and source prefix. tosPrefix type counts IP packets which have same tos, source AS, destination AS, input interface, output interface, source mask, source prefix, destination mask, destination prefix. prefixPort type counts IP packets which have same tos, input interface, output interface, source mask, source prefix, destination mask, destination prefix, source port and destination port." ::= { fsNSExportConfigEntry 1 } fsNSHostIPAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION "The destination IP address of the exported packet. This destination IP address is a NSC (NS Collector) address." ::= { fsNSExportConfigEntry 2 } fsNSHostPort OBJECT-TYPE SYNTAX Integer32 (0..65535) MAX-ACCESS read-write STATUS current DESCRIPTION "The destination port of the exported packets. This destination port is a NSC listening port." ::= { fsNSExportConfigEntry 3 } fsNSSrcIpAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION "The source IP address of the exported packets." ::= { fsNSExportConfigEntry 4 } fsNSState OBJECT-TYPE SYNTAX INTEGER { enabled(1), disabled(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "The state of aggregation is enabled or disabled." ::= { fsNSExportConfigEntry 5 } fsNSExportInformationTable OBJECT-TYPE SYNTAX SEQUENCE OF FSNSExportInformationEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table describes the Information of the exported packets." ::= { fsNSMibObjects 4 } fsNSExportInformationEntry OBJECT-TYPE SYNTAX FSNSExportInformationEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The entry of fsNSExportInformationTable." INDEX { fsNSExportType, fsNSExportSlot } ::= { fsNSExportInformationTable 1 } FSNSExportInformationEntry ::= SEQUENCE { fsNSExportType INTEGER, fsNSExportSlot Integer32, fsNSExportStream Counter32, fsNSExportNum Counter32, fsNSExportFail Counter32 } fsNSExportType OBJECT-TYPE SYNTAX INTEGER ( 1..12 ) MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object is equal to fsNSAggregationType." ::= { fsNSExportInformationEntry 1 } fsNSExportSlot OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object is equal to fsNSProcessSlot." ::= { fsNSExportInformationEntry 2 } fsNSExportStream OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object counts the exported streams." ::= { fsNSExportInformationEntry 3 } fsNSExportNum OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object counts the exported packets." ::= { fsNSExportInformationEntry 4 } fsNSExportFail OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object counts the exported packets which failed to send. The error may be unreachable destination IP address." ::= { fsNSExportInformationEntry 5 } fsNSConfigTable OBJECT-TYPE SYNTAX SEQUENCE OF FSNSConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table describes current configurations." ::= { fsNSMibObjects 5 } fsNSConfigEntry OBJECT-TYPE SYNTAX FSNSConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The entry of fsNSAggregationTable." INDEX { fsNSSourceSlot, fsNSSourceIfIndex, fsNSDestSlot } ::= { fsNSConfigTable 1 } FSNSConfigEntry ::= SEQUENCE { fsNSSourceSlot Integer32, fsNSSourceIfIndex Integer32, fsNSDestSlot Integer32, fsNSDirect INTEGER, fsNSACLNumber Integer32, fsNSACLName OCTET STRING, fsNSACLRule Integer32, fsNSConfigRowStatus RowStatus } fsNSSourceSlot OBJECT-TYPE SYNTAX Integer32 (1..65535) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The IP packet will be counted when it is passing through this slot." ::= { fsNSConfigEntry 1 } fsNSSourceIfIndex OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "The IP packet will be statistics when it through this interface. This object is equal to ifIndex at ifTable." ::= { fsNSConfigEntry 2 } fsNSDestSlot OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object is equal to fsNSProcessSlot." ::= { fsNSConfigEntry 3 } fsNSDirect OBJECT-TYPE SYNTAX INTEGER { inbound(1), outbound(2) } MAX-ACCESS read-create STATUS current DESCRIPTION "This object describes which packets will be counted. It may be inbound or outbound packets through this interface." DEFVAL { inbound } ::= { fsNSConfigEntry 4 } fsNSACLNumber OBJECT-TYPE SYNTAX Integer32 (0 | 2000..3999) MAX-ACCESS read-create STATUS current DESCRIPTION "The number of number-acl group." ::= { fsNSConfigEntry 5 } fsNSACLName OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-create STATUS current DESCRIPTION "The name of name-acl group." ::= { fsNSConfigEntry 6 } fsNSACLRule OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS current DESCRIPTION "The rule of acl group." ::= { fsNSConfigEntry 7 } fsNSConfigRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "SNMP Row Status Variable. Writable objects in the table may be written in any RowStatus state." ::= { fsNSConfigEntry 8 } fsNSStatusTable OBJECT-TYPE SYNTAX SEQUENCE OF FSNSStatusEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table describes current information of network traffic." ::= { fsNSMibObjects 6 } fsNSStatusEntry OBJECT-TYPE SYNTAX FSNSStatusEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The entry of fsNSAggregationTable." INDEX { fsNSSlot } ::= { fsNSStatusTable 1 } FSNSStatusEntry ::= SEQUENCE { fsNSSlot Integer32, fsNSActiveStreamNumber Counter32, fsNSTotalStreamNumber Counter32, fsNSTotalPacketNumber Counter32, fsNSTotalOctetNumber Counter32, fsNSMPLSActiveStreamNumber Counter32, fsNSMPLSTotalStreamNumber Counter32, fsNSMPLSTotalPacketNumber Counter32, fsNSMPLSTotalOctetNumber Counter32, fsNSResetFlag INTEGER, fsNSResetTime TimeTicks } fsNSSlot OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object is equal to fsNSProcessSlot." ::= { fsNSStatusEntry 1 } fsNSActiveStreamNumber OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object counts current active streams." ::= { fsNSStatusEntry 2 } fsNSTotalStreamNumber OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object counts all statistic streams." ::= { fsNSStatusEntry 3 } fsNSTotalPacketNumber OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object counts all statistic packets." ::= { fsNSStatusEntry 4 } fsNSTotalOctetNumber OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object counts all statistic octets." ::= { fsNSStatusEntry 5 } fsNSMPLSActiveStreamNumber OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object counts current active MPLS streams." ::= { fsNSStatusEntry 6 } fsNSMPLSTotalStreamNumber OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object counts all statistic MPLS streams." ::= { fsNSStatusEntry 7 } fsNSMPLSTotalPacketNumber OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object counts all statistic MPLS packets." ::= { fsNSStatusEntry 8 } fsNSMPLSTotalOctetNumber OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object counts all statistic octets of MPLS packets." ::= { fsNSStatusEntry 9 } fsNSResetFlag OBJECT-TYPE SYNTAX INTEGER { enabled(1), disabled(2) } MAX-ACCESS read-create STATUS current DESCRIPTION "Reset all streams. The default value is disabled, and set this value to enabled when resetting." DEFVAL { disabled } ::= { fsNSStatusEntry 10 } fsNSResetTime OBJECT-TYPE SYNTAX TimeTicks MAX-ACCESS read-only STATUS current DESCRIPTION "The system up time when stream is reset." ::= { fsNSStatusEntry 11 } END