Displaying gre tunneling information – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 749

Advertising
background image

Multi-Service IronWare Switching Configuration Guide

719

53-1003036-02

GRE IP tunnel

19

Brocade(config-tnif-1)# ip address 10.10.3.1/24

Brocade(config-tnif-1)# keepalive 5 4

Brocade(config-tnif-1)# exit

Brocade(config)# ip route 10.10.2.0/24 10.10.3.2

Configuration example for Brocade B

Brocade(config)# interface ethernet 5/1

Brocade(config-if-e10000-5/1)# ip address 131.108.5.2/24

Brocade(config)# interface tunnel 1

Brocade(config-tnif-1)# tunnel source ethernet 5/1

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

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

Brocade(config-tnif-1)# keepalive 5 4

Brocade(config-tnif-1)# ip address 10.10.3.2/24

Brocade(config-tnif-1)# exit

Brocade(config)# ip route 10.10.1.0/24 10.10.3.1

NOTE

Traffic from a GRE tunnel entering a MPLS tunnel is not supported.

Displaying GRE tunneling information

You can display GRE tunneling information using the show ip interface, show ip route and show
interface tunnel commands as shown in the following.

Brocade# show ip interface tunnel 1

Interface Tunnel 1

port enabled

port state: UP

ip address: 10.255.255.13/24

Port belongs to VRF: default

encapsulation: ETHERNET, mtu: 1476

directed-broadcast-forwarding: disabled

ip icmp redirect: enabled

No inbound ip access-list is set

No outbound ip access-list is set

No Helper Addresses are configured.

Syntax: show ip interface tunnel tunnel-no

The show ip route command displays routes that are pointing to a GRE tunnel as shown in the
following.

Brocade# show ip route

Total number of IP routes: 6

Type Codes - B:BGP D:Connected I:ISIS S:Static R:RIP O:OSPF; Cost -

Destination Gateway Port Cost Type

2 10.10.10.0/24 DIRECT gre_tnl 1 0/0 D

Brocade# show interface tunnel 1

Tunnel1 is up, line protocol is up

Hardware is Tunnel

Tunnel source 10.45.3.3

Tunnel destination is 10.45.48.1

Tunnel mode gre ip

No port name

Internet address is 10.255.255.13/24,

Tunnel TOS 0, Tunnel TTL 255 MTU 1476 bytes

Keepalive is not Enabled

Advertising