R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)
251
Ste
p
Command
Remarks
10. Specify a value for the
Recursion Control field in the
GRE header.
gre recursion recursion-value
Optional.
By default, the value of the
Recursion Control field in the GRE
header is 0, which means not to
limit the number of encapsulations.
11. Return to system view.
quit N/A
12. Configure the device to
discard the IPv4-compatible
IPv6 packets.
tunnel discard
ipv4-compatible-packet
Optional.
By default, the device does not
discard the IPv4-compatible IPv6
packets.
13. Configure a route for packet
forwarding through the
tunnel.
See Layer 3—IP Routing
Configuration Guide.
Each end of the tunnel must have a
route (static or dynamic) through
the tunnel to the other end.
For information about tunnel interfaces and related configurations, see "Configuring tunneling."
For more information about commands interface tunnel, tunnel-protocol, source, destination, and tunnel
discard ipv4-compatible-packet, see Layer 3—IP Services Command Reference.
Displaying and maintaining GRE
Task Command Remarks
Display information about a
specific or all tunnel interfaces.
display interface [ tunnel ] [ brief [ down ] ]
[ | { begin | exclude | include }
regular-expression ]
display interface tunnel number [ brief ] [ |
{ begin | exclude | include }
regular-expression ]
Available in any view.
Display IPv6 information about a
tunnel interface.
display ipv6 interface tunnel [ number ]
[ brief ] [ | { begin | exclude | include }
regular-expression ]
Available in any view.
For more information about commands display interface tunnel and display ipv6 interface tunnel, see
Layer 3—IP Services Command Reference.
GRE over IPv4 tunnel configuration example
Network requirements
As shown in Figure 101, Router A and Router B are interconnected through the Internet. Two private IPv4
subnets Group 1 and Group 2 are interconnected through a GRE tunnel between the two routers.










