Multicast 153
CLI Example
The following example configures two DVMRP interfaces. First, this example configures an OSPF
router
1
and globally enables IP routing and IP multicast. IGMP is globally enabled so that this router can
manage group membership information for its directly-connected hosts (IGMP may not be required
when there are no directly connected hosts). Next, DVMRP is globally enabled. Finally, DVMRP, IGMP,
and OSPF are enabled on several interfaces.
console#configure
router ospf
router-id 3.3.1.1
exit
ip routing
ip multicast
ip igmp
ip dvmrp
interface vlan 15
routing
ip address 3.3.3.1 255.255.255.0
ip dvmrp
ip igmp
ip ospf area 0
exit
interface vlan 30
routing
ip address 1.1.1.1 255.255.255.0
ip dvmrp
ip igmp
ip ospf area 0
exit
exit
1. OSPF configuration is added as a unicast protocol for illustration purposes; static unicast routing could also be
configured.