Configure A Gre Tunnel - Cisco CISCO851-K9 - 851 Integrated Services Router Configuration Manual

Access routers
Table of Contents

Advertisement

Configure a GRE Tunnel

Command or Action
Step 2
crypto map map-name
Example:
Router(config-if)# crypto map static-map
Router(config-if)#
Step 3
exit
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
Step 1
interface type number
Example:
Router(config)# interface tunnel 1
Router(config-if)#
Step 2
ip address subnet mask
Example:
Router(config-if)# ip address 10.62.1.193
255.255.255.255
Router(config-if)#
Step 3
tunnel source interface-type number
Example:
Router(config-if)# tunnel source
fastethernet 0
Router(config-if)#
Step 4
tunnel destination default-gateway-ip-address
Example:
Router(config-if)# tunnel destination
192.168.101.1
Router(config-if)#
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
7-8
Chapter 7
Configuring VPNs Using an IPSec Tunnel and Generic Routing Encapsulation
Purpose
Applies the crypto map to the interface.
See the
for more detail about this command.
Enters global configuration mode.
Purpose
Creates a tunnel interface and enters interface
configuration mode.
Assigns an address to the tunnel.
Specifies the source endpoint of the router for the
GRE tunnel.
Specifies the destination endpoint of the router for
the GRE tunnel.
Cisco IOS Security Command Reference
OL-5332-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents