Assigning an ip address to an ethernet port, Assigning an ip address to a loopback interface, Assigning an ip address to a virtual interface – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 69

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

55

53-1003246-01

Configuring IP parameters

4

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

Assigning an IP address to an Ethernet port

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

VADX-DUT3(config)#int eth 1

VADX-DUT3(config-if-e10000-1)#

NOTE

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

Virtual ADX(config-if-e10000-1)# ip address 10.45.6.1/24

Use the secondary parameter if you have already configured an IP address within the same subnet
on the interface.

Assigning an IP address to a loopback interface

Loopback interfaces are always up, regardless of the states of physical interfaces. They can add
stability to the network because they are not subject to route flap problems that can occur due to
unstable links between a Layer 3 Switch and other devices. You can configure up to eight loopback
interfaces on a Virtual ADX.

You can add up to 24 IP addresses to each loopback interface.

To add a loopback interface, enter commands such as those shown in the following example.

Virtual ADX(config)# int loopback 1

Virtual ADX(config-lbif-1)# ip address 10.0.0.1/24

Syntax: interface loopback num

The num parameter specifies the virtual interface number. You can specify from 1 to the maximum
number of virtual interfaces supported on the device. To display the maximum number of virtual
interfaces supported on the device, enter the show default values command. The maximum is
listed in the System Parameters section, in the Current column of the virtual-interface row.

Refer to the syntax description in

“Assigning an IP address to an Ethernet port”

on page 55.

Assigning an IP address to a virtual interface

A virtual interface is a logical port associated with a Layer 3 Virtual LAN (VLAN) configured on a
Layer 3 Switch. You can configure routing parameters on the virtual interface to enable the Layer 3
Switch to route protocol traffic from one Layer 3 VLAN to the other, without using an external router.

You can configure IP routing interface parameters on a virtual interface. This section describes how
to configure an IP address on a virtual interface. Other sections in this chapter that describe how to
configure interface parameters also apply to virtual interfaces.

Advertising