beautypg.com

Adding a description for an interface – IBM 12.1(22)EA6 User Manual

Page 154

background image

7-12

Cisco Systems Intelligent Gigabit Ethernet Switch Modules for the IBM BladeCenter, Software Configuration Guide

24R9746

Chapter 7 Configuring Interface Characteristics

Configuring Ethernet Interfaces

Use the no speed and no duplex interface configuration commands to return the interface to the default
speed and duplex settings (autonegotiate). To return all interface settings to the defaults, use the default
interface
interface-id interface configuration command.

This example shows how to set the interface speed to 10 Mbps and the duplex mode to half on Gigabit
Ethernet interface 0/17 and to verify the configuration:

Switch# configure terminal

Switch(config)# interface gigabitethernet0/17

Switch(config-if)# speed 10

Switch(config-if)# duplex half

Switch(config)# end

Switch# show running-config

Building configuration...

Current configuration : 1954 bytes

!

version 12.1

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Switch

!

!

interface gigabitethernet0/17

switchport mode trunk

no ip address

duplex half

speed 10

!

Adding a Description for an Interface

You can add a description about an interface to help you remember its function. The description appears
in the output of these commands: show configuration

,

show running-config

,

and show interfaces.

Beginning in privileged EXEC mode, follow these steps to add a description for an interface:

Step 6

show interfaces interface-id

Display the interface speed and duplex mode configuration.

Step 7

copy running-config startup-config

(Optional) Save your entries in the configuration file.

Command

Purpose

Command

Purpose

Step 1

configure terminal

Enter global configuration mode

Step 2

interface interface-id

Enter interface configuration mode, and enter the interface for which
you are adding a description.

Step 3

description string

Add a description (up to 240 characters) for an interface.

Step 4

end

Return to privileged EXEC mode.