Allied Telesis AT-9000/28POE Switch User Manual


  Open as PDF
of 1480
 
AT-9000 Switch Command Line User’s Guide
1127
RMON Port Statistics
To view port statistics using an SNMP program and the RMON section in
the MIB, you must configure the switch to reserve areas of memory in
which to store the statistics for remote viewing with your SNMP program.
These areas of memory are referred to as statistics groups. The switch
can have up to eight statistics groups, and each group can store the
statistics of a single port. Thus, you can remotely monitor up to eight ports
at a time with an SNMP program. (To view the statistics of all the ports,
use “SHOW PLATFORM TABLE PORT COUNTERS” on page 201.)
The following sections explain the commands for managing statistics
groups:
“Adding Statistics Groups” next
“Viewing Statistics Groups” on page 1128
“Deleting Statistics Groups” on page 1128
Adding Statistics
Groups
The command to create statistics groups is the RMON COLLECTION
STATS command in the Port Interface mode. Here is the format of the
command:
rmon collection stats
stats_id
[owner
owner
]
The STATS_ID parameter is the ID number of the new group. The range is
1 to 65535. The groups will be easier to identify if their ID numbers are the
same as the port numbers. For instance, a group assigned to port 16
should be assigned the ID number 16. You will find this particularly useful
when you view the statistics with your SNMP program, because they are
identified by the statistics group ID numbers and not by the port numbers.
If the two numbers are different, you might have difficulty determining
which port statistics you are viewing.
The OWNER parameter, used to identify the person who created an entry,
is primarily intended for switches that are managed by more than one
person, and is optional.
This example of the command assigns RMON statistics groups to ports 5,
16 and 20. The groups are assigned ID numbers that match the port
numbers:
awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.5
awplus(config-if)# rmon collection stats 5
awplus(config-if)# exit
awplus(config)# interface port1.0.16