Step 1 |
enable
|
Enables
privileged EXEC mode.
- Enter your password if
prompted.
|
Step 2 |
configure terminal
Device# configure terminal
|
Enters global
configuration mode.
|
Step 3 |
ip multicast-routing
Device(config)# ip multicast-routing
|
Enables IP
multicast routing.
|
Step 4 |
ip multicast rpf multitopology
Device(config)# ip multicast rpf multitopology
|
Enables Multi
Topology Routing (MTR) support for IP multicast routing.
|
Step 5 |
global-address-family ipv4 multicast
Device(config)# global-address-family ipv4 multicast
|
Enters global
address family configuration mode and configures multi topology routing.
|
Step 6 |
topology {topology-A |
topology-B}
Device(config-af)# topology live-A
|
Configures an
OSPF process to route IP traffic under the specified topology instance.
|
Step 7 |
exit
|
Exits
address family configuration mode and returns to global configuration mode.
|
Step 8 |
interface
type
number
Device(config)# interface Gigabitethernet 1/0
|
Configures an
interface type and enters interface configuration mode.
|
Step 9 |
ip address
address
mask
Device(config-if)# ip address 192.108.1.27 255.255.255.0
|
Sets a
primary or secondary IP address for an interface.
|
Step 10 |
ip pim sparse-dense-mode
Device(config-if)# ip pim sparse-dense-mode
|
Enables PIM
on an interface and treats the interface in either sparse mode or dense mode of
operation, depending on which mode the multicast group operates in.
|
Step 11 |
ip ospf
process-id
area
area-id
Device(config-if)# ip ospf 10 area 0
|
Enables
OSPFv2 on an interface.
|
Step 12 |
topology ipv4
multicast
topology-name
Device(config-if)# topology ipv4 multicast live-A
|
Configures
a multi topology instance on an interface.
|
Step 13 |
exit
|
Exits
interface configuration mode and enters global configuration mode.
- Repeat Steps 9 to 12 to
configure the next topology (topology ipv4 multicast
live-B).
|
Step 14 |
router ospf
process-id
Device(config)# router ospf 102
|
Enables
OSPF routing and enters router configuration mode.
|
Step 15 |
network
ip-adddress mask
area
area-id
Device(config-router)# network 192.168.129.16 0.0.0.3 area 20
|
Defines an
interface on which OSPF runs and defines the area ID for that interface.
|
Step 16 |
address-family ipv4
multicast
Device(config-router)# address-family ipv4 multicast
|
Enters
router address family configuration mode and configures OSPF to exchange IPv4
multicast prefixes.
|
Step 17 |
topology topology-name
tid
topology-id
Device(config-router-af)# topology live-A tid 100
|
Configures
an OSPF process to route IP traffic under the specified topology instance.
- Repeat this step to
configure the OSPF process to route IP traffic under another topology instance
(topology live-B tid 200).
|
Step 18 |
end
Device(config-router-af)# end
|
Exits
router address family configuration mode and returns to privileged EXEC mode.
|
Step 19 |
configure
terminal
Device# configure terminal
|
Enters
global configuration mode.
|
Step 20 |
ip multicast topology
multicast
topology-name
tid
topology-id
Device(config)# ip multicast topology multicast live-A tid 100
|
Configures
topology selection for the multicast streams.
- Repeat this step to
configure another topology (ip multicast topology multicast live-B tid 200).
|
Step 21 |
ip multicast rpf select
topology multicast
topology-name
access-list number
Device(config)# ip multicast rpf select topology multicast topology live-A 111
|
Associates
a multicast topology with a multicast group with a specific route entry.
- Repeat this step to
associate the topology with another multicast group (ip multicast rpf select
topology multicast live-B 122).
|
Step 22 |
ip access-list
extended
access-list-number
Device(config)# ip access-list extended 111
|
Defines an
IP access list to enable filtering for packets with IP helper-address
destinations and enters extended named access list configuration mode.
|
Step 23 |
permit ip any
ip-adddress
Device(config-ext-nacl)# permit ip any 203.0.113.1
|
Sets
condition to allow a packet to pass a named IP access list.
- Repeat Steps 22 and 23 to
define another IP access list and to set conditions to allow a packet to pass
another named IP access list.
|
Step 24 |
end
Device(config-ext-nacl)# end
|
Exits
extended named access list configuration mode and enters privileged EXEC mode.
|
Step 25 |
show ip multicast
topology multicast
topology-name
Device# show ip multicast topology multicast live-A
|
Displays
topology information for multicast streams.
|
Step 26 |
debug ip multicast
topology
Device# debug ip multicast topology
|
Enables
debugging output for multicast stream topology.
|