Microsoft ES4612 User Manual

Page of 666
IP Routing
3-211
3
Configuring Static Routes
This router can dynamically configure routes to other network segments using 
dynamic routing protocols (i.e., RIP or OSPF). However, you can also manually 
enter static routes in the routing table. Static routes may be required to access 
network segments where dynamic routing is not supported, or can be set to force the 
use of a specific route to a subnet, rather than using dynamic routing. Static routes 
do not automatically change in response to changes in network topology, so you 
should only configure a small number of stable routes to ensure network 
accessibility.
Command Attributes
• Interface – Index number of the IP interface.
• IP Address – IP address of the destination network, subnetwork, or host.
• Netmask – Network mask for the associated IP subnet. This mask identifies the 
host address bits used for routing to specific subnets.
• Gateway – IP address of the gateway used for this route.
• Metric – Cost for this interface. This cost is only used if a route is imported by a 
dynamic routing protocol such as OSPF. (Range: 1-5, default: 1)
• Entry Count – The number of table entries.
Web - Click IP, Routing, Static Routes.
Figure 3-125   IP Static Routes
CLI - This example forwards all traffic for subnet 192.168.1.0 to the router 
192.168.5.254, using the default metric of 1.
Console(config)#ip route 192.168.1.0 255.255.255.0 192.168.5.254
Console(config)#