Displaying the main routing table – Amer Networks E5Web GUI User Manual
Page 259

•
It does not matter even if there is a separate route which includes the gateway IP address and
that routes traffic to a different interface.
Composite Subnets can be Specified
Another advantage with the cOS Core approach to route definition is that it allows the
administrator to specify routes for destinations that are not aligned with traditional subnet
masks.
For example, it is perfectly legal to define one route for the destination IP address range
192.168.0.5 to 192.168.0.17 and another route for IP addresses 192.168.0.18 to 192.168.0.254. This
is a feature that makes cOS Core highly suitable for routing in highly complex network
topologies.
Displaying Routing Tables
It is important to note that routing tables that are initially configured by the administrator can
have routes added, deleted and changed automatically during live operation and these changes
will appear when the routing table contents are displayed.
These routing table changes can take place for different reasons. For example, if dynamic routing
with OSPF has been enabled then routing tables will become populated with new routes learned
from communicating with other OSPF routers in an OSPF network. Other events such as route
fail-over can also cause routing table contents to change over time.
Example 4.1. Displaying the main Routing Table
This example illustrates how to display the contents of the default main routing table.
Command-Line Interface
To see the routing table contents:
Device:/> cc RoutingTable main
Device:/main> show
Route
#
Interface
Network
Gateway
Local IP
-
---------
--------
-------------
--------
1
wan
all-nets
213.124.165.1
2
lan
lan_net
3
wan
wan_net
To return the default CLI context:
Device:/main> cc
Device:/>
To see the active routing table enter:
Device:/> routes
Flags Network
Iface
Gateway
Local IP Metric
----- ------------------ ------- --------------- -------- ------
192.168.0.0/24
lan
0
213.124.165.0/24
wan
0
0.0.0.0/0
wan
213.124.165.1
0
Chapter 4: Routing
259