[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring an Interface Set

To configure an interface set, include the following statement at the [edit class-of-service interfaces] hierarchy level of the configuration:

[edit class-of-service interfaces]
interface-set interface-set-name {
(interface-cos-parameters);
}

To apply the interface set to interfaces, include the following statements at the [edit interfaces] hierarchy level of the configuration:

interface-set interface-set-name {
ethernet-interface-name {
(interface-cos-parameters);
}
}

Interface sets can be defined in two major ways: as a list of logical interfaces (unit 100, unit 200, and so on), or at the stacked VLAN level using a list of outer VLAN IDs (vlan-tags-outer 210, vlan-tags-outer 220, and so on). In addition, the svlan number listing option with a single outer VLAN tag is a convenient way for specifying a set of VLAN members having the same outer VLAN tags. Service providers can use these statements to group interfaces to apply scheduling parameters such as guaranteed rate and shaping rate to the traffic in the groups.

Whether using the logical interface listing option for a group of customer VLANs or the S-VLAN set listing option for a group of VLAN outer tags, all traffic heading downstream must be gathered into an interface set with the interface-set statement at the [edit class-of-service interfaces] hierarchy level.

Regardless of listing convention, you can only use one of the types in an interface set. Examples of this limitation appear later in this section.

Interface sets are currently only used by CoS, but they are applied at the [edit interfaces] hierarchy level so that they might be available to other services.

[edit interfaces]
interface-set interface-set-name {
ethernet-interface-name {
unit unit-number | vlan-tags-outer vlan-tag {
...
}
}
}

The logical interface naming option lists Ethernet interfaces:

[edit interfaces]
interface-set unitl-set-ge-0 {
ge-0/0/0 {
unit 0;
unit 1;
...
}
}

The S-VLAN option lists only one S-VLAN (outer) tag value:

[edit interfaces]
interface-set svlan-set {
ge-1/0/0 {
vlan-tags-outer 2000;
}
}

The S-VLAN naming option lists S-VLAN (outer) tag values:

[edit interfaces]
interface-set svlan-set-tags {
ge-2/0/0 {
vlan-tags-outer 2000;
vlan-tags-outer 2001;
vlan-tags-outer 2002;
...
}
}

Note: Ranges are not supported: you must list each VLAN or logical interface separately.


[Contents] [Prev] [Next] [Index] [Report an Error]