Cisco Systems IC-23 manual Ethernet Encapsulation Enablement Example, IC-61

Models: IC-23

1 46
Download 46 pages 40.2 Kb
Page 39
Image 39
Ethernet Encapsulation Enablement Example

Configuring LAN Interfaces

LAN Interface Configuration Examples

Ethernet Encapsulation Enablement Example

These commands enable standard Ethernet Version 2.0 encapsulation on the Ethernet interface processor in slot 4 on port 2 of a Cisco 7500 series routers:

interface ethernet 4/2 encapsulation arpa

Full Duplex Enablement Operation Example

The following example assigns an IP address and subnet mask, specifies an MII Ethernet connector, and enables full-duplex mode on Fast Ethernet interface port 0 in slot 1 port adapter 0:

Router(config)# interface fastethernet 1/0/0

Router(config-if)#ip address 1.1.1.10 255.255.255.0

Router(config-if)# full-duplex

Router(config-if)# media-type mii

Router(config-if)# exit

Router(config)# exit

PA-12E/2FE Port Configuration Examples

The following is an example of a configuration for the PA-12E/2FE port adapter interface. Bridge groups 10, 20, and 30 use IEEE Spanning-Tree Protocol. The first four interfaces of a PA-12E/2EF port adapter in port adapter slot 3 use bridge groups 10 and 20. Each interface is assigned to a bridge group and the shutdown state is set to up. The PA-12E/2FE port adapter supports store-and-forward or cut-through switching technology between interfaces within the same bridge group; store-and-forward is the default. In the following example, the cut-throughcommand is used to configure each interface for cut-through switching of received and transmitted data:

Router# configure terminal

Enter configuration commands, one per line. End with CNTL-Z.

Router(config)# bridge 10 protocol ieee

Router(config)# bridge 20 protocol ieee

Router(config)# bridge 30 protocol ieee

Router(config)# interface fastethernet 3/0 Router(config-if)#bridge-group 10 Router(config-if)#cut-through Router(config-if)#no shutdown Router(config-if)#exit Router(config)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Fast Ethernet3/0, changed state to up

%LINK-3-UPDOWN: Interface Fast Ethernet3/0, changed state to up

Router(config)# interface fastethernet 3/1 Router(config-if)#bridge-group 10 Router(config-if)#cut-through Router(config-if)#no shutdown Router(config-if)#exit Router(config)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Fast Ethernet3/1, changed state to up

%LINK-3-UPDOWN: Interface Fast Ethernet3/1, changed state to up

Cisco IOS Interface Configuration Guide

IC-61

Page 39
Image 39
Cisco Systems IC-23 manual Ethernet Encapsulation Enablement Example, Full Duplex Enablement Operation Example, IC-61