Chapter 7 NPE-G1 and NPE-G2 Installation and Configuration Information

Configuring the Native Gigabit Ethernet Interfaces

ip address 10.198.75.35 255.255.255.240 load-interval 30

no keepalive duplex full speed 1000 media-type gbic

no negotiation auto no cdp enable

no shutdown

!

interface GigabitEthernet0/2

ip address 10.179.16.2 255.255.255.240 duplex auto

speed auto media-type rj45 no cdp enable no shutdown

!

interface GigabitEthernet0/3 no ip address

shutdown duplex auto speed auto media-type rj45

no negotiation auto no cdp enable

Note At the very minimum, an interface must be configured with the ip address, media-type, and speed commands before it can be enabled using the no shutdown command. Other interface commands might be needed, depending on the nature of the connected network.

Debugging

Cisco IOS provides two commands to provide information on your interfaces: show interface

GigabitEthernet 0/X (where X is 1, 2, or 3) and show controllers GigabitEthernet 0/0.

The output of the show interface command is useful for determining the current operating mode of the interface (speed/duplex/media-type) and the current interface statistics.

The output of the show controllers command displays more information specific to the I/O controller interface. For example, it shows the detected link status, speed, and duplex, and also determines the current status of autonegotiation and the link partners’ abilities (if it is an autonegotiation-capable interface).

The show controllers command also displays the current operating state of the driver and the Ethernet controller hardware. The show controllers command is a very powerful debugging aid, especially for Cisco engineers should you need help in debugging a problem. If you have any problems with your Gigabit Ethernet interfaces, you will need to provide the show controllers command output to Cisco for analysis.

Resetting the Interface

Should you have a problem with your interface and wish to try and reset it, use the command:

clear interface GigabitEthernet 0/X (where X is 1, 2, or 3)

Network Processing Engine and Network Services Engine Installation and Configuration

7-58

OL-4448-12

 

 

Page 144
Image 144
Cisco Systems NPE-225, NPE-175 manual Debugging, Resetting the Interface