To define a virtual channel group that you can assign to a logical interface, include the virtual-channel-groups statement at the [edit class-of-service] hierarchy level:
- [edit class-of-service]
-
virtual-channel-groups {
-
-
virtual-channel-group-name {
-
-
virtual-channel-name {
-
scheduler-map map-name;
-
shaping-rate (percent percentage | rate);
-
default;
- }
- }
- }
virtual-channel-group-name can be any name that you want. virtual-channel-name must be one of the names that you define at the [edit class-of-service virtual-channels] hierarchy level. You can include multiple virtual channel names in a group.
The scheduler map is required. map-name must be one of the scheduler maps that you configure at the [edit class-of-service scheduler-maps] hierarchy level. For more information, see Configuring Schedulers.
The shaping rate is optional. If you configure the shaping rate as a percentage, when the virtual channel is applied to a logical interface, the shaping rate is set to the specified percentage of the interface bandwidth. If you configure a shaper on a virtual channel, the shaper limits the maximum bandwidth transmitted by that virtual channel. Virtual channels without a shaper can use the full logical interface bandwidth. If there are multiple unshaped virtual channels, they share the available logical interface bandwidth equally.
When you apply the virtual channel group to a logical interface, a set of eight queues is created for each of the virtual channels in the group. The scheduler-map statement applies a scheduler to these queues. If you include the shaping-rate statement, a shaper is applied to the entire virtual channel.
You must configure one of the virtual channels in the group to be the default channel. Therefore, the default statement is required in the configuration of one virtual channel per channel group. Any traffic not explicitly directed to a particular channel is transmitted by this default virtual channel.