3 Configuring IP addresses

Configuring IP addresses

You must configure at least one IP address using the serial connection to the CLI before you can manage the system using the other management interfaces.

Brocade devices support both classical IP network masks (Class A, B, and C subnet masks, and so on) and Classless Interdomain Routing (CIDR) network prefix masks.

To enter a classical network mask, enter the mask in IP address format. For example, enter “209.157.22.99 255.255.255.0” for an IP address with a Class-C subnet mask.

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.

By default, the CLI displays network masks in classical IP address format (example: 255.255.255.0). You can change the display to the prefix format. See the Brocade ICX 6650 Administration Guide.

Devices running Layer 2 software

Use the following procedure to configure an IP address on a device running Layer 2 software. 1. At the opening CLI prompt, enter enable.

Brocade> enable

2.Enter the following command at the CLI Privileged EXEC level prompt, then press Enter. This command erases the factory test configuration if still present:

Brocade# erase startup-config

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 do 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 terminalPrivileged EXEC Level

Brocade(config)#

Global CONFIG Level

4. Configure the IP addresses and mask for the switch.

Brocade(config-if-e1000-2)# ip address 192.168.0.0 255.255.255.0

5. Set a default gateway address for the switch.

Brocade(config)# ip default-gateway 192.168.0.0

NOTE

You do not need to assign a default gateway address for single subnet networks.

Syntax: enable [password]

Syntax: configure terminal

22

Brocade ICX 6650 Hardware Installation Guide

 

53-1002599-01

Page 38
Image 38
Brocade Communications Systems 53-1002599-01 manual Configuring IP addresses, Devices running Layer 2 software