Specifications

Chapter 5. IBM System Networking RackSwitch implementation 187
2. Complete the IP interface configuration.
Complete the following steps to create and activate an IP interface (use the commands
shown in Example 5-33):
a. Create the IP interface.
b. Define an IP address.
c. Map the IP interface to a VLAN.
d. Enable the IP interface.
Example 5-33 IP interface configuration
AGG-1#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-1(config)#interface ip 100
(create the interface)
AGG-1(config-ip-if)#ip address 10.0.100.1 255.255.255.252 (define an IP address)
AGG-1(config-ip-if)#vlan 100 (map the IP interface to a VLAN)
AGG-1(config-ip-if)#enable (enable the IP interface)
AGG-1(config-ip-if)#^Z
AGG-1#
The management interface is assigned by default to VLAN 4095 and also mapped to IP
interface 128. Example 5-34 shows the management interface configuration.
Example 5-34 Management interface configuration
AGG-1#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-1(config)#interface ip 128
AGG-1(config-ip-if)#ip address 172.25.101.120
AGG-1(config-ip-if)#enable
AGG-1(config-ip-if)#^Z
AGG-1#
Run no interface ip <interface number> to remove an IP interface.
3. Verify the configuration.
To see the basic IP configuration, run show interface ip (Example 5-35).
Example 5-35 IP configuration
AGG-1#show interface ip
Interface information:
100: IP4 10.0.100.1 255.255.255.252 10.0.100.3, vlan 100, up
101: IP4 10.0.101.2 255.255.255.252 10.0.101.3, vlan 101, up
103: IP4 10.0.103.1 255.255.255.252 10.0.103.3, vlan 103, up
128: IP4 172.25.101.120 255.255.0.0 172.25.255.255, vlan 4095, up
AGG-1#
Interface and VLAN numbers: The IP interface number does not need to be the same
as the VLAN number. The IP interfaces are 1 - 128, and the VLANs are 1 - 4095.
To keep the reference architecture simple and easy to understand, we used VLAN
numbers lower than 128, which can be mapped to the same IP interface numbers.