-- These MIBs were created on 05/14/2001
-- This module defines NetScreen private MIBs for VPN 
-- 
-- 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

--
--  Last modified date: 09/28/2001
--    

NETSCREEN-VPN-GATEWAY-MIB DEFINITIONS ::= BEGIN
IMPORTS

    DisplayString 	FROM RFC1213-MIB 
    netscreenVpn    FROM NETSCREEN-SMI;
    nsVpnGateway 	OBJECT IDENTIFIER ::= {netscreenVpn 4}
    
	nsVpnGwTable OBJECT-TYPE
		SYNTAX  SEQUENCE OF NsVpnGwEntry
		ACCESS  not-accessible
		STATUS  mandatory
		DESCRIPTION 
		        "Remote tunnel gateway table collects tunnel gateway configurations."
		::= { nsVpnGateway 1 }

    nsVpnGwEntry OBJECT-TYPE
        SYNTAX  NsVpnGwEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
               "Each enry in the nsVpnGwTable holds a set of configuration parameters 
               associated with an instance of tunnel gateway."
        INDEX   { nsVpnGwIndex }
        ::= { nsVpnGwTable 1 }

	NsVpnGwEntry ::=
		SEQUENCE {
          nsVpnGwIndex
              INTEGER,
		  nsVpnGwName
		      DisplayString,
		  nsVpnGwRemoteType
		      INTEGER,
		  nsVpnGwRemoteStaticIp
		      IpAddress,
		  nsVpnGwRemotePeerId
		  	  DisplayString,
		  nsVpnGwDialup
		  	  DisplayString,
		  nsVpnGwInitMode
		  	  INTEGER,
		  nsVpnGwPhOnePropOne
		      DisplayString,
		  nsVpnGwPhOnePropTwo
		      DisplayString,
		  nsVpnGwPhOnePropThree
		      DisplayString,
		  nsVpnGwPhOnePropFour
		      DisplayString,
		  nsVpnGwCertLocal
		      DisplayString,
		  nsVpnGwPeerCa
		      DisplayString,
		  nsVpnGwPeerType
		      INTEGER,
		  nsVpnGwVsys
		      INTEGER
       }

	nsVpnGwIndex OBJECT-TYPE
    	SYNTAX  INTEGER
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "A unique value for ike gateway table.  Its value
              ranges between 0 and 65535 and may not be contigous." 
        ::= { nsVpnGwEntry 1 }

	nsVpnGwName OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..32))
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "Tunnel gateway name."
        ::= { nsVpnGwEntry 2 }

	nsVpnGwRemoteType OBJECT-TYPE
        SYNTAX  INTEGER {
            static-ip(0),
            dynamic-ip(1),
            dialup-user(3)
        }
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "Remote tunnel gateway type.It shows wether the gateway use static ip
             ,dynamic ip or dialup user. "
        ::= { nsVpnGwEntry 3 }

	nsVpnGwRemoteStaticIp OBJECT-TYPE
        SYNTAX  IpAddress
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "ip address of static-ip gateway."
        ::= { nsVpnGwEntry 4 }

	nsVpnGwRemotePeerId OBJECT-TYPE
        SYNTAX  DisplayString(SIZE(0..32))
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "Remote gateway peer id which can be used for static-ip and dynamic ip gateway.
              This is optional for the static-ip gateway."
        ::= { nsVpnGwEntry 5 }

	nsVpnGwDialup OBJECT-TYPE
        SYNTAX  DisplayString(SIZE(0..32))
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "Remote gateway dialup user or group"
        ::= { nsVpnGwEntry 6 }

	nsVpnGwInitMode OBJECT-TYPE
        SYNTAX  INTEGER {
        	      main(0),
        	      aggressive(1)
        }
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "Phase 1 can take place in either Main mode or Aggressive mode."
        ::= { nsVpnGwEntry 7 }

	nsVpnGwPhOnePropOne OBJECT-TYPE
        SYNTAX  DisplayString(SIZE(0..32))
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "Phase 1 Proposal one."
        ::= { nsVpnGwEntry 8 }

	nsVpnGwPhOnePropTwo OBJECT-TYPE
        SYNTAX  DisplayString(SIZE(0..32))
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "Phase 1 Proposal two."
        ::= { nsVpnGwEntry 9 }

	nsVpnGwPhOnePropThree OBJECT-TYPE
        SYNTAX  DisplayString(SIZE(0..32))
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "Phase 1 Proposal three."
        ::= { nsVpnGwEntry 10 }

	nsVpnGwPhOnePropFour OBJECT-TYPE
        SYNTAX  DisplayString(SIZE(0..32))
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "Phase 1 Proposal four."
        ::= { nsVpnGwEntry 11 }

	nsVpnGwCertLocal OBJECT-TYPE
        SYNTAX  DisplayString(SIZE(0..32))
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "Local Certificate configuration for preferred certification.(optional)"
        ::= { nsVpnGwEntry 12 }

	nsVpnGwPeerCa OBJECT-TYPE
        SYNTAX  DisplayString(SIZE(0..32))
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "Preferred Peer CA(optional)"
        ::= { nsVpnGwEntry 13 }

	
	nsVpnGwPeerType OBJECT-TYPE
        SYNTAX  INTEGER {
        	none(0),
        	pkcs7(1),
        	pgp(2),
        	dns(3),
        	x509-sig(4),
        	x509-ke(5),
        	keerberos(6),
        	crl(7),
        	arl(8),
        	spki(9),
        	x509-att(10)
        }
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "Peer Type(optional)"
        ::= { nsVpnGwEntry 14 }

	nsVpnGwVsys OBJECT-TYPE
        SYNTAX  INTEGER
    	ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
             "vsys this gateway configuration belongs to."
        ::= { nsVpnGwEntry 15 }
       
END
































































































































