7-8
Cisco Secure Router 520 Series Software Configuration Guide
OL-14210-01
Chapter 7 Configuring VPNs Using an IPsec Tunnel and Generic Routing Encapsulation
Configure a GRE Tunnel
Configure a GRE Tunnel
Perform these steps to configure a GRE tunnel, beginning in global configuration mode:
Step 2 crypto map map-name
Example:
Router(config-if)# crypto map static-map
Router(config-if)#
Applies the crypto map to the interface.
See the Cisco IOS Security Command Reference
for more detail about this command.
Step 3 exit
Example:
Router(config-if)# exit
Router(config)#
Enters global configuration mode.
Command or Action Purpose
Command or Action Purpose
Step 1 interface type number
Example:
Router(config)# interface tunnel 1
Router(config-if)#
Creates a tunnel interface and enters interface
configuration mode.
Step 2 ip address ip-address subnet mask
Example:
Router(config-if)# ip address 10.62.1.193
255.255.255.255
Router(config-if)#
Assigns an address to the tunnel.
Step 3 tunnel source interface-type number
Example:
Router(config-if)# tunnel source
fastethernet 0
Router(config-if)#
Specifies the source endpoint of the router for the
GRE tunnel.
Step 4 tunnel destination default-gateway-ip-address
Example:
Router(config-if)# tunnel destination
192.168.101.1
Router(config-if)#
Specifies the destination endpoint of the router for
the GRE tunnel.