
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.
device(config-if-e1000-1/1/3)# interface tunnel 8
device(config-tnif-8)# no tunnel source 10.1.83.15
device(config-tnif-8)# interface ethernet 1/1/3
device(config-if-e1000-1/1/3)# no ip address 10.1.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.
device# config terminal
device(config)# interface ethernet 1/1/3
device(config-if-e1000-1/1/3)# no ip address 10.1.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.
device(config)# interface tunnel 1
device(config-tnif-1)# tunnel destination 131.108.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.
Enabling GRE encapsulation on a tunnel interface
To enable GRE encapsulation on a tunnel interface, enter commands such as the following.
device(config)# interface tunnel 1
device(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.
NOTE
Before configuring a new GRE tunnel, the system should have at least one slot available for adding the default tunnel MTU
value to the system tables. Depending on the configuration, the default tunnel MTU range is ((1500 or 10218) - 24) . To check
for slot availability, or to see if the MTU value is already configured in the IP table, use the
show ip mtu
command.
IPv4 point-to-point GRE tunnels
FastIron Ethernet Switch Layer 3 Routing
110
53-1003627-04
Содержание FastIron SX 1600
Страница 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Страница 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Страница 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Страница 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Страница 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Страница 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Страница 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Страница 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Страница 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Страница 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...