car name

Use car name to use an aggregate CAR action in a traffic behavior.

Use car name hierarchy-car to use a hierarchical CAR action in a traffic behavior.

Use undo car to remove an aggregate or hierarchical CAR action from a traffic behavior.

Syntax

car name agg-car-name [ hierarchy-car hierarchy-car-name [ mode { and | or } ] ]

undo car

Default

No aggregate or hierarchical CAR action exists in a traffic behavior.

Views

Traffic behavior view

Predefined user roles

network-admin

Parameters

agg-car-name: Specifies the name of the aggregate CAR action to be used. This argument must start with a letter, and is a case-sensitive string of 1 to 31 characters.

hierarchy-car-name: Specifies the name of the hierarchical CAR action to be used. This argument must start with a letter, and is a case-sensitive string of 1 to 31 characters.

mode: Specifies a collaborating mode between the hierarchical CAR action and the aggregate CAR action, which can be AND (the default) or OR. If you do not specify a collaborating mode, the AND mode applies.

Examples

# Use aggregate CAR action aggcar-1 in traffic behavior be1.

<Sysname> system-view
[Sysname] traffic behavior be1
[Sysname-behavior-be1] car name aggcar-1

# Configure traffic behavior be1 to use aggregate CAR action aggcar-1 and hierarchical CAR action hcar, with the collaborating mode as or.

<Sysname> system-view
[Sysname] traffic behavior be1
[Sysname-behavior-be1] car name aggcar-1 hierarchy-car hcar mode or

Related commands