Ip config remove, Ip route default, Ip route add – SANRAD I3.1.1205 User Manual
Page 227
Chapter 11: Command Line Interface
11-13
S
WITCH
P
ARAMETER
D
EFINITION
S
TATUS
E
XAMPLE
-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 config set –ip 212.199.43.56 –if eth1 –act 1
ip config remove
This command removes an IP address from an interface.
ip config remove
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.43.70
Example
ip config remove –ip 212.199.43.70
ip route default
This command sets a default IP route to a network port.
ip route add
S
WITCH
P
ARAMETER
D
EFINITION
S
TATUS
E
XAMPLE
-gw
GATEWAY
IP
ADDRESS
IP
ADDRESS OF THE
DEFAULT GATEWAY
ROUTER
MANDATORY
30.30.20.20
-if
INTERFACE
ALIAS
NETWORK PORT TO
OPEN
COMMUNICATION
THROUGH
OPTIONAL
MGNT OR ETH
1
DEFAULT
:
ETH
1
eth1
ip route add
This command adds an IP route to a network port.