Cisco Systems IC-23 Specifying an Ethernet or Fast Ethernet Interface, Command, Purpose, routers

Models: IC-23

1 46
Download 46 pages 40.2 Kb
Page 3
Image 3
Specifying an Ethernet or Fast Ethernet Interface

Configuring LAN Interfaces

Configuring an Ethernet or Fast Ethernet Interface

Specifying an Ethernet or Fast Ethernet Interface

To specify an Ethernet interface and enter interface configuration mode, use one of the following commands in global configuration mode:

Command

 

Purpose

 

 

interface ethernet number

Begins interface configuration.

 

 

interface ethernet slot/port

Begins interface configuration for the Cisco 7200 and Cisco 7500 series

 

 

routers.

 

 

 

interface ethernet

 

Begins interface configuration for Cisco 7500 series routers.

slot/port-adapter/port

 

 

 

 

 

interface fastethernet

number

Begins interface configuration for the Cisco 4000 series with a Fast Ethernet

 

 

NIM installed.

 

 

 

interface fastethernet

slot/port

Specifies a Fast Ethernet interface and enters interface configuration mode on

 

 

the Cisco 7200 series routers.

 

 

 

interface fastethernet

 

Specifies a Fast Ethernet interface and enters interface configuration mode on

slot/port-adapter/port

 

the Cisco 7500 series routers.

 

 

 

Use the show interfaces fastethernet command to display the Fast Ethernet slots and ports. The Fast Ethernet NIM and the FEIP default to half-duplex mode.

Specifying an Ethernet Encapsulation Method

Currently, there are three common Ethernet encapsulation methods:

The standard ARPA Ethernet Version 2.0 encapsulation, which uses a 16-bit protocol type code (the default encapsulation method)

SAP IEEE 802.3 encapsulation, in which the type code becomes the frame length for the IEEE 802.2 LLC encapsulation (destination and source Service Access Points, and a control byte)

The SNAP method, as specified in RFC 1042, “Standard for the Transmission of IP Datagrams Over IEEE 802 Networks,” which allows Ethernet protocols to run on IEEE 802.2 media

The encapsulation method you use depends upon the routing protocol you are using, the type of Ethernet media connected to the router or access server, and the routing or bridging application you configure.

Establish Ethernet encapsulation of IP packets by using one of the following commands in interface configuration mode:

Command

Purpose

 

 

encapsulation arpa

Selects ARPA Ethernet encapsulation.

 

 

encapsulation sap

Selects SAP Ethernet encapsulation.

 

 

encapsulation snap

Selects SNAP Ethernet encapsulation.

 

 

For an example of selecting Ethernet encapsulation for IP, see the “Ethernet Encapsulation Enablement Example” section.

Cisco IOS Interface Configuration Guide

IC-25
Page 3
Image 3
Cisco Systems IC-23 Specifying an Ethernet or Fast Ethernet Interface, Specifying an Ethernet Encapsulation Method, IC-25