3Com 2200 Switch User Manual


 
Setting Up an IP Interface for Management 3-9
Defining a Static Route
You might want to define a static route to transmit system traffic, such as
system pings or SNMP response, through a consistent route. Before you
define static routes, you must define at least one IP interface. (See “Defining
an Interface” on page 3-5.) Static routes remain in the table until you
remove them, or until you remove the corresponding interface. Static routes
take precedence over dynamically learned routes to the same destination.
To define a static route:
1 From the top level of the Administration Console, enter:
ip route static
You are prompted for the route’s parameters. To use the value in brackets,
press [Return] at the prompt.
2 Enter the destination IP address of the route.
3 Enter the subnet mask of the route.
4 Enter the gateway IP address of the route.
A static route is defined in the following 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.
Top-Level Menu
system
ethernet
fddi
bridge
ip
snmp
analyzer
script
logout
interface
route
arp
rip
ping
statistics
display
static
remove
flush
default
noDefault
Top-Level Menu
system
ethernet
fddi
bridge
ip
snmp
analyzer
script
logout
interface
route
arp
rip
ping
statistics
display
static
remove
flush
default
noDefault