1756 CHAPTER 103: GRE CONFIGURATION COMMANDS

Related command: interface tunnel and destination.

Example # Create interface Tunnel5 and configure Serial2/0 (192.100.1.1) as its source interface.

<Sysname> system-view [Sysname] interface tunnel 5 [Sysname-Tunnel5] source 192.100.1.1

Or

[Sysname-Tunnel5] source serial 2/0

tunnel-protocol gre

Syntax tunnel-protocol gre [ ipv6 ]

undo tunnel-protocol

View Tunnel interface view

Parameter ipv6: Sets the tunnel mode to GRE over IPv6.

Description Use the tunnel-protocol gre command to set the GRE tunnel mode.

Use the undo tunnel-protocolto restore the default.

By default, the GRE tunnel mode is GRE over IPv4.

Without the ipv6 keyword, the command sets the GRE tunnel mode to GRE over

IPv4.

Select a tunnel mode according to the network topology and application. Note that both ends of a tunnel must be configured with the same tunnel mode. Otherwise, packet delivery will fail.

Related command: interface tunnel.

Example # Set the tunnel mode to GRE over IPv4 for the tunnel between Sysname1 and Sysname2.

<Sysname1> system-view [Sysname1] interface tunnel 3 [Sysname1-Tunnel3] tunnel-protocol gre <Sysname2> system-view

[Sysname2] interface tunnel 2 [Sysname2-Tunnel2] tunnel-protocol gre

Page 1756
Image 1756
3Com MSR 30, MSR 50 manual Tunnel-protocol gre, Syntax tunnel-protocol gre ipv6 Undo tunnel-protocol