Chapter 5 Configuring the Router

Performing the Initial Configuration on the Router

 

Command or Action

Purpose

Step 4

 

 

interface {fastethernet gigabitethernet}

Specifies the Ethernet interface and enters interface

 

0/port

configuration mode.

 

Example:

Note

For information on interface numbering, see the

 

 

software configuration guide.

 

Router(config)# interface gigabitethernet 0/0

 

 

Step 5

 

 

description string

(Optional) Adds a description to an interface configuration.

 

 

The description helps you remember what is attached to

 

Example:

 

this interface. The description can be useful for

 

Router(config-if)# description GE int to 2nd

 

troubleshooting.

 

floor south wing

 

 

Step 6

 

 

ip address ip-address mask

Sets a primary IP address for an interface.

 

Example:

 

 

 

Router(config-if)# ip address 172.16.74.3

 

 

 

255.255.255.0

 

 

Step 7

 

 

no shutdown

Enables an interface.

 

Example:

 

 

 

Router(config-if)# no shutdown

 

 

Step 8

 

 

end

Returns to privileged EXEC mode.

 

Example:

 

 

 

Router(config)# end

 

 

Step 9

 

 

show ip interface brief

Displays a brief status of the interfaces that are configured

 

 

for IP.

 

Example:

Verify that the Ethernet interfaces are up and

 

Router# show ip interface brief

 

configured correctly.

 

 

 

 

Examples

Configuring the GigabitEthernet Interface

!

interface GigabitEthernet0/0 description GE int to HR group

ip address 172.16.3.3 255.255.255.0 duplex auto

speed auto no shutdown

!

Sample Output for the show ip interface brief Command

Router# show ip interface brief

Interface

IP-Address

OK? Method Status

Protocol

GigabitEthernet0/0

172.16.3.3

YES

NVRAM

up

up

GigabitEthernet0/1

unassigned

YES

NVRAM

administratively down down

Router#

 

 

 

 

 

 

 

Cisco 1900 Series Hardware Installation

 

 

 

 

 

 

OL-19084-02

 

 

5-13

 

 

 

 

 

Page 87
Image 87
Cisco Systems 1900 Series Configuring the GigabitEthernet Interface, Sample Output for the show ip interface brief Command