Brocade Communications Systems 53-1002373-02 Support of subnet masks, Syntax erase startup-config

Models: 53-1002373-02

1 452
Download 452 pages 21.42 Kb
Page 333
Image 333

Configuring IP addresses

6

Support of subnet masks

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

Enter a classical network 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.

Assigning an IP address to a management interface

Instead of assigning a global IP address to the router for system management purposes, you must assign an IP address to the active management module. If the active management module becomes unavailable and the redundant module becomes the active module, the IP address is automatically assigned to the new active management module.

For example, to assign the IP address 10.0.1.1 to the management module, use these steps.

1. At the opening CLI prompt, enter enable.

Brocade> enable

2.Enter the erase startup-configcommand at the Privileged EXEC level prompt (for example, Brocade#), then press Enter. This command erases the factory test configuration if it is still present.

Brocade# erase startup-config

Syntax: erase startup-config

After entering this command, perform a reload on 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 configure terminal command.

Brocade# configure terminal

Brocade(config)#

4.Configure the IP address and mask for the management interface by entering these commands.

Brocade(config)# interface management 1

Brocade(config-if-mgmt-1)# ip address 10.0.1.1 255.255.255.0

Syntax: enable [<password>]

Syntax: configure terminal

Syntax: interface management <num>

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

or

Brocade MLX Series and Brocade NetIron XMR Hardware Installation Guide

315

53-1002373-02

 

Page 333
Image 333
Brocade Communications Systems 53-1002373-02 Support of subnet masks, Assigning an IP address to a management interface