You can attach a QoS profile to the base of an interface hierarchy, to a specific ATM VP or S-VLAN, or to a port type.
Tasks to attach a QoS profile include:
You can attach a QoS profile to an interface at the base of an interface hierarchy. Interface types below the attachment point cannot be referenced in the QoS profile.
To attach a profile to an interface:
You can associate a QoS profile with all the ports of a certain interface type.
You can attach a QoS profile to an ATM VP. The profile applies to all VCs in the VP; for example, the profile specifies the scheduler hierarchy of scheduler nodes and queues for all VCs, IP interfaces, and L2TP sessions stacked above the VP.
To attach a profile to an ATM VP:
You can attach a QoS profile to the specified S-VLAN ID assigned to a VLAN subinterface that is configured over an Ethernet interface.
The profile applies to all S-VLANs and VLANs in the interface stack; for example, the profile specifies the hierarchy of scheduler nodes and queues for all VLANs, IP interfaces stacked above the S-VLAN. However, you do not have to configure VLAN subinterfaces over the S-VLAN before you attach the QoS profile to the S-VLAN.
By default, the router attaches a QoS port-type profile to all ATM, Ethernet, serial, or server ports. The port-type profile supplies QoS information for all forwarding interfaces stacked above all ports of the associated interface type.
Instead of using the default port-type profile, you can explicitly attach a QoS profile to a port. The QoS profile overrides the default QoS port-type profile. The QoS profile associates queue profiles, drop profiles, statistics profiles, and scheduler profiles with interface types, and it applies to all interfaces stacked above ports of the associated type.
To attach a QoS profile to a port type:
The interface type can be: atm, ethernet, lag, serial, or server-port.
A profile attached to a port must specify a queue for each forwarding interface type in the best-effort traffic class.
To restore the default port-type: