The as name interface command adds ports on the AS with a specified name to a port group.
The as name-include interface command adds ports on the AS of which the name contains a specified string to a port group.
The undo as name interface command deletes ports on the AS with a specified name from a port group.
The undo as name-include interface command deletes ports on the AS of which the name contains a specified string from a port group.
By default, no ports on an AS are added to a port group.
This command can only be executed on a parent switch.
as name as-name interface { { interface-type interface-number1 [ to interface-number2 ] } &<1-10> | all }
as name-include string interface all
undo as name as-name interface { { interface-type interface-number1 [ to interface-number2 ] } &<1-10> | all }
undo as name-include string interface all
Parameter | Description | Value |
---|---|---|
as-name | Specifies the name of an AS. |
The value must have an existing AS name. |
string | Specifies the string contained in an AS name. |
The value is a string of 1 to 31 case-insensitive characters without spaces. |
interface-type interface-number1 [ to interface-number2 ] | Specifies the type and number of AS interfaces.
|
- |
all | Indicates all downlink service ports on an AS. |
- |
Usage Scenario
After creating a port group, add the AS ports that need to be configured in a batch to the port group.
Precautions
A port can be added to only one port group.
After ports on an AS are added to a port group, to change the port group, run the as name interface command to add the ports to another port group.
A fabric port in a port group takes effect only for a network QoS profile but not for any network basic profile, network enhanced profile, traffic policy profile, or user access profile.