destination ip

Syntax

destination ip没有destination ip

描述

Sets the destination IP address for an IP tunnel. Specify the address of the interface on the remote device to which the tunnel will be established.

The没有form of this command deletes the destination IP address from an IP tunnel.

Command context

config-gre-if

config-ip-if

Parameters

Specifies the destination IP address in IPv4 format (x.x.x.x), wherexis a decimal number from 0 to 255.

权威

Administrators or local user group members with execution rights for this command.

Examples

Defines the destination IP address to be10.10.10.1for GRE tunnel33.
switch(config)#interface tunnel 33 mode gre ipv4switch(config-gre-if)#destination ip 10.10.10.1
Deletes the destination IP address10.10.10.1from GRE tunnel33.
switch(config)#interface tunnel 33switch(config-gre-if)#没有destination ip 10.10.10.1
Defines the destination IP address to be10.10.20.1在IPv4 IPv6隧道27.
switch(config)#interface tunnel 27 mode ip 6in4switch(config-ip-if)#destination ip 10.10.20.1
Deletes the destination IP address10.10.20.1from IPv6 in IPv4 tunnel27.
switch(config)#interface tunnel 27switch(config-ip-if)#没有destination ip 10.10.20.1