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
204
205
206
207
208
|
-- =================================================================
-- Copyright (c) 2004-2015 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description: BGP policy accounting MIB File
-- Reference:
-- Version: V1.2
-- History:
-- V1.0 2013-08-14 created by wangzhenjun
-- V1.1 2013-11-13 modified by wangzhenjun
-- Changed MAX-ACCESS of hh3cBpaDirection, and added this node to the
-- index of hh3cBpaCfgEntry
-- Deleted value 'none(0), both(3)' from data type 'hh3cBpaSrcOrDest'
-- Deleted DEVAL of hh3cBpaSrcOrDest
-- Deleted value 'none(0)' from data type 'hh3cBpaSrcOrDest'
-- Modified descriptions of hh3cBpaDirection, hh3cBpaSrcOrDest and
-- hh3cBpaTrafficIndex
-- V1.2 2014-11-20 modified by gongqing
-- Modified the value range of hh3cBpaTrafficIndex from
-- (1..64) to (1..128)
-- =================================================================
HH3C-BPA-MIB DEFINITIONS ::= BEGIN
IMPORTS
hh3cCommon
FROM HH3C-OID-MIB
OBJECT-TYPE, MODULE-IDENTITY, Integer32, Counter64
FROM SNMPv2-SMI
RowStatus
FROM SNMPv2-TC
ifIndex
FROM IF-MIB
InetAddressType
FROM INET-ADDRESS-MIB;
hh3cBpa MODULE-IDENTITY
LAST-UPDATED
"201411200927Z"
ORGANIZATION
"New H3C Technologies Co., Ltd."
CONTACT-INFO
"Platform Team New H3C Technologies Co., Ltd.
Hai-Dian District Beijing P.R. China
http://www.h3c.com
Zip: 100085"
DESCRIPTION
"This MIB contains objects that manage the configuration and information
of BGP policy accounting. It accounts IP packets by user defined
BGP policy.
"
REVISION
"201411200927Z"
DESCRIPTION
"Modified the value range of hh3cBpaTrafficIndex."
REVISION
"201311131128Z"
DESCRIPTION
"The initial version of this MIB file."
::= { hh3cCommon 144 }
hh3cBpaObjects OBJECT IDENTIFIER ::= { hh3cBpa 1 }
-- BGP policy accounting configuration table
hh3cBpaCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF Hh3cBpaCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "A table for BGP policy accounting configuration."
::= { hh3cBpaObjects 1 }
hh3cBpaCfgEntry OBJECT-TYPE
SYNTAX Hh3cBpaCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry for BGP policy accounting configuration."
INDEX {
ifIndex,
hh3cBpaDirection
}
::= { hh3cBpaCfgTable 1 }
Hh3cBpaCfgEntry ::=
SEQUENCE
{
hh3cBpaDirection INTEGER,
hh3cBpaSrcOrDest INTEGER,
hh3cBpaRowStatus RowStatus
}
hh3cBpaDirection OBJECT-TYPE
SYNTAX INTEGER
{
input(1),
output(2)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Identify the direction of IP packets on which BGP
policy accounting takes effect.
input :input direction
output :output direction"
::= { hh3cBpaCfgEntry 1 }
hh3cBpaSrcOrDest OBJECT-TYPE
SYNTAX INTEGER
{
source(1),
destination(2),
both(3)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION "Identify IP packet's Destination or Source IP address that
BGP policy accounting relies on.
source :source IP address of the IP packet
destination :destination IP address of the IP packet
both :both source and destination IP addresses"
DEFVAL { destination }
::= { hh3cBpaCfgEntry 2 }
hh3cBpaRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object manages the creation, deletion, and modification
of rows in the hh3cBpaCfgTable, which supports the
active status, createAndGo operation, and destroy operation."
::= { hh3cBpaCfgEntry 3 }
-- BGP policy accounting statistics table
hh3cBpaStatTable OBJECT-TYPE
SYNTAX SEQUENCE OF Hh3cBpaStatEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "A table for BGP policy accounting statistics."
::= { hh3cBpaObjects 2 }
hh3cBpaStatEntry OBJECT-TYPE
SYNTAX Hh3cBpaStatEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry for BGP policy accounting statistics."
INDEX
{
ifIndex,
hh3cBpaTrafficType,
hh3cBpaTrafficIndex
}
::= { hh3cBpaStatTable 1 }
Hh3cBpaStatEntry ::=
SEQUENCE
{
hh3cBpaTrafficType InetAddressType,
hh3cBpaTrafficIndex Integer32,
hh3cBpaInPacketCount Counter64,
hh3cBpaInOctetCount Counter64,
hh3cBpaOutPacketCount Counter64,
hh3cBpaOutOctetCount Counter64
}
hh3cBpaTrafficType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Type of IP packets, IPv4 or IPv6."
::= { hh3cBpaStatEntry 1 }
hh3cBpaTrafficIndex OBJECT-TYPE
SYNTAX Integer32 (1..128)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Traffic index generated by a BGP policy."
::= { hh3cBpaStatEntry 2 }
hh3cBpaInPacketCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION "The total number of received packets with the specified
traffic type and traffic index."
::= { hh3cBpaStatEntry 3 }
hh3cBpaInOctetCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION "The total number of received bytes with the specified
traffic type and traffic index."
::= { hh3cBpaStatEntry 4 }
hh3cBpaOutPacketCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION "The total number of output packets with the specified
traffic type and traffic index."
::= { hh3cBpaStatEntry 5 }
hh3cBpaOutOctetCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION "The total number of output bytes with the specified
traffic type and traffic index."
::= { hh3cBpaStatEntry 6 }
END
|