Brocade Communications Systems Brocade MLX Series and Brocade Netlron XMR 53-1002373-02 User Manual

Page 334

Advertising
background image

316

Brocade MLX Series and Brocade NetIron XMR Hardware Installation Guide

53-1002373-02

Configuring IP addresses

6

Syntax: [no] ip address <ip-addr>/<mask-bits>

Assigning IP addresses to an interface, virtual interface,
or loopback interface

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
can also use the CLI through Telnet or the Web management interface. Use IronView Network
Manager to assign IP addresses to virtual routing interfaces only.

By default, you can configure up to 24 IP addresses on each interface, virtual interface, and
loopback interface.

For example, to assign the IP address 192.22.3.44 and subnet mask 255.255.255.0 to Ethernet
interface 1/1, do the following.

1. At the opening CLI prompt, enter enable.

Brocade> enable

2. Enter the following command at the Privileged EXEC level prompt, then press Enter. This

command erases the factory test configuration if it is still present.

Brocade# erase startup-config

After you enter this command, you will need to restart the system.

CAUTION

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.

Brocade# configure terminal

Brocade(config)#

4. Configure the IP address and subnet mask for Ethernet interface 1/1 by entering the following

commands.

Brocade(config)# interface ethernet 1/1

Brocade(config-if-e10000-1/1)# ip address 192.22.3.44 255.255.255.0

Syntax: enable [<password>]

Syntax: configure terminal

Syntax: [no] ip address <ip-addr> <ip-mask> [secondary]

or

Syntax: [no] ip address <ip-addr>/<mask-bits> [secondary]

Use the secondary parameter if you have already configured an IP address within the same
sub-net on the interface.

Advertising