Chapter 7 Configuring VPNs Using an IPsec Tunnel and Generic Routing Encapsulation

Configure a GRE Tunnel

 

Command or Action

Purpose

Step 2

 

 

crypto map map-name

Applies the crypto map to the interface.

 

Example:

See the Cisco IOS Security Command Reference

 

for more detail about this command.

 

 

 

Router(config-if)#crypto map static-map

 

 

Router(config-if)#

 

Step 3

 

 

exit

Enters global configuration mode.

 

Example:

 

 

Router(config-if)# exit

 

 

Router(config)#

 

 

 

 

Configure a GRE Tunnel

Perform these steps to configure a GRE tunnel, beginning in global configuration mode:

 

Command or Action

Purpose

Step 1

 

 

interface type number

Creates a tunnel interface and enters interface

 

 

configuration mode.

 

Example:

 

 

Router(config)# interface tunnel 1

 

 

Router(config-if)#

 

Step 2

 

 

ip address ip-address subnet mask

Assigns an address to the tunnel.

 

Example:

 

 

Router(config-if)#ip address 10.62.1.193

 

 

255.255.255.255

 

 

Router(config-if)#

 

Step 3

 

 

tunnel source interface-type number

Specifies the source endpoint of the router for the

 

 

GRE tunnel.

 

Example:

 

 

Router(config-if)# tunnel source

 

 

fastethernet 0

 

 

Router(config-if)#

 

Step 4

 

 

tunnel destination default-gateway-ip-address

Specifies the destination endpoint of the router for

 

 

the GRE tunnel.

 

Example:

 

 

Router(config-if)# tunnel destination

 

 

192.168.101.1

 

 

Router(config-if)#

 

 

 

 

Cisco Secure Router 520 Series Software Configuration Guide

7-8

OL-14210-01

 

 

Page 84
Image 84
Cisco Systems 520 series manual Configure a GRE Tunnel, 192.168.101.1