User manual

178 SANRAD V-Switch User Manual
Changing an Interface Alias
All CLI names and
aliases are case
sensitive.
You can change the alias of a V-Switch interface for user convenience.
Leaving the new alias field blank will return the alias to its default setting
interface set
You need to define two parameters to change an interface alias:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-if
INTERFACE ALIAS
OR NAME
CURRENT ALIAS OR
NAME OF
INTERFACE
MANDATORY
fc1
If you are working in
a V-Switch cluster,
the interface alias
must be changed on
both V-Switches.
-na
NEW ALIAS NEW ALIAS OR
NAME OF
INTERFACE
OPTIONAL
DEFAULT:
DEFAULT
INTERFACE
NAMES
CONS,
MGMT,
FC1,SCSI1,ETH1
Storage1
Example:
The storage interface, fc1 is renamed to Storage 1.
interface set –if fc1 –na Storage1
Adding an Interface IP Address
If you are working in
a V-Switch cluster,
the interface IP must
be added on both V-
Switches.
You can assign more than one IP address to each network port.
ip config set
You need to define three parameters to configure each network port:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-if
INTERFACE ALIAS NETWORK
INTERFACE PORT
MANDATORY
ETH1, ETH2,
ETH3
eth1
-ip
IP ADDRESS IP ADDRESS
ASSIGNING TO THE
INTERFACE PORT
MANDATORY
212.199.43.57
Executing this
command on the
same network port
with a different IP
address will not reset
the network port
address. It will add
another IP address to
the network port
-im
IP MASK IP NET MASK OPTIONAL
DEFAULT:
255.255.255.0
-act
ACTIVITY IF IP ADDRESS IS
ACTIVE TO EXPOSE
VOLUMES
. USE
INACTIVE STATUS
TO ALLOW
FAILOVER
.
OPTIONAL
DEFAULT: 1
(
ACTIVE).
2(
INACTIVE)
1