-- These MIBs were created on 05/27/2001
-- This module defines NetScreen private MIBs for NS admin setting
-- 
-- Copyright (c) 1999 - 2001 by NetScreen Technologies, Inc.
-- All rights reserved.
-- 

-- MODULE-IDENTITY
--  OrgName
--    NetScreen Technologies, Inc.
--  ContactInfo
--     Customer Support
--     
--     350 Oakmead Parkway
--     Sunnyvale, CA  94085
--     USA
--    
--     Tel: 1.877.NETSCREEN
--     E-mail: support@netscreen.com
--     Http://www.netscreen.com

--  Descr
--    This module defines the object that are used to monitor
--    all the entries in the Address Book 
--
--  Last modified date: 09/28/2001
--    

NETSCREEN-SET-SNMP-MIB DEFINITIONS ::= BEGIN
IMPORTS

    DisplayString 	FROM RFC1213-MIB 
    netscreenSetting FROM NETSCREEN-SMI;

    nsSetSNMP OBJECT IDENTIFIER ::= { netscreenSetting 9 }

    nsSetSnmpSysName OBJECT-TYPE
        SYNTAX  DisplayString (SIZE(0..255)) 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "SNMP agent's sysname."
        ::= { nsSetSNMP 1 }

    nsSetSnmpContact OBJECT-TYPE
        SYNTAX  DisplayString (SIZE(0..255)) 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "contact way indicate throgh SNMP setting."
        ::= { nsSetSNMP 2 }

    nsSetSnmpLocation OBJECT-TYPE
        SYNTAX  DisplayString (SIZE(0..255)) 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "SNMP agent Location."
        ::= { nsSetSNMP 3 }

    nsSetSnmpVPNEnable OBJECT-TYPE
        SYNTAX  INTEGER {
             disable(0),
             enabled(1)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "Secure SNMP traffic via VPN encryption "
        ::= { nsSetSNMP 4 }

    nsSetSnmpCommHostTable OBJECT-TYPE 
    	SYNTAX SEQUENCE OF NsSetSnmpCommHostEntry
    	ACCESS not-accessible
    	STATUS mandatory
    	DESCRIPTION
    	        "The snmp community and host table"
    	::= { nsSetSNMP 5  }

    nsSetSnmpCommHostEntry OBJECT-TYPE
        SYNTAX  NsSetSnmpCommHostEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
               "An entry containing community and hosts information"
        INDEX   { nsSetSnmpCommHostIndex }
        ::= { nsSetSnmpCommHostTable 1 }

	NsSetSnmpCommHostEntry ::=
		SEQUENCE {
          nsSetSnmpCommHostIndex
              INTEGER,
 		  nsSetSnmpCommunity 
		      DisplayString,
		  nsSetSnmpHostInComm
		      IpAddress,
		  nsSetSnmpWritePermit
		  	  INTEGER,
		  nsSetSnmpTrapPermit
		  	  INTEGER,
		  nsSetSnmpTrafficAlarmPermit
		  	  INTEGER
        }

	nsSetSnmpCommHostIndex OBJECT-TYPE
    	SYNTAX  INTEGER
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "A unique value for snmp community & host table.  Its value
              ranges between 0 and 65535 and may not be contigous." 
        ::= { nsSetSnmpCommHostEntry 1 }

	nsSetSnmpCommunity OBJECT-TYPE
    	SYNTAX  DisplayString (SIZE(0..32))
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "SNMP community name." 
        ::= { nsSetSnmpCommHostEntry 2 }

	nsSetSnmpHostInComm OBJECT-TYPE
    	SYNTAX  IpAddress
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "SNMP host ip address." 
        ::= { nsSetSnmpCommHostEntry 3 }

    nsSetSnmpWritePermit OBJECT-TYPE
        SYNTAX  INTEGER {
             no(0),
             yes(1)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "Permission to write."
        ::= { nsSetSnmpCommHostEntry 4 }

    nsSetSnmpTrapPermit OBJECT-TYPE
        SYNTAX  INTEGER {
             no(0),
             yes(1)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "Permission to receive trap."
        ::= { nsSetSnmpCommHostEntry 5 }

    nsSetSnmpTrafficAlarmPermit OBJECT-TYPE
        SYNTAX  INTEGER {
             no(0),
             yes(1)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "Permission of including traffic alarm in trap."
        ::= { nsSetSnmpCommHostEntry 6 }

END
