ZXR10 GER (V2.6.03) General Excellent Router User Manual Volume-I
270 Confidential and Proprietary Information of ZTE CORPORATION
6. To configure the GRE tunnel and to enable the tunnel
checksum option, use tunnel checksum command in tunnel
configuration mode as shown in
Table 319.
TABLE 319 TUNNEL CHECKSUM COMMAND
Command
Format
Command
Mode
Command Function
tunnel key
<key>
Interface
configuration
This configures the GRE tunnel
and to enable the tunnel
checksum option
Result: This configures the GRE tunnel and to enable the
tunnel checksum option.
E
ND OF STEPS
GRE Maintenance and Diagnosis
Use the debug gre command to output the debugging contents
of the GRE tunnel encapsulation information, for the
convenience of troubleshooting.
GRE Configuration Example
Suppose the public network of a router R1 in place A of a certain
cooperation is 100.1.1.1, and private network is 10.1.1.0/24;
and public network of a router R2 in place B is 200.1.1.1 and
private network is 172.16.0.0/16. To interconnect the network
segments of the private networks in the two places, and to
realize the VPN function, use the following configuration.
R1 configuration:
ZXR10_R1#config terminal
ZXR10_R1(config)#interface tunnel1
ZXR10
R1(config)#ip address 192.168.1.1
255.255.255.252
ZXR10_R1(config-if)#tunnel source 100.1.1.1
ZXR10_R1(config-if)#tunnel destination 200.1.1.1
ZXR10_R1(config-if)#tunnel key test
ZXR10_R1(config-if)#exit
ZXR10
R1(config)#ip route 172.16.0.0 255.255.0.0
192.168.1.2