Cisco Systems 8510 CSR, 8540 Initially Configuring Gigabit Ethernet Interfaces, Command Purpose

Page 5

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

 

 

 

 

 

Image 5
Contents Configuring Interfaces Interface Port Identifier Overview of Interface ConfigurationMedia Access Control Address Routerconfig# interface gigabitethernet 1/0/1 General Instructions for Configuring InterfacesRouter# configure terminal About Layer 3 Switching Interfaces Command Purpose Initially Configuring Gigabit Ethernet InterfacesAbout the Enhanced Gigabit Ethernet Interfaces Catalyst ExampleCommand Description Initially Configuring Fast Ethernet InterfacesVerifying the Ethernet Interface Configuration Router# show interface fastethernet 1/0/0 ExamplesRouter# show interface gigabitethernet 0/0/0 About Virtual LANs Configuring ISL Vlan EncapsulationRouterconfig-subif# Enters subinterface configuration modeConfigure the Fast Ethernet main interface Routerconfig-if# Routerconfig# bridge bridge-group protocol ieeeRouterconfig# interface fastethernet 1/0/1.1 Configuring 802.1Q Vlan EncapsulationRouterconfig-subif#interface fastethernet 1/0/0 Routerconfig-subif#interface fastethernet 3/0/1Ieee Bridge-groupAbout Packet over Sonet Catalyst Monitoring Vlan OperationPOS About the POS OC-12c Uplink InterfaceConfiguring the POS OC-12c Uplink Interface Catalyst Parameter Configuration Command Default Value Default ConfigurationInitially Configuring the POS Interface Ip-address subnet-mask Automatic Reverting of Clock SourceHdlc ppp Line internalSetting the MTU Size Customizing the ConfigurationAdditional Configurations Configuring Sonet Overhead Configuring FramingSdh sonet Value j0 value sls0 valueScramble-atm Configuring POS SPE ScramblingScrambling is on by default Configuring Sonet Alarms Alarm Description Configuring Sonet Delay TriggersAlarm Lais pais plop prdi slof Verifying the POS ConfigurationSlos Triggers line path millisecondRouter# show protocols pos 1/0/0 LOP = PLM-P Router# show controllers pos 2/0/0Router# show controller pos 2/0/0 detail Smdr About the ATM Uplink Interface About ATM Uplinks CatalystConfiguration Overview Configuring the ATM Uplink Interface CatalystNo loopback No atm sonet stm-1 for OC-3No atm clock internal Initially Configuring the ATM Uplink InterfaceAtm vc-per-vp Parameter ValueConfiguring the Clock Source Routerconfig-if# atm sonet Configuring Sonet FramingStm-1 ATM interface or to STM-4 for the OC-12c interfaceMsg line j1 16byte exp-msg Overhead c2 byte j0 bytesSls0 is part of the payload pointer byte Line msg line 64byte exp-msgConfiguring Loopback Configuring CDP Configuring Virtual CircuitsConfiguring the Maximum VCs per VP Creating a PVCVpi vci aal-encap Mapping a Protocol Address to a PVCIp-address atm-vc vcd NameSwitch Router B Verifying the ATM ConfigurationSwitch Router a 5CB About Port Snooping Configuring Interfaces About Port SnoopingRestrictions on Port Snooping Configuring SnoopingAbout the Snooping Destination Port About the Snooping Source PortSource-port Direction receive transmit bothShow snoop interface Monitoring SnoopingDestination-port Show snoop78-6235-04, Cisco IOS Release 12.010W518