Cisco Cisco Packet Data Gateway (PDG) Folheto

Página de 8487
  GRE Tunnel Interface Configuration Mode Commands 
source  ▀   
 
Cisco ASR 5x00 Command Line Interface Reference  ▄  
 
   
5759 
source 
This command configures the source IP address of the tunnel either by specifying the IP address (host address) or by 
specifying another configured non-tunnel IP interface. This is a mandatory configuration for GRE tunnel interface. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > Tunnel Interface Configuration > GRE Tunnel Interface 
Configuration 
configure > context context_name > interface interface_name tunnel > tunnel-mode gre
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-if-tunnel-mode)# 
Syntax
 
[ no ] source { address ip_address | interface interface_name } 
no
 
Removes/disassociates the configured source IP address or host interface from a specific GRE tunnel 
interface configuration. 
address ip_address
 
Configures the IP address for the interface specifying the IP address. 
ip_address
 must be specified using IPv4 dotted-decimal notation. 
interface interface_name
 
Specifies the name of the preconfigured non-tunnel IP interface, whose address is used as the source address 
of the GRE tunnel. 
Usage 
Use this command to configure the source IP address of the tunnel either by specifying the IP address (host 
address) or by specifying another configured non-tunnel IP interface for GRE tunnel interface. 
Important:
  State of source address will affect the operational state of the tunnel. 
Example
 
The following command sets the 10.2.3.4 as source IP address of the GRE tunnel interface: 
source address 10.2.3.4