Defining a class

To define a class, create the class first, and then configure match criteria in class view.

To define a class:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a class and enter class view.

traffic classifier classifier-name [ operator { and | or } ]

By default, the and keyword is used, and the relation between match criteria is logical AND.

3. Configure match criteria.

if-match [ not ] match-criteria

N/A