Cisco G1 Installation Guide - Page 58

Debugging, Resetting the Interface, GigabitEthernet 0/X

Page 58 highlights

Configuring the Native Gigabit Ethernet Interfaces Chapter 7 NPE-G1 and NPE-G2 Installation and Configuration Information 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) 7-58 Network Processing Engine and Network Services Engine Installation and Configuration OL-4448-12

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68

7-58
Network Processing Engine and Network Services Engine Installation and Configuration
OL-4448-12
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)