Configuring GTS in non-policy approach
When you configure GTS in non-policy approach, you can configure the following types of GTS:
ACL-based GTS—Sets GTS parameters for the traffic matching the specific ACL. By specifying multiple ACLs, you can set GTS parameters for different classes of traffic.
GTS for all traffic—Configures GTS parameters for all traffic.
Configuring ACL-based GTS
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Defining an ACL. | See "Configuring ACLs." | N/A |
3. Enter interface view or port group view. |
| Use one of the commands. Settings in interface view take effect on the current interface. Settings in port group view take effect on all ports in the port group. |
4. Configure ACL-based GTS on the interface or port group. | qos gts acl acl-number cir committed-information-rate [ cbs committed-burst-size [ ebs excess-burst-size [ queue-length queue-length ] ] ] | N/A |
Configuring GTS for all traffic
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view or port group view. |
| Use one of the commands. Settings in interface view take effect on the current interface. Settings in port group view take effect on all ports in the port group. |
3. Configure GTS on the interface or port group. | qos gts any cir committed-information-rate [ cbs committed-burst-size [ ebs excess-burst-size [ queue-length queue-length ] ] ] | N/A |