create class ether-if-stats

To create an Ethernet interface statistics class, use the create class ether-if-stats command.

create class ether-if-stats

This command has no arguments or keywords.

Command Default

None

Command Modes

Statistics threshold policy (/org/stats-threshold-policy)

Command History

Release Modification
1.0(1)

This command was introduced.

Usage Guidelines

Use classes to place a threshold on statistics. For example, you might want to define a threshold on a port that raises a fault if the average number of packets dropped exceeds a certain amount. For this class, you would create thresholds for Ethernet interface statistics.

Examples

This example shows how to create an Ethernet interface statistics class:

switch-A# scope org org3
switch-A /org # scope stats-threshold-policy p1                                       
switch-A /org/stats-threshold-policy # create class ether-if-stats
switch-A /org/stats-threshold-policy/class* # commit-buffer
switch-A /org/stats-threshold-policy/class #                                        

Related Commands

Command

Description

show class

 

show stats-threshold-policy