Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Defining Interface Bandwidth Maximums

This example shows you how to configure the maximum bandwidth for a physical or logical interface.

Requirements

Before you begin:

Overview

The maximum bandwidth setting applies admission control either against the configured interface bandwidth or against the native speed of the underlying interface (when there is no configured bandwidth for the interface).

If you configure several logical interfaces (for example, to support VLANs or PVCs) on the same underlying physical interface, and no bandwidth is configured for the logical interfaces, it is assumed that the logical interfaces all have the same bandwidth as the underlying interface. This can cause oversubscription. To prevent oversubscription, configure bandwidth for the logical interfaces, or configure admission control at the physical interface level.

You only need to define the maximum bandwidth for an interface on which you want to apply bandwidth management. An interface that does not have a defined maximum bandwidth transmits all multicast flows as determined by the multicast protocol that is running on the interface (for example, PIM).

If you specify maximum-bandwidth without including a bits-per-second value, admission control is enabled based on the bandwidth configured for the interface. In the following example, admission control is enabled for logical interface unit 200, and the maximum bandwidth is 20 Mbps. If the bandwidth is not configured on the interface, the maximum bandwidth is the link speed.

routing-options {multicast {interface fe-0/2/0.200 {maximum-bandwidth;}interfaces {fe-0/2/0 {unit 200 {bandwidth 20m;}}}

Configuration

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

set interfaces fe-0/2/0 unit 200 bandwidth 20mset routing-options multicast interface fe-0/2/0.200 maximum-bandwidth set routing-options multicast interface fe-0/2/1 maximum-bandwidth 60m set routing-options multicast interface fe-0/2/1.200 maximum-bandwidth 10m

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To configure a bandwidth maximum:

  1. Configure the a logical interface bandwidth.

    [edit interfaces]user@host# set fe-0/2/0 unit 200 bandwidth 20m
  2. Enable admission control on the logical interface.

    [edit routing-options]user@host# set multicast interface fe-0/2/0.200 maximum-bandwidth
  3. On a physical interface, enable admission control and set the maximum bandwidth to 60 Mbps.

    [edit routing-options]user@host# set multicast interface fe-0/2/1 maximum-bandwidth 60m
  4. For a logical interface on the same physical interface shown in Step 3, set a smaller maximum bandwidth.

    [edit routing-options]user@host# set multicast interface fe-0/2/1.200 maximum-bandwidth 10m

Results

Confirm your configuration by entering the show interfaces and show routing-options commands.

user@host# show interfacesfe-0/2/0 {unit 200 {bandwidth 20m;}}
user@host# show routing-optionsmulticast {interface fe-0/2/0.200 {maximum-bandwidth;}interface fe-0/2/1 {maximum-bandwidth 60m;}interface fe-0/2/1.200 {maximum-bandwidth 10m;}}

Verification

To verify the configuration, run the show multicast interface command.

Published: 2012-11-16