Cisco Systems C819GUK9 Creates a tunnel interface and enters interface, GRE tunnel, 9-18, Purpose

Models: C819GUK9

1 196
Download 196 pages 51.42 Kb
Page 112
Image 112
Creates a tunnel interface and enters interface

Chapter 9 Configuring Security Features

Configuring VPN

DETAILED STEPS

 

Command or Action

Purpose

Step 1

 

 

interface type number

Creates a tunnel interface and enters interface

 

Example:

configuration mode.

 

 

 

 

Router(config)# interface tunnel 1

 

 

 

Router(config-if)#

 

 

Step 2

 

 

ip address ip-address mask

Assigns an address to the tunnel.

 

Example:

 

 

 

Router(config-if)# 10.62.1.193

 

 

 

255.255.255.252

 

 

 

Router(config-if)#

 

 

Step 3

 

 

tunnel source interface-type number

Specifies the source endpoint of the router for the

 

Example:

GRE tunnel.

 

 

 

 

Router(config-if)# tunnel source

 

 

 

fastethernet 0

 

 

 

Router(config-if)#

 

 

Step 4

 

 

tunnel destination

Specifies the destination endpoint of the router for

 

default-gateway-ip-address

the GRE tunnel.

 

Example:

 

 

 

Router(config-if)# tunnel destination

 

 

 

192.168.101.1

 

 

 

Router(config-if)#

 

 

Step 5

 

 

crypto map map-name

Assigns a crypto map to the tunnel.

 

Example:

Note

Dynamic routing or static routes to the

 

 

tunnel interface must be configured to

 

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

 

 

 

establish connectivity between the sites.

 

Router(config-if)#

 

 

 

 

Step 6

 

 

exit

Exits interface configuration mode and returns to

 

Example:

global configuration mode.

 

 

 

 

Router(config-if)# exit

 

 

 

Router(config)#

 

 

Step 7

 

 

ip access-list {standard extended}

Enters ACL configuration mode for the named

 

access-list-name

ACL that is used by the crypto map.

 

Example:

 

 

 

Router(config)# ip access-list extended

 

 

 

vpnstatic1

 

 

 

Router(config-acl)#

 

 

 

 

 

 

 

Cisco 819 Series Integrated Services Routers Software Configuration Guide

9-18

OL-23590-02

Page 112
Image 112
Cisco Systems C819GUK9 Creates a tunnel interface and enters interface, Assigns an address to the tunnel, GRE tunnel, 9-18