90
MergePoint Service Processor Manager SP53XX Installer/User Guide
Configuring Routes With CLI
The following procedures give examples for using the CLI utility for configuring default, host and
network routes and assigning them to interfaces or to gateways.
NOTE: Setting a gateway IP address automatically creates a default route to the gateway’s IP address.
To configure routes with CLI:
1.
Log into the console as
root
.
2.
Enter the
cli
command.
3.
Set network interface by entering the following:
cli> set network interface <interface_name> address <IP_address>
OK
4.
Set a default route by setting a gateway IP address by entering the following:
cli> set network interface <interface_name> gateway <gatewayIP>
OK
5.
Add a host in the host table by entering the host’s IP address after the
add network
hosts
command.
cli> add network hosts <hostIP> name <hostname> alias <alias>
6.
Add a network route by entering the network address after the
add network st_routes
command in the form 1.2.3.0/24.
cli> add network st_routes <networkIP/NN>
OK
7.
For both host and network routes, use the
set network st_routes
command to assign the route
to an interface or to a gateway and optionally assign it a metric, by performing the
following steps.
To assign the route to an interface, enter
set network st_routes <IPaddress |
networkIPaddress/NN> device <ethN>
. The following screen example shows assigning the
host route created in step 5 to the device eth0 and assigning an optional metric.
cli> set network st_routes <IPaddress|networkIPaddress/NN> device eth0
metric <N>
OK
-or-
To assign the route to a gateway, enter
set network st_routes <IPaddress |
networkIPaddress/NN> gateway <gatewayIP>
. The following screen example shows
assigning the network route created in step 6 to the gateway 192.168.2.0.
Summary of Contents for MERGEPOINT 53XX SP MANAGER
Page 1: ...MERGEPOINT 53XX SP MANAGER Installer User Guide...
Page 12: ...x MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 14: ...xii MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 22: ...8 MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 80: ...66 MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 96: ...82 MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 138: ...124 MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 160: ...146 MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 202: ...188 MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 203: ......
Page 204: ...For Technical Support www avocent com support 590 839 501D...