PLANET XGS3-24042 User Manual

Page 372

Advertising
background image

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 {<ipv6-address> |

<ipv4-address>}

no tunnel source

Configure the source address as the IPv6 or

IPv4 address for GRE tunnel.

tunnel destination {<ipv6-address>

| <ipv4-address>}

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 <ipv4-address>

<mask>

no ip address <ipv4-address>

<mask>

Configure the IPv4 address of GRE tunnel

interface.

ipv6 address

<ipv6-address/prefix>

no ipv6 address

<ipv6-address/prefix>

Configure the IPv6 address of GRE tunnel

interface.

4. Configure the egress interface of the static route as GRE tunnel

Command

Explanation

Global Mode

Advertising
This manual is related to the following products: