Assigning an IP address to a management interface
Instead of assigning a global IP address to the switches for system management
purposes, you now assign an IP address to the management interface. The IP
address is assigned to the active management module port.
For example, to assign the IP address 10.0.1.1 to the management interface, do the
following:
1. At the opening CLI prompt, enter enable:
NetIron> enable
2. Enter the following command at the Privileged EXEC level prompt (for example,
NetIron#), then press Enter. This command erases the factory test configuration
if still present:
NetIron
# erase startup-config
Attention:
Use the erase startup-config command only for new systems. If
you enter this command on a system you have already configured, the
command erases the configuration. If you accidentally erase the configuration
on a configured system, enter the write memory command to save the running
configuration to the startup- config file.
3. Access the configuration level of the CLI by entering the following command:
NetIron# configure terminal
Privileged EXEC Level
NetIron(config)#
Global CONFIG Level
4. Configure the IP address and mask for the management interface by entering
the following commands:
NetIron(config)# interface management 1
NetIron(config-if-mgmt-1)# ip address 10.0.1.1 255.255.255.0
Syntax:
enable [<password>]
Syntax:
configure terminal
Syntax:
interface management 1
Syntax:
[no] ip address
<ip-addr> <ip-mask>
or
Syntax:
[no] ip address
<ip-addr>/<mask-bits>
Assigning an IP address to an interface, virtual interface, or loopback
You must assign an IP address to each interface and virtual interface over which
user packets are routed. You can also assign an IP address to a loopback interface,
which is generally used for testing and diagnostic purposes.
You must use the serial connection to assign the first IP address. For subsequent
addresses, you also can use the CLI through Telnet or the Web management
interface.
By default, you can configure up to 24 IP interfaces on each interface, virtual
interface, and loopback interface.
For example, to assign the IP address 192.22.3.44 and sub-net mask
255.255.255.0 to Ethernet interface 1/1, do the following.
1. At the opening CLI prompt, enter enable.
Chapter 4. Connecting a c-series switch to a network device
25
Summary of Contents for 4002-C4A
Page 2: ......
Page 8: ...vi IBM Ethernet Switch c series Installation and User Guide ...
Page 10: ...viii IBM Ethernet Switch c series Installation and User Guide ...
Page 12: ...x IBM Ethernet Switch c series Installation and User Guide ...
Page 26: ...2 IBM Ethernet Switch c series Installation and User Guide ...
Page 39: ...net48bc017 Figure 10 Front rack mount position Chapter 3 Installation 15 ...
Page 41: ...net48bc019 Figure 12 Mid rack mount position Chapter 3 Installation 17 ...
Page 60: ...36 IBM Ethernet Switch c series Installation and User Guide ...
Page 68: ...44 IBM Ethernet Switch c series Installation and User Guide ...
Page 82: ...58 IBM Ethernet Switch c series Installation and User Guide ...
Page 93: ......
Page 94: ... Part Number 45W3139 Printed in USA GC27 2238 00 1P P N 45W3139 80218 001 ...