Enabling gre encapsulation on a tunnel interface – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 120

Advertising
background image

102

Brocade ICX 6650 Layer 3 Routing Configuration Guide

53-1002603-01

IPv4 point-to-point GRE tunnels

Deleting an IP address from an interface configured as a tunnel source

To delete an IP address from an interface that is configured as a tunnel source, first remove the
tunnel source from the tunnel interface then delete the IP address, as shown in the following
example.

Brocade(config-if-e1000-1/1/3)# interface tunnel 8

Brocade(config-tnif-8)# no tunnel source 192.168.83.15

Brocade(config-tnif-8)# interface ethernet 1/1/3

Brocade(config-if-e10000-1/1/3)# no ip address 192.168.83.15/24

If you attempt to delete an IP address without first removing the tunnel source, the console will
display an error message, as shown in the following example.

Brocade# config terminal

Brocade(config)# interface ethernet 1/1/3

Brocade(config-if-e10000-1/1/3)# no ip address 192.168.83.15/24

Error - Please remove tunnel source from tnnl 8 before removing IP address

NOTE

The previous error message will also display on the CLI when an interface is part of a VLAN. A VLAN
cannot be deleted until the tunnel source is first removed.

Configuring the destination address for a tunnel interface

The destination address should be the address of the IP interface of the device on the other end of
the tunnel.

To configure the destination address for a specific tunnel interface, enter commands such as the
following.

Brocade(config)# interface tunnel 1

Brocade(config-tnif-1)# tunnel destination 192.168.5.2

Syntax: [no] tunnel destination ip-address

The ip-address variable is the destination IP address being configured for the specified tunnel.

NOTE

Ensure a route to the tunnel destination exists on the tunnel source device. Create a static route if
necessary. For configuration details, refer to

“Configuring a static route to a tunnel destination”

on

page 103.

Enabling GRE encapsulation on a tunnel interface

To enable GRE encapsulation on a tunnel interface, enter commands such as the following.

Brocade(config)# interface tunnel 1

Brocade(config-tnif-1)# tunnel mode gre ip

Syntax: [no] tunnel mode gre ip

gre specifies that the tunnel will use GRE encapsulation (IP protocol 47).

ip specifies that the tunneling protocol is IPv4.

Advertising