Assigning An Ip Address To A Management Interface; Assigning An Ip Address To An Interface, Virtual Interface, Or Loopback - IBM 4002-C2A Installation And User Manual

Table of Contents

Advertisement

v To enter a prefix number for a network mask, enter a forward slash ( / ) and the
number of bits in the mask immediately after the IP address. For example, enter
"209.157.22.99/24" for an IP address that has a network mask with 24 significant
("mask") bits.

Assigning an IP address to a management interface

Instead of assigning a global IP address to the switches for system management
purposes you assign an IP address to the management interface.
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 to enter the Privileged EXEC level:
NetIron> enable
2. If you are setting up a new system, enter the following command to erase 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
NetIron(config)#
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.
By default, you can configure up to 24 IP interfaces on each interface, virtual
interface, and loopback interface.
(Privileged EXEC Level)
(Global CONFIG Level)
Chapter 4. Connecting a c-series switch to a network device
27

Advertisement

Table of Contents
loading

Table of Contents