Configuring IP Unicast Routing
By default, IP routing is disabled on the switch. For detailed IP routing configuration information, see the
Cisco IOS IP Configuration Guide, Release 12.2
from the
Cisco.com
page under
Documentation
>
Cisco
IOS Software Releases
>
12.2 Mainline
>
Configuration Guides
.
In these procedures, the specified interface must be a switch virtual interface (SVI)-a VLAN interface created
by using the
interface vlanvlan_id
global configuration command and by default a Layer 3 interface. All
Layer 3 interfaces on which routing will occur must have IP addresses assigned to them. See the
Assigning
IP Addresses to SVIs
section .
The switch supports 16 static routes (including user-configured routes and the default route) and any
directly connected routes and default routes for the management interface. You can use the "lanbase-default"
SDM template to configure the static routes. The switch can have an IP address assigned to each SVI.
Before enabling routing, enter the
sdm prefer lanbase-routing
global configuration command and reload
the switch.
Note
Procedures for configuring routing:
•
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:
Configuring VLANs
.
•
Configure Layer 3 interfaces (SVIs).
•
Enable IP routing on the switch.
•
Assign IP addresses to the Layer 3 interfaces.
•
Configure static routes.
Enabling IP Unicast 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.
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode. Enter your password
if prompted.
enable
Example:
Switch>
enable
Step 1
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 2
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
672
Configuring IP Unicast Routing
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......