All CLI names and aliases are case sensitive.

Changing an Interface Alias

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:

If you are working in

aV-Switch cluster, the interface alias

must be changed on both V-Switches.

SWITCH

PARAMETER

DEFINITION

STATUS

EXAMPLE

 

 

 

 

 

-if

INTERFACE ALIAS

CURRENT ALIAS OR

MANDATORY

fc1

 

OR NAME

NAME OF

 

 

 

 

INTERFACE

 

 

-na

NEW ALIAS

NEW ALIAS OR

OPTIONAL

Storage1

 

 

NAME OF

DEFAULT:

 

 

 

INTERFACE

DEFAULT

 

 

 

 

INTERFACE

 

 

 

 

NAMES CONS,

 

 

 

 

MGMT,

 

 

 

 

FC1,SCSI1,ETH1

 

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

You can assign more than one IP address to each network port.

a V-Switch cluster,

ip config set

the interface IP must

 

be added on both V-

Switches. You need to define three parameters to configure each network port:

 

SWITCH

PARAMETER

DEFINITION

STATUS

EXAMPLE

Executing this

 

 

 

 

 

-if

INTERFACE ALIAS

NETWORK

MANDATORY

eth1

command on the

 

 

INTERFACE PORT

ETH1, ETH2,

 

same network port

 

 

 

ETH3

 

 

 

 

 

 

with a different IP

-ip

IP ADDRESS

IP ADDRESS

MANDATORY

212.199.43.57

address will not reset

 

 

ASSIGNING TO THE

 

 

the network port

 

 

INTERFACE PORT

 

 

address. It will add

-im

IP MASK

IP NET MASK

OPTIONAL

 

another IP address to

 

the network port

 

 

 

DEFAULT:

 

 

 

 

255.255.255.0

 

 

-act

ACTIVITY

IF IP ADDRESS IS

OPTIONAL

1

 

 

 

ACTIVE TO EXPOSE

DEFAULT: 1

 

 

 

 

VOLUMES. USE

(ACTIVE).

 

 

 

 

INACTIVE STATUS

2(INACTIVE)

 

 

 

 

TO ALLOW

 

 

 

 

 

 

 

 

 

FAILOVER.

 

 

 

 

 

 

 

 

178

SANRAD V-Switch User Manual

Page 185
Image 185
SANRAD V-Switch manual Changing an Interface Alias, Adding an Interface IP Address, Interface set, Storage1