SANRAD I3.1.1205 Switch User Manual


 
Chapter 11: Command Line Interface 11-13
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-act
ACTIVITY IF IP ADDRESS IS
ACTIVE TO EXPOSE
VOLUMES
. USE
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
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-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
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-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 ETH1
DEFAULT: ETH1
eth1
ip route add
This command adds an IP route to a network port.