# Example: Configuring an IPv6 Multicast Bandwidth Map

This example shows how to create a multicast bandwidth map for both multicast traffic admission control and QoS adjustment.

- Requirements
- Overview
- Configuring an IPv6 Multicast Bandwidth Map

### Requirements

This example uses the following hardware and software components:

- JunosE Release 7.1.0 or higher-numbered releases
- E Series router (ERX7xx models, ERX14xx models, the ERX310 router, the E120 router, or the E320 router)
- ASIC-based line modules that support Fast Ethernet or Gigabit Ethernet

Before you begin configuring multicast on IPv6 interfaces, you must:

- Configure IPv6 interfaces. For more information about configuring IPv6 interfaces, see Configuring IPv6 in JunosE IP, IPv6, and IGP Configuration Guide.

### Overview

The multicast bandwidth map is a route map that uses the set admission-bandwidth, set qos-bandwidth, set admission-bandwidth adaptive, or set qos-bandwidth adaptive commands. Multicast interface-level admission control, port-level admission control, and QoS adjustment all use a single multicast bandwidth map.

The adaptive commands configure an auto-sense mechanism for measuring the multicast bandwidth.

### Configuring an IPv6 Multicast Bandwidth Map

#### Configuring a Route Map

#### Step-by-Step Procedure

Define a route map using the set admission-bandwidth and set qos-bandwidth commands.

| Note: In this example, you can replace the set admission-bandwidth command and set qos-bandwidth command with their adaptive command counterparts.

1. Define a route map.
   [edit]host1(config)#route-map mcast-bandwidths permit 10
2. Match the route map to an access list.
   [edit]host1(config-route-map)#match ipv6 address sdtv
3. Configure multicast bandwidths.
   [edit multicast bandwidths for admission control and QoS adjustment]host1(config-route-map)#set admission-bandwidth 2000000 host1(config-route-map)#set qos-bandwidth 2000000
4. Configure the route map.
   [edit]host1(config-route-map)#route-map mcast-bandwidths permit 20
5. Match the route map to an access list.
   [edit]host1(config-route-map)#match ipv6 address hdtv
6. Configure multicast bandwidths.
   [edit multicast bandwidths for admission control and QoS adjustment]host1(config-route-map)#set admission-bandwidth 10000000 host1(config-route-map)#set qos-bandwidth 10000000

#### Configuring an Access List

#### Step-by-Step Procedure

Define the access list for use by the match ipv6 address command to match (S,G) and (*,G) entries.

| Note: You can also define a prefix-list or a prefix-tree for use by the match ipv6 address command to match (S,G) and (*,G) entries.

1. Configure access lists.
   [edit access lists]host1(config)#access-list sdtv permit ip host 31::1 ff3e::0/112 host1(config)#access-list hdtv permit ip host 32::1 ff3e::0/112 host1(config)#access-list hdtv permit ip host 32::2 ff3e::0/112

#### Related Documentation

- IPv6 Multicast Bandwidth Map Overview
- Autosense Mechanism Overview
- Adaptive Mode Mechanism Overview
- Activating IPv6 Multicast QoS Adjustment Functions
- Enabling Interface-Level Admission Bandwidth Limitation for IPv6
- Enabling Port-Level Admission Bandwidth Limitation for IPv6
- Interface-Level Admission Bandwidth Limits for IPv6 Overview
- Configuring Routing Policy in JunosE IP Services Configuration Guide
- access-list
- match ipv6 address
- route-map
- set admission-bandwidth
- set qos-bandwidth