summaryrefslogtreecommitdiff
path: root/MIBS/dlink/DLINKSW-SWITCHPORT-MIB
blob: bfc89b99dfd2e458fe1fcff8bb0467e235f9ac8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
--  *****************************************************************
--  DLINKSW-SWITCHPORT-MIB.mib : Switch Port MIB
--
--  Copyright (c) 2012 D-Link Corporation, all rights reserved.
--
--  *****************************************************************
DLINKSW-SWITCHPORT-MIB DEFINITIONS ::= BEGIN

    IMPORTS
        MODULE-IDENTITY,
        OBJECT-TYPE,
        Unsigned32
                FROM SNMPv2-SMI
        TruthValue
                FROM SNMPv2-TC
        MODULE-COMPLIANCE, OBJECT-GROUP 
                FROM SNMPv2-CONF
        ifIndex
                FROM IF-MIB
        dlinkIndustrialCommon
                FROM DLINK-ID-REC-MIB;
                
    dlinkSwSwitchPortMIB MODULE-IDENTITY    
        LAST-UPDATED "201303040000Z"
        ORGANIZATION "D-Link Corp."
        CONTACT-INFO
            "        D-Link Corporation

             Postal: No. 289, Sinhu 3rd Rd., Neihu District,
                     Taipei City 114, Taiwan, R.O.C
             Tel:     +886-2-66000123
             E-mail: tsd@dlink.com.tw
            "
        DESCRIPTION
            "This MIB module defines objects for per-port configuration which 
            are not covered by standard MIB(s)."
	
        REVISION "201303040000Z"
        DESCRIPTION
            " This is the first version of the MIB file
            "
        ::= { dlinkIndustrialCommon 11 }

-- -----------------------------------------------------------------------------
    dSwPortNotifications    OBJECT IDENTIFIER ::= { dlinkSwSwitchPortMIB 0 }
    dSwPortObjects          OBJECT IDENTIFIER ::= { dlinkSwSwitchPortMIB 1 }
    dSwPortConformance      OBJECT IDENTIFIER ::= { dlinkSwSwitchPortMIB 2 }


-- -----------------------------------------------------------------------------
-- Objects
-- -----------------------------------------------------------------------------         
     dSwPortIfTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DSwPortIfEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "A list of physical port interface entries."
        ::= { dSwPortObjects 1 }
        
    dSwPortIfEntry OBJECT-TYPE
	    SYNTAX          DSwPortIfEntry
	    MAX-ACCESS      not-accessible
	    STATUS          current
	    DESCRIPTION 
	        "An entry in dSwPortIfTable contains port-specific configuration
		    which cannot be covered by standard MIBs (EtherLike or MAU-MIB)."
	    INDEX       { ifIndex }
	    ::= { dSwPortIfTable 1 } 
	    
    DSwPortIfEntry ::= SEQUENCE {            
        dSwPortIfB1000baseTCtrl     INTEGER,        
        dSwPortIfB10GbaseTCtrl      INTEGER,         
        dSwPortIfMdix               INTEGER,
        dSwPortIfJumboFrameSize     Unsigned32,
        dSwPortIfSpeedAutoDowngrade TruthValue
    }
   
    dSwPortIfB1000baseTCtrl OBJECT-TYPE
        SYNTAX          INTEGER { 
            other(1),           
            b1000baseTMaster(2),
            b1000baseTSlave(3)                          
        }
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION      
            "This object can be modified when port speed is configured to 1000BASE-T. 
            other(1) - the port is not 1000BASE-T or master/slave timing mode
                       is not specified.
            b1000baseTMaster(2) - configure the port operate as master timing.
            b1000baseTSlave(3) - configure the port operate as slave timing.                    
            "     
        DEFVAL      { b1000baseTMaster }      
        ::= { dSwPortIfEntry 1 }

    dSwPortIfB10GbaseTCtrl OBJECT-TYPE
        SYNTAX          INTEGER { 
            other(1),           
            b10GbaseTMaster(2),
            b10GbaseTSlave(3)                          
        }
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION      
            "This object can be modified when port speed is configured to 10GBASE-T. 
            other(1) - the port is not 10GBASE-T or master/slave timing mode
                       is not specified.
            b10GbaseTMaster(2) - configure the port operate as master timing.
            b10GbaseTSlave(3) - configure the port operate as slave timing.                    
            "     
        DEFVAL      { b10GbaseTMaster }      
        ::= { dSwPortIfEntry 2 }
                
    dSwPortIfMdix OBJECT-TYPE
        SYNTAX      INTEGER { 
            auto(1), 
            normal(2), 
            cross(3) 
        }
        MAX-ACCESS  read-write
        STATUS      current
        DESCRIPTION   
            "Uses the object to configure the state of Media-Dependent Interface
            Crossover (MDIX) of the port."
        DEFVAL      { auto }
        ::= { dSwPortIfEntry 3 }
	
    dSwPortIfJumboFrameSize OBJECT-TYPE
	    SYNTAX		    Unsigned32
	    MAX-ACCESS	    read-write
	    STATUS		    current
	    DESCRIPTION
			"The size of the largest packet which can be received on the
			interface, specified in octets."
		DEFVAL      { 1536 }	
	    ::= { dSwPortIfEntry 4 }

    dSwPortIfSpeedAutoDowngrade OBJECT-TYPE
	    SYNTAX		TruthValue
	    MAX-ACCESS	    	read-write
	    STATUS		current
	    DESCRIPTION
			"This object indicates whether automatically downgrade the advertised
            speed in case a link cannot be established at the available speed. 
			"
		DEFVAL      { false }	
	    ::= { dSwPortIfEntry 5 }	    
   
-- -----------------------------------------------------------------------------
-- Conformance
-- -----------------------------------------------------------------------------
    dSwPortCompliances OBJECT IDENTIFIER ::= { dSwPortConformance 1 }
		
	dSwPortCompliance MODULE-COMPLIANCE
		STATUS          current
		DESCRIPTION 
			"The compliance statement for entities which implement the 
			DLINKSW-SWITCHPORT-MIB."
		MODULE -- this module
		MANDATORY-GROUPS { 
		    dSwPortBasicGroup
		}		
	                        
        OBJECT          dSwPortIfSpeedAutoDowngrade        
        MIN-ACCESS      read-only
        DESCRIPTION
            "It is compliant to implement this object as
            read-only. The write-access is only required
            when auto-downgrade feature is supported."
	    ::= { dSwPortCompliances 1 }
		
	dSwPortGroups OBJECT IDENTIFIER ::= { dSwPortConformance 2 }
		
    dSwPortBasicGroup OBJECT-GROUP
		OBJECTS { 
		    dSwPortIfB1000baseTCtrl,
		    dSwPortIfB10GbaseTCtrl,
		    dSwPortIfMdix,
		    dSwPortIfJumboFrameSize,
		    dSwPortIfSpeedAutoDowngrade
		}
		STATUS current
		DESCRIPTION 
			"This group contains the collection of fundamental port configuration
			objects which are not covered by standard MIBs."						
		::= { dSwPortGroups 1 }
	

	
END