PLANET XGS3-24042 User Manual
Page 372

43-6
Command
Explanation
Tunnel interface configuration mode
tunnel mode gre ip
no tunnel mode
Configure the tunnel mode as GREv4 tunnel.
After the data packet is encapsulated with GRE,
it has a head of IPv4 packets, and passes the
IPv4 network.
tunnel mode gre ipv6
no tunnel mode
Configure the tunnel mode as GREv6 tunnel.
After the data packet is encapsulated with GRE,
it has the head of IPv6 packets, and passes the
IPv6 network.
2. Configure the source address and the destination address of GRE tunnel
Command
Explanation
Tunnel interface configuration mode
tunnel source {
no tunnel source
Configure the source address as the IPv6 or
IPv4 address for GRE tunnel.
tunnel destination {
|
no tunnel destination
Configure the destination address as the IPv6 or
IPv4 address for GRE tunnel.
3. Configure the interface address of GRE tunnel
Command
Explanation
Tunnel interface configuration mode
ip address
no ip address
Configure the IPv4 address of GRE tunnel
interface.
ipv6 address
no ipv6 address
Configure the IPv6 address of GRE tunnel
interface.
4. Configure the egress interface of the static route as GRE tunnel
Command
Explanation
Global Mode