Example: Configuring Bandwidth on Demand

In this example, you create the dl0 dialer interface. You define the bw-profile CHAP access profile with the client1 client and my-secret secret password. You configure CHAP on the dl0 unit 0 interfaces and specify a unique profile called bw-profile that contains client list and access parameters. You configure the ACFC compression type. You then configure bandwidth on demand on each ISDN interface participating in the aggregated link (in this case, the br-1/0/3 ISDN BRI physical interface).

To configure a dialer interface for bandwidth-on-demand:

  1. Select a dialer interface.

    [edit]user@host# edit interfaces dl0
  2. Configure multilink properties on the dialer interface.

    [edit interfaces dl0]user@host# set encapsulation multilink-ppp
  3. Select the logical unit.

    [edit interfaces dl0]user@host# edit unit 0
  4. Configure the dialer options.

    [edit interfaces dl0 unit 0]user@host# set dialer-options dial-string 4085550115user@host# set dialer-options load-interval 90user@host# set dialer-options load-threshold 95user@host# set dialer-options pool bw-pool
  5. Configure unit properties.

    [edit interfaces dl0 unit 0]user@host# set compression rtp f-max-period 500 queues q3
  6. Configure logical properties.

    [edit interfaces dl0 unit 0]user@host# set fragment-threshold 1024
  7. Define a CHAP access profile with a client and a secret password.

    [edit]user@host# set access profile bw-profile client client1 chap-secret my-secret
  8. Configure CHAP on the dialer interface.

    [edit interfaces dl0 unit 0]user@host# set ppp-options chap access-profile bw-profile
  9. Configure packet compression.

    [edit interfaces dl0 unit 0]user@host# set ppp-options compression acfc
  10. Configure the dialer interface to be assigned an IP address. Choose any of the following:

    • Assign source and destination IP addresses.

      [edit interfaces dl0 unit 0]user@host# set family inet address 172.20.10.2 destination 172.20.10.1
    • Obtain an IP address from the remote end.

      [edit interfaces dl0 unit 0]user@host# set family inet negotiate-address
    • Derive the source address and assign the destination address.

      [edit interfaces dl0 unit 0]user@host# set family inet unnumbered-address lo0.0 destination 192.168.1.2
  11. For each ISDN interface participating in the aggregated link, configure bandwidth on demand.

    [edit interfaces br-1/0/3] user@host# set dialer-options pool bw-pool

Related Topics