24-Port Layer 3 Switch Management Guide

C
OMMAND
L
INE
I
NTERFACE
4-226
Global Routing Configuration
ip routing
Use this command to enable IP routing. Use the no form to disable IP
routing.
Syntax
ip routing
no ip routing
Default Setting
Enabled
Command Mode
Global Configuration
Command Usage
The command affects both static and dynamic unicast routing.
If IP routing is enabled, all IP packets are routed using either static
routing or dynamic routing via RIP or OSPF, and other packets for all
non-IP protocols (e.g., NetBuei, NetWare or AppleTalk) are switched
based on MAC addresses. If IP routing is disabled, all packets are
switched, with filtering and forwarding decisions based strictly on
MAC addresses.
Example
Command Function Mode Page
ip routing Enables static and dynamic IP routing GC 4-226
ip route Configures static routes GC 4-227
clear ip route Deletes specified entries from the routing table PE 4-228
show ip route Displays specified entries in the routing table PE 4-228
show ip traffic Displays statistics for IP, ICMP, UDP, TCP and
ARP protocols
PE 4-229
Console(config)#ip routing
Console(config)#