Example: Configuring the AMT Protocol
This example shows how to configure the Automatic Multicast Tunneling (AMT) protocol to facilitate dynamic multicast connectivity between multicast-enabled networks across islands of unicast-only networks.
Requirements
Before you begin:
- Configure the router interfaces. See the Network Interfaces Configuration Guide.
- Configure an interior gateway protocol or static routing. See the Routing Protocols Configuration Guide.
- Configure a multicast group membership protocol (IGMP or MLD). See IGMP Overview and MLD Overview.
Overview
In this example, Host 0 and Host 2 are multicast receivers in a unicast cloud. Their default gateway devices are AMT gateways. R0 and R4 are configured with unicast protocols only. R1, R2, R3, and R5 are configured with PIM multicast. Host 1 is a source in a multicast cloud. R0 and R5 are configured to perform AMT relay. Host 3 and Host 4 are multicast receivers (or sources that are directly connected to receivers). This example shows R1 configured with an AMT relay local address and an anycast prefix as its own loopback address. The example also shows R0 configured with tunnel services enabled.
Figure 29 shows the topology used in this example.
Figure 29: AMT Gateway Topology

Configuration
CLI Quick Configuration
To quickly configure the AMT protocol on R1, copy the following commands and paste them into the CLI.
Step-by-Step Procedure
To configure the AMT protocol on R1:
Configure AMT tracing operations.
[edit]user@host# edit protocols amt traceoptions[edit protocols amt traceoptions]user@host# set file amt.log [edit protocols amt traceoptions]user@host# set flag errors [edit protocols amt traceoptions]user@host# set flag packets detail [edit protocols amt traceoptions]user@host# set flag route detail [edit protocols amt traceoptions]user@host# set flag state detail [edit protocols amt traceoptions]user@host# set flag tunnels detail [edit protocols amt traceoptions]user@host# exitConfigure the AMT relay settings.
[edit]user@host# edit protocols amt relay[edit protocols amt relay]user@host# set relay family inet anycast-prefix 10.10.10.10/32 [edit protocols amt relay]user@host# set family inet local-address 10.255.112.201 [edit protocols amt relay]user@host# set tunnel-limit 10 [edit protocols amt relay]user@host# exitConfigure PIM on R1’s interfaces.
[edit]user@host# edit protocols pim[edit protocols pim]set interface all mode sparse-dense [edit protocols pim]set interface all version 2 [edit protocols pim]set interface fxp0.0 disable[edit protocols pim]exitEnable tunnel functionality.
[edit]user@host# edit chassis[edit chassis]set fpc 0 pic 0 tunnel-services bandwidth 1gIf you are done configuring the device, commit the configuration.
[edit chassis]user@host# commit
Results
From configuration mode, confirm your configuration by entering the show chassis and show protocols commands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
Verification
To verify the configuration, run the following commands:
Hide Navigation Pane
Show Navigation Pane
Download
SHA1