Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    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 1 shows the topology used in this example.

    Figure 1: AMT Gateway Topology

    AMT Gateway Topology

    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 protocols amt traceoptions file amt.log set protocols amt traceoptions flag errors set protocols amt traceoptions flag packets detail set protocols amt traceoptions flag route detail set protocols amt traceoptions flag state detail set protocols amt traceoptions flag tunnels detail set protocols amt relay family inet anycast-prefix 10.10.10.10/32 set protocols amt relay family inet local-address 10.255.112.201 set protocols amt relay tunnel-limit 10 set protocols pim interface all mode sparse-dense set protocols pim interface all version 2 set protocols pim interface fxp0.0 disableset chassis fpc 0 pic 0 tunnel-services bandwidth 1g

    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 the AMT protocol on R1:

    1. Configure AMT tracing operations.

      [edit protocols amt traceoptions]user@host# set file amt.log user@host# set flag errors user@host# set flag packets detail user@host# set flag route detail user@host# set flag state detail user@host# set flag tunnels detail
    2. Configure the AMT relay settings.

      [edit protocols amt relay]user@host# set relay family inet anycast-prefix 10.10.10.10/32 user@host# set family inet local-address 10.255.112.201 user@host# set tunnel-limit 10
    3. Configure PIM on R1’s interfaces.

      [edit protocols pim]set interface all mode sparse-dense set interface all version 2 set interface fxp0.0 disable
    4. Enable tunnel functionality.

      [edit chassis]set fpc 0 pic 0 tunnel-services bandwidth 1g
    5. If you are done configuring the device, commit the configuration.

      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 instructions in this example to correct the configuration.

    user@host# show chassis
    fpc 0 {pic 0 {tunnel-services {bandwidth 1g;}}}
    user@host# show protocols
    amt {traceoptions {file amt.log;flag errors;flag packets detail;flag route detail;flag state detail;flag tunnels detail;}relay {family {inet {anycast-prefix 10.10.10.10/32;local-address 10.255.112.201;}}tunnel-limit 10;}}
    pim {interface all {mode sparse-dense;version 2;}interface fxp0.0 {disable;}}

    Verification

    To verify the configuration, run the following commands:

    Modified: 2015-04-12