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.
T
3 1 9 T
A B L E
U N N E L
Command
Command
Format
Mode
tunnel key
Interface
<key>
configuration
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
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:
Z X R 1 0 _ R 1 # c o n f i g t e r m i n a l
Z X R 1 0 _ R 1 ( c o n f i g ) # i n t e r f a c e t u n n e l 1
Z X R 1 0 _ R 1 ( c o n f i g ) # i p
2 5 5 . 2 5 5 . 2 5 5 . 2 5 2
Z X R 1 0 _ R 1 ( c o n f i g - i f ) # t u n n e l s o u r c e 1 0 0 . 1 . 1 . 1
Z X R 1 0 _ R 1 ( c o n f i g - i f ) # t u n n e l d e s t i n a t i o n 2 0 0 . 1 . 1 . 1
Z X R 1 0 _ R 1 ( c o n f i g - i f ) # t u n n e l k e y t e s t
Z X R 1 0 _ R 1 ( c o n f i g - i f ) # e x i t
Z X R 1 0 _ R 1 ( c o n f i g ) # i p
1 9 2 . 1 6 8 . 1 . 2
C
C
H E C K S U M
O M M A N D
Command Function
This configures the GRE tunnel
and to enable the tunnel
checksum option
encapsulation
a d d r e s s
r o u t e
1 7 2 . 1 6 . 0 . 0
information,
for
1 9 2 . 1 6 8 . 1 . 1
2 5 5 . 2 5 5 . 0 . 0
the