Specifications
188 Implementing IBM System Networking 10Gb Ethernet Switches
Default gateway
Management IP addresses and gateways should already be configured during the initial
setup. However, configuration guidelines are presented here for completeness.
The switch can be configured with up to four IPv4 gateways, as described in the following list:
RackSwitch G8124 Gateway 1 and Gateway 2: Data traffic
Gateway 3: Management port A
Gateway 4: Management port B
RackSwitch G8264 Gateway 1, Gateway 2, and Gateway 3: data traffic
Gateway 3: Management port
This gateway option is disabled by default. Complete the following steps to configure the
default gateways:
1. Define the gateway.
a. Configure the gateway by running ip gateway <1-4> address <IP address> as
follows:
AGG-1#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-1(config)#ip gateway 4 address 172.25.1.1
AGG-1(config)#
b. Configure additional parameters for the gateway health check, such as timers and
number of tries. For more information about configuring these parameters, see 5.5,
“More information” on page 238.
If you need to, you can run no ip gateway <1-4> to delete the selected gateway.
2. Enable the gateway.
Run [no] ip gateway <1-4> enable to enable or disable the gateway as follows:
AGG-1#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-1(config)#ip gateway 4 enable
AGG-1(config)#
3. Verify the gateway.
Run show ip gateway <1-4> to display the gateway configuration parameters as follows:
AGG-1#show ip gateway 4
Current default gateway 4:
172.25.1.1, intr 2, retry 8, arp enabled, enabled
AGG-1#
Run ping to verify the gateway reachability, as shown in Example 5-36.
Example 5-36 Ping gateway
AGG-1#ping 172.25.1.1 mgt-port
Connecting via MGT port.
[host 172.25.1.1, max tries 5, delay 1000 msec , length 0]
172.25.1.1: #1 ok, RTT 1 msec.
Important: This feature is used only for management interfaces in our reference
architecture. Static routes are not used in the reference architecture; instead, we use a
dynamic routing protocol (OSPF).