05-Layer 3 - IP Services Command Reference

HomeSupportRoutersH3C SR8800 Router SeriesReference GuidesCommand ReferencesH3C SR8800 Command Reference-Release3347-6W10305-Layer 3 - IP Services Command Reference
14-GRE Commands
Title Size Download
14-GRE Commands 56.51 KB

GRE configuration commands

tunnel-protocol gre

Syntax

tunnel-protocol gre

undo tunnel-protocol

View

Tunnel interface view

Default level

2: System level

Parameters

None

Description

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

Use the undo tunnel-protocol to restore the default.

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

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

Related commands: interface tunnel.

Examples

# On router Sysname1, set the tunnel mode to GRE for the tunnel between Sysname1 and Sysname2.

<Sysname1> system-view

[Sysname1] interface tunnel 1

[Sysname1-Tunnel1] tunnel-protocol gre

# On router Sysname2, set the tunnel mode to GRE for the tunnel between Sysname1 and Sysname2.

<Sysname2> system-view

[Sysname2] interface tunnel 2

[Sysname2-Tunnel2] tunnel-protocol gre

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网