Chapter 4 Configuring Interfaces

About Layer 3 Switching Interfaces

Initially Configuring Gigabit Ethernet Interfaces

To configure an IP address and autonegotiation on a Gigabit Ethernet interface, perform the following steps, beginning in global configuration mode:

 

Command

Purpose

Step 1

 

 

Router(config)# interface gigabitethernet

Enters Ethernet interface configuration mode to

 

slot/subslot/interface

configure the Gigabit Ethernet interface.

 

Router(config-if)#

 

Step 2

 

 

Router(config-if)# [no] negotiation auto

Specifies the negotiation mode.

 

 

When you set negotiation mode to auto, the

 

 

Gigabit Ethernet port attempts to negotiate the

 

 

link (that is, both port speed and duplex setting)

 

 

with the partner port.

 

 

When you set the Gigabit Ethernet interface to no

 

 

negotiation auto, the port forces the link up no

 

 

matter what the partner port setting is. This brings

 

 

up the link with 1000 Mbps and full duplex only.

Step 3

 

 

Router(config-if)# ip address ip-address

Specifies the IP address and IP subnet mask to be

 

subnet-mask

assigned to the Gigabit Ethernet interface.

Step 4

 

 

Router(config-if)# exit

Returns to global configuration mode. Repeat

 

Router(config)#

Steps 1 to 3 to configure another Gigabit Ethernet

 

interface on this interface module.

 

 

Step 5

 

 

Router(config)# end

Returns to privileged EXEC mode.

Step 6

 

 

Router# copy system:running-config

Saves your configuration changes to NVRAM.

 

nvram:startup-config

 

 

 

 

Example

The following example demonstrates initially configuring a Gigabit Ethernet interface with autonegotiation and an IP address:

Router(config)# interface gigabitethernet 0/0/0

Router(config-if)# negotiation auto

Router(config-if)#ip address 10.1.2.3 255.0.0.0

Router(config-if)# exit

Router(config)# ^Z

C8540-CSR#copy system:running-config nvram:startup-config

About the Enhanced Gigabit Ethernet Interfaces (Catalyst 8540)

The enhanced Gigabit Ethernet interface module provides two Gigabit Ethernet interfaces with built-in ACL support; no daughter card is required. The POS OC-12c uplink interface module and the ATM uplink interface module also include a single enhanced Gigabit Ethernet interface. See “Configuring the POS OC-12c Uplink Interface (Catalyst 8540)” section on page 4-14”and “Configuring the ATM Uplink Interface (Catalyst 8540)” section on page 4-28.

There is no special configuration required for the enhanced Gigabit Ethernet interfaces other than that used for other Gigabit Ethernet interfaces.

 

 

Layer 3 Switching Software Feature and Configuration Guide

 

 

 

 

 

 

 

78-6235-04, Cisco IOS Release 12.0(10)W5(18)

 

 

4-5

 

 

 

 

 

Page 5
Image 5
Cisco Systems 8510 CSR, 8540 CSR appendix Initially Configuring Gigabit Ethernet Interfaces, Command Purpose, Example