3 Configuring Ethernet Interfaces
viii
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Ethernet Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Configuring the Ethernet Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Enabling the Ethernet Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Configuring an IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Assigning a Static IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Configuring the Ethernet Interface as a DHCP Client . . . . . . . . . . 3-5
Configuring the Ethernet Interface as an Unnumbered
Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
Setting the Speed and the Duplex Settings . . . . . . . . . . . . . . . . . . . . . 3-11
Configuring the Line for Half-Duplex or Full-Duplex . . . . . . . . . . . . . 3-12
Setting the MTU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
Adding a Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
Summary of Ethernet Configuration Settings . . . . . . . . . . . . . . . . . . . 3-14
Configure VLAN Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
Configuring VLAN Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
Assigning an IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20
Viewing the Status of Ethernet Interfaces or Subinterfaces . . . . . . . . . . . . 3-20
show interfaces Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20
show running-config Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
Viewing the Configurations That Have Been Entered . . . . . . . . . 3-23
Troubleshooting an Ethernet Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25
show event-history Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26
debug interface ethernet Command . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26
Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27
Configuring the Ethernet Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27