Configure a topology for each router-address family combination ina VRF. You can apply protocols separately to each topology.
The following table lists the [BGP/OSPF/OSPFv3 protocol] multicast topology configuration commands for S- and K-Series devices.
Task | Command |
---|---|
In router config-protocol mode, enter the address family configuration mode for the address-family to which this topology will apply. Also enter the multicast or unicast sub-address family for this topology. To exit address family mode, use the exit command. To delete an address family, and the topology, use the no form of this command. |
address-family {ipv4 | ipv6} [multicast | unicast] |
Configure static routing in the multicast topology in router configuration mode. To remove a static route from the router configuration, use the no form of this command. |
[ip | ipv6] mroute |
The following configuration example creates an IPv4 multicast topology named v4multi:
address-family ipv4 multicast topology v4multi exit
Create an instance of OSPF and join to the multicast topology:
router ospf 1 address-family ipv4 multicast exit exit
With this configuration, OSPF instance 1 is joined with both the "unicast" or base topology and the multicast topology v4multi, meaning that OSPF will contribute routes to both route tables. In order to have OSPF instance 1 joined only with the multicast topology, it is necessary to enter the "no address-family ipv4 unicast" command in OSPF configuration mode:
router ospf 1 router-id 192.168.200.1 address-family ipv4 multicast exit log-adjacency no address-family ipv4 unicast exit