RMON Configurations
User Guide    791
Step 2 rmon statistics 
index
 interface { fastEthernet 
port 
| gigabitEthernet 
port
 | ten-
gigabitEthernet
 port
 }
 [ owner 
owner-name
] [ status { underCreation | valid }]
Configure RMON Statistic entries.
index:
 Specify the index of the Statistics entry, which ranges from 1 to 65535. To configure 
multiple indexes, enter a list of indexes separated by commas, or use a hyphen to indicates 
a range of indexes. For example, 1-3, 5 indicates 1, 2, 3, 5.
port:
 Specify the port to be bound to the entry.
owner-name: 
Enter the owner name of the entry with 1 to 16 characters. The default name 
is monitor.
underCreation | valid: Enter the status of the entry. UnderCreation indicates that the entry is 
created but invalid, while Valid indicates the entry is created and valid. By default, it is valid.
The switch start to collect Ethernet statistics for a Statistics entry since the entry status is 
configured as valid.
Step 3 show rmon statistics [ 
index
 ]
Displays the statistics entries and their configurations.
index:
 Enter the index of statistics entry that you want to view. Valid values are from 1 to 
65535. The command without any parameters displays all existing statistics entries.
Step 4 end
Return to Privileged EXEC Mode.
Step 5 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to create Statistics entries 1 and 2 on the switch to 
monitor port 1/0/1 and 1/0/2, respectively. The owner of the entries are both monitor and 
the status are both valid:
Switch#configure
Switch(config)#rmon statistics 1 interface gigabitEthernet 1/0/1 owner monitor status 
valid
Switch(config)#rmon statistics 2 interface gigabitEthernet 1/0/2 owner monitor status 
valid
Switch(config)#show rmon statistics
 Index   Port         Owner         State
 -----      ----            -----            -----
 1         Gi1/0/1    monitor       valid
 2         Gi1/0/2    monitor       valid
Switch(config)#end
Downloaded from ManualsNet.com search engine