The tunnel-protocol command configures the tunnel protocol on a tunnel interface.
The undo tunnel-protocol command restores the tunnel protocol to the default configuration.
By default, no tunnel protocol is used on a tunnel interface.
tunnel-protocol { gre | ipv6-ipv4 [ 6to4 | isatap ] | ipv4-ipv6 | mpls te | none }
undo tunnel-protocol
Parameter | Description | Value |
---|---|---|
gre |
Indicate that the GRE tunnel protocol is configured on a tunnel interface. NOTE:
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support the parameter. |
- |
ipv4-ipv6 |
Indicate that the IPv4 to IPv6 tunnel protocol is configured on a tunnel interface. NOTE:
Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support the parameter. |
- |
ipv6-ipv4 [ 6to4 | isatap ] |
Configure the tunnel protocol of the tunnel interface as ipv6-ipv4:
NOTE:
Only the S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support these parameter. |
- |
mpls te |
Indicate that the MPLS TE tunnel protocol is configured on a tunnel interface. NOTE:
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support the parameter. |
- |
none |
Indicate that no tunnel protocol is configured on a tunnel interface. |
- |
Usage Scenario
After creating a tunnel interface using the interface tunnel command, run the tunnel-protocol command to configure the tunnel encapsulation mode for the tunnel interface.
Precautions