< Home

traffic-policy-profile (port group view)

Function

The traffic-policy-profile command binds a traffic policy profile to a port group.

The undo traffic-policy-profile command unbinds a traffic policy profile from a port group.

By default, no traffic policy profile is bound to a port group.

This command can only be executed on a parent switch.

Format

traffic-policy-profile profile-name { inbound | outbound }

undo traffic-policy-profile { inbound | outbound }

Parameters

Parameter Description Value
profile-name

Specifies the name of a traffic policy profile.

The profile must have been created.

inbound

Applies a traffic policy profile to the inbound direction of an interface.

-

outbound

Applies a traffic policy profile to the outbound direction of an interface.

-

Views

Port group view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You can bind a traffic policy profile to a port group to deliver the configurations in the profile to all the member ports in the port group in a batch.

Prerequisites

The traffic policy profile has been created before being bound to a port group.

Precautions

  • A traffic policy profile can be bound to only an AS port group but not an AP port group.

  • A port group can be bound to only one traffic policy profile.

Example

# Bind a traffic policy profile to a port group.

<HUAWEI> system-view
[HUAWEI] uni-mng
[HUAWEI-um] traffic-policy-profile name profile_1
[HUAWEI-um-traffic-policy-profile_1] quit
[HUAWEI-um] port-group name group_1
[HUAWEI-um-portgroup-group_1] traffic-policy-profile profile_1 inbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >