User guide

220 ExtremeWarePx1 1.2 Command Reference Guide
Health-Check Commands
disable server
disable server
[(index <index number>) |
(ipaddress <IP address> {port <port number>})]
Description
Disables a server, forcing the server to be down.
Syntax Description
Default
All servers are enabled by default.
Usage Guidelines
You must have administrator privileges to issue this command.
You can identify a server to be disabled either by its index number or by its IP address and port
number. If you specify only the IP address, this command disables all servers with that IP address (and
any port number).
Disabling a server forces it to be down (for example, for maintenance). While the server is disabled, it is
not used by the Px-series application switch. A disabled server is indicated as Òforced downÓ (FDOWN)
in the output from the show health-check command.
You must use the build command to commit the conÞguration changes made by this command.
Example
This example disables all servers with IP address 5.5.5.5:
* station2:16 # disable server ip 5.5.5.5
* station2:17 # show health server-group name sg20000
Healthcheck is currently enabled
default interval 30 sec timeout 5 sec retry interval 10 sec arp interval 5 min
default fail after 2, restore after 2
12600/12823 ping rx/tx
16451/16622 DNS query rx/tx
5 DOWN 94 UP 4 *UP 2 *DOWN 4 FDOWN
flags: E - check Enabled, D - check Disabled, R - mac is resolved
ra - restore after, fa - fail after, left - secs till next check
index IP port proto state check left run ra fa ups flg
5.5.5.5 ICMP FDOWN IDLE 24 -1 220E
20000 5.5.5.5 90 ICMP FDOWN IDLE 18 0220E
index number The unique index number of the server to be disabled.
IP address The IP address of the server(s) to be disabled. The IP address plus the port number uniquely
identify a server.
port number The port number of the server to be disabled. The port number plus the IP address uniquely
identify a server.