Removing an interface ip address – SANRAD I3.1.1205 User Manual

Page 198

Advertising
background image

10-12

SANRAD V-Switch CLI User Manual

-ip

IP

ADDRESS

IP

ADDRESS

ASSIGNING TO THE
INTERFACE PORT

MANDATORY

212.199.43.57

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

.

U

SE

INACTIVE STATUS
TO ALLOW
FAILOVER

.

OPTIONAL

DEFAULT

:

1

(

ACTIVE

).

2(

INACTIVE

)

1

Example:

IP address 212.199.43.57 is added to interface eth1 for a total of two IP addresses
assigned to interface eth1.

ip config set –if eth1 –ip 212.199.43.57

10225

212.199.12.67

212.199.12.70

212.199.75.66

212.199.43.46

212.199.43.56

212.199.43.57

Figure 10-1. Adding an Interface IP Address

Removing an Interface IP Address

If you are working in

a V-Switch cluster,

the interface IP must

be removed on both

V-Switches.

You can remove an IP address from the network ports.

ip config remove

You need to define one parameter to remove a network port IP address:

S

WITCH

P

ARAMETER

D

EFINITION

S

TATUS

E

XAMPLE

-ip

IP

ADDRESS

IP

ADDRESS TO

REMOVE FROM THE
NETWORK
INTERFACE PORT

MANDATORY

212.199.12.70

Advertising