destination-ipv4-addr
Configures the destination IPv4 address
for the encapsulation of outgoing packets.
Syntax
destination-ipv4-addr
ip-addr
no
destination-ipv4-addr
ip-addr
Parameters
-
ip-addr
- Specifies the IPv4 address to be configured
as the destination IP address.
Usage Guidelines
Validations for the command are as follows:
- Valid IP addresses must be provided. The following addresses are considered invalid IP
addresses:
- Unspecified IP address
(0.0.0.0)
- Broadcast IP address
(255.255.255.255)
- Multicast IP addresses
(224.x.x.x to 240.x.x.x)
- 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 destination IP address.
device(config-encap-1)# destination-ipv4-addr 20.20.20.1
Show running:
device# show running-configuration
encap encap-1
destination-ipv4-addr 20.20.20.1