
Configuring LAN Interfaces
Configuring an Ethernet or Fast Ethernet Interface
IC-25
Cisco IOS Interface Configuration Guide
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:
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:
For an example of selecting Ethernet encapsulation for IP, see the “Ethernet Encapsulation Enablement
Example” section.
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
slot/port-adapter/port
Begins interface configuration for Cisco 7500 series routers.
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
slot/port-adapter/port
Specifies a Fast Ethernet interface and enters interface configuration mode on
the Cisco 7500 series routers.
Command Purpose
encapsulation arpa
Selects ARPA Ethernet encapsulation.
encapsulation sap
Selects SAP Ethernet encapsulation.
encapsulation snap
Selects SNAP Ethernet encapsulation.
Comentários a estes Manuais