c. Create a VLAN subinterface.
d. Assign a VLAN ID.
e. Configure an unnumbered IP interface.
f. Enable IGMP on the interface with only multicast-data-forwarding capability.
host1(config)#interface gigabitEthernet 2/8
host1(config-if)#encapsulation vlan
host1(config-if)#interface gigabitEthernet 2/8.1
host1(config-if)#vlan id 1
host1(config-if)#ip unnumbered loopback 0
host1(config-if)#ip igmp version passive
2. Configure an IP interface to redirect egress multicast traffic to port 8.
a. Create a VLAN subinterface.
b. Assign a VLAN ID.
c. Assign an IP address.
d. Configure the interface to redirect egress multicast traffic to port 8.
host1(config)#interface gigabitEthernet 2/0.101
host1(config-if)#vlan id 1
host1(config-if)#ip address 10.1.1.1 255.255.255.0
host1(config-if)#ip multicast ioa-packet-replication gigabitEthernet 2/8.1
encapsulation vlan
• Use to configure VLAN as the encapsulation method for the interface.
• Example
host1(config-if)#encapsulation vlan
• Use the no version to disable VLAN on an interface.
• See encapsulation vlan.
ip igmp version
• Use to set the IGMP version (1, 2, or 3) for the interface or specify a passive interface
with only multicast-data-forwarding capability (passive).
• Example
host1:boston(config-if)#ip igmp version passive
• Use the no version to set the version to the default, IGMPv2.
• See ip igmp version.
ip multicast ioa-packet-replication
• Use to configure hardware multicast packet replication on port 8 of a high-density
Ethernet module.
• Example
23Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Configuring IPv4 Multicast