- Ensayos de Calidad, Tareas y Monografias

Cisco IOS Interface Configuration Guide

Enviado por   •  20 de Febrero de 2012  •  3.347 Palabras (14 Páginas)  •  372 Visitas

Página 1 de 14


Cisco IOS Interface Configuration Guide

Configuring Logical Interfaces

Use the information in this chapter to understand and configure the types of logical, or virtual, interfaces

supported on Cisco routers and access servers. This chapter includes the following sections:

• Configuring a Loopback Interface

• Configuring a Null Interface

• Configuring a Tunnel Interface

For examples of configuration tasks, see the “Logical Interface Configuration Examples” section.

For hardware technical descriptions and information about installing interfaces, refer to the hardware

installation and configuration publication for your product. For complete descriptions of the logical

interface commands, refer to the “Interface Commands” chapter of the Cisco IOS Interface Command

Reference. To locate documentation of other commands that appear in this chapter, use the command

reference master index or search online.

To identify the hardware platform or software image information associated with a feature, use the

Feature Navigator on to search for information about the feature or refer to the software

release notes for a specific release. For more information, see the Identifying Supported Platforms in

“Using Cisco IOS Software.”

Configuring a Loopback Interface

You can specify a software-only interface called a loopback interface to emulate an interface. Loopback

interfaces are supported on all platforms. A loopback interface is a virtual interface that is always up and

allows Border Gateway Protocol (BGP) and remote source-route bridging (RSRB) sessions to stay up

even if the outbound interface is down.

You can use the loopback interface as the termination address for BGP sessions, for RSRB connections,

or to establish a Telnet session from the device’s console to its auxiliary port when all other interfaces

are down. You can also use a loopback interface to configure IPX-PPP on asynchronous interfaces. To

do so, you must associate an asynchronous interface with a loopback interface configured to run IPX. In

applications in which other routers or access servers attempt to reach this loopback interface, you should

configure a routing protocol to distribute the subnet assigned to the loopback address.

Packets routed to the loopback interface are rerouted back to the router or access server and processed

locally. IP packets routed out the loopback interface but not destined to the loopback interface are

dropped. This means that the loopback interface serves as the Null 0 interface also.

Configuring Logical Interfaces

Configuring a Null Interface


Cisco IOS Interface Configuration Guide

Note Loopback does not work on an X.21 DTE because the X.21 interface definition does not include a

loopback definition.

To specify a loopback interface and enter interface configuration mode, use one of the following

commands in global configuration mode:

For more general information about loopback interfaces, see the “Running Interface Loopback

Diagnostics” section in the “Features for Any Interface” chapter.

Configuring a Null Interface

The Cisco IOS software supports a “null” interface. This pseudo-interface functions similarly to the null

devices available on most operating systems. This interface is always up and can never forward or

receive traffic; encapsulation always fails. The only interface configuration command that you can

specify for the null interface is no ip unreachables.

The null interface provides an alternative method of filtering traffic. You can avoid the overhead involved

with using access lists by directing undesired network traffic to the null interface.

To specify the null interface, use the following command in global configuration mode:

Specify null 0 (or null0) as the interface type and number. The null interface can be used in any command

that has an interface type as an argument. The following example configures a null interface for IP route

ip route null 0

Configuring a Tunnel Interface

Tunneling provides a way to encapsulate arbitrary packets inside a transport protocol. This feature is

implemented as a virtual interface to provide a simple interface for configuration. The tunnel interface

is not tied to specific “passenger” or “transport” protocols, but rather, it is an architecture that is designed

to provide the services necessary to implement any standard point-to-point encapsulation scheme.

Because tunnels are point-to-point links, you must configure a separate tunnel for each link.

Command Purpose

Router(config)# interface loopback number Enters interface configuration.

Router(config)# interface


Descargar como (para miembros actualizados)  txt (26.3 Kb)  
Leer 13 páginas más »
Disponible sólo en