source-ipv4-addr

Configures the source IP address for encapsulation of outgoing packets.

Syntax

source-ipv4-addr ip-addr
no source-ipv4-addr ip-addr

Parameters

source-ipv4-addr ip-addr
Specifies the IP address to be configured as source IP.

Modes

Encap config mode

Usage Guidelines

Validations for the command are as follows:

Examples

The following example configures the source ipv4 address.

device(config-encap-1)# source-ipv4-addr 10.10.10.1 
device(config-encap-1)#  

Show running:  
device# show running-configuration 

encap encap-1 
source-ipv4-addr 10.10.10.1