Microsoft ES4649 Switch User Manual


 
IP Routing Commands
4-249
4
IP Routing Commands
After you configure network interfaces for this router, you must set the paths used to
send traffic between different interfaces. If you enable routing on this device, traffic
will automatically be forwarded between all of the local subnetworks. However, to
forward traffic to devices on other subnetworks, you can either configure fixed paths
with static routing commands, or enable a dynamic routing protocol that exchanges
information with other routers on the network to automatically determine the best
path to any subnetwork.
This section includes commands for both static and dynamic routing. These
commands are used to connect between different local subnetworks or to connect
the router to the enterprise network.
Global Routing Configuration
ip routing
This command enables IP routing. Use the no form to disable IP routing.
Syntax
[no] ip routing
Default Setting
Enabled
Command Mode
Global Configuration
Table 4-82 IP Routing Commands
Command Group Function Page
Global Routing
Configuration
Configures global parameters for static and dynamic routing, displays the
routing table, and statistics for protocols used to exchange routing
information
4-249
Routing Information
Protocol (RIP)
Configures global and interface specific parameters for RIP 4-254
Open Shortest Path First
(OSPF)
Configures global and interface specific parameters for OSPF 4-264
Table 4-83 Global Routing Configuration Commands
Command Function Mode Page
ip routing Enables static and dynamic IP routing GC 4-249
ip route Configures static routes GC 4-250
clear ip route Deletes specified entries from the routing table PE 4-251
show ip route Displays specified entries in the routing table PE 4-251
show ip host-route Displays displays the interface associated with known routes PE 4-252
show ip traffic Displays statistics for IP, ICMP, UDP, TCP and ARP protocols PE 4-253