The global-gre forward-mode command configures the forwarding mode for all distributed GRE tunnels.
The undo global-gre forward-mode command cancels the configuration.
By default, the forwarding mode of distributed GRE tunnels is through.
Parameter | Description | Value |
---|---|---|
through |
Indicates that the forwarding mode of distributed GRE tunnels is software loopback, which is also called the high-performance forwarding mode. |
- |
loopback |
Indicates that the forwarding mode of distributed GRE tunnels is hardware loopback, which is also called the low-performance forwarding mode. |
- |
Usage Scenario
Distributed GRE tunnels on the
Router support two forwarding modes: through and loopback. By default, the forwarding mode of distributed GRE tunnels is through.Precautions
The global-gre forward-mode command takes effect for distributed GRE tunnels only.
Distributed GRE tunnels can work in either software loopback or hardware loopback mode. When working in software loopback mode, a GRE interface has a bandwidth equal to the maximum bandwidth supported by the interface board. When working in hardware loopback mode, a GRE interface has a bandwidth half of that supported by the interface board. If high forwarding performance is required, using the software loopback mode is recommended. In VPLS over distributed GRE tunnel scenarios, removing a board may cause packet loss or redundancy in the broadcast, multicast, or unknown unicast services of some VSIs.In VS mode, this command is supported only by the admin VS.