Asante Technologies 40240/40480-10G Switch User Manual


 
Chapter 42: 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, 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.
Table 42-1 IP Routing Commands
Command Group
Global Routing
Configuration
Routing Information
Protocol (RIP)
Open Shortest Path First
(OSPF)
Function
Configures global parameters for static and dynamic routing, displays the
routing table, and statistics for protocols used to exchange routing
information
Configures global and interface specific parameters for RIP
Configures global and interface specific parameters for OSPF
Page
42-1
42-5
42-18
Global Routing Configuration
Table 42-2 Global Routing Configuration Commands
Command Function
ip routing Enables static and dynamic IP routing
ip route Configures static routes
clear ip route Deletes specified entries from the routing table
show ip route Displays specified entries in the routing table
show ip host-route Displays displays the interface associated with known routes
show ip traffic Displays statistics for IP, ICMP, UDP, TCP and ARP protocols
Mode Page
GC 42-1
GC 42-2
PE 42-3
PE 42-3
PE 42-4
PE 42-5
ip routing
This command enables IP routing. Use the
no
form to disable IP routing.
Syntax
[no] ip routing
Default Setting
Enabled
42-1