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.

Modes

Encap config mode

Usage Guidelines

Validations for the command are as follows:

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