Alcatel-Lucent 6850-48 网络指南

下载
页码 1162
Configuring IP
Tunneling
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 24-35
• A route is available to reach the destination IP address. A route whose egress interface is a VLAN-
based interface is available for its destination IP address.The switch supports assigning an IP address as 
well as routes to a tunnel interface.
This section describes how to configure a tunnel interface using GRE and IPIP, using Command Line
 
Interface (CLI) commands.
Configuring a Tunnel Interface
To configure a GRE tunnel, use the ip interface tunnel command as shown:
-> ip interface "gre" 
tunnel
 source 23.23.23.1 destination 155.2.2.2 protocol gre
In this example, the GRE tunnel named “gre” is created and assigned a source IP address of 23.23.23.1 
and a destination IP address of 155.2.2.2.
You can configure an IP address for the GRE tunnel interface using the ip interface command as shown:
-> ip interface "gre" address 24.24.24.1 mask 255.255.255.0
To configure an IPIP tunnel, use the ip interface tunnel command as shown:
-> ip interface "ipip" 
tunnel
 source 23.23.23.1 destination 155.2.2.2 protocol 
ipip
In this example, the IPIP tunnel named “ipip” is created and assigned a source IP address of 23.23.23.1 
and a destination IP address of 155.2.2.2.
You can configure an IP address for the IPIP tunnel interface using the ip interface command as shown:
-> ip interface "ipip" address 24.24.24.1 mask 255.255.255.0
Note. An interface can be configured only as a VLAN or a Tunnel interface.
Note. To display information about the configured tunnels on the switch, use the show ip interface.