• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

05-三层技术-IP业务命令参考

目录

14-GRE命令

本章节下载 14-GRE命令  (72 KB)

docurl=/cn/Service/Document_Software/Document_Center/Routers/Catalog/SR_Router/SR8800/Command/Command_Manual/H3C_SR8800_CR-R3623-6W100/05/201311/805372_30005_0.htm

14-GRE命令


1 GRE配置命令

1.1.1  tunnel-protocol gre

【命令】

tunnel-protocol gre

undo tunnel-protocol

【视图】

Tunnel接口视图

【缺省级别】

2:系统级

【参数】

【描述】

tunnel-protocol gre命令用来配置GRE隧道模式。undo tunnel-protocol命令用来恢复为缺省的隧道模式。

缺省情况下,采用GRE over IPv4隧道模式。

可以根据网络拓扑和应用来选择适当的隧道模式,以进行不同方式的报文封装。在隧道的两端应配置相同的隧道模式,否则可能造成报文传输失败。

相关配置可参考命令interface tunnel

【举例】

# 在路由器Sysname1上,配置该路由器上与Sysname2之间的隧道模式为GRE

<Sysname1> system-view

[Sysname1] interface tunnel 1

[Sysname1-Tunnel1] tunnel-protocol gre

# 在路由器Sysname2上,配置该路由器上与Sysname1之间的隧道模式为GRE

<Sysname2> system-view

[Sysname2] interface tunnel 2

[Sysname2-Tunnel2] tunnel-protocol gre

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们