summaryrefslogtreecommitdiff
path: root/MIBS/cisco/CISCOSB-DHCPv6-RELAY
blob: e5c84a850841c957cea60e2b2a7bca64f307c494 (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
192
193
194
195
196
197
198
199
200
201
202
203
CISCOSB-DHCPv6-RELAY DEFINITIONS ::= BEGIN

-- Version:    7.60

-- Date:       10-May-2012

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE,
    Unsigned32                                      FROM SNMPv2-SMI
    RowStatus, TEXTUAL-CONVENTION, MacAddress,
    DisplayString, TruthValue                       FROM SNMPv2-TC
    InetAddressType,InetAddress,InetAddressIPv6     FROM INET-ADDRESS-MIB -- RFC2851
    rlDhcpv6Relay                                   FROM CISCOSB-DHCPv6;

-- =======================================================
-- DHCPv6 relay interface list Table
-- =======================================================

rlDhcpv6RelayInterfaceListTable OBJECT-TYPE
    SYNTAX SEQUENCE OF RLDhcpv6RelayInterfaceListEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "This table contains interfaces that have configured DHCPv6 relay"
    ::= { rlDhcpv6Relay 1}

rlDhcpv6RelayInterfaceListEntry OBJECT-TYPE
    SYNTAX RLDhcpv6RelayInterfaceListEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        " The entry contains ifindex field."
    INDEX { rlDhcpv6RelayInterfaceListIfIndex }
    ::= { rlDhcpv6RelayInterfaceListTable 1 }

RLDhcpv6RelayInterfaceListEntry::= SEQUENCE {
        rlDhcpv6RelayInterfaceListIfIndex       Unsigned32,
        rlDhcpv6RelayInterfaceListRowStatus     RowStatus
    }

rlDhcpv6RelayInterfaceListIfIndex OBJECT-TYPE
    SYNTAX Unsigned32
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "Interface that have configured DHCPv6 relay"
    ::= { rlDhcpv6RelayInterfaceListEntry 1 }

rlDhcpv6RelayInterfaceListRowStatus OBJECT-TYPE
    SYNTAX RowStatus
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "This variable displays the validity or invalidity of the entry.
         Setting it to 'destroy' has the effect of  rendering it inoperative.
         The internal effect (row removal) is implementation dependent."
    ::= { rlDhcpv6RelayInterfaceListEntry 2 }


-- =======================================================
-- DHCPv6 relay destinations global
-- =======================================================

rlDhcpv6RelayDestinationsGlobalTable OBJECT-TYPE
    SYNTAX SEQUENCE OF RlDhcpv6RelayDestinationsGlobalEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        " The table is used to store the global destinations defined by the
          user to which the relay agent forwards RELAY-FW messages "
    ::= { rlDhcpv6Relay 2 }

rlDhcpv6RelayDestinationsGlobalEntry OBJECT-TYPE
    SYNTAX RlDhcpv6RelayDestinationsGlobalEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        " The row definition for this table. "
    INDEX { rlDhcpv6RelayDestinationsGlobalIpv6AddrType,
            rlDhcpv6RelayDestinationsGlobalIpv6Addr,
            rlDhcpv6RelayDestinationsGlobalOutputInterface
          }
    ::=  { rlDhcpv6RelayDestinationsGlobalTable 1 }

RlDhcpv6RelayDestinationsGlobalEntry::= SEQUENCE {
        rlDhcpv6RelayDestinationsGlobalIpv6AddrType          InetAddressType,
        rlDhcpv6RelayDestinationsGlobalIpv6Addr              InetAddress,
        rlDhcpv6RelayDestinationsGlobalOutputInterface       Unsigned32,
        rlDhcpv6RelayDestinationsGlobalRowStatus             RowStatus
     }

rlDhcpv6RelayDestinationsGlobalIpv6AddrType  OBJECT-TYPE
    SYNTAX  InetAddressType
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
       "The only inet type that is supported is ipv6"
    ::= { rlDhcpv6RelayDestinationsGlobalEntry 1  }

rlDhcpv6RelayDestinationsGlobalIpv6Addr OBJECT-TYPE
    SYNTAX InetAddress
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
       "The address relay uses to forward the message"
    ::= { rlDhcpv6RelayDestinationsGlobalEntry 2  }

rlDhcpv6RelayDestinationsGlobalOutputInterface OBJECT-TYPE
    SYNTAX Unsigned32
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "The output interface (ifindex) is required only in case the destination address is not global unicast."
    ::= { rlDhcpv6RelayDestinationsGlobalEntry 3 }

rlDhcpv6RelayDestinationsGlobalRowStatus OBJECT-TYPE
    SYNTAX RowStatus
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "This variable displays the validity or invalidity of the entry.
        Setting it to 'destroy' has the effect of  rendering it inoperative.
        The internal effect (row removal) is implementation dependent."
    ::= { rlDhcpv6RelayDestinationsGlobalEntry 4 }


-- =======================================================
-- DHCPv6 relay destinations per interface
-- =======================================================

rlDhcpv6RelayInterfaceDestinationsTable OBJECT-TYPE
    SYNTAX SEQUENCE OF RlDhcpv6RelayInterfaceDestinationsEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        " The table is used to store  destinations defined by the user per
          interface to which the relay agent forwards RELAY-FW messages "
    ::= { rlDhcpv6Relay 3 }

rlDhcpv6RelayInterfaceDestinationsEntry OBJECT-TYPE
    SYNTAX RlDhcpv6RelayInterfaceDestinationsEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        " The row definition for this table. "
    INDEX { rlDhcpv6RelayInterfaceDestinationsIfindex,
            rlDhcpv6RelayInterfaceDestinationsIpv6AddrType,
            rlDhcpv6RelayInterfaceDestinationsIpv6Addr,
            rlDhcpv6RelayInterfaceDestinationsOutputInterface
          }
    ::=  { rlDhcpv6RelayInterfaceDestinationsTable 1 }

RlDhcpv6RelayInterfaceDestinationsEntry::= SEQUENCE {
        rlDhcpv6RelayInterfaceDestinationsIfindex           Unsigned32,
        rlDhcpv6RelayInterfaceDestinationsIpv6AddrType      InetAddressType,
        rlDhcpv6RelayInterfaceDestinationsIpv6Addr          InetAddress,
        rlDhcpv6RelayInterfaceDestinationsOutputInterface   Unsigned32,
        rlDhcpv6RelayInterfaceDestinationsRowStatus         RowStatus
     }

rlDhcpv6RelayInterfaceDestinationsIfindex OBJECT-TYPE
    SYNTAX Unsigned32
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "The relay interface"
    ::= { rlDhcpv6RelayInterfaceDestinationsEntry 1 }

rlDhcpv6RelayInterfaceDestinationsIpv6AddrType  OBJECT-TYPE
    SYNTAX InetAddressType
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
       "The only inet type that is supported is ipv6"
    ::= { rlDhcpv6RelayInterfaceDestinationsEntry 2  }

rlDhcpv6RelayInterfaceDestinationsIpv6Addr  OBJECT-TYPE
    SYNTAX InetAddress
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
       "The address relay uses to forward the message"
    ::= { rlDhcpv6RelayInterfaceDestinationsEntry 3  }

rlDhcpv6RelayInterfaceDestinationsOutputInterface OBJECT-TYPE
    SYNTAX Unsigned32
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "The output interface (ifindex) is required only in case the destination address is not global unicast."
    ::= { rlDhcpv6RelayInterfaceDestinationsEntry 4 }

rlDhcpv6RelayInterfaceDestinationsRowStatus OBJECT-TYPE
    SYNTAX RowStatus
    MAX-ACCESS read-write
    STATUS current
    DESCRIPTION
        "This variable displays the validity or invalidity of the entry.
        Setting it to 'destroy' has the effect of  rendering it inoperative.
        The internal effect (row removal) is implementation dependent."
    ::= { rlDhcpv6RelayInterfaceDestinationsEntry 5 }

END