3Com CoreBuilder 2500 User Manual - page 126
10-10
C
HAPTER
10: A
DMINISTERING
IP R
OUTING
Example:
Enter destination IP address: 158.101.4.0
Enter subnet mask [255.255.0.0]: 255.255.255.0
Enter gateway IP address: 158.101.2.8
Removing a Route
To remove a route:
1
From the top level of the Administration Console, enter:
ip route remove
2
Enter the destination IP address of the route.
3
Enter the subnet mask of the route.
The route is immediately deleted from the routing table.
Flushing a Route
Flushing deletes all learned routes from the routing table.
To flush all learned routes, from the top level of the Administration
Console, enter:
ip route flush
All learned routes are immediately deleted from the routing table.
If OSPF is enabled, flushing a route results in an OSPF shortest-path-first
computation. The routing table recalculation takes a few seconds.
Setting the
Default Route
The system uses the default route to forward packets that do not match
any other routing table entry. A system can learn a default route using
RIP, or you can configure a static default route.
To statically configure the default route:
1
From the top level of the Administration Console, enter:
ip route default
2
Enter the gateway IP address of the route.
The default route is immediately added to the routing table.
Top-Level Menu
system
ethernet
fddi
atm
bridge
➧
ip
ipx
appletalk
snmp
analyzer
script
logout
interface
➧
route
arp
atmArpServer
multicast
udpHelper
routing
icmpRouterDiscovery
ospf
rip
ping
statistics
display
static
➧
remove
flush
default
noDefault
Top-Level Menu
system
ethernet
fddi
atm
bridge
➧
ip
ipx
appletalk
snmp
analyzer
script
logout
interface
➧
route
arp
atmArpServer
multicast
udpHelper
routing
icmpRouterDiscovery
ospf
rip
ping
statistics
display
static
remove
➧
flush
default
noDefault
Top-Level Menu
system
ethernet
fddi
atm
bridge
➧
ip
ipx
appletalk
snmp
analyzer
script
logout
interface
➧
route
arp
atmArpServer
multicast
udpHelper
routing
icmpRouterDiscovery
ospf
rip
ping
statistics
display
static
remove
flush
➧
default
noDefault