Configuring Logical Layer 3 Gre Tunnel Interfaces - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring Logical Layer 3 GRE Tunnel Interfaces

Configuring Logical Layer 3 GRE Tunnel Interfaces
Generic Routing Encapsulation (GRE) is a tunneling protocol used to encapsulate network layer
protocols inside virtual point-to-point links. A GRE tunnel only provides encapsulation and not
encryption.
Beginning in Cisco IOS XE Release 3.7.1E, GRE tunnels are supported on the hardware on
Note
Catalyst 4500 series switches.
When GRE is configured without tunnel options, packets are hardware-switched. When GRE is
configured with tunnel options (such as key, checksum, etc.), packets are switched in the software.
Multicast routing is not supported on GRE tunnels, so PIM configuration is not supported on a GRE
tunnel interface.
To configure a GRE tunnel, perform this task:
Command
Step 1
Switch(config)# interface tunnel number
Step 2
Switch(config-if)# ipv6 address ip_address
subnet_mask
Step 3
Switch(config-if)# ip address ip_address subnet_mask
Step 4
Switch(config-if)# tunnel source {ip-address | type
number}
Step 5
Switch(config-if)# tunnel destination {hostname |
ip-address}
Step 6
Switch(config-if)# tunnel mode gre ip
Step 7
Switch(config-if)# end
Step 8
Switch# copy running-config startup-config
Step 9
Switch# show running-config interface tunnel number
This example shows how to configure the logical Layer 3 GRE tunnel interface tunnel 2:
Switch> enable
Switch# config term
Switch(config)# interface tunnel 2
Switch(config-if)# ipv6 address 1001:1::1/64
Switch(config-if)# ip address 100.1.1.1 255.255.255.0
Switch(config-if)# tunnel source 10.10.10.1
Switch(config-if)# tunnel destination 10.10.10.2
Switch(config-if)# tunnel mode gre ip
Switch(config-if)# end
Configuring Logical Layer 3 VLAN Interfaces
Note
Before you can configure logical Layer 3 VLAN interfaces, you must create and configure the VLANs
on the switch, assign VLAN membership to the Layer 2 interfaces, enable IP routing if IP routing is
disabled, and specify an IP routing protocol.
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
35-6
Chapter 35
Purpose
Enables tunneling on the interface.
Configures the IPv6 address and subnet mask.
Configures the IP address and IP subnet.
Configures the tunnel source.
Configures the tunnel destination.
Configures the tunnel mode.
Exits configuration mode.
Saves your configuration changes to NVRAM.
Verifies the configuration.
Configuring Layer 3 Interfaces

Advertisement

Table of Contents
loading

Table of Contents