Table Of Contents
Cisco Mobile Networks—Tunnel Templates for Multicast
Prerequisites for Cisco Mobile Networks—Tunnel Templates for Multicast
Restrictions for Cisco Mobile Networks—Tunnel Templates for Multicast
How to Configure Tunnel Templates for Multicast
Applying the Tunnel Template on the Home Agent
Applying the Tunnel Template on the Mobile Router
Configuration Examples for Tunnel Templates for Multicast
Tunnel Templates for Multicast Example
template tunnel (mobile networks)
template tunnel (mobile router)
Cisco Mobile Networks—Tunnel Templates for Multicast
The Cisco Mobile Networks—Tunnel Templates for Multicast feature allows the configuration of multicast on statically created tunnels to be applied to dynamic tunnels brought up on the home agent and mobile router. A tunnel template is defined and applied to the tunnels between the home agent and mobile router. The mobile router can now roam and the tunnel template enables multicast sessions to be carried to the mobile networks.
Feature Specifications for Cisco Mobile Networks—Tunnel Templates for Multicast
Feature History Release Modification12.2(15)T
This feature was introduced.
Supported PlatformsFor platforms supported in Cisco IOS Release 12.2(15)T, consult Cisco Feature Navigator.
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Prerequisites for Cisco Mobile Networks—Tunnel Templates for Multicast
•
Restrictions for Cisco Mobile Networks—Tunnel Templates for Multicast
•
How to Configure Tunnel Templates for Multicast
•
Configuration Examples for Tunnel Templates for Multicast
Prerequisites for Cisco Mobile Networks—Tunnel Templates for Multicast
Reverse tunneling must be enabled from the mobile router to the home agent.
Restrictions for Cisco Mobile Networks—Tunnel Templates for Multicast
Tunnels cannot be removed if they are being used as templates.
How to Configure Tunnel Templates for Multicast
This section contains the following procedures:
•
Applying the Tunnel Template on the Home Agent (required)
•
Applying the Tunnel Template on the Mobile Router (required)
Applying the Tunnel Template on the Home Agent
This task describes how to apply the tunnel template to the tunnels brought up at the home agent.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip multicast-routing
4.
interface tunnel interface-number
5.
ip pim sparse-mode
6.
exit
7.
router mobile
8.
exit
9.
ip mobile mobile-networks
10.
template tunnel interface-number
11.
end
12.
show ip mobile tunnel
DETAILED STEPS
Command or Action PurposeStep 1
enable
Example:Router> enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
configure terminal
Example:Router# configure terminal
Enters global configuration mode.
Step 3
ip multicast-routing
Example:Router(config)# ip multicast-routing
Enables IP multicast routing.
Step 4
interface tunnel interface-number
Example:Router(config)# interface tunnel 100
Designates a tunnel interface and enters interface configuration mode.
•
This is the tunnel template that will be applied to the mobile networks.
Step 5
ip pim sparse-mode
Example:Router(config-if)# ip pim sparse-mode
Enables Protocol Independent Multicast (PIM) on the tunnel interface in sparse mode.
Step 6
exit
Example:Router(config-if)# exit
Returns to global configuration mode.
Step 7
router mobile
Example:Router(config)# router mobile
Enables Mobile IP on the router.
Step 8
exit
Example:Router(config-router)# exit
Returns to global configuration mode.
Step 9
ip mobile mobile-networks
Example:Router(config)# ip mobile mobile-networks
Configures mobile networks for the mobile host and enters mobile networks configuration mode.
Step 10
template tunnel interface-number
Example:Router(mobile-networks)# template tunnel 100
Designates the tunnel template to apply during registration.
•
The interface-number argument is set to the tunnel template defined in Step 4.
Step 11
end
Example:Router(mobile-networks)# end
Exits to privileged EXEC mode.
Step 12
show ip mobile tunnel
Example:Router# show ip mobile tunnel
Displays active tunnels.
•
Use this command to verify the configuration. See the display output in the "Examples" section.
Examples
The following example displays the active Mobile IP tunnels and the template configuration for the tunnel on the home agent:
Router# show ip mobile tunnelMobile Tunnels:Total mobile ip tunnels 2Tunnel1:src 1.1.1.1, dest 20.20.0.1encap IP/IP, mode reverse-allowed, tunnel-users 1IP MTU 1460 bytesPath MTU Discovery, mtu:0, ager:10 mins, expires:neveroutbound interface Tunnel0HA created, fast switching enabled, ICMP unreachable enabled27 packets input, 2919 bytes, 0 drops24 packets output, 2568 bytesRunning template configuration for this tunnel:ip pim sparse-dense-modeTunnel0:src 1.1.1.1, dest 30.30.10.2encap IP/IP, mode reverse-allowed, tunnel-users 1IP MTU 1480 bytesPath MTU Discovery, mtu:0, ager:10 mins, expires:neveroutbound interface Ethernet1/3HA created, fast switching enabled, ICMP unreachable enabled0 packets input, 0 bytes, 0 drops24 packets output, 3048 bytesApplying the Tunnel Template on the Mobile Router
This task describes how to apply the tunnel template to the tunnels brought up at the mobile router.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip multicast-routing
4.
interface tunnel interface-number
5.
ip pim sparse-mode
6.
exit
7.
router mobile
8.
exit
9.
ip mobile router
10.
template tunnel interface-number
11.
end
12.
show ip mobile tunnel
DETAILED STEPS
Command or Action PurposeStep 1
enable
Example:Router> enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
configure terminal
Example:Router# configure terminal
Enters global configuration mode.
Step 3
ip multicast-routing
Example:Router(config)# ip multicast-routing
Enables IP multicast routing.
Step 4
interface tunnel interface-number
Example:Router(config)# interface tunnel 100
Designates a tunnel interface and enters interface configuration mode.
•
This is the tunnel template that will be applied to the mobile networks.
Step 5
ip pim sparse-mode
Example:Router(config-if)# ip pim sparse-mode
Enables PIM on the tunnel interface in sparse mode.
Step 6
exit
Example:Router(config-if)# exit
Returns to global configuration mode.
Step 7
router mobile
Example:Router(config)# router mobile
Enables Mobile IP on the router.
Step 8
exit
Example:Router(config-router)# exit
Returns to global configuration mode.
Step 9
ip mobile router
Example:Router(config)# ip mobile router
Enables the mobile router and enters mobile router configuration mode.
Step 10
template tunnel interface-number
Example:Router(mobile-router)# template tunnel 100
Designates the tunnel template to apply during registration.
•
The interface number argument is set to the tunnel template defined in Step 4.
Step 11
end
Example:Router(mobile-router)# end
Exits to privileged EXEC mode.
Step 12
show ip mobile tunnel
Example:Router# show ip mobile tunnel
Displays active tunnels.
•
Use this command to verify the configuration. See the display output in the "Examples" section.
Examples
The following example displays the active Mobile IP tunnels and the template configuration for the tunnel on the mobile router:
Router# show ip mobile tunnelMobile Tunnels:Total mobile ip tunnels 1Tunnel0:src 20.20.0.1, dest 1.1.1.1encap IP/IP, mode reverse-allowed, tunnel-users 1IP MTU 1480 bytesPath MTU Discovery, mtu:0, ager:10 mins, expires:neveroutbound interface Ethernet4/2MR created, fast switching enabled, ICMP unreachable enabled22 packets input, 2468 bytes, 0 drops27 packets output, 2892 bytesRunning template configuration for this tunnel:ip pim sparse-modeConfiguration Examples for Tunnel Templates for Multicast
This section provides the following configuration example:
•
Tunnel Templates for Multicast Example
Tunnel Templates for Multicast Example
In the following example, a tunnel template is defined and configured to be brought up at the home agent and mobile router. The foreign agent does not require any additional configuration to support the Cisco Mobile Networks—Tunnel Templates for Multicast feature.
Home Agent Configuration
!ip multicast-routing!interface Loopback0ip address 1.1.1.1 255.255.255.255ip pim sparse-mode!!! Tunnel template to be applied to mobile networksinterface tunnel100ip address 13.0.0.1 255.0.0.0ip pim sparse-mode!!router mobileip mobile mobile-networks 11.1.0.1description jetnetwork 11.1.2.0 255.255.255.0network 11.1.1.0 255.255.255.0! Select tunnel template to apply during registrationtemplate tunnel100!ip mobile secure host 11.1.0.1 spi 101 key hex 12345678123456781234567812345678 algorithm md5 mode prefix-suffix!no ip mobile tunnel route-cache!Mobile Router Configuration
!ip multicast-routing!interface Loopback0ip address 11.1.0.1 255.255.255.255ip pim sparse-mode!!! Tunnel template to be applied to mobile networksinterface tunnel 100no ip addressip pim sparse-mode!!interface Ethernet1/1ip address 20.0.0.1 255.0.0.0ip pim sparse-modeip mobile router-service roam!router mobileip pim rp-address 7.7.7.7ip mobile secure home-agent 1.1.1.1 spi 102 key hex 23456781234567812345678123456781 algorithm md5 mode prefix-suffixip mobile routeraddress 11.2.0.1 255.255.0.0home-agent 1.1.1.1! Select tunnel template to apply during registrationtemplate tunnel 100register extend expire 5 retry 2 interval 15register lifetime 10000reverse-tunnel!Additional References
For additional information related to Cisco Mobile Networks—Tunnel Templates for Multicast, see the following sections:
•
MIBs
•
RFCs
Related Documents
Standards
Standards TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
RFCs
RFCs TitleNo new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.
—
Technical Assistance
Command Reference
This section documents new and modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.2 T command reference publications.
Modified Command
New Commands
•
template tunnel (mobile networks)
•
template tunnel (mobile router)
show ip mobile tunnel
To display active tunnels, use the show ip mobile tunnel command in EXEC mode.
show ip mobile tunnel [interface]
Syntax Description
Command Modes
EXEC
Command History
Usage Guidelines
This command displays active tunnels created by Mobile IP. When no more users are on the tunnel, the tunnel is released.
Examples
The following is sample output from the show ip mobile tunnel command:
Router# show ip mobile tunnelMobile Tunnels:Tunnel0:src 68.0.0.32, dest 68.0.0.48encap IP/IP, mode reverse-allowed, tunnel-users 1IP MTU 1480 bytesHA created, fast switching enabled, ICMP unreachable enabled0 packets input, 0 bytes, 0 drops1591241 packets output, 1209738478 bytesRoute Map is: MoIPMapRunning template configuration for this tunnel:ip pim sparse-dense-modeTable 1 describes the significant fields shown in the display.
Related Commands
template tunnel (mobile networks)
To apply a tunnel template to tunnels brought up at the home agent, use the template tunnel command in mobile networks configuration mode. To remove the tunnel template, use the no form of this command.
template tunnel interface-number
no template tunnel interface-number
Syntax Description
Defaults
No default behavior or values
Command Modes
Mobile networks configuration
Command History
Usage Guidelines
This command allows the configuration of multicast on statically created tunnels to be applied to dynamic tunnels brought up on the home agent.
Examples
The following example shows the template tunnel applied at the home agent:
! Tunnel template to be applied to mobile networksinterface tunnel 100ip pim sparse-mode!! Select tunnel template to apply during registratonip mobile mobile-networks 10.1.0.1template tunnel 100Related Commands
template tunnel (mobile router)
To apply a tunnel template to tunnels brought up at the mobile router, use the template tunnel command in mobile router configuration mode. To remove the tunnel template, use the no form of this command.
template tunnel interface-number
no template tunnel interface-number
Syntax Description
Defaults
No default behavior or values
Command Modes
Mobile router configuration
Command History
Usage Guidelines
This command allows the configuration of multicast on statically created tunnels to be applied to dynamic tunnels brought up on the mobile router.
Examples
The following example shows the template tunnel applied at the mobile router:
! Tunnel template to be applied to mobile networksinterface tunnel100ip pim sparse-mode!! Select tunnel template to apply during registrationip mobile routertemplate tunnel100Related Commands
Glossary
home agent—A router on a home network of the mobile node or that tunnels packets to the mobile node or mobile router while they are away from home. It keeps current location information for registered mobile nodes called a mobility binding.
mobile network—A network that moves with the mobile router. A mobile network is a collection of hosts and routes that are fixed with respect to each other but are mobile, as a unit, with respect to the rest of the Internet.
mobile router—A mobile node that is a router. It provides for the mobility of one or more entire networks moving together, perhaps on an airplane, a ship, a train, an automobile, a bicycle, or a kayak. The nodes connected to a network served by the mobile router may themselves be fixed nodes or mobile nodes or routers.
Note
Refer to Internetworking Terms and Acronyms for terms not included in this glossary.

