Assigning an ip address to an ethernet port – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 38

Advertising
background image

20

Brocade ICX 6650 Layer 3 Routing Configuration Guide

53-1002603-01

Configuring IP parameters – Layer 3 Switches

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
“192.168.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 “192.168.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 113.

Assigning an IP address to an Ethernet port

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

Brocade(config)# interface ethernet 1/1/1

Brocade(config-if-e10000-1/1/1)# ip address 192.168.6.1 255.255.255.0

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

Brocade(config-if-e10000-1/1/1)# ip address 192.168.6.1/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]

The ospf-ignore | ospf-passive parameters modify the Layer 3 Switch defaults for adjacency
formation and interface advertisement. Use one of these parameters if you are configuring multiple
IP subnet addresses on the interface but you want to prevent OSPF from running on some of the
subnets:

ospf-passive – This option disables adjacency formation with OSPF neighbors. By default,
when OSPF is enabled on an interface, the software forms OSPF router adjacencies between
each primary IP address on the interface and the OSPF neighbor attached to the interface.

ospf-ignore – This option disables OSPF adjacency formation and also disables advertisement
of the interface into OSPF. The subnet is completely ignored by OSPF.

NOTE

The ospf-passive option disables adjacency formation but does not disable advertisement of the
interface into OSPF. To disable advertisement in addition to disabling adjacency formation, you must
use the ospf-ignore option.

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

NOTE

When you configure more than one address in the same subnet, all but the first address are
secondary addresses and do not form OSPF adjacencies.

Advertising