/interface/gre6
gre6
Generic Routing Encapsulation (GRE) is a tunneling protocol originally developed by Cisco to encapsulate a wide variety of network layer protocols over an IP network.
interface/gre6
Type: Directory
Generic Routing Encapsulation (GRE) is a tunneling protocol originally developed by Cisco to encapsulate a wide variety of network layer protocols over an IP network.
| 标志 | 名称 | 描述 |
|---|---|---|
X | disabled | 已禁用 |
R | running | 运行中 |
| 参数 | 类型 | 描述 |
|---|---|---|
name | string | 隧道名称。 |
mtu | num | 三层最大传输单元。 |
local-address | ip6Addr | 用于本地隧道端点的 IPv6 地址。 |
remote-address * | address (flags=6Dvi) | 远程隧道端点的 IPv6 地址。 |
keepalive | super { keepalive-interval: time [1 .. ] , [keepalive-retries] [ ,num [1 .. ]] } | keepalive 参数设置即使隧道远端宕机,隧道运行标志仍保持的时间间隔。如果配置的时间和重试次数都不成功,则移除接口运行标志。 参数采用以下格式:KeepaliveInterval,KeepaliveRetries 其中 KeepaliveInterval 是时间间隔,KeepaliveRetries 是重试次数。 默认情况下,keepalive 设置为 10 秒和 10 次重试。 |
dscp | num | 数据包的 DSCP 值。Inherited 表示 DSCP 值继承自隧道流量。 |
clamp-tcp-mss | bool | 控制是否更改接收到的 TCP SYN 数据包的 MSS 大小。启用后,如果当前 MSS 大小超过隧道接口 MTU(考虑 TCP/IP 开销),路由器会更改接收到的 TCP SYN 数据包的 MSS 大小。接收到的封装数据包仍包含原始 MSS,只有在解封装后才会更改 MSS。 |
dont-fragment | bool | 是否在相关数据包中包含 DF 位。 - no - 必要时分片。 - inherit - 使用原始数据包的 DF 标志。 |
ipsec-secret | string | 指定密钥后,路由器会向 remote-address 添加一个动态 IPsec 对等体,并使用预共享密钥和策略(默认情况下 phase2 使用 sha1/aes128cbc)。 |
| 只读参数 | 类型 | 描述 |
|---|---|---|
actual-mtu | num | |
current-remote-address | ip6Addr |