Name

tunnel source — interface

Synopsis

tunnel source source
no tunnel source source

Configures

The source IP address of the tunnel

Default

None

Description

This command specifies the tunnel’s source IP address.

Example

The following commands set up a tunnel that uses the address of the serial0 interface as its source address. The destination of the tunnel is 172.25.1.1.

interface tunnel0
  tunnel source serial0
  tunnel destination 172.25.1.1
  tunnel mode gre ip

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.