HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 105

rmon history

Page 105 highlights

Related commands: display rmon event, rmon alarm, and rmon prialarm. Examples # Create event 10 in the RMON event table. system-view [Sysname] rmon event 10 log owner user1 rmon history Syntax rmon history entry-number buckets number interval sampling-interval [ owner text ] View undo rmon history entry-number Layer 2 Ethernet interface view Default level 2: System level Parameters entry-number: Specifies the history control entry index, which ranges 1 to 65535. buckets number: Specifies the history table size for the entry, which ranges from 1 to 65535. interval sampling-interval: Specifies the sampling period, which ranges from 5 to 3600 seconds. owner text: Specifies the owner of the entry, a case-sensitive string of 1 to 127 characters that can contain spaces. Description Use rmon history to create an entry in the RMON history control table. Use undo rmon history to remove a specified entry from the RMON history control table. After an entry is created, the system periodically samples the number of packets received/sent on the interface, and saves the statistics as an instance under the leaf node of the etherHistoryEntry table. The maximum number of statistics records can be saved for the entry is specified by buckets number. If the maximum number of the statistics records for the entry has been reached, the system deletes the earliest record for the latest one. The statistics include total number of received packets on the interface, total number of broadcast packets, total number of multicast packets in a sampling period, and so on. You can successfully create a history control entry, even if the specified bucket size exceeds the history table size supported by the device. However, the effective bucket size will be the actual value supported by the device. To view the configuration result, use the display rmon history command. You can configure multiple history control entries for one interface, but must make sure their entry numbers and sampling intervals are different. The device supports up to 100 history control entries. Related commands: display rmon history. Examples # Create RMON history control entry 1 for GigabitEthernet 1/0/1. system-view [Sysname] interface gigabitethernet 1/0/1 99

  • 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

99
Related commands:
display rmon event
,
rmon alarm
, and
rmon prialarm
.
Examples
# Create event 10 in the RMON event table.
<Sysname> system-view
[Sysname] rmon event 10 log owner user1
rmon history
Syntax
rmon history
entry
-
number
buckets
number
interval
sampling
-
interval
[
owner
text
]
undo rmon history
entry
-
number
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
entry
-
number:
Specifies the history control entry index, which ranges 1 to 65535.
buckets
number
: Specifies the history table size for the entry, which ranges from 1 to 65535.
interval
sampling
-
interval
: Specifies the sampling period, which ranges from 5 to 3600 seconds.
owner
text
: Specifies the owner of the entry, a case-sensitive string of 1 to 127 characters that can contain
spaces.
Description
Use
rmon history
to create an entry in the RMON history control table.
Use
undo rmon history
to remove a specified entry from the RMON history control table.
After an entry is created, the system periodically samples the number of packets received/sent on the
interface, and saves the statistics as an instance under the leaf node of the etherHistoryEntry table. The
maximum number of statistics records can be saved for the entry is specified by
buckets
number
. If the
maximum number of the statistics records for the entry has been reached, the system deletes the earliest
record for the latest one. The statistics include total number of received packets on the interface, total
number of broadcast packets, total number of multicast packets in a sampling period, and so on.
You can successfully create a history control entry, even if the specified bucket size exceeds the history
table size supported by the device. However, the effective bucket size will be the actual value supported
by the device. To view the configuration result, use the
display rmon history
command.
You can configure multiple history control entries for one interface, but must make sure their entry
numbers and sampling intervals are different.
The device supports up to 100 history control entries.
Related commands:
display rmon history
.
Examples
# Create RMON history control entry 1 for GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1