35
no ipx routing
!
interface FastEthernet0/0
media-type 100BaseX
full-duplex
ip address 10.2.2.1 255.255.255.0
no mop enabled
!
interface GigabitEthernet0/0
ip address 25.2.4.10 255.255.0.0
no mop enabled
!
interface GigabitEthernet0/1
ip address 70.1.1.2 255.255.255.0
no mop enabled
!
interface GigabitEthernet0/2
shutdown
no ip address
!
interface GigabitEthernet0/3
shutdown
no ip address
!
end
Step 11 If you choose not to save your configuration, go directly into the router command structure by choosing 0, or choose
1 from the menu to go back to the start of the setup menu. See the following output for options 0, 1, and 2. Choose
option 2 to save your settings to NVRAM. (See the “Check the Running Configuration Settings” section on page 40,
and then the “Save the Running Configuration to NVRAM” section on page 40.) If you do not save the configuration
settings that you created in the router using configuration mode and the setup facility, your configuration will be lost
the next time you reload the router.
[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.
Enter your selection [2]: 2
media-type 100BaseX
Building configuration...
Use the enabled mode 'configure' command to modify this configuration.
Press RETURN to get started!
Configure the Native Gigabit Ethernet Interfaces
The Cisco 7201 router reports the Gigabit Ethernet SFP ports as GigabitEthernet 0/0, GigabitEthernet 0/1, GigabitEthernet 0/2,
and GigabitEthernet 0/3. The Cisco 7201 router reports the RJ-45 ports as GigabitEthernet 0/0 and Gigabit Ethernet 0/1. Before
configuring either the GigabitEthernet 0/0 or Gigabit Ethernet 0/1 interfaces, you must first use the media-type interface
command to select the media type, sfp or rj45.
Changing the Media Type
To be able to use a particular media type, use Cisco IOS to select the media type. This is done by using the media-type interface
command:
media-type { sfp | rj45 }
Example:
interface GigabitEthernet 0/0
media-type rj45
end