Configuring Access Lists as PIM Sparse Mode Join Filters

You can apply access lists to PIM sparse mode interfaces along with the ip pim join-filter or ipv6 pim join-filter command to use the access lists as PIM sparse mode join filters.

To configure PIM join filters:

  1. Create the various access list services you want to use with the PIM join filter command.
    host1(config)#! create bronze servicehost1(config)#! - restrict SSM channels to 232.0.1/24 onlyhost1(config)#access-list bronze permit ip host any 228.0.0.0 0.0.0.255 host1(config)#access-list bronze permit ip host 1.1.1.1 232.0.1.0 0.0.0.255 host1(config)#access-list bronze permit ip host 2.2.2.2 232.0.1.0 0.0.0.255 host1(config)#host1(config)#! create silver servicehost1(config)#! - bronze service + new channels 232.0.2/24host1(config)#access-list silver permit ip host any 228.0.0.0 0.0.0.255 host1(config)#access-list silver permit ip host 1.1.1.1 232.0.1.0 0.0.0.255 host1(config)#access-list silver permit ip host 2.2.2.2 232.0.1.0 0.0.0.255 host1(config)#access-list silver permit ip host 1.1.1.1 232.0.2.0 0.0.0.255 host1(config)#access-list silver permit ip host 2.2.2.2 232.0.2.0 0.0.0.255 host1(config)#host1(config)#! create gold servicehost1(config)#! - silver service + new channels 232.0.3/24host1(config)#access-list gold permit ip host any 228.0.0.0 0.0.0.255 host1(config)#access-list gold permit ip host 1.1.1.1 232.0.1.0 0.0.0.255 host1(config)#access-list gold permit ip host 2.2.2.2 232.0.1.0 0.0.0.255 host1(config)#access-list gold permit ip host 1.1.1.1 232.0.2.0 0.0.0.255 host1(config)#access-list gold permit ip host 2.2.2.2 232.0.2.0 0.0.0.255 host1(config)#access-list gold permit ip host 1.1.1.1 232.0.3.0 0.0.0.255 host1(config)#access-list gold permit ip host 2.2.2.2 232.0.3.0 0.0.0.255

    For additional information about how to create access lists, see Defining IP Access Lists.

  2. Enable IP multicast routing.
    host1(config)#ip multicast-routing
  3. Enable PIM source-specific multicast router.
    host1(config)#ip pim ssm
  4. Identify the default PIM join filter.
    host1(config)#ip pim join-filter bronze
  5. Enable PIM sparse mode on a subinterface.
    host1(config)#interface atm 3/0.101 host1(config-if)#ip address 101.0.0.1 255.255.255.255 host1(config-if)#ip pim sparse-mode

    This interface (and any other PIM interface to which you do not specifically assign an access list filter) uses the default (bronze) join filter.

  6. Enable PIM sparse mode on another subinterface and assign the silver join filter.
    host1(config-if)#interface atm 3/0.102 host1(config-if)#ip address 102.0.0.1 255.255.255.255 host1(config-if)#ip pim sparse-mode host1(config-if)#ip pim join-filter silver
  7. Enable PIM sparse mode on another subinterface and assign the gold join filter.
    host1(config-if)#interface atm 3/0.103 host1(config-if)#ip address 103.0.0.1 255.255.255.255 host1(config-if)#ip pim sparse-mode host1(config-if)#ip pim join-filter gold

For information about the ip pim join-filter command, see “Configuring PIM for IPv4 Multicast” in the JunosE Multicast Routing Configuration Guide. For information about the ipv6 pim join-filter command, see “Configuring PIM for IPv6 Multicast” in the JunosE Multicast Routing Configuration Guide.

Related Documentation