IP R
OUTING
C
OMMANDS
-127Global 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 a re 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 sw itched
based on MAC addresses. If IP routing is disabled, all packets are
switched, with filtering and forwarding decisions based strictly on
MAC addresses.
Command Function Mod
e
Page
ip routing Enables static and dynamic IP routing GC 3-12
7
ip route Configures static routes GC 3-12
8
clear ip route Deletes specified entries from the routing table PE 3-12
9
show ip route Displays specified entries in the routing table PE 3-12
9
show ip traffic Displays statistics for IP, ICMP, UDP, TCP and ARP
protocols
PE 3-13
0