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

Configuring Class-of-Service (CoS) for DLSw (Optional)

The J-series Services Router CoS features provide differentiated services when best-effort traffic delivery is not enough. You can use CoS to classify DLSw packets. The packets are sent to a logical tunnel interface on the router, where they are classified and queued based on the configured type-of-service (ToS) value.

For information about CoS, see Class-of-Service Overview or the JUNOS Class of Service Configuration Guide.

To configure CoS for DLSw on the Services Router, you do the following:

To configure CoS classification for DLSw on a router:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 122.
  3. If you are finished configuring the router, commit the configuration.

Table 122: Configuring DLSw on the Remote Router

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Interfaces level in the configuration hierarchy.

In the configuration editor hierarchy, select Interfaces>Edit.

From the top of the configuration hierarchy, enter edit interfaces lt-0/0/0

Configure the first logical unit on the lt-0/0/0 interface.

  1. Next to Interface, click Add new entry.
  2. In the Interface name box, type lt-0/0/0.
  3. Click OK.
  4. Next to lt-0/0/0, click Edit.
  5. Next to Unit, click Add new entry.
  6. In the Interface unit number box, type 0.
  7. In the Dlci box, type 10.
  8. From the Encapsulation list, select frame-relay.
  9. In the Peer unit box, type 1.
  10. Under Family, select Inet.
  11. Click OK.
  1. Enter

    set unit 0

  2. Enter

    set dlci 10

  3. Enter

    set encapsulation frame-relay

  4. Enter

    set peer-unit 1

  5. Enter

    set family inet

Configure the second logical unit on the lt-0/0/0 interface.

  1. Next to Unit, click Add new entry.
  2. In the Interface unit number box, type 1.
  3. In the Dlci box, type 10.
  4. From the Encapsulation list, select frame-relay.
  5. In the Peer unit box, type 0.
  6. Under Family, select Inet.
  7. Click OK until you return to the Configuration page.
  1. Enter

    set unit 1

  2. Enter

    set dlci 10

  3. Enter

    set encapsulation frame-relay

  4. Enter

    set peer-unit 0

  5. Enter

    set family inet

Configure the default CoS classifier on the lt-0/0/0 interface.

  1. Next to Class of service, click Edit.
  2. Next to Interfaces, click Add new entry.
  3. In the Interface name box, type lt-0/0/0.
  4. Next to Unit, click Add new entry.
  5. In the Unit number box, type 1.
  6. Next to Classifiers, click Configure.
  7. Under Dscp, in the Classifier name box, type default.
  8. Click OK until you return to the Configuration page.

Enter

edit class-of-service interfaces lt-0/0/0 unit 1

Enter

set classifiers dscp default

Configure the type-of-service precedence value for DLSw packets—for example, 192.

  1. Click Protocols.
  2. Next to Dlsw, click Edit.
  3. Next to Sna cos, click Configure.
  4. In the Destination sna interface box, type lt-0/0/0.0.
  5. In the Type of service box, type 192.
  6. Click OK.
  1. Enter

    edit protocols dlsw sna-cos

  2. Enter

    set destination-sna-interface lt-0/0/0.0 type-of-service 192


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