Devices running layer 2 software, Deleting an ip address – Brocade FastIron GS and GS-STK Hardware Installation Guide User Manual

Page 68

Advertising
background image

58

Brocade FastIron GS and GS-STK Hardware Installation Guide

53-1002186-02

Configuring IP addresses

5

DRAFT: BROCADE CONFIDENTIAL

Syntax: interface ve <num>

Deleting an IP address

To delete an IP address, enter a command such as the following:

FastIron(config-if-e1000-1)# no ip address 1.1.2.1

This command deletes IP address 1.1.2.1. You do not need to enter the subnet mask.

To delete all IP addresses from an interface, enter the following command:

FastIron(config-if-e1000-1)# no ip address *

Syntax: no ip address <ip-addr> | *

Devices running layer 2 software

To configure an IP Address on a device running Layer 2 software:

1. At the opening CLI prompt, enter enable.

FastIron> enable

2. Enter the following command at the Privileged EXEC level prompt (for example, FastIron

Switch#), then press Enter. This command erases the factory test configuration if still present:

FastIron# 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:

FastIron

# configure terminal

Privileged EXEC Level

FastIron

(config)#

Global CONFIG Level

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

FastIron(config)# ip address 192.22.3.44 255.255.255.0

5. Set a default gateway address for the switch.

FastIron(config)# ip default-gateway 192.22.3.1

NOTE

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

Syntax: enable [<password>]

Syntax: configure terminal

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

or

Advertising