gre6
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.
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| R | running | running |
| Argument | Type | Description |
|---|---|---|
| name | string | Name of the tunnel. |
| mtu | num | Layer3 maximum transmission unit of the tunnel. Default: auto — the router subtracts the 44-byte GRE/IPv6 overhead from the outgoing interface MTU (actual-mtu is 1456 on a 1500-byte interface). |
| local-address | ip6Addr | IPV6 address used for the local tunnel end. |
| remote-address ( mandatory ) | address (flags=6Dvi) | IPV6 address of the remote tunnel end. |
| keepalive | super { keepalive-interval: time [1 .. ] , [keepalive-retries] [ ,num [1 .. ]] } | The keepalive parameter sets how often the router checks the remote end of the tunnel: the router sends GRE echo probes to the remote end every |
| dscp | num | DSCP value of the packet. Inherited means the DSCP value is inherited from the tunneled traffic. |
| clamp-tcp-mss | bool | Controls whether to change the MSS size for received TCP SYN packets. When enabled, the router changes the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet still contains the original MSS, and only after decapsulation the MSS is changed. |
| dont-fragment | bool | Whether to include the DF bit in related packets. Default:
|
| ipsec-secret (syscap=security) | string | When a secret is specified, the router adds a dynamic IPsec peer to remote-address with a pre-shared key and policy (by default phase2 uses sha1/aes128cbc). |
| Read-only Argument | Type | Description |
|---|---|---|
| actual-mtu | num | Actual maximum transmission unit of the tunnel. |
| current-remote-address | ip6Addr | Current IPv6 address of the remote end. |