Step 1 |
enable
Example:
|
Enables privileged EXEC mode.
|
Step 2 |
configure
terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
Step 3 |
interface
tunnel
number
Example:
Router(config)# interface tunnel 0
|
Configures a tunnel interface.
|
Step 4 |
ip
unnumbered
type
number
Example:
Router(config-if)# ip unnumbered gigabitethernet 0/0/0
|
Enables IP processing without assigning an IP address to the interface.
|
Step 5 |
ip
pim
sparse-mode
Example:
Router(config-if)# ip pim sparse-mode
|
Enables PIM sparse mode on the tunnel interface.
|
Step 6 |
tunnel
source
{ip-address | type number}
Example:
Router(config-if)# tunnel source 100.1.1.1
|
Configures the tunnel source.
|
Step 7 |
tunnel
destination
{hostname | ip-address}
Example:
Router(config-if)# tunnel destination 100.1.5.3
|
Configures the tunnel destination.
|
Step 8 |
Repeat Steps 1 through 7 on the router at the opposite end of the tunnel, reversing the tunnel source and destination addresses.
|
Router A’s tunnel source address will match Router B’s tunnel destination address. Router A’s tunnel destination address will match Router B’s tunnel source address.
|
Step 9 |
end
Example:
|
Ends the current configuration session and returns to privileged EXEC mode.
|
Step 10 |
ip
mroute
source-address
mask
tunnel
number
[distance]
Example:
Router(config)# ip mroute 0.0.0.0 0.0.0.0 tunnel 0
|
Configures a static multicast route over which to reverse path forward to the other end of the tunnel.
Because the use of the tunnel makes the multicast topology incongruent with the unicast topology, and only multicast traffic traverses the tunnel, you must configure the routers to reverse path forward correctly over the tunnel.
When a source range is specified, the mroute applies only to those sources.
In the example, the source-address and mask of 0.0.0.0 0.0.0.0 indicate any address.
The shorter distance is preferred.
The default distance is 0.
|
Step 11 |
ip
mroute
source-address
mask
tunnel
number
[distance]
Example:
Router(config)# ip mroute 0.0.0.0 0.0.0.0 tunnel 0
|
Configures a static route over which to reverse path forward from the access router to the other end of the tunnel.
|
Step 12 |
end
Example:
|
(Optional) Ends the current configuration session and returns to privileged EXEC mode.
|
Step 13 |
show
ip
mroute
[group-address | group-name] [source-address | source-name] [interface-type interface-number] [summary] [count] [active kbps]
Example:
|
(Optional) Displays the contents of the IP multicast routing (mroute) table.
|
Step 14 |
show
ip
rpf
{source-address | source-name} [metric]
Example:
Router# show ip rpf 10.2.3.4
|
(Optional) Displays how IP multicast routing does RPF.
|