IP R
OUTING
3-251
- This 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.
Default Gateway – The routing device to which the switch will pass
packets for all unknown subnets; i.e., packets that do not match any
routing table entry. (Valid IP addresses consist of four numbers, 0 to
255, separated by periods.)
Web - Click IP, General, Global Settings. Set IP Routing Status to Disabled
to restrict operation to Layer 2, or Enabled to allow multilayer switching,
specify the default gateway which will be forwarded packets for all
unknown subnets, and click Apply.
CLI - This example enables IP routing, and sets the default gateway.
Console(config)#ip routing3-127
Console(config)#ip route default 10.1.0.2543-128