beautypg.com

Devices running layer 3 software, Configuring ip addresses, Assigning an ip address to an ethernet port – Brocade FastIron WS Hardware Installation Guide User Manual

Page 42

background image

32

Brocade FastIron WS Hardware Installation Guide

53-1002498-02

Configuring IP addresses

3

Devices running layer 3 software

NOTE

Devices require a software license to be able to run Edge Layer 3 features. For details, see the
FastIron Configuration Guide.

Configuring IP addresses

You can configure an IP address on the following types of Layer 3 switch interfaces:

Ethernet port

Virtual routing interface (also called a Virtual Ethernet or “VE”)

Loopback interface

By default, you can have up to 24 IP addresses on each interface, but you can increase this number
to 128 IP addresses.

NOTE

Once you configure a virtual routing interface on a VLAN, you cannot configure Base Layer 3
interface parameters on individual ports in the VLAN. Instead, you must configure the parameters
on the virtual routing interface itself.

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 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 bits (ones).

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

Assigning an IP address to an Ethernet port

To assign an IP address to port 0/1/1, enter the following commands.

Brocade(config)# interface ethernet 0/1/1
Brocade(config-if-0/1/1)# ip address 192.45.6.1 255.255.255.0

NOTE

You also can enter the IP address and mask in CIDR format, as follows.

Brocade(config-if-0/1/1)#ip address 192.45.6.1/24

Syntax: [no] ip address

or

Syntax: [no] ip address /