1-5
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring IP Unicast Routing
Steps for Configuring Routing
Note When a stack master is running the IP services feature set, the stack can run all supported protocols,
including Open Shortest Path First (OSPF), Enhanced IGRP (EIGRP), and Border Gateway Protocol
(BGP). If the stack master fails and the new elected stack master is running the IP base or LAN base
feature set, these protocols will no longer run in the stack.
Caution Partitioning of the switch stack into two or more stacks might lead to undesirable behavior in the
network.
Steps for Configuring Routing
By default, IP routing is disabled on the switch, and you must enable it before routing can take place.
For detailed IP routing configuration information, see the Cisco IOS IP Configuration Guide,
Release 12.4
In the following procedures, the specified interface must be one of these Layer 3 interfaces:
• A routed port: a physical port configured as a Layer 3 port by using the no switchport interface
configuration command.
• A switch virtual interface (SVI): a VLAN interface created by using the interface vlan vlan_id
global configuration command and by default a Layer 3 interface.
Note If the switch is running the LAN base feature set, static routes are supported only on SVIs.
• An EtherChannel port channel in Layer 3 mode: a port-channel logical interface created by using
the interface port-channel port-channel-number global configuration command and binding the
Ethernet interface into the channel group. For more information, see the “Configuring Layer 3
EtherChannels” section on page 1-15.
Note The switch does not support tunnel interfaces for unicast routed traffic.
All Layer 3 interfaces on which routing will occur must have IP addresses assigned to them. See the
“Assigning IP Addresses to Network Interfaces” section on page 1-7.
Note A Layer 3 switch can have an IP address assigned to each routed port and SVI. The number of routed
ports and SVIs that you can configure is not limited by software. However, the interrelationship between
this number and the number and volume of features being implemented might have an impact on CPU
utilization because of hardware limitations. To optimize system memory for routing, use the sdm prefer
routing global configuration command when running the IP base or IP services feature set.
Configuring routing consists of several main procedures:
• To support VLAN interfaces, create and configure VLANs on the switch or switch stack, and assign
VLAN membership to Layer 2 interfaces. For more information, see Chapter 1, “Configuring
VLANs.”
• Configure Layer 3 interfaces.