Brocade Communications Systems ServerIron ADX 12.4.00 User Manual

Page of 267
210
ServerIron ADX Global Server Load Balancing Guide
53-1002437-01
Advanced GSLB configuration for IPv6
2
For example, you could add the zone gslb.com, add the host www within the gslb.com zone, and 
assign a weight of 50 to the IP address 2001:DB8::56 by entering commands such as the 
following:
SLB-ServerIronADX(config-gslb-policy)# weighted-ip
SLB-ServerIronADX(config-gslb-policy)# gslb dns zone gslb.com
SLB-ServerIronADX(config-gslb-dns-gslb.com)# host www http
SLB-ServerIronADX(config-gslb-dns-gslb.com)# host www ip-weight 2001:db8::56 50
Syntax:  [no] weighted-ip
Syntax:  [no] gslb dns zone <name> 
For <zone-name>, enter up to 32 characters.
Syntax:  [no] host-info <host-name> <host-application> | <tcp/udp-portnum>
The <host-name> variable specifies the host name. You do not need to enter the entire fully 
qualified host name. Enter only the host portion of the name. For example, if the fully qualified host 
name is www.gslb.com, do no enter the entire name. Enter only "www". The rest of the name is 
already specified by the gslb dns zone command.
The <host-application> parameter specifies the host application for which you want to create an IP 
list. Specify one of the following:
ftp: the well-known name for port 21. (Ports 20 and 21 both are FTP ports but on the 
ServerIron ADX, the name “ftp” corresponds to port 21.)
tftp: the well-known name for port 69
http: the well-known name for port 80
imap4: the well-known name for port 143
ldap: the well-known name for port 389
nntp: the well-known name for port 119
pop3: the well-known name for port 110
smtp: the well-known name for port 25
telnet: the well-known name for port 23
Specifying the weight of IP addresses in the IP list
To specify the weight given to an IPv6 address, use the host-info ip-weight command and its 
operands to identify the host, the IPv6 address, and the weight.
Enter a command such as the following:
ServerIronADX(config)# gslb dns zone brocade.com
ServerIronADX(config-gslb-dns-brocade.com)# host-info www ip-weight 2001:db8::56 
10
The command in the example specifies a weight of 10 for the IPv6 address.
Syntax: [no] host-info <host-name> ip-weight {<ipv6-address> <weight>}
The <host-name> variable specifies the host name under the zone. Again, you do not need to enter 
the entire fully qualified host name. Enter only the host portion of the name.
The <ipv6-address> variable specifies the proxy IPv6 address(es) to which you are assigning a 
weight. The <weight> is a value from 0 to 100. The default value is 0.