source-ipv4-addr
Configures the source IP address for
encapsulation of outgoing packets.
Syntax
no source-ipv4-addr
ip-addr
Parameters
- source-ipv4-addr
ip-addr
- Specifies the IP address to be configured as
source IP.
Usage Guidelines
Validations for the command are as follows:
- Valid IP addresses must be provided.
- One IP address per encapsulation is allowed. Already
configured IP address must be removed before configuring a
new IP address.
- If the same command is executed
more than once, the second and subsequent executions 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