Configures the IPv4
address for this tunnel interface.
Privilege:
Security Administrator,
Administrator
Mode:
Exec > Global Configuration
> Context Configuration > Tunnel Interface Configuration
configure > context context_name > interface interface_name tunnel
Entering the above
command sequence results in the following prompt:
[context_name]host_name(config-if-tunnel)#
Syntax
ip address [ip_address/ip_mask | ip_address ip_mask]
no ip address ip_address
no
Removes the configured
IPv4 address bound to a tunnel interface.
ip_address/ip_mask | ip_address ip_mask
Specifies a destination
IP address or group of addresses that will use this route.
ip_address/ip_mask:
Specifies a combined IP address subnet mask bits to indicate what
IP addresses to which the route applies. ip_address/ip_mask must
be specified using IPv4 dotted-decimal and CIDR notation. ip_maskis
an integer which is the number of bits in the subnet mask.
ip_address ip_mask:
Specifies an IP address and the networking (subnet) mask pair which
is used to identify the set of IP addresses to which the route applies. ip_address must
be specified using the IPv4 dotted-decimal notation. ip_mask must
be specified using the IPv4 dotted-decimal notation as network mask
for subnets.
The mask as specified
by ip_mask or
resulting from ip_address/ip_mask is
used to determine the network for packet routing.
Zeroes (“0”)
in the resulting mask indicate that the corresponding bit in the
IP address is not significant in determining the network for packet
routing.
Ones (“1”)
in the resulting mask indicate the corresponding bit in the IP address
is significant in determining the network.
Usage:
Use this command to
bind the IPv4 address to a tunnel interface. This address does not affect
the encapsulation of packets going out on the tunnel interface.
Example:
The following command
will assign the
10.2.3.4 as
IPv4 address to this tunnel interface:
ip address 10.2.3.4