History group configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S6300 Series Switches User Manual

Page 122

Advertising
background image

109

History group configuration example

Network requirements

Create an RMON history control entry on the device in

Figure 34

to sample traffic statistics for

Ten-GigabitEthernet 1/0/1 every minute.

Figure 34 Network diagram

Configuration procedure

# Create an RMON history control entry to sample traffic statistics every minute for Ten-GigabitEthernet
1/0/1. Retain a maximum of eight samples for the interface in the history statistics table.

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 1/0/1

[Sysname-Ten-GigabitEthernet1/0/1] rmon history 1 buckets 8 interval 60 owner user1

# Display the history statistics collected for Ten-GigabitEthernet 1/0/1.

[Sysname-Ten-GigabitEthernet1/0/1] display rmon history

HistoryControlEntry 1 owned by user1 is VALID

Sampled interface : Ten-GigabitEthernet1/0/1<ifIndex.3>

Sampling interval : 60(sec) with 8 buckets max

Sampling record 1 :

dropevents : 0 , octets : 834

packets : 8 , broadcast packets : 1

multicast packets : 6 , CRC alignment errors : 0

undersize packets : 0 , oversize packets : 0

fragments : 0 , jabbers : 0

collisions : 0 , utilization : 0

Sampling record 2 :

dropevents : 0 , octets : 962

packets : 10 , broadcast packets : 3

multicast packets : 6 , CRC alignment errors : 0

undersize packets : 0 , oversize packets : 0

fragments : 0 , jabbers : 0

collisions : 0 , utilization : 0

Sampling record 3 :

dropevents : 0 , octets : 830

packets : 8 , broadcast packets : 0

multicast packets : 6 , CRC alignment errors : 0

undersize packets : 0 , oversize packets : 0

fragments : 0 , jabbers : 0

Advertising