
6
The switching of light from input port to any of the four output ports can be
achieved using a command line interface. To simply the operation, all functions are
provided in a single command called “osctl”. Osctl provides 3 major functions
1.
Network & Host configuration
(allowed only in “root”)
2.
Switch Control & Status
3.
Port group Management
Osctl will show correct syntax usage if you make mistakes in typing command
options. It will also provide some examples on how to use the command when you
make mistakes. Also you may use “osctl -?” which shows all syntaxes with all
examples.
Network & Host configuration
Network setup has 4 different syntaxes.
1.
To configure static IP
# osctl
osctl
osctl
osctl ----i
i i
i <ip>
<ip>
<ip>
<ip> ----m <mask>
m <mask>
m <mask>
m <mask> ----g
g
g
g <gw>
<gw>
<gw>
<gw> ----n
n
n
n <dns>
<dns>
<dns>
<dns> ----h
h
h
h <hostname>
<hostname>
<hostname>
<hostname>
2.
To use DHCP
# osctl
osctl
osctl
osctl ----D
D
D
D
3.
To configure hostname alone
# osctl
osctl
osctl
osctl ----h
h
h
h <hostname>
<hostname>
<hostname>
<hostname>
4.
To configure DNS/NameServer
# osctl
osctl
osctl
osctl ----n
n
n
n <dns ip addr
<dns ip addr
<dns ip addr
<dns ip addr>
>
>
>
For details refer to installation section as these are explained in that section.
Содержание OS414-MM
Страница 2: ...2 ...