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.
traffic-policy-profile profile-name { inbound | outbound }
undo traffic-policy-profile { inbound | outbound }
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. |
- |
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.