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

Configuring 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 the J-series Services Router Basic LAN and WAN Access Configuration Guide 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 60.
  3. If you are finished configuring the router, commit the configuration.

Table 60: Configuring CoS for DLSw on the Remote Router

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Interfaces level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Interfaces, click Configure or Edit.

From the [edit] hierarchy level, 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 main 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. On the main Configuration page 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 main Configuration page.

From the [edit] hierarchy level, 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. On the main Configuration page next to Protocols, click Configure or Edit.
  2. Next to Dlsw, make sure the check box is selected, and click Configure or Edit.
  3. Next to Dlsw cos, click Configure or Edit.
  4. In the Destination interface box, type lt-0/0/0.0.
  5. In the Type of service box, type 192.
  6. Click OK.
  1. From the [edit] hierarchy level, enter

    edit protocols dlsw dlsw-cos

  2. Enter

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


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