Brocade FastIron SX Series Chassis Hardware Installation Guide User Manual

Page 84

Advertising
background image

The following procedure shows how to add an IPv4 address and mask to a router port.

1.

At the opening CLI prompt, enter enable .

device> 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.

device# 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.

Privileged EXEC Level.

device# configure terminal

Global CONFIG Level.

device(config)#

4.

Configure the IPv4 address and mask address for the interface.

device(config)# int e 1/5

device(config)# ip address 10.x.x.x 255.255.255.0

NOTE
You can use the syntaxip address ip-addr/mask-bits if you know the subnet mask length. In the
above example, you could enter ip address 10.x.x.x/24 .

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
subnet on the interface.

Configuring IPv4 management interface while running Layer 2 software

To configure an IPv4 address to a device running Layer 2 software, complete the following tasks.

1.

At the opening CLI prompt, enter enable .

device> enable

2.

Enter the following command at the Privileged EXEC level prompt (for example, device# ), then
press Enter . This command erases the factory test configuration if still present.

device# erase startup-config

Configuring IPv4 management interface while running Layer 2 software

82

Brocade FastIron SX Series Chassis Hardware Installation Guide

53-1003092-01

Advertising