source-ipv4-addr
Configures the source IP address for
encapsulation of outgoing packets.
Syntax
no source-ipv4-addr
ip-addr
Parameters
- ip-addr
- Specifies the source IP address.
Usage Guidelines
Validations for the command are as follows:
- Valid IP addresses must be provided.
- One IP address per encapsulation is allowed. The configured
IP address must be removed before you configure a new IP
address.
- If the same command is run more
than once, the second and subsequent instances are ignored
and no error is reported.
- If the no form of the command is run
without the configuration, the command is ignored and no
error is reported.
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