![H3C S9500 Series Command Manual Download Page 342](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036342.webp)
Command Manual – GRE
H3C S9500 Series Routing Switches
Chapter 1 GRE Configuration Commands
1-5
Default Level
2: System level
Parameters
Ip-address
: Destination IPv4 address for the tunnel interface.
Ipv6-address
: Destination IPv6 address for the tunnel interface.
Description
Use the
destination
command to specify the destination address for a tunnel interface.
Use the
undo destination
command to remove the configuration.
By default, no destination address is configured for a tunnel interface.
Note that:
z
The destination address of a tunnel interface is the address of the peer interface
receiving packets. It is usually set to the source address of the peer tunnel
interface.
z
Two or more tunnel interfaces using the same encapsulation protocol must have
different source addresses and destination addresses.
Related commands:
interface tunnel
and
source
.
Examples
# Set VLAN interface 10 (193.101.1.1) of Switch 1 and VLAN interface 20 (192.100.1.1)
of Switch 2 as the source (destination) interface and destination (source) interface of
the tunnel between the two devices, mutually.
z
Configure Switch 1.
<Sysname1> system-view
[Sysname1] interface Tunnel 3/0/1
[Sysname1-Tunnel3/0/1] source 193.101.1.1
[Sysname1-Tunnel3/0/1] destination 192.100.1.1
z
Configure Switch 2.
<Sysname2> system-view
[Sysname2] interface Tunnel 4/0/1
[Sysname2-Tunnel4/0/1] source 192.100.1.1
[Sysname2-Tunnel4/0/1] destination 193.101.1.1
1.1.4 display interface tunnel
Syntax
display interface tunnel
[
number
]