Configuring ip addresses, Assigning an ip address to an ethernet port – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 482

Advertising
background image

448

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

Configuring IP parameters – Layer 3 Switches

NOTE

This section describes how to configure IP parameters for Layer 3 Switches. For IP configuration
information for Layer 2 Switches, refer to

“Configuring IP parameters – Layer 2 Switches”

on

page 484.

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 configure up to 24 IP addresses on each interface.

On Compact Layer 3 Switches, you can increase this amount to up to 64 IP subnet addresses per
port by increasing the size of the subnet-per-interface table.

Refer to the section

“Displaying and modifying system parameter default settings”

on page 265.

NOTE

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

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
“10.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 “10.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. Refer to

“Changing the network

mask display to prefix format”

on page 492.

Assigning an IP address to an Ethernet port

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

TurboIron(config)#interface ethernet 1

TurboIron(config-if-1)#ip address 192.45.6.1 255.255.255.0

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

TurboIron(config-if-1)#ip address 10.192.45.6/24

Syntax: [no] ip address <ip-addr> <ip-mask> [ospf-ignore | ospf-passive | secondary]

or

Syntax: [no] ip address <ip-addr>/<mask-bits> [ospf-ignore | ospf-passive | secondary]

Advertising