22-24
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter 22 Configuring IP Unicast Routing
Enabling IP Routing
GigabitEthernet0/1 is up, line protocol is up
Internet protocol processing disabled
GigabitEthernet0/2 is up, line protocol is down
Internet protocol processing disabled
Enabling IP Routing
By default, the switch is in Layer 2 switching mode and IP routing is disabled. To use the Layer 3
capabilities of the switch, you must enable IP routing.
Beginning in privileged EXEC mode, follow these steps to enable IP routing:
Use the no ip routing global configuration command to disable routing.
This example shows how to enable IP routing using RIP as the routing protocol:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# ip routing
Switch(config)# router rip
Switch(config-router)# network 10.0.0.0
Switch(config-router)# end
You can now set up parameters for the selected routing protocols as described in these sections:
•
Configuring RIP, page 22-25
•
Configuring IGRP, page 22-30
•
Configuring OSPF, page 22-35
•
Configuring EIGRP, page 22-46
You can also configure nonprotocol-specific features:
•
Configuring Protocol-Independent Features, page 22-53
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
ip routing
Enable IP routing.
Step 3
router ip_routing_protocol
Specify an IP routing protocol. This step might include other
commands, such as specifying the networks to route with the
network (RIP) router configuration command. For information on
specific protocols, refer to sections later in this chapter and to the
Cisco IOS IP and IP Routing Configuration Guide for Release 12.1.
Step 4
end
Return to privileged EXEC mode.
Step 5
show running-config
Verify your entries.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.