– 975 –
50 IP Routing Commands
After network interfaces are configured for the switch, the paths used to send
traffic between different interfaces must be set. If routing is enabled on the switch,
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.
Global Routing Configuration
.
Table 1: IP Routing Commands
Command Group Function
Global Routing Configuration Configures global parameters for static and dynamic routing,
displays the routing table and statistics for protocols used to
exchange routing information
Routing Information Protocol (RIP) Configures global and interface specific parameters for RIP
Open Shortest Path First (OSPFv2) Configures global and interface specific parameters for OSPFv2
Open Shortest Path First (OSPFv3) Configures global and interface specific parameters for OSPFv3
Border Gateway Protocol (BGPv4) Configures global and interface specific parameters for BGP
Policy-based Routing for BGP Configures policy-based routing maps for BGP
Border Gateway Protocol (BGPv4) Configures general and neighbor specific parameters for BGPv4
Policy-based Routing for BGP Configures next-hop routing policies based on criteria defined
in various routing parameters
Table 2: Global Routing Configuration Commands
Command Function Mode
IPv4 Commands
ip route Configures static routes GC
maximum-paths Sets the maximum number of paths allowed GC
show ip host-route Displays the interface associated with known routes PE