Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 2 GRE Configuration Commands
3Com Corporation
2-7
times: The maximum number of keepalive message sending attempts. It is in the range
1 to 255 and defaults to 3.
Description
Use the keepalive command to enable the keepalive function of GRE and configure
the interval for sending keepalive messages and the maximum number of sending
attempts as well.
Use the undo keepalive command to disable the keepalive function.
By default, the keepalive function of GRE is disabled.
After you configure the keepalive command, the router sends GRE keepalive
messages regularly. If no response is received for a keepalive message that it has sent
upon the expiration of a specified period, the router resends the keepalive message. If
no response is received yet after the number of resending attempts exceeds the
specified limit, the protocol of the local tunnel interface goes down.
Related command: interface tunnel.
Example
# Configure the router to send GRE keepalive messages at intervals of 20 seconds and
for up to five times.
[Quidway-Tunnel0/0/5] keepalive 20 5
2.1.8 source
Syntax
source { ip-addr | interface-type interface-num }
undo source
view
Tunnel interface view
Parameter
ip-addr: Specifies IP address of the real interface sending GRE packets in the address
format of A.B.C.D.
interface-type interface-num: Specifies the real interface sending packets by specifying
its interface name and number. These interfaces include: Ethernet, Serial, ATM, Tunnel,
Loopback, etc.
Description
Use the tunnel source command to specify the source IP address or source interface
to be filled in the added IP header at the time of tunnel interface encapsulation.