Applying the Tunnel Template on the Mobile Router
2
Tunnel Templates
Use the
show ip mobile tunnel
command to display the active tunnels. The following example displays
the active Mobile IP tunnels and the template configuration for the tunnel on the home agent:
Router#
show ip mobile tunnel
Mobile Tunnels:
Total mobile ip tunnels 2
Tunnel1:
src 1.1.1.1, dest 20.20.0.1
encap IP/IP, mode reverse-allowed, tunnel-users 1
IP MTU 1460 bytes
Path MTU Discovery, mtu:0, ager:10 mins, expires:never
outbound interface Tunnel0
HA created, fast switching enabled, ICMP unreachable enabled
27 packets input, 2919 bytes, 0 drops
24 packets output, 2568 bytes
Running template configuration for this tunnel:
ip pim sparse-dense-mode
Tunnel0:
src 1.1.1.1, dest 30.30.10.2
encap IP/IP, mode reverse-allowed, tunnel-users 1
IP MTU 1480 bytes
Path MTU Discovery, mtu:0, ager:10 mins, expires:never
outbound interface Ethernet1/3
HA created, fast switching enabled, ICMP unreachable enabled
0 packets input, 0 bytes, 0 drops
24 packets output, 3048 bytes
Applying the Tunnel Template on the Mobile Router
To apply the tunnel template to the tunnels brought up at the mobile router, follow this example:
wd>
enable
wd>
password
! If prompted
wd#
configure terminal
wd(config)#
ip multicast-routing
! Enables IP multicast routing.
wd(config)#
interface tunnel
interfacenumber
! Designates a tunnel interface and enters
interface configuration mode. This is the tunnel template that will be applied to the
mobile networks.
wd(config-in)#
ip pim sparse-mode
! Enables Protocol Independent Multicast (PIM)
on the tunnel interface in sparse mode.
wd(config)#
exit
wd(config)#
router mobile
! Enables Mobile IP on the router.
wd(config)#
ip router mobile
! Enables the mobile router and enters mobile
router configuration mode.
wd(config)#
tunnel template
interfacenumber
! Designates the tunnel template to apply during
registration. The interfacenumber argument is set to the tunnel template.
wd(config)#
end
Use the
show ip mobile tunnel
command to display the active tunnels.