destination-ipv4-addr
Configures destination IP address for
encapsulation of outgoing packets.
Syntax
destination-ipv4-addr
ip-addr
no
destination-ipv4-addr
ip-addr
Parameters
- destination-ipv4-addr
ip-addr
- Specifies the IP address to be configured as
destination IP.
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. 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.
Table 1. Error messages
Message |
Reason |
Error: Invalid IP address as source address
|
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)
|
% Value 'source-ipv4-addr' not in range
<1-254>. |
IPv4 Address should be configured in dotted decimal notation in a
valid subnet range. Example: 196.168.0.1 . |
Examples
The following example configures the destination ip address.
device(config-encap-1)# destination-ipv4-addr 20.20.20.1
device(config-encap-1)#
Show running:
device# show running-configuration
encap encap-1
destination-ipv4-addr 20.20.20.1