Example configuration – Brocade Communications Systems ServerIron ADX 12.4.00 User Manual
Page 144

132
ServerIron ADX Global Server Load Balancing Guide
53-1002437-01
Geographic region for a prefix
1
To view all geographic prefixes on the GSLB ServerIron ADX, enter the following command.
GSLB-ServerIronADX# show gslb cache all geographic user-configured
prefix length = 24, prefix = 1.1.1.0, region = EUROPE
prefix source = geographic (user-configured),
prefix length = 24, prefix = 10.10.10.0, region = ASIA
prefix source = geographic (user-configured)
The output above shows the IP address prefix, prefix length, the geographic region and source
(user-configured). For more examples, refer to
Syntax: show gslb cache all geographic user-configured
Example configuration
In the following example, the GSLB ServerIron ADX provides GSLB for the domain www.gslb1.com.
1. Display the IP addresses for the domain www.gslb1.com, by entering the following command.
ServerIronADX# show gslb dns detail
ZONE: gslb1.com
HOST: www:
(Global GSLB policy)
Flashback DNS resp.
d elay selection
(x100us) counters
TCP App Count (%
* 1.1.1.22: dns real-ip ACTIVE N-AM 5 16 ---
* 10.10.10.200: dns real-ip DOWN N-AM -- -- ---
* 1.1.1.76: dns v-ip DOWN N-AM -- -- ---
site: local, weight: 0, ServerIronADX: 1.1.1.102
session util: 0%, avail. sessions: 5999976
preference: 128
* 1.1.1.101: dns v-ip ACTIVE N-AM 0 0 ---
Active Bindings: 1
site: local, weight: 0, ServerIronADX: 1.1.1.102
session util: 0%, avail. sessions: 5999976
preference: 128
As shown in the output, the current geographic location for all the IP addresses in the domain
www.gslb1.com is North America (N-AM).
2. Configure the geographic prefix 1.1.1.42/24 and designate Asia as the geographic location.
ServerIronADX# con t
ServerIronADX(config)# gslb policy
ServerIronADX(config-gslb-policy)# geo-prefix 1.1.1.42/24 asia
ServerIronADX(config-gslb-policy)# end
3. To display the contents of the entry, enter the show gslb cache command.
4. After you configure a geographic location for the prefix, the GSLB ServerIron ADX updates the
geographic location for the IP addresses as explained in the section
5. To view the geographic location of the IP addresses, enter the show gslb dns detail command.
ServerIronADX# show gslb cache 1.1.1.42
prefix length = 24, prefix = 1.1.1.0, region = ASIA
prefix source = geographic (user-configured),